hypersig-ts 0.1.0 → 0.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypersig-ts",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "A TypeScript web framework that keeps server-rendered pages in sync with committed server state over Server-Sent Events, with every browser-facing name produced from a type.",
5
5
  "keywords": [
6
6
  "hono",
@@ -50,6 +50,10 @@
50
50
  "./react": {
51
51
  "types": "./dist/react.d.ts",
52
52
  "import": "./dist/react.js"
53
+ },
54
+ "./redis": {
55
+ "types": "./dist/redis.d.ts",
56
+ "import": "./dist/redis.js"
53
57
  }
54
58
  },
55
59
  "publishConfig": {
@@ -57,7 +61,7 @@
57
61
  "provenance": true
58
62
  },
59
63
  "scripts": {
60
- "build": "tsc -p tsconfig.build.json && bun build src/browser.ts --target=browser --minify --outfile=dist/runtime.js && node --input-type=module -e 'await import(\"hypersig-ts/core\"); await import(\"hypersig-ts\"); await import(\"hypersig-ts/element\")'",
64
+ "build": "tsc -p tsconfig.build.json && bun build src/browser.ts --target=browser --minify --outfile=dist/runtime.js && node --input-type=module -e 'await import(\"hypersig-ts/core\"); await import(\"hypersig-ts\"); await import(\"hypersig-ts/element\"); await import(\"hypersig-ts/redis\")'",
61
65
  "prepack": "rm -f dist/*.js dist/*.d.ts dist/*.map && bun run build",
62
66
  "check": "vp check",
63
67
  "format": "vp fmt --check",
@@ -67,6 +71,7 @@
67
71
  "test": "vp test run",
68
72
  "test:watch": "vp test watch",
69
73
  "test:outbox": "bun test examples/shared-memo/store.test.ts",
74
+ "test:redis:bun": "bun test examples/counter/redis.test.ts",
70
75
  "example:counter": "bun run build && bun examples/counter/server.tsx",
71
76
  "example:todomvc": "bun run build && bun examples/todomvc/server.tsx",
72
77
  "example:memo": "bun run build && bun examples/shared-memo/server.tsx",
@@ -76,7 +81,8 @@
76
81
  "example:sortable:browser": "bun build examples/sortable/list.tsx --target=browser --production --outfile=examples/sortable/dist/list.js",
77
82
  "example:widgets": "bun run build && bun examples/widgets/server.tsx",
78
83
  "test:browser": "bun run build && playwright test",
79
- "bench:phase4": "bun run build >&2 && node bench/run.ts"
84
+ "bench:phase4": "bun run build >&2 && node bench/run.ts",
85
+ "bench:multi": "bun run build >&2 && node bench/multi-instance.ts"
80
86
  },
81
87
  "dependencies": {
82
88
  "@standard-schema/spec": "1.1.0",
@@ -96,6 +102,7 @@
96
102
  "jsdom": "30.0.1",
97
103
  "react": "19.3.1",
98
104
  "react-dom": "19.3.1",
105
+ "redis": "6.3.1",
99
106
  "typescript": "7.0.2",
100
107
  "valibot": "1.5.0",
101
108
  "vite-plus": "1.7.0"