@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 CHANGED
@@ -209,8 +209,9 @@ bams-work update
209
209
  ### 前提
210
210
 
211
211
  - 升级前确保对应版本已发布:`"*"` 只解析 registry 上已发布的版本。
212
- - registry 指向:项目 `.npmrc` `@bams-app:registry` 决定从哪个源拉取 `@bams-app/*`;
213
- 发布到官方 npm 后需移除/注释该行(或改为官方源),否则升级拉取的仍是私服版本。
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bams-app/work-cli",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "BAMS-Work 全局开发工具:复用 work 已发布的包(ui-dev-server / shared-env / create-ui-*)提供项目初始化与组件开发能力(类似 vue-cli)",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -1,2 +1 @@
1
- @bams-app:registry=https://npm.hedpy.cn/
2
1
  install-links=true