spark-html-websocket 0.1.3 → 1.0.0-rc.2

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 +4 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -75,11 +75,12 @@ Declarative attributes: `ws` (url), `store` (name), `raw` (skip JSON),
75
75
  ## The Spark family
76
76
 
77
77
  Small, single-purpose packages that share one philosophy: no compiler, no
78
- virtual DOM, no build step required. Add only what you use.
78
+ virtual DOM, no build step required built for humans who love hand-writing
79
+ their web apps. Add only what you use.
79
80
 
80
81
  | Package | What it does |
81
82
  |---|---|
82
- | [`spark-html`](https://www.npmjs.com/package/spark-html) | The runtime — components, reactivity, stores, forms, scoped styles. 13 kB gzip, 0 deps. |
83
+ | [`spark-html`](https://www.npmjs.com/package/spark-html) | The runtime — components, reactivity, stores, forms, scoped styles. ~14.4 kB gzip, 0 deps. |
83
84
  | [`spark-html-bun`](https://www.npmjs.com/package/spark-html-bun) | Dev server, bundler & preview on Bun — scoped HMR, no-build dev, post-build pipeline. |
84
85
  | [`spark-html-router`](https://www.npmjs.com/package/spark-html-router) | `<template route>` routing — nested routes/layouts, `route.query`, active links. |
85
86
  | [`spark-html-theme`](https://www.npmjs.com/package/spark-html-theme) | Dark/light/system theming in one line — persisted, no flash. |
@@ -90,6 +91,7 @@ virtual DOM, no build step required. Add only what you use.
90
91
  | [`spark-html-persist`](https://www.npmjs.com/package/spark-html-persist) | Persist stores to localStorage/sessionStorage in one line. |
91
92
  | [`spark-html-websocket`](https://www.npmjs.com/package/spark-html-websocket) | A WebSocket as a reactive store — auto-reconnect, JSON, `send()`. |
92
93
  | [`spark-prerender`](https://www.npmjs.com/package/spark-prerender) | Build-time SEO prerender + sitemap/robots — no SSR server. |
94
+ | [`spark-ssr`](https://www.npmjs.com/package/spark-ssr) | Full-stack SSR on Bun — the template is the backend: inferred DB, REST CRUD, auth, live updates. Precompiled + response-cached: fast by default. |
93
95
  | [`spark-html-image`](https://www.npmjs.com/package/spark-html-image) | Build-time image optimization — webp/avif + responsive `srcset`, zero config. |
94
96
  | [`spark-html-font`](https://www.npmjs.com/package/spark-html-font) | Font loading optimizer — preload + size-adjusted fallbacks, no FOUT. |
95
97
  | [`spark-html-manifest`](https://www.npmjs.com/package/spark-html-manifest) | PWA manifest + icons + head tags (and optional service worker) from one config. |
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "spark-html-websocket",
3
- "version": "0.1.3",
3
+ "version": "1.0.0-rc.2",
4
4
  "description": "Declarative WebSocket for spark-html — a reactive store with auto-reconnect, JSON parsing, status, and send(). Zero dependencies.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
7
7
  "types": "./src/index.d.ts",
8
- "homepage": "https://wilkinnovo.github.io/spark",
8
+ "homepage": "https://wilkinnovo.github.io/spark-html",
9
9
  "exports": {
10
10
  ".": {
11
11
  "types": "./src/index.d.ts",
@@ -20,11 +20,11 @@
20
20
  ],
21
21
  "repository": {
22
22
  "type": "git",
23
- "url": "git+https://github.com/wilkinnovo/spark.git",
23
+ "url": "git+https://github.com/wilkinnovo/spark-html.git",
24
24
  "directory": "packages/spark-html-websocket"
25
25
  },
26
26
  "peerDependencies": {
27
- "spark-html": ">=0.23.1"
27
+ "spark-html": ">=1.0.0-rc.1 <2"
28
28
  },
29
29
  "keywords": [
30
30
  "spark-html",