feat: modify registry

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2019-06-21 16:59:54 +08:00
parent 7288d33ce2
commit 747105d603
2 changed files with 12 additions and 6 deletions

View File

@ -1,11 +1,17 @@
{ {
"npmClient": "yarn", "npmClient": "yarn",
"useWorkspaces": true, "useWorkspaces": true,
"scripts": { "version": "0.3.1",
"build": "npx tsc"
},
"packages": [ "packages": [
"packages/*" "packages/*"
], ],
"version": "0.3.1" "command": {
} "run": {
"stream": true
},
"publish": {
"forcePublish": true,
"registry": "https://repo.yumc.pw/repository/npm-hosted/"
}
}
}

View File

@ -7,7 +7,7 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "npx lerna run build", "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", "publish-please": "publish-please",
"prepublishOnly": "publish-please guard" "prepublishOnly": "publish-please guard"
}, },