@storesjs/stores 0.8.5 → 0.8.7
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/dist/createBaseStore.d.ts +2 -2
- package/dist/createQueryStore.d.ts +4 -4
- package/dist/derivedStore/{globalDeriveScheduler.d.ts → cascadeScheduler.d.ts} +1 -1
- package/dist/middleware/createHydrationGate.d.ts +1 -1
- package/dist/native/index.js +1 -1
- package/dist/native/index.mjs +1 -1
- package/dist/storage/storageCreators.d.ts +1 -1
- package/dist/types/utils.d.ts +1 -1
- package/dist/types.d.ts +11 -7
- package/dist/utils/storeUtils.d.ts +22 -15
- package/dist/web/chrome.js +1 -1
- package/dist/web/chrome.mjs +1 -1
- package/dist/web/{chunk-B3GRBY25.mjs → chunk-MMPMCVRC.mjs} +1 -1
- package/dist/web/index.js +1 -1
- package/dist/web/index.mjs +1 -1
- package/package.json +8 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storesjs/stores",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"repository": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"main": "dist/web/index.js",
|
|
22
22
|
"module": "dist/web/index.mjs",
|
|
23
|
-
"types": "dist/
|
|
23
|
+
"types": "dist/index.d.ts",
|
|
24
24
|
"react-native": "dist/native/index.js",
|
|
25
25
|
"exports": {
|
|
26
26
|
".": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"use-sync-external-store": "1.6.0",
|
|
45
|
-
"zustand": "5.0.
|
|
45
|
+
"zustand": "5.0.10"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": ">=17.0.0",
|
|
@@ -72,15 +72,16 @@
|
|
|
72
72
|
"vitest": "^2.0.0"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
|
-
"analyze": "pnpm run prebuild:web && tsx scripts/analyze-bundle.ts && pnpm run postbuild:web",
|
|
76
|
-
"build": "tsx scripts/build.ts",
|
|
75
|
+
"analyze": "pnpm run prebuild:web && tsx --tsconfig scripts/tsconfig.json scripts/analyze-bundle.ts && pnpm run postbuild:web",
|
|
76
|
+
"build": "tsx --tsconfig scripts/tsconfig.json scripts/build.ts",
|
|
77
77
|
"build:dev": "pnpm run build:types && NODE_ENV=development pnpm run build:web && NODE_ENV=development pnpm run build:native",
|
|
78
78
|
"build:native": "pnpm run -s prebuild:native && BUILD_TARGET=native tsup --config tsup.config.ts --out-dir dist/native && pnpm run -s postbuild:native",
|
|
79
79
|
"build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
80
80
|
"build:web": "pnpm run -s prebuild:web && tsup --config tsup.config.ts --out-dir dist/web && pnpm run -s postbuild:web",
|
|
81
|
-
"generate:exports": "tsx scripts/generate-exports.ts",
|
|
81
|
+
"generate:exports": "tsx --tsconfig scripts/tsconfig.json scripts/generate-exports.ts",
|
|
82
82
|
"lint": "pnpm -w run lint",
|
|
83
83
|
"lint:eslint": "pnpm -w run lint:eslint",
|
|
84
|
+
"lint:format": "prettier --write --log-level warn --ignore-path ../../.prettierignore .",
|
|
84
85
|
"lint:prettier": "pnpm -w run lint:prettier",
|
|
85
86
|
"postbuild:native": "rm -f src/storesStorage.ts src/env.ts",
|
|
86
87
|
"postbuild:web": "rm -f src/storesStorage.ts src/env.ts",
|
|
@@ -89,6 +90,6 @@
|
|
|
89
90
|
"test": "jest --detectOpenHandles --forceExit --testPathIgnorePatterns='src/plugins'",
|
|
90
91
|
"test:all": "pnpm run test && pnpm run test:chrome",
|
|
91
92
|
"test:chrome": "vitest run src/plugins/chrome",
|
|
92
|
-
"test:treeshake": "tsx scripts/treeshake.ts"
|
|
93
|
+
"test:treeshake": "tsx --tsconfig scripts/tsconfig.json scripts/treeshake.ts"
|
|
93
94
|
}
|
|
94
95
|
}
|