@kondeio/kdf 0.1.0 → 0.1.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 +17 -1
- package/README.md +5 -5
- package/SECURITY.md +1 -1
- package/dist/cli.js +1 -1
- package/docs/{kdf-doc.md → doc.md} +2 -2
- package/docs/{kdf-skill.md → skill.md} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to KDF are documented here. Format loosely follows
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com); versions follow semver.
|
|
5
5
|
|
|
6
|
+
## [0.1.2] - 2026-06-22
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
- Renamed package documentation files to shorter names:
|
|
10
|
+
`docs/doc.md` and `docs/skill.md`.
|
|
11
|
+
- Updated README and package references to the new documentation filenames.
|
|
12
|
+
|
|
13
|
+
## [0.1.1] - 2026-06-22
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Documentation now keeps the KDF install flow npm-focused: default install is
|
|
17
|
+
`npm install @kondeio/kdf`, skip scaffolding with `--ignore-scripts` or
|
|
18
|
+
`KDF_SKIP_INIT=1`, and run manual initialization with
|
|
19
|
+
`npm exec -- kdf init`.
|
|
20
|
+
- CLI help now shows the npm-based manual initialization command.
|
|
21
|
+
|
|
6
22
|
## [0.1.0] - 2026-06-18
|
|
7
23
|
|
|
8
24
|
Initial public release candidate.
|
|
@@ -20,7 +36,7 @@ Initial public release candidate.
|
|
|
20
36
|
- `dedupeClasses()`, `composeClasses()`, `cx()`, and
|
|
21
37
|
`createClassComposer({ merge })`.
|
|
22
38
|
- Documented the **server-only** constraint (resolver uses Node `fs`) across
|
|
23
|
-
README, `docs/
|
|
39
|
+
README, `docs/doc.md`, and `docs/skill.md`, with the
|
|
24
40
|
resolve-on-server / pass-className-as-prop pattern.
|
|
25
41
|
- `CONTRIBUTING.md`, `SECURITY.md`, `CHANGELOG.md`.
|
|
26
42
|
|
package/README.md
CHANGED
|
@@ -73,16 +73,16 @@ npm install @kondeio/kdf --ignore-scripts
|
|
|
73
73
|
Run initialization manually later:
|
|
74
74
|
|
|
75
75
|
```bash
|
|
76
|
-
|
|
76
|
+
npm exec -- kdf init
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
`
|
|
79
|
+
`npm exec -- kdf init` uses the local package binary when `@kondeio/kdf` is already
|
|
80
80
|
installed in the project.
|
|
81
81
|
|
|
82
82
|
Initialize a custom design directory:
|
|
83
83
|
|
|
84
84
|
```bash
|
|
85
|
-
KDF_DIR=./designs
|
|
85
|
+
KDF_DIR=./designs npm exec -- kdf init
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
## File Structure
|
|
@@ -349,8 +349,8 @@ export default withKDF({ dir: "./my-design" })(nextConfig);
|
|
|
349
349
|
|
|
350
350
|
## Documentation and Skills
|
|
351
351
|
|
|
352
|
-
- [`docs/
|
|
353
|
-
- [`docs/
|
|
352
|
+
- [`docs/doc.md`](./docs/doc.md) - KDF concept, architecture, conventions, and operating model.
|
|
353
|
+
- [`docs/skill.md`](./docs/skill.md) - agent-facing implementation and review checklist.
|
|
354
354
|
|
|
355
355
|
## Contributing
|
|
356
356
|
|
package/SECURITY.md
CHANGED
package/dist/cli.js
CHANGED
|
@@ -52,7 +52,7 @@ if (!command || !commands[command]) {
|
|
|
52
52
|
console.log(" init Scaffold kdf/ folder + konde.css");
|
|
53
53
|
console.log("");
|
|
54
54
|
console.log("Usage:");
|
|
55
|
-
console.log("
|
|
55
|
+
console.log(" npm exec -- kdf init");
|
|
56
56
|
process.exit(command ? 1 : 0);
|
|
57
57
|
}
|
|
58
58
|
commands[command]();
|
|
@@ -631,13 +631,13 @@ folder does not already exist. Existing files are never overwritten.
|
|
|
631
631
|
Manual initialization:
|
|
632
632
|
|
|
633
633
|
```bash
|
|
634
|
-
|
|
634
|
+
npm exec -- kdf init
|
|
635
635
|
```
|
|
636
636
|
|
|
637
637
|
Custom design directory:
|
|
638
638
|
|
|
639
639
|
```bash
|
|
640
|
-
KDF_DIR=./designs
|
|
640
|
+
KDF_DIR=./designs npm exec -- kdf init
|
|
641
641
|
```
|
|
642
642
|
|
|
643
643
|
Next.js config:
|
package/package.json
CHANGED