weave-framework 0.2.0 → 0.2.53

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 +60 -19
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -1,38 +1,79 @@
1
+ <div align="center">
2
+
3
+ <img src="https://raw.githubusercontent.com/weave-framework/weave/HEAD/assets/weave-logo.svg" alt="Weave" width="120" height="120" />
4
+
1
5
  # Weave
2
6
 
3
- **A fine-grained reactive, signal-native UI framework.** Compiled, TypeScript-first, no Virtual DOM,
4
- **zero third-party dependencies.**
7
+ **A finegrained reactive UI framework — signal‑native, tiny, and TypeScript‑first.**
8
+
9
+ *No Virtual DOM. No dependency arrays. No ceremony. Just the threads you need, woven tight.*
5
10
 
6
- 📚 **Docs:** https://weave-framework.github.io/weave/
11
+ [📚 **Documentation**](https://weave-framework.github.io/weave/) · [🚀 Get started](https://weave-framework.github.io/weave/)
12
+
13
+ </div>
7
14
 
8
15
  ---
9
16
 
10
- ## This package
17
+ ## 👋 Welcome
18
+
19
+ Whether you've just stumbled onto Weave or you've been threading along since the early commits — glad you're here.
20
+
21
+ Weave is a UI framework built around one idea taken all the way: **the screen is a fabric, and reactivity is the thread.** When a value changes, Weave touches *only* the exact part of the page that depends on it. Nothing re‑renders wholesale. Nothing diffs a shadow copy of your UI. You describe your interface once, and from then on your signals do the talking.
11
22
 
12
- `weave-framework` is a **meta-package**: installing it pulls in the framework's core and feature packages
13
- in one shot —
23
+ The result feels calm: state that updates exactly where it should, a runtime small enough to forget about, and tooling that treats you like a grown‑up. No mental bookkeeping, no “why did this re‑render,” no incantations to make it fast.
14
24
 
15
- - [`@weave-framework/runtime`](https://www.npmjs.com/package/@weave-framework/runtime) — signals, reactivity, DOM, lifecycle, context/DI
16
- - [`@weave-framework/router`](https://www.npmjs.com/package/@weave-framework/router) — file-based routing
17
- - [`@weave-framework/store`](https://www.npmjs.com/package/@weave-framework/store) — signal-based state
18
- - [`@weave-framework/forms`](https://www.npmjs.com/package/@weave-framework/forms) — typed reactive forms
19
- - [`@weave-framework/i18n`](https://www.npmjs.com/package/@weave-framework/i18n) — translations with ICU
20
- - [`@weave-framework/data`](https://www.npmjs.com/package/@weave-framework/data) — async resources
25
+ ---
21
26
 
22
- You import from the individual packages (`import { signal } from '@weave-framework/runtime'`); they are
23
- zero-dependency and `sideEffects: false`, so anything you don't use is tree-shaken away.
27
+ ## 📦 This package
24
28
 
25
- ## Start a new project (recommended)
29
+ `weave-framework` installs the framework in one shot — it depends on the core + feature packages:
30
+ [`@weave-framework/runtime`](https://www.npmjs.com/package/@weave-framework/runtime),
31
+ [`router`](https://www.npmjs.com/package/@weave-framework/router),
32
+ [`store`](https://www.npmjs.com/package/@weave-framework/store),
33
+ [`forms`](https://www.npmjs.com/package/@weave-framework/forms),
34
+ [`i18n`](https://www.npmjs.com/package/@weave-framework/i18n), and
35
+ [`data`](https://www.npmjs.com/package/@weave-framework/data). Each is zero‑dependency and
36
+ `sideEffects: false`, so anything you don't use is tree‑shaken away.
26
37
 
27
- Don't install this by hand — scaffold a ready-to-run app with the CLI:
38
+ **Starting a new project? Don't install this by hand — scaffold a readytorun app:**
28
39
 
29
40
  ```bash
30
41
  npm create weave@latest my-app
31
42
  ```
32
43
 
33
- That wires up the compiler, dev server, and every feature package for you. See the
34
- [Installation guide](https://weave-framework.github.io/weave/) for pnpm/yarn and manual setup.
44
+ ---
45
+
46
+ ## 🪡 Woven from the best threads
47
+
48
+ We love the frameworks that came before. React made components mainstream, Angular brought structure and a real toolchain, Vue made the on‑ramp gentle, Svelte showed how small a runtime can be, Solid proved signals could carry an entire UI. Weave isn't here to dunk on any of them — it's here to take the threads developers reached for again and again, and weave them into one coherent piece of cloth.
49
+
50
+ So what does Weave do *a little differently*?
51
+
52
+ - **Signals all the way down.** Reactivity is one model, and it powers everything — from a single piece of text to the router. There's no second system to learn and no observables to bridge.
53
+ - **Dependencies track themselves.** Things update when — and only when — what they depend on actually changes. Nothing to declare by hand, nothing to cache, nothing to forget.
54
+ - **No Virtual DOM.** Your interface maps straight onto the page, so updates stay surgical and the runtime that ships stays genuinely small.
55
+ - **Batteries included, not bolted on.** Routing, state, forms, translations, and motion are all first‑party and share the same reactive core — so they compose instead of competing.
56
+ - **A real IDE citizen.** First‑class VS Code **and** WebStorm support, with the kind of editor experience you'd expect from a mature framework.
57
+ - **Honest TypeScript.** Types flow through by inference, your editor understands your UI for free, and there's no decorator boilerplate to wade through.
58
+
59
+ None of this makes the others "wrong." It's a different set of trade‑offs — small, fast, signal‑native, low‑ceremony — for people who want exactly that.
60
+
61
+ ---
62
+
63
+ ## 📚 Get started
64
+
65
+ Installation, your first component, guides, and the complete API reference all live in the documentation:
66
+
67
+ ### → **[Read the documentation](https://weave-framework.github.io/weave/)**
68
+
69
+ ---
70
+
71
+ ## 🛡️ Built to be trusted
72
+
73
+ Weave is *small, fast, signal‑native, and low‑ceremony* — and built to hold up in serious codebases, not just demos. Its sharpest edge is the one large teams worry about most: **zero third‑party runtime dependencies.** No transitive packages, no audit scramble — a supply‑chain attack surface that's effectively nil. Pair that with performance that stays flat as the UI grows, first‑party routing, state, forms, and i18n that share one reactive core, and type‑checking that reaches all the way into your templates, and you get a framework that scales *with* a team, not against it.
74
+
75
+ We won't oversell the young parts: SSR/hydration and devtools are on the roadmap, and the ecosystem is still growing. But the foundation is real and tested today — and it's aimed squarely at the work real applications demand.
35
76
 
36
77
  ## License
37
78
 
38
- MIT
79
+ MIT — woven with care. 🧵
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weave-framework",
3
- "version": "0.2.0",
3
+ "version": "0.2.53",
4
4
  "description": "Weave — a fine-grained reactive, signal-native UI framework. Compiled, TypeScript-first, no Virtual DOM, zero third-party dependencies. This meta-package installs the framework; see the docs to get started.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -26,12 +26,12 @@
26
26
  "access": "public"
27
27
  },
28
28
  "dependencies": {
29
- "@weave-framework/runtime": "0.2.0",
30
- "@weave-framework/router": "0.2.0",
31
- "@weave-framework/forms": "0.2.0",
32
- "@weave-framework/store": "0.2.0",
33
- "@weave-framework/data": "0.2.0",
34
- "@weave-framework/i18n": "0.2.0"
29
+ "@weave-framework/runtime": "0.2.53",
30
+ "@weave-framework/router": "0.2.53",
31
+ "@weave-framework/store": "0.2.53",
32
+ "@weave-framework/forms": "0.2.53",
33
+ "@weave-framework/i18n": "0.2.53",
34
+ "@weave-framework/data": "0.2.53"
35
35
  },
36
36
  "license": "MIT"
37
37
  }