kerfjs 0.8.0 → 0.8.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 +10 -0
- package/README.md +17 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ All notable changes to **kerf** are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.8.2] - 2026-05-19
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
- Package `homepage` fields now point to the published docs site, with prominent links in both READMEs
|
|
11
|
+
|
|
12
|
+
## [0.8.1] - 2026-05-19
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
- New `eslint-plugin-kerfjs` with four AST rules enforcing kerf Hard Rules
|
|
16
|
+
|
|
7
17
|
## [0.8.0] - 2026-05-18
|
|
8
18
|
|
|
9
19
|
|
package/README.md
CHANGED
|
@@ -156,12 +156,29 @@ npm install kerfjs
|
|
|
156
156
|
}
|
|
157
157
|
```
|
|
158
158
|
|
|
159
|
+
### Optional: `eslint-plugin-kerfjs`
|
|
160
|
+
|
|
161
|
+
A companion ESLint plugin enforces four of kerf's hard rules at edit time — inline JSX event handlers, missing `data-key` in `each()`, nested `mount()`, and global `JSX.IntrinsicElements` augmentation. The plugin is AST-only (no parser-services dependency), so it works with any TypeScript-ESLint setup.
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
npm install --save-dev eslint-plugin-kerfjs
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
```js
|
|
168
|
+
// eslint.config.js (flat config, ESLint v9+)
|
|
169
|
+
import kerfjs from 'eslint-plugin-kerfjs';
|
|
170
|
+
export default [kerfjs.configs.recommended];
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
Full docs at [brianwestphal.github.io/kerf/docs/eslint-plugin/](https://brianwestphal.github.io/kerf/docs/eslint-plugin/) — legacy `.eslintrc` config, per-rule examples, and the "why only four rules" framing.
|
|
174
|
+
|
|
159
175
|
## Links
|
|
160
176
|
|
|
161
177
|
- **Site:** [brianwestphal.github.io/kerf](https://brianwestphal.github.io/kerf/)
|
|
162
178
|
- **Docs:** [`docs/`](./docs/) — overview · reactivity · stores · render · events · jsx · svg · [API reference](./docs/8-api-reference.md)
|
|
163
179
|
- **Migrating:** [coming from another framework?](https://brianwestphal.github.io/kerf/migrating/) — side-by-side TodoMVC translations + per-framework gotchas
|
|
164
180
|
- **AI guide:** [`docs/ai/usage-guide.md`](./docs/ai/usage-guide.md) — reference for AI tools fetching kerf docs (linked from `llms.txt`)
|
|
181
|
+
- **ESLint plugin:** [brianwestphal.github.io/kerf/docs/eslint-plugin/](https://brianwestphal.github.io/kerf/docs/eslint-plugin/) — `eslint-plugin-kerfjs`; four AST-only rules enforcing kerf hard rules at edit time (source: [`eslint-plugin/`](./eslint-plugin/))
|
|
165
182
|
- **Demo:** [live demo](https://brianwestphal.github.io/kerf/demo/) — eight sections exercising every primitive (counter, store-backed cart, focus survival, keyed list, morph-skip, SVG render, Tier-2 capture, `arraySignal` patches)
|
|
166
183
|
- **Repo:** [github.com/brianwestphal/kerf](https://github.com/brianwestphal/kerf)
|
|
167
184
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kerfjs",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "Tiny reactive UI framework — fine-grained signals + DOM morphing + JSX. Apply the smallest possible cut to update your DOM.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"author": "Brian Westphal <brian.westphal@bleugris.com>",
|
|
9
|
-
"homepage": "https://github.
|
|
9
|
+
"homepage": "https://brianwestphal.github.io/kerf/",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/brianwestphal/kerf"
|