File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,15 @@ npm run link
5050有时我们会需要发布一些测试包来测试构建产物是否能够正常使用,您可以根据下列指引来进行测试. 这里使用的是`@opentiny/tiny-toolkit-pro
5151`作为演示
5252
53- 0 . 自增` package.json ` 中的` version ` 字段
54- 1 . ` package.json ` 文件中替换` @opentiny ` 为` @xxx ` (其中xxx为您的npm名称)
55- 2 . 运行` npm publish --access=public `
56- 3 . 修改环境变量` TINY_SCOPE=xxx ` (第一步中替换的结果, 但是不要包含@)
53+ 1 . 自增` package.json ` 中的` version ` 字段
54+ 2 . ` package.json ` 文件中替换` @opentiny ` 为` @xxx ` (其中xxx为您的npm名称)
55+ 3 . 进入到你要发布子包的目录
56+ 4 . 运行` npm publish --access=public `
57+ 5 . 修改环境变量` TINY_SCOPE=xxx ` (第一步中替换的结果, 但是不要包含@)
5758 1 . 例如 ` @foo/tiny-toolkit-pro ` ,TINY_SCOPE应该是` foo ` 而不是` @foo `
58- 4 . 安装` npm i -g @opentiny/cli ` (如果您安装完成可忽略该步骤)
59- 5 . ` rm -rf ~/.tiny `
60- 6 . ` tiny init pro `
59+ 6 . 安装` npm i -g @opentiny/cli ` (如果您安装完成可忽略该步骤)
60+ 7 . ` rm -rf ~/.tiny `
61+ 8 . ` tiny init pro `
6162
6263### 发布测试包前检查清单
6364
You can’t perform that action at this time.
0 commit comments