gjendje 0.3.6 → 0.4.0

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.
Files changed (2) hide show
  1. package/README.md +1 -3
  2. package/package.json +81 -84
package/README.md CHANGED
@@ -2,9 +2,7 @@
2
2
 
3
3
  # gjendje
4
4
 
5
- Every app juggles `localStorage`, `sessionStorage`, URL params, and in-memory state — each with its own API.
6
-
7
- **gjendje** replaces it all with a single primitive. Choose where state lives. The rest is handled.
5
+ Every app juggles `localStorage`, `sessionStorage`, URL params, and in-memory state — each with its own API. **gjendje** replaces it all with a single primitive. Choose where state lives. The rest is handled.
8
6
 
9
7
  ## Install
10
8
 
package/package.json CHANGED
@@ -1,85 +1,82 @@
1
1
  {
2
- "name": "gjendje",
3
- "version": "0.3.6",
4
- "description": "TypeScript state management",
5
- "keywords": [
6
- "state",
7
- "storage",
8
- "reactive",
9
- "persistence",
10
- "typescript",
11
- "localStorage",
12
- "storageBuckets"
13
- ],
14
- "author": "Charlie Beckstrand",
15
- "license": "MIT",
16
- "repository": {
17
- "type": "git",
18
- "url": "git+https://github.com/charliebeckstrand/gjendje.git"
19
- },
20
- "homepage": "https://github.com/charliebeckstrand/gjendje#readme",
21
- "bugs": {
22
- "url": "https://github.com/charliebeckstrand/gjendje/issues"
23
- },
24
- "engines": {
25
- "node": ">=18.0.0"
26
- },
27
- "packageManager": "pnpm@9.0.0",
28
- "type": "module",
29
- "exports": {
30
- ".": {
31
- "import": {
32
- "types": "./dist/index.d.ts",
33
- "default": "./dist/index.js"
34
- },
35
- "require": {
36
- "types": "./dist/index.d.cts",
37
- "default": "./dist/index.cjs"
38
- }
39
- }
40
- },
41
- "main": "./dist/index.cjs",
42
- "module": "./dist/index.js",
43
- "types": "./dist/index.d.ts",
44
- "files": [
45
- "dist",
46
- "README.md"
47
- ],
48
- "scripts": {
49
- "build": "tsup",
50
- "dev": "tsup --watch",
51
- "format": "biome format --write src/ __tests__/",
52
- "lint": "biome check src/ __tests__/",
53
- "lint:check": "biome ci src/ __tests__/",
54
- "lint:fix": "biome check src/ __tests__/ --fix",
55
- "prepare": "lefthook install",
56
- "prepublishOnly": "pnpm typecheck && pnpm lint:check && pnpm test && pnpm build && pnpm publint",
57
- "release": "pnpm build && pnpm changeset publish",
58
- "size": "size-limit",
59
- "test": "vitest run",
60
- "test:coverage": "vitest run --coverage",
61
- "test:watch": "vitest",
62
- "typecheck": "tsc --project tsconfig.test.json --skipLibCheck",
63
- "bench": "tsx benchmarks/state-management.bench.ts",
64
- "bench:internal": "tsx benchmarks/internal.bench.ts"
65
- },
66
- "devDependencies": {
67
- "@biomejs/biome": "^2.4.6",
68
- "@changesets/cli": "^2.27.0",
69
- "@size-limit/preset-small-lib": "^11.0.0",
70
- "@types/node": "^20.0.0",
71
- "@vitest/coverage-v8": "^4.0.0",
72
- "happy-dom": "^14.0.0",
73
- "lefthook": "^1.6.0",
74
- "publint": "^0.3.0",
75
- "size-limit": "^11.0.0",
76
- "tinybench": "^6.0.0",
77
- "tsup": "^8.0.0",
78
- "tsx": "^4.21.0",
79
- "typescript": "^5.4.0",
80
- "valtio": "^2.3.1",
81
- "vite": "^6.0.0",
82
- "vitest": "^4.0.0",
83
- "zustand": "^5.0.12"
84
- }
85
- }
2
+ "name": "gjendje",
3
+ "version": "0.4.0",
4
+ "description": "TypeScript state management",
5
+ "keywords": [
6
+ "state",
7
+ "storage",
8
+ "reactive",
9
+ "persistence",
10
+ "typescript",
11
+ "localStorage",
12
+ "storageBuckets"
13
+ ],
14
+ "author": "Charlie Beckstrand",
15
+ "license": "MIT",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/charliebeckstrand/gjendje.git"
19
+ },
20
+ "homepage": "https://github.com/charliebeckstrand/gjendje#readme",
21
+ "bugs": {
22
+ "url": "https://github.com/charliebeckstrand/gjendje/issues"
23
+ },
24
+ "engines": {
25
+ "node": ">=18.0.0"
26
+ },
27
+ "type": "module",
28
+ "exports": {
29
+ ".": {
30
+ "import": {
31
+ "types": "./dist/index.d.ts",
32
+ "default": "./dist/index.js"
33
+ },
34
+ "require": {
35
+ "types": "./dist/index.d.cts",
36
+ "default": "./dist/index.cjs"
37
+ }
38
+ }
39
+ },
40
+ "main": "./dist/index.cjs",
41
+ "module": "./dist/index.js",
42
+ "types": "./dist/index.d.ts",
43
+ "files": [
44
+ "dist",
45
+ "README.md"
46
+ ],
47
+ "devDependencies": {
48
+ "@biomejs/biome": "^2.4.6",
49
+ "@changesets/cli": "^2.27.0",
50
+ "@size-limit/preset-small-lib": "^11.0.0",
51
+ "@types/node": "^20.0.0",
52
+ "@vitest/coverage-v8": "^4.0.0",
53
+ "happy-dom": "^14.0.0",
54
+ "lefthook": "^1.6.0",
55
+ "publint": "^0.3.0",
56
+ "size-limit": "^11.0.0",
57
+ "tinybench": "^6.0.0",
58
+ "tsup": "^8.0.0",
59
+ "tsx": "^4.21.0",
60
+ "typescript": "^5.4.0",
61
+ "valtio": "^2.3.1",
62
+ "vite": "^6.0.0",
63
+ "vitest": "^4.0.0",
64
+ "zustand": "^5.0.12"
65
+ },
66
+ "scripts": {
67
+ "build": "tsup",
68
+ "dev": "tsup --watch",
69
+ "format": "biome format --write src/ __tests__/",
70
+ "lint": "biome check src/ __tests__/",
71
+ "lint:check": "biome ci src/ __tests__/",
72
+ "lint:fix": "biome check src/ __tests__/ --fix",
73
+ "release": "pnpm build && pnpm changeset publish",
74
+ "size": "size-limit",
75
+ "test": "vitest run",
76
+ "test:coverage": "vitest run --coverage",
77
+ "test:watch": "vitest",
78
+ "typecheck": "tsc --project tsconfig.test.json --skipLibCheck",
79
+ "bench": "tsx benchmarks/state-management.bench.ts",
80
+ "bench:internal": "tsx benchmarks/internal.bench.ts"
81
+ }
82
+ }