@bams-app/work-cli 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/package.json +1 -1
- package/templates/project/.npmrc.tpl +0 -1
package/README.md
CHANGED
|
@@ -209,8 +209,9 @@ bams-work update
|
|
|
209
209
|
### 前提
|
|
210
210
|
|
|
211
211
|
- 升级前确保对应版本已发布:`"*"` 只解析 registry 上已发布的版本。
|
|
212
|
-
- registry
|
|
213
|
-
|
|
212
|
+
- registry 指向:`create` 生成的项目 `.npmrc` 只含 `install-links=true`,`@bams-app/*` 默认走
|
|
213
|
+
官方 npm(registry.npmjs.org);仅在内网隔离、必须走私服时,才在项目 `.npmrc` 手动加
|
|
214
|
+
`@bams-app:registry=https://npm.hedpy.cn/`(私服若存在同名旧版本,会遮蔽官方新版)。
|
|
214
215
|
|
|
215
216
|
## 本地验证(未发布时)
|
|
216
217
|
|
package/package.json
CHANGED