@qmuse/appwrite-runtime-sdk 0.0.1-dev.1 → 1.0.0
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 +4 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -71,10 +71,12 @@ $ npm test
|
|
|
71
71
|
先在 `package.json` 设定未发布的正式语义化版本,再执行:
|
|
72
72
|
|
|
73
73
|
```bash
|
|
74
|
-
npm run publish:
|
|
74
|
+
npm run publish:public
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
脚本会先询问发布 tag,直接回车默认发布到 `dev`,也可以输入 `latest`。它会验证 npmjs 登录态、检查版本是否已存在,并运行 CI 与构建。确认后,它只在发布期间把包名临时改为 `@qmuse/appwrite-runtime-sdk`,退出时恢复本地 `package.json`。
|
|
78
|
+
|
|
79
|
+
首次正式发布建议先选择 `dev` 验证;确认无误后,可直接再次执行脚本并选择 `latest`,或移动 `latest` tag:
|
|
78
80
|
|
|
79
81
|
```bash
|
|
80
82
|
npm dist-tag add @qmuse/appwrite-runtime-sdk@<version> latest --registry https://registry.npmjs.org/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qmuse/appwrite-runtime-sdk",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "QMuse Appwrite browser runtime SDK",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx && stylelint \"src/**/*.{css,less,scss,sass}\" --allow-empty-input",
|
|
31
31
|
"prepare": "husky install",
|
|
32
32
|
"prepublishOnly": "npm run build",
|
|
33
|
-
"publish:
|
|
33
|
+
"publish:public": "bash scripts/publish-public.sh",
|
|
34
34
|
"test": "jest"
|
|
35
35
|
},
|
|
36
36
|
"commitlint": {
|