voice-page-agent 0.1.3 → 2.0.1
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 +13 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -200,10 +200,23 @@ npm run publish:vue3
|
|
|
200
200
|
|
|
201
201
|
The publish scripts temporarily adjust `peerDependencies.vue` and restore `package.json` automatically after publish.
|
|
202
202
|
|
|
203
|
+
One-command multi-channel release (recommended):
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
npm run release:multi -- --vue2 2.0.1 --vue2.7 2.7.1 --vue3 3.0.0 --latest vue3
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
Rules in the script:
|
|
210
|
+
|
|
211
|
+
- `--vue2` must be `2.0.x`
|
|
212
|
+
- `--vue2.7` must be `2.7.x`
|
|
213
|
+
- `--vue3` must be `3.x`
|
|
214
|
+
|
|
203
215
|
Dry run:
|
|
204
216
|
|
|
205
217
|
```bash
|
|
206
218
|
npm run publish:vue2 -- --dry-run
|
|
219
|
+
npm run release:multi -- --vue2 2.0.1 --vue2.7 2.7.1 --vue3 3.0.0 --latest vue3 --dry-run
|
|
207
220
|
```
|
|
208
221
|
|
|
209
222
|
If you see `E403 ... You cannot publish over the previously published versions`, bump version first:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "voice-page-agent",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Voice wake plugin for page-agent with Vue2/Vue3 compatibility.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"publish:vue2": "node ./scripts/publish-by-target.mjs vue2",
|
|
28
28
|
"publish:vue2.7": "node ./scripts/publish-by-target.mjs vue2.7",
|
|
29
29
|
"publish:vue3": "node ./scripts/publish-by-target.mjs vue3",
|
|
30
|
+
"release:multi": "node ./scripts/release-multi.mjs",
|
|
30
31
|
"prepack": "npm run build"
|
|
31
32
|
},
|
|
32
33
|
"keywords": [
|
|
@@ -38,7 +39,7 @@
|
|
|
38
39
|
"vue3"
|
|
39
40
|
],
|
|
40
41
|
"peerDependencies": {
|
|
41
|
-
"vue": ">=
|
|
42
|
+
"vue": ">=2.6.14 <2.7.0"
|
|
42
43
|
},
|
|
43
44
|
"dependencies": {
|
|
44
45
|
"page-agent": "^0.2.0",
|