@pawover/kit 1.1.0-alpha.1 → 1.2.0-alpha.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.
- package/README.en.md +2 -2
- package/README.md +2 -2
- package/entry/types-global.d.ts +1 -0
- package/entry/types-react-global.d.ts +1 -0
- package/package.json +29 -21
package/README.en.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<p><a href="README.md">简体中文</a> | <b>English</b></p>
|
|
5
5
|
|
|
6
6
|
[](https://www.npmjs.com/package/@pawover/kit)
|
|
7
|
-
[](https://nodejs.org)
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
[](https://pawover.github.io/pawover-kit/)
|
|
10
10
|
</div>
|
|
@@ -87,7 +87,7 @@ id.parse("abc"); // "abc"
|
|
|
87
87
|
|
|
88
88
|
## Requirements
|
|
89
89
|
|
|
90
|
-
- Node.js >= 22.
|
|
90
|
+
- Node.js >= 24.22.2
|
|
91
91
|
- pnpm >= 11
|
|
92
92
|
|
|
93
93
|
## Development
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<p><b>简体中文</b> | <a href="README.en.md">English</a></p>
|
|
5
5
|
|
|
6
6
|
[](https://www.npmjs.com/package/@pawover/kit)
|
|
7
|
-
[](https://nodejs.org)
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
[](https://pawover.github.io/pawover-kit/)
|
|
10
10
|
</div>
|
|
@@ -87,7 +87,7 @@ id.parse("abc"); // "abc"
|
|
|
87
87
|
|
|
88
88
|
## 环境要求
|
|
89
89
|
|
|
90
|
-
- Node.js >= 22.
|
|
90
|
+
- Node.js >= 24.22.2
|
|
91
91
|
- pnpm >= 11
|
|
92
92
|
|
|
93
93
|
## 开发
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@pawover/kit-types/global";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@pawover/kit-types/react/global";
|
package/package.json
CHANGED
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
"url": "https://github.com/pawover"
|
|
7
7
|
},
|
|
8
8
|
"description": "一个基于 TypeScript 的开发工具包",
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.2.0-alpha.3",
|
|
10
10
|
"type": "module",
|
|
11
11
|
"engines": {
|
|
12
|
-
"node": ">=24.
|
|
12
|
+
"node": ">=24.22.2"
|
|
13
13
|
},
|
|
14
14
|
"devEngines": {
|
|
15
15
|
"runtime": {
|
|
16
16
|
"name": "node",
|
|
17
|
-
"version": "24.
|
|
17
|
+
"version": "24.22.2"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
@@ -145,6 +145,12 @@
|
|
|
145
145
|
"default": "./entry/types-react.cjs"
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
|
+
"./types/global": {
|
|
149
|
+
"types": "./entry/types-global.d.ts"
|
|
150
|
+
},
|
|
151
|
+
"./types/react/global": {
|
|
152
|
+
"types": "./entry/types-react-global.d.ts"
|
|
153
|
+
},
|
|
148
154
|
"./eslint-rules": {
|
|
149
155
|
"import": {
|
|
150
156
|
"types": "./entry/eslint-rules.d.ts",
|
|
@@ -161,46 +167,46 @@
|
|
|
161
167
|
"access": "public"
|
|
162
168
|
},
|
|
163
169
|
"dependencies": {
|
|
164
|
-
"@pawover/kit-eslint-rules": "0.1.0-alpha.
|
|
165
|
-
"@pawover/kit-hooks": "0.0.9-alpha.
|
|
166
|
-
"@pawover/kit-
|
|
167
|
-
"@pawover/kit-
|
|
168
|
-
"@pawover/kit-
|
|
170
|
+
"@pawover/kit-eslint-rules": "0.1.0-alpha.2",
|
|
171
|
+
"@pawover/kit-hooks": "0.0.9-alpha.1",
|
|
172
|
+
"@pawover/kit-types": "0.1.0-alpha.0",
|
|
173
|
+
"@pawover/kit-utils": "1.0.1-alpha.1",
|
|
174
|
+
"@pawover/kit-zod": "0.0.4"
|
|
169
175
|
},
|
|
170
176
|
"devDependencies": {
|
|
171
177
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
172
178
|
"@changesets/cli": "^3.0.3",
|
|
173
|
-
"@commitlint/cli": "^21.2.
|
|
174
|
-
"@commitlint/config-conventional": "^21.2.
|
|
179
|
+
"@commitlint/cli": "^21.2.4",
|
|
180
|
+
"@commitlint/config-conventional": "^21.2.4",
|
|
175
181
|
"@fontsource/ibm-plex-mono": "^5.3.0",
|
|
182
|
+
"@pawover/kit-internal": "0.0.0",
|
|
176
183
|
"@testing-library/react": "^16.3.3",
|
|
177
184
|
"@types/fs-extra": "^11.0.4",
|
|
178
|
-
"@types/node": "^26.6.
|
|
185
|
+
"@types/node": "^26.6.6",
|
|
179
186
|
"@types/react": "^19.3.0",
|
|
180
187
|
"@vitejs/plugin-react": "^6.1.2",
|
|
181
|
-
"@vitest/coverage-v8": "^5.0.
|
|
188
|
+
"@vitest/coverage-v8": "^5.0.5",
|
|
182
189
|
"alova": "^3.5.5",
|
|
183
190
|
"commitizen": "^4.3.2",
|
|
184
191
|
"cross-env": "^10.1.0",
|
|
185
192
|
"cz-customizable": "^7.5.4",
|
|
186
|
-
"eslint": "^10.
|
|
193
|
+
"eslint": "^10.14.0",
|
|
187
194
|
"fs-extra": "^11.4.1",
|
|
188
195
|
"husky": "^9.1.7",
|
|
189
|
-
"jsdom": "^30.1.
|
|
196
|
+
"jsdom": "^30.1.3",
|
|
190
197
|
"lint-staged": "^17.6.0",
|
|
191
198
|
"mathjs": "^15.2.0",
|
|
192
199
|
"prettier": "^3.9.10",
|
|
193
200
|
"react-dom": "19.2.6",
|
|
194
201
|
"rimraf": "^6.1.3",
|
|
195
202
|
"rollup-plugin-visualizer": "^7.1.1",
|
|
196
|
-
"tsdown": "^0.23.
|
|
197
|
-
"turbo": "^2.11.
|
|
203
|
+
"tsdown": "^0.23.4",
|
|
204
|
+
"turbo": "^2.11.10",
|
|
198
205
|
"typedoc": "^0.28.20",
|
|
199
|
-
"typedoc-plugin-markdown": "^4.
|
|
206
|
+
"typedoc-plugin-markdown": "^4.14.1",
|
|
200
207
|
"typescript": "^6.0.3",
|
|
201
208
|
"vitepress": "^1.6.4",
|
|
202
|
-
"vitest": "^5.0.
|
|
203
|
-
"@pawover/kit-internal": "0.0.0"
|
|
209
|
+
"vitest": "^5.0.5"
|
|
204
210
|
},
|
|
205
211
|
"peerDependencies": {
|
|
206
212
|
"alova": "^3.5.5",
|
|
@@ -242,7 +248,8 @@
|
|
|
242
248
|
"test:integration": "vitest run test/integration",
|
|
243
249
|
"test:types": "tsc -p test/tsconfig.json --noEmit",
|
|
244
250
|
"test:smoke": "node test/scripts/smoke.ts",
|
|
245
|
-
"test:
|
|
251
|
+
"test:global-types": "node test/scripts/globalTypes.ts",
|
|
252
|
+
"test:ci": "pnpm test:types && pnpm check:types:packages && pnpm test && pnpm build && pnpm test:smoke && pnpm test:global-types && pnpm check:pack",
|
|
246
253
|
"postbuild": "node scripts/syncEntry.ts",
|
|
247
254
|
"build": "turbo build",
|
|
248
255
|
"build:analyze": "cross-env VISUALIZER=1 turbo build",
|
|
@@ -262,7 +269,8 @@
|
|
|
262
269
|
"docs:preview": "vitepress preview site",
|
|
263
270
|
"docs:gen": "node scripts/generateDocs.ts",
|
|
264
271
|
"check": "pnpm check:types & pnpm check:eslint & pnpm check:format",
|
|
265
|
-
"check:types": "tsc --noEmit",
|
|
272
|
+
"check:types": "tsc --noEmit && node scripts/checkPackageTypes.ts",
|
|
273
|
+
"check:types:packages": "node scripts/checkPackageTypes.ts",
|
|
266
274
|
"check:eslint": "eslint --fix \"**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,vue}\" --cache-location=.cache/eslint.cache.json --cache",
|
|
267
275
|
"check:format": "prettier --write \"**/*.{html,json,jsonc}\" --cache-location=.cache/prettier.cache.json --cache",
|
|
268
276
|
"check:pack": "cross-env HUSKY=0 node scripts/checkPack.ts",
|