@gz-fronted/gz-pc 0.1.3-beta.1 → 0.1.3-beta.2

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/package.json CHANGED
@@ -1,99 +1,99 @@
1
- {
2
- "name": "@gz-fronted/gz-pc",
3
- "version": "0.1.3-beta.1",
4
- "description": "Shared fetch, hooks and utility primitives for GZ frontend applications.",
5
- "license": "MIT",
6
- "type": "module",
7
- "sideEffects": false,
8
- "files": [
9
- "dist",
10
- "README.md"
11
- ],
12
- "exports": {
13
- "./fetch": {
14
- "import": {
15
- "types": "./dist/fetch/index.d.ts",
16
- "default": "./dist/fetch/index.js"
17
- },
18
- "require": {
19
- "types": "./dist/fetch/index.d.cts",
20
- "default": "./dist/fetch/index.cjs"
21
- }
22
- },
23
- "./hooks": {
24
- "import": {
25
- "types": "./dist/hooks/index.d.ts",
26
- "default": "./dist/hooks/index.js"
27
- },
28
- "require": {
29
- "types": "./dist/hooks/index.d.cts",
30
- "default": "./dist/hooks/index.cjs"
31
- }
32
- },
33
- "./utils": {
34
- "import": {
35
- "types": "./dist/utils/index.d.ts",
36
- "default": "./dist/utils/index.js"
37
- },
38
- "require": {
39
- "types": "./dist/utils/index.d.cts",
40
- "default": "./dist/utils/index.cjs"
41
- }
42
- },
43
- "./package.json": "./package.json"
44
- },
45
- "scripts": {
46
- "build": "node scripts/build.mjs",
47
- "lint": "eslint .",
48
- "typecheck": "tsc --noEmit",
49
- "test": "vitest run",
50
- "test:watch": "vitest",
51
- "verify:exports": "node tests/exports/smoke.mjs",
52
- "prepublishOnly": "npm run build",
53
- "prepare": "husky"
54
- },
55
- "dependencies": {
56
- "ahooks": "^3.9.7",
57
- "axios": "^1.13.6"
58
- },
59
- "peerDependencies": {
60
- "@chenhui996/gg-ui": "^0.1.1",
61
- "react": "^18.0.0 || ^19.0.0"
62
- },
63
- "devDependencies": {
64
- "@chenhui996/gg-ui": "0.1.1",
65
- "@commitlint/cli": "21.2.1",
66
- "@commitlint/config-conventional": "21.2.0",
67
- "@eslint/js": "9.39.4",
68
- "@types/node": "24.10.0",
69
- "@types/react": "19.2.14",
70
- "@types/react-dom": "19.2.3",
71
- "eslint": "9.39.4",
72
- "globals": "16.5.0",
73
- "husky": "9.1.7",
74
- "lint-staged": "17.2.0",
75
- "msw": "2.12.7",
76
- "prettier": "3.9.6",
77
- "react": "19.2.4",
78
- "react-dom": "19.2.4",
79
- "tsup": "8.5.1",
80
- "typescript": "5.9.3",
81
- "typescript-eslint": "8.56.1",
82
- "vitest": "4.1.4"
83
- },
84
- "engines": {
85
- "node": ">=20"
86
- },
87
- "publishConfig": {
88
- "access": "public"
89
- },
90
- "lint-staged": {
91
- "*.{js,jsx,ts,tsx}": [
92
- "eslint --fix",
93
- "prettier --write"
94
- ],
95
- "*.{json,md,yml,yaml,css,less}": [
96
- "prettier --write"
97
- ]
98
- }
99
- }
1
+ {
2
+ "name": "@gz-fronted/gz-pc",
3
+ "version": "0.1.3-beta.2",
4
+ "description": "Shared fetch, hooks and utility primitives for GZ frontend applications.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "sideEffects": false,
8
+ "files": [
9
+ "dist",
10
+ "README.md"
11
+ ],
12
+ "exports": {
13
+ "./fetch": {
14
+ "import": {
15
+ "types": "./dist/fetch/index.d.ts",
16
+ "default": "./dist/fetch/index.js"
17
+ },
18
+ "require": {
19
+ "types": "./dist/fetch/index.d.cts",
20
+ "default": "./dist/fetch/index.cjs"
21
+ }
22
+ },
23
+ "./hooks": {
24
+ "import": {
25
+ "types": "./dist/hooks/index.d.ts",
26
+ "default": "./dist/hooks/index.js"
27
+ },
28
+ "require": {
29
+ "types": "./dist/hooks/index.d.cts",
30
+ "default": "./dist/hooks/index.cjs"
31
+ }
32
+ },
33
+ "./utils": {
34
+ "import": {
35
+ "types": "./dist/utils/index.d.ts",
36
+ "default": "./dist/utils/index.js"
37
+ },
38
+ "require": {
39
+ "types": "./dist/utils/index.d.cts",
40
+ "default": "./dist/utils/index.cjs"
41
+ }
42
+ },
43
+ "./package.json": "./package.json"
44
+ },
45
+ "scripts": {
46
+ "build": "node scripts/build.mjs",
47
+ "lint": "eslint .",
48
+ "typecheck": "tsc --noEmit",
49
+ "test": "vitest run",
50
+ "test:watch": "vitest",
51
+ "verify:exports": "node tests/exports/smoke.mjs",
52
+ "prepublishOnly": "npm run build",
53
+ "prepare": "husky"
54
+ },
55
+ "dependencies": {
56
+ "ahooks": "^3.9.7",
57
+ "axios": "^1.13.6"
58
+ },
59
+ "peerDependencies": {
60
+ "@chenhui996/gg-ui": "^0.1.1",
61
+ "react": "^18.0.0 || ^19.0.0"
62
+ },
63
+ "devDependencies": {
64
+ "@chenhui996/gg-ui": "0.1.1",
65
+ "@commitlint/cli": "21.2.1",
66
+ "@commitlint/config-conventional": "21.2.0",
67
+ "@eslint/js": "9.39.4",
68
+ "@types/node": "24.10.0",
69
+ "@types/react": "19.2.14",
70
+ "@types/react-dom": "19.2.3",
71
+ "eslint": "9.39.4",
72
+ "globals": "16.5.0",
73
+ "husky": "9.1.7",
74
+ "lint-staged": "17.2.0",
75
+ "msw": "2.12.7",
76
+ "prettier": "3.9.6",
77
+ "react": "19.2.4",
78
+ "react-dom": "19.2.4",
79
+ "tsup": "8.5.1",
80
+ "typescript": "5.9.3",
81
+ "typescript-eslint": "8.56.1",
82
+ "vitest": "4.1.4"
83
+ },
84
+ "engines": {
85
+ "node": ">=20"
86
+ },
87
+ "publishConfig": {
88
+ "access": "public"
89
+ },
90
+ "lint-staged": {
91
+ "*.{js,jsx,ts,tsx}": [
92
+ "eslint --fix",
93
+ "prettier --write"
94
+ ],
95
+ "*.{json,md,yml,yaml,css,less}": [
96
+ "prettier --write"
97
+ ]
98
+ }
99
+ }