synstate-react-hooks 2.0.0 → 2.0.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 +40 -21
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "synstate-react-hooks",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Type-safe State Management Library for TypeScript/JavaScript",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/noshiro-pf/
|
|
7
|
+
"url": "git+https://github.com/noshiro-pf/mono.git",
|
|
8
|
+
"directory": "libs/synstate-react-hooks"
|
|
8
9
|
},
|
|
9
10
|
"license": "Apache-2.0",
|
|
10
11
|
"author": "noshiro-pf <noshiro.pf@gmail.com>",
|
|
@@ -18,8 +19,8 @@
|
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
21
|
},
|
|
21
|
-
"module": "./dist/index.
|
|
22
|
-
"types": "./dist/index.d.
|
|
22
|
+
"module": "./dist/index.mjs",
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
23
24
|
"files": [
|
|
24
25
|
"src",
|
|
25
26
|
"dist",
|
|
@@ -27,35 +28,53 @@
|
|
|
27
28
|
"LICENSE"
|
|
28
29
|
],
|
|
29
30
|
"dependencies": {
|
|
30
|
-
"
|
|
31
|
-
"ts-
|
|
32
|
-
"
|
|
31
|
+
"synstate": "2.0.2",
|
|
32
|
+
"ts-data-forge": "^14.2.1",
|
|
33
|
+
"ts-type-forge": "^9.2.1"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
35
|
-
"@
|
|
36
|
+
"@rollup/plugin-replace": "6.0.3",
|
|
37
|
+
"@rollup/plugin-strip": "3.0.4",
|
|
36
38
|
"@types/react": "19.2.18",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
+
"prettier": "3.9.6",
|
|
40
|
+
"prettier-plugin-organize-imports": "4.3.0",
|
|
41
|
+
"prettier-plugin-packagejson": "3.0.2",
|
|
42
|
+
"react": "19.2.8",
|
|
43
|
+
"rollup": "4.62.4",
|
|
44
|
+
"rollup-plugin-esbuild": "6.2.1",
|
|
45
|
+
"eslint-config-typed": "5.8.5",
|
|
46
|
+
"eslint-plugin-ts-data-forge": "0.4.4",
|
|
47
|
+
"eslint-plugin-ts-fortress": "1.0.1",
|
|
48
|
+
"eslint-plugin-ts-type-forge": "0.6.3",
|
|
49
|
+
"ts-repo-utils": "10.2.0"
|
|
39
50
|
},
|
|
40
51
|
"peerDependencies": {
|
|
41
52
|
"react": ">=18.0.0"
|
|
42
53
|
},
|
|
54
|
+
"engines": {
|
|
55
|
+
"node": ">=22.22.2",
|
|
56
|
+
"pnpm": ">=9.0.0"
|
|
57
|
+
},
|
|
58
|
+
"publishConfig": {
|
|
59
|
+
"access": "public",
|
|
60
|
+
"provenance": true
|
|
61
|
+
},
|
|
43
62
|
"scripts": {
|
|
44
|
-
"build": "tsx ./scripts/cmd/build.mts",
|
|
45
|
-
"build:min": "tsx ./scripts/cmd/build.mts --skip-check",
|
|
46
|
-
"check:ext": "tsx ./scripts/cmd/check-ext.mts",
|
|
47
|
-
"check-all": "tsx ./scripts/cmd/check-all.mts",
|
|
48
|
-
"codemod": "convert-to-readonly '{src,samples,test}/**/*.{mts,tsx}'",
|
|
63
|
+
"build": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/build.mts",
|
|
64
|
+
"build:min": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/build.mts --skip-check",
|
|
65
|
+
"check:ext": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/check-ext.mts",
|
|
66
|
+
"check-all": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/check-all.mts",
|
|
67
|
+
"codemod": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ../../libs/ts-codemod-cli/src/cmd/convert-to-readonly.mts '{src,samples,test}/**/*.{mts,tsx}'",
|
|
49
68
|
"doc": "run-s doc:embed doc:embed:jsdoc fmt",
|
|
50
|
-
"doc:embed": "tsx ./scripts/cmd/embed-examples.mts",
|
|
51
|
-
"doc:embed:jsdoc": "tsx ./scripts/cmd/embed-examples-in-jsdoc.mts",
|
|
52
|
-
"fmt": "format-uncommitted --cwd .",
|
|
53
|
-
"fmt:diff": "format-diff-from origin/main --cwd .",
|
|
69
|
+
"doc:embed": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/embed-examples.mts",
|
|
70
|
+
"doc:embed:jsdoc": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/embed-examples-in-jsdoc.mts",
|
|
71
|
+
"fmt": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ../../libs/ts-repo-utils/src/cmd/format-uncommitted.mts --cwd .",
|
|
72
|
+
"fmt:diff": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ../../libs/ts-repo-utils/src/cmd/format-diff-from.mts origin/main --cwd .",
|
|
54
73
|
"fmt:full": "pnpm run z:prettier .",
|
|
55
74
|
"gen:re-export": "run-s gen:re-export:script fmt",
|
|
56
|
-
"gen:re-export:script": "tsx ./scripts/cmd/generate-re-export-script.mts",
|
|
75
|
+
"gen:re-export:script": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ./scripts/cmd/generate-re-export-script.mts",
|
|
57
76
|
"gi": "run-s gi:src fmt",
|
|
58
|
-
"gi:src": "gen-index-ts ./src --index-ext .mts --export-ext .mjs --target-ext .mts --target-ext .tsx --exclude entry-point.mts",
|
|
77
|
+
"gi:src": "tsx --tsconfig ../../tools/configs/tsconfig.tsx.json ../../libs/ts-repo-utils/src/cmd/gen-index-ts.mts ./src --index-ext .mts --export-ext .mjs --target-ext .mts --target-ext .tsx --exclude entry-point.mts",
|
|
59
78
|
"lint": "eslint .",
|
|
60
79
|
"lint:fix": "eslint . --fix",
|
|
61
80
|
"test": "pnpm run z:vitest:node run",
|