humn 0.0.2 → 1.0.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/README.md +3 -10
- package/package.json +10 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Humn (Human)
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/humn)
|
|
4
|
+
|
|
3
5
|
> **The organic, human-centric UI library for the modern web.**
|
|
4
6
|
|
|
5
7
|
**Humn** is a complete, reactive frontend library with built in state management designed to replace the likes of React/Svelte/Solid AND Zustand/Kea/Redux in your stack.
|
|
@@ -70,23 +72,14 @@ mount(document.getElementById('root'), App);
|
|
|
70
72
|
|
|
71
73
|
## Roadmap
|
|
72
74
|
|
|
73
|
-
### Phase 1: The Core Engine (Current)
|
|
74
|
-
|
|
75
75
|
- [x] **Cortex:** State management with dependency tracking.
|
|
76
76
|
- [x] **Virtual DOM:** Lightweight `h()` function.
|
|
77
77
|
- [x] **Reconciliation:** Keyed Diffing Algorithm.
|
|
78
78
|
- [x] **Scoped Styles:** Runtime CSS-in-JS with `css` tag.
|
|
79
79
|
- [x] **Lifecycle Hooks:** `onMount` and `onCleanup` for components (Needed for API calls/Timers).
|
|
80
|
-
|
|
81
|
-
### Phase 2: The Ecosystem (Next)
|
|
82
|
-
|
|
83
80
|
- [ ] **Global Store Persist:** Middleware to save Cortex state to `localStorage`.
|
|
84
|
-
- [ ] **Router:** A built-in store that syncs with `window.history`.
|
|
85
|
-
- [ ] **Async Components:** Handling `Promise` rendering (Suspense).
|
|
86
|
-
|
|
87
|
-
### Phase 3: Developer Experience
|
|
88
|
-
|
|
89
81
|
- [ ] **Humn Compiler:** `.humn` files for Svelte-like syntax.
|
|
82
|
+
- [ ] **Async Components:** Handling `Promise` rendering (Suspense).
|
|
90
83
|
- [ ] **DevTools:** Browser extension to inspect the Cortex Memory.
|
|
91
84
|
|
|
92
85
|
## Contributing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "humn",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "A minimal, human-centric reactive UI library with built in state management.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/humn.umd.js",
|
|
@@ -33,9 +33,18 @@
|
|
|
33
33
|
],
|
|
34
34
|
"author": "Keeghan McGarry",
|
|
35
35
|
"license": "MIT",
|
|
36
|
+
"homepage": "https://www.npmjs.com/package/humn",
|
|
36
37
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "https://github.com/KeeghanM/humn"
|
|
41
|
+
},
|
|
37
42
|
"devDependencies": {
|
|
43
|
+
"@semantic-release/github": "^12.0.2",
|
|
44
|
+
"@semantic-release/npm": "^13.1.2",
|
|
38
45
|
"@types/node": "^24.10.1",
|
|
46
|
+
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
47
|
+
"semantic-release": "^25.0.2",
|
|
39
48
|
"typescript": "^5.9.3",
|
|
40
49
|
"vite": "^7.2.6",
|
|
41
50
|
"vite-plugin-dts": "^4.5.4"
|