@adukiorg/anza 0.3.0 → 0.3.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.
package/CHANGELOG.md CHANGED
@@ -17,6 +17,25 @@ Versioning follows [Semantic Versioning](https://semver.org/).
17
17
 
18
18
  ---
19
19
 
20
+ ## [0.3.2] — 2026-06-13
21
+
22
+ ### Fixed
23
+
24
+ - Update scaffolding templates to use `<dock-main>` and ES module Service Worker registration (`{ type: 'module' }`)
25
+ - Fix CLI watcher to properly resolve Linux `inotify` absolute paths for CSS and JS Hot Module Reloading (HMR)
26
+ - Improve HMR client script with SSE auto-reconnect back-off
27
+
28
+ ---
29
+
30
+ ## [0.3.1] — 2026-06-13
31
+
32
+ ### Changed
33
+
34
+ - Soften library README tone — remove sarcastic framework comparisons
35
+ - Update dock() example to use simplified API (no parent parameter)
36
+
37
+ ---
38
+
20
39
  ## [0.3.0] — 2026-06-13
21
40
 
22
41
  ### Fixed
package/README.md CHANGED
@@ -12,11 +12,11 @@
12
12
 
13
13
  **This is** a web platform library that treats the browser as the runtime. It gives you reactive state, client-side routing, custom elements, offline sync, and animations — all as plain ES modules the browser resolves directly. No bundler. No virtual DOM. No framework lock-in.
14
14
 
15
- **This is NOT** another React competitor. If you love JSX, useEffect cleanup races, and wondering why your bundle is 400KB, Anza is not for you. We are not trying to replace React. React is fine. React is great. React is for people who enjoy debugging `useMemo` dependency arrays at 2am. We are for people who want to write `.js` files and let the browser do what it was built to do.
15
+ **This is NOT** another React competitor. React is excellent for complex applications with rich ecosystems. Anza is for projects that prefer browser-native APIs and minimal tooling. We're not trying to replace React we're offering a different approach.
16
16
 
17
- **This is NOT** Angular. We do not have a CLI that generates fourteen files to render a button. We have `element('my-button', { template: '<button>Click me</button>' })`. That is the whole API.
17
+ **This is NOT** Angular. Angular provides a comprehensive framework with powerful tooling. Anza focuses on simplicity: `element('my-button', { template: '<button>Click me</button>' })`. That's the whole API.
18
18
 
19
- **This is NOT** Vue. We do not have a template compiler. We do not have a virtual DOM diffing algorithm that runs in JavaScript to figure out what the browser should have already figured out. We write HTML. The browser parses HTML. It has been doing this since 1993. It is pretty good at it.
19
+ **This is NOT** Vue. Vue's template compiler and virtual DOM enable great developer experiences. Anza uses native HTML parsing the browser handles the DOM directly, which works well for many use cases.
20
20
 
21
21
  ---
22
22
 
@@ -99,7 +99,7 @@ No build step. No JSX transform. No virtual DOM reconciliation. The browser pars
99
99
  ```javascript
100
100
  import { page, dock } from '@adukiorg/anza/defs';
101
101
 
102
- dock('main', { parent: 'body' });
102
+ dock('main');
103
103
 
104
104
  page('/', {
105
105
  tag: 'page-home',
@@ -124,7 +124,7 @@ store.subscribe('count', () => {
124
124
  store.set('count', 1);
125
125
  ```
126
126
 
127
- Proxy-based reactivity. Batched updates. Cross-tab sync via `BroadcastChannel`. No reducers. No actions. No sagas. Just a store that notifies subscribers when data changes. Revolutionary, we know.
127
+ Proxy-based reactivity. Batched updates. Cross-tab sync via `BroadcastChannel`. No reducers. No actions. No sagas. Just a store that notifies subscribers when data changes.
128
128
 
129
129
  ### Theme Switching (Automatic)
130
130
 
@@ -135,7 +135,7 @@ theme.toggle(); // light ↔ dark
135
135
  theme.set('contrast'); // high-contrast mode
136
136
  ```
137
137
 
138
- No init call needed. It auto-restores from `localStorage` on import. Respects `prefers-color-scheme` if no saved preference exists. Attaches to `window.theme` for devtools access. Because theme toggles are not rocket science.
138
+ No init call needed. It auto-restores from `localStorage` on import. Respects `prefers-color-scheme` if no saved preference exists. Attaches to `window.theme` for devtools access.
139
139
 
140
140
  ---
141
141
 
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adukiorg/anza",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Anza web platform library — reactive state, networking, offline, animations, custom elements. Zero build step. Pure browser ESM.",
5
5
  "author": "fescii",
6
6
  "license": "MIT",
@@ -10,9 +10,9 @@
10
10
  * Source: definations.md §4, tasks.md Phase 6
11
11
  */
12
12
 
13
- import { router } from '../../router/index.js';
14
- import { gate } from '../../router/boot.js';
15
13
  import { element } from '../define/element.js';
14
+ import { gate } from '../../router/boot.js';
15
+ import { router } from '../../router/index.js';
16
16
  import { translate } from './spec.js';
17
17
 
18
18
  // Element-scoped containment so View Transitions are isolated to the dock.