@houser/edus-plugin 1.0.9 → 1.0.10

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
@@ -87,27 +87,27 @@ npm run build # 清理后依次执行以上两步
87
87
  ### 发布步骤
88
88
 
89
89
  ```bash
90
- # 1. 同步依赖(切换分支或改过 peerDependencies 后必做)
90
+ # 1. 登录 npm
91
+ npm login --registry=https://registry.npmjs.org/
92
+
93
+ # 2. 同步依赖(切换分支或改过 peerDependencies 后必做)
91
94
  pnpm install
92
95
 
93
- # 2. 构建 + 测试:clean → build:host → build:client → vitest
96
+ # 3. 构建 + 测试:clean → build:host → build:client → vitest
94
97
  npm run check
95
98
 
96
- # 3. 确认打包内容:应包含 lib/index.js、lib/client.js、
99
+ # 4. 确认打包内容:应包含 lib/index.js、lib/client.js、
97
100
  # lib/typert.*.js、lib/types/**/*.d.ts、cordis.yml
98
101
  npm run pack:dry
99
102
 
100
- # 4. 升版本号(会自动创建 git commit 和 tag)
103
+ # 5. 升版本号(会自动创建 git commit 和 tag)
101
104
  npm version patch
102
105
 
103
- # 5. 发布,必须带 --tag
106
+ # 6. 发布,必须带 --tag
104
107
  npm publish --registry=https://registry.npmjs.org --tag dsh-v0.2.1-rc.2
105
108
 
106
- # 6. 推送版本提交
109
+ # 7. 推送版本提交
107
110
  git push && git push --tags
108
-
109
- # npm 需要登录
110
- npm login --registry=https://registry.npmjs.org/
111
111
  ```
112
112
 
113
113
  ### 关于 `--tag`