zcw-shared 1.32.1 → 1.32.3

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +14 -17
package/README.md CHANGED
@@ -460,13 +460,13 @@ import { useStorage } from 'shared/hooks/useStorage'
460
460
 
461
461
  ### Playground 集成
462
462
 
463
- `playground` 通过 workspace 引用 `shared`:
463
+ `playground` 通过 workspace 引用 `zcw-shared`:
464
464
 
465
465
  ```json
466
466
  // playground/package.json
467
467
  {
468
468
  "dependencies": {
469
- "shared": "workspace:*" // 引用本地workspace
469
+ "zcw-shared": "workspace:*" // 引用本地workspace
470
470
  }
471
471
  }
472
472
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zcw-shared",
3
- "version": "1.32.1",
3
+ "version": "1.32.3",
4
4
  "files": [
5
5
  "references",
6
6
  "dist",
@@ -12,21 +12,6 @@
12
12
  "license": "ISC",
13
13
  "type": "module",
14
14
  "description": "",
15
- "publish": {
16
- "name": "zcw-shared"
17
- },
18
- "scripts": {
19
- "build": "tsc -p tsconfig.build.json && tsx scripts/generate-exports.ts",
20
- "publish:patch": "npx tsx scripts/publish.ts patch",
21
- "publish:minor": "npx tsx scripts/publish.ts minor",
22
- "publish:major": "npx tsx scripts/publish.ts major",
23
- "publish:prerelease": "npx tsx scripts/publish.ts prerelease",
24
- "docs:dev": "vitepress dev docs",
25
- "docs:build": "NODE_OPTIONS=--max-old-space-size=4096 vitepress build docs",
26
- "docs:preview": "vitepress preview docs",
27
- "deploy:tcb": "npx tsx scripts/deploy-tcb.ts",
28
- "deploy:cos": "npx tsx scripts/deploy-cos.ts"
29
- },
30
15
  "devDependencies": {
31
16
  "@cloudbase/manager-node": "^4.3.2",
32
17
  "cos-nodejs-sdk-v5": "^2.14.4",
@@ -35,7 +20,7 @@
35
20
  "vitepress": "^1.6.4",
36
21
  "vue": "^3.5.22",
37
22
  "zcw-shared": "^1.28.0",
38
- "zcw-vue-ui": "^1.11.3"
23
+ "zcw-vue-ui": "1.11.4"
39
24
  },
40
25
  "exports": {
41
26
  "./constants/colorPatterns": "./dist/constants/colorPatterns.js",
@@ -314,5 +299,17 @@
314
299
  "./types/uniapp-android-build": "./types/uniapp-android-build.d.ts",
315
300
  "./types/vue": "./types/vue.d.ts",
316
301
  "./types/worker": "./types/worker.d.ts"
302
+ },
303
+ "scripts": {
304
+ "build": "tsc -p tsconfig.build.json && tsx scripts/generate-exports.ts",
305
+ "publish:patch": "npx tsx scripts/publish.ts patch",
306
+ "publish:minor": "npx tsx scripts/publish.ts minor",
307
+ "publish:major": "npx tsx scripts/publish.ts major",
308
+ "publish:prerelease": "npx tsx scripts/publish.ts prerelease",
309
+ "docs:dev": "vitepress dev docs",
310
+ "docs:build": "NODE_OPTIONS=--max-old-space-size=4096 vitepress build docs",
311
+ "docs:preview": "vitepress preview docs",
312
+ "deploy:tcb": "npx tsx scripts/deploy-tcb.ts",
313
+ "deploy:cos": "npx tsx scripts/deploy-cos.ts"
317
314
  }
318
315
  }