@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 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/kdf-doc.md`, and `docs/kdf-skill.md`, with the
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
- npx kdf init
76
+ npm exec -- kdf init
77
77
  ```
78
78
 
79
- `npx kdf init` uses the local package binary when `@kondeio/kdf` is already
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 npx kdf init
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/kdf-doc.md`](./docs/kdf-doc.md) - KDF concept, architecture, conventions, and operating model.
353
- - [`docs/kdf-skill.md`](./docs/kdf-skill.md) - agent-facing implementation and review checklist.
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
@@ -37,7 +37,7 @@ KDF_SKIP_INIT=1 npm install @kondeio/kdf
37
37
  You can scaffold manually later with:
38
38
 
39
39
  ```bash
40
- npx kdf init
40
+ npm exec -- kdf init
41
41
  ```
42
42
 
43
43
  ## Reference resolution safety
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(" npx @kondeio/kdf init");
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
- npx kdf init
634
+ npm exec -- kdf init
635
635
  ```
636
636
 
637
637
  Custom design directory:
638
638
 
639
639
  ```bash
640
- KDF_DIR=./designs npx kdf init
640
+ KDF_DIR=./designs npm exec -- kdf init
641
641
  ```
642
642
 
643
643
  Next.js config:
@@ -34,7 +34,7 @@ npm install @kondeio/kdf --ignore-scripts
34
34
  Manual init:
35
35
 
36
36
  ```bash
37
- npx kdf init
37
+ npm exec -- kdf init
38
38
  ```
39
39
 
40
40
  Do not document fake custom npm flags such as `--noinit`. Use `--ignore-scripts`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kondeio/kdf",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Agent-first design consistency for Node-powered web apps. KDF gives AI agents a JSON source of truth for consistent UI.",
5
5
  "license": "MIT",
6
6
  "type": "module",