polystore 0.21.2 → 0.21.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/package.json +3 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "polystore",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.3",
|
|
4
4
|
"description": "A small compatibility layer for many popular KV stores like localStorage, Redis, FileSystem, etc.",
|
|
5
5
|
"homepage": "https://polystore.dev",
|
|
6
6
|
"repository": "https://github.com/franciscop/polystore.git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"src/integrations/hono-sessions.d.ts"
|
|
35
35
|
],
|
|
36
36
|
"scripts": {
|
|
37
|
-
"analyze": "
|
|
37
|
+
"analyze": "bun run build && esbuild src/index.ts --bundle --packages=external --format=esm --minify --outfile=index.min.js && echo 'Final size:' && gzip-size index.min.js && rm index.min.js",
|
|
38
38
|
"build": "bunx tsup src/index.ts --format esm --dts --out-dir . --target node24 && bunx tsup src/integrations/express.ts src/integrations/hono-sessions.ts --format esm --dts --out-dir src/integrations --target node24 --external polystore --external express-session --external hono-sessions",
|
|
39
39
|
"lint": "tsc",
|
|
40
40
|
"start": "bun test --watch",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"service:postgres": "brew services start postgresql",
|
|
44
44
|
"service:server": "bun ./src/server.ts",
|
|
45
45
|
"services": "concurrently \"npm run service:db\" \"npm run service:redis\" \"npm run service:postgres\" \"npm run service:server\"",
|
|
46
|
-
"test": "
|
|
46
|
+
"test": "bun run test:bun && bun run test:jest",
|
|
47
47
|
"test:bun": "bun test ./test/index.test.ts ./src/integrations/",
|
|
48
48
|
"test:jest": "jest ./test/index.test.ts --detectOpenHandles --forceExit"
|
|
49
49
|
},
|
|
@@ -67,9 +67,7 @@
|
|
|
67
67
|
"@types/pg": "^8.11.10",
|
|
68
68
|
"@types/supertest": "^7.2.0",
|
|
69
69
|
"better-sqlite3": "^12.6.0",
|
|
70
|
-
"check-dts": "^0.8.0",
|
|
71
70
|
"concurrently": "^9.2.1",
|
|
72
|
-
"cross-fetch": "^4.1.0",
|
|
73
71
|
"dotenv": "^16.3.1",
|
|
74
72
|
"edge-mock": "^0.0.15",
|
|
75
73
|
"esbuild": "^0.27.0",
|
|
@@ -87,7 +85,6 @@
|
|
|
87
85
|
"redis": "^4.6.10",
|
|
88
86
|
"supertest": "^7.2.2",
|
|
89
87
|
"ts-jest": "^29.4.6",
|
|
90
|
-
"ts-node": "^10.9.2",
|
|
91
88
|
"tsup": "^8.5.1",
|
|
92
89
|
"typescript": "^5.9.3"
|
|
93
90
|
},
|