diff --git a/lerna.json b/lerna.json index 1cc57ef..8577500 100644 --- a/lerna.json +++ b/lerna.json @@ -1,11 +1,17 @@ { "npmClient": "yarn", "useWorkspaces": true, - "scripts": { - "build": "npx tsc" - }, + "version": "0.3.1", "packages": [ "packages/*" ], - "version": "0.3.1" -} + "command": { + "run": { + "stream": true + }, + "publish": { + "forcePublish": true, + "registry": "https://repo.yumc.pw/repository/npm-hosted/" + } + } +} \ No newline at end of file diff --git a/package.json b/package.json index a16e5a0..967e93c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "license": "MIT", "scripts": { "build": "npx lerna run build", - "lp": "npx lerna publish --registry=https://repo.yumc.pw/repository/npm-hosted/", + "lp": "npx lerna publish", "publish-please": "publish-please", "prepublishOnly": "publish-please guard" },