@sladg/apex-state 3.0.1
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/index.d.ts +1527 -0
- package/dist/index.js +2990 -0
- package/dist/index.js.map +1 -0
- package/package.json +92 -0
package/package.json
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sladg/apex-state",
|
|
3
|
+
"version": "3.0.1",
|
|
4
|
+
"description": "Advanced state management wrapper around Valtio with sync paths, aggregations, and side effects",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"state-management",
|
|
7
|
+
"valtio",
|
|
8
|
+
"react",
|
|
9
|
+
"sync-paths",
|
|
10
|
+
"aggregation",
|
|
11
|
+
"side-effects"
|
|
12
|
+
],
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/sladg/apex-state"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": "Jan Soukup <jan@ssoukup.com>",
|
|
19
|
+
"contributors": [
|
|
20
|
+
"Claude"
|
|
21
|
+
],
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"import": "./dist/index.js",
|
|
25
|
+
"types": "./dist/index.d.ts"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist"
|
|
30
|
+
],
|
|
31
|
+
"main": "./dist/index.js",
|
|
32
|
+
"type": "module",
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"module": "./dist/index.js",
|
|
35
|
+
"scripts": {
|
|
36
|
+
"bench": "vitest bench --run",
|
|
37
|
+
"bench:watch": "vitest bench",
|
|
38
|
+
"build": "tsup",
|
|
39
|
+
"code:check": "eslint . && npm run type-check",
|
|
40
|
+
"code:fix": "eslint . --fix",
|
|
41
|
+
"code:unused": "knip",
|
|
42
|
+
"commit": "npx --package @sladg/release-utils utils commit",
|
|
43
|
+
"release": "npx --package @sladg/release-utils utils shipit --gitUser @sladg --gitEmail jan@ssoukup.com --changelog",
|
|
44
|
+
"test": "npm run test:smoke && npm run test:all && npm run bench",
|
|
45
|
+
"test:all": "vitest run",
|
|
46
|
+
"test:bench": "npm run test:parity && npm run bench",
|
|
47
|
+
"test:coverage": "vitest run --coverage",
|
|
48
|
+
"test:parity": "vitest run tests/integration/wasm-vs-legacy-parity.test.ts",
|
|
49
|
+
"test:perf": "VITEST_PERF=true vitest run",
|
|
50
|
+
"test:smoke": "vitest run tests/smoke-dual-mode.test.tsx",
|
|
51
|
+
"test:watch": "vitest",
|
|
52
|
+
"type-check": "tsc --noEmit",
|
|
53
|
+
"wasm:build": "wasm-pack build --target bundler rust",
|
|
54
|
+
"wasm:check": "cargo check --manifest-path rust/Cargo.toml",
|
|
55
|
+
"wasm:fmt": "cargo fmt --manifest-path rust/Cargo.toml",
|
|
56
|
+
"wasm:fmt:check": "cargo fmt --manifest-path rust/Cargo.toml -- --check",
|
|
57
|
+
"wasm:lint": "cargo clippy --manifest-path rust/Cargo.toml -- -D warnings",
|
|
58
|
+
"wasm:test": "cargo test --manifest-path rust/Cargo.toml"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"valtio": "^2.3.0",
|
|
62
|
+
"valtio-reactive": "^0.2.0"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@sladg/eslint-config-base": "^2.4.2",
|
|
66
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
67
|
+
"@testing-library/react": "^14.3.1",
|
|
68
|
+
"@tsconfig/strictest": "^2.0.8",
|
|
69
|
+
"@types/react": "^18.3.12",
|
|
70
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
71
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
72
|
+
"esbuild-plugin-wasm": "^1.1.0",
|
|
73
|
+
"eslint": "^9.0.0",
|
|
74
|
+
"eslint-plugin-check-file": "^3.3.1",
|
|
75
|
+
"jsdom": "^27.4.0",
|
|
76
|
+
"knip": "^5.82.1",
|
|
77
|
+
"react": "^18.3.1",
|
|
78
|
+
"tsup": "^8.3.5",
|
|
79
|
+
"typescript": "^5.9.3",
|
|
80
|
+
"vite": "^7.3.1",
|
|
81
|
+
"vite-plugin-wasm": "^3.5.0",
|
|
82
|
+
"vitest": "^4.0.18",
|
|
83
|
+
"zod": "^3.24.1"
|
|
84
|
+
},
|
|
85
|
+
"peerDependencies": {
|
|
86
|
+
"react": "^18.0.0",
|
|
87
|
+
"zod": "^3.0.0"
|
|
88
|
+
},
|
|
89
|
+
"publishConfig": {
|
|
90
|
+
"access": "public"
|
|
91
|
+
}
|
|
92
|
+
}
|