aem-eds-kit 0.4.2 → 0.4.7

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
@@ -6,6 +6,47 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.4.6] - 2026-10-07
10
+
11
+ ### Added
12
+ - **`eds init`** - adapt a freshly cloned EDS boilerplate to your authoring model
13
+ in one interactive wizard: pick Universal Editor (crosswalk), DA (da.live),
14
+ Google Drive or SharePoint; set the project name (package.json + boilerplate
15
+ placeholders); generate `fstab.yaml` only when the model needs it; scaffold the
16
+ crosswalk config + `paths.json` for UE; optionally add the CI workflow; then
17
+ walk the external steps (code-sync, content share, Sidekick) as a clickable
18
+ checklist. Also in the `eds` menu. Flags: `--name`, `--authoring`,
19
+ `--mountpoint`, `--org`, `--site`, `--no-ci`, `--yes`.
20
+
21
+ ## [0.4.5] - 2026-10-07
22
+
23
+ ### Fixed
24
+ - Project-root detection no longer requires `fstab.yaml`. Universal Editor /
25
+ crosswalk and Document Authoring projects often don't have one, which made
26
+ every command (and the generated CI) fail with "Not inside an EDS project".
27
+ A root is now any ancestor with `fstab.yaml`, `head.html`, `scripts/scripts.js`,
28
+ `scripts/aem.js`, `component-definition.json`, `paths.json` or `helix-query.yaml`.
29
+ - `eds doctor` treats a missing `fstab.yaml` as a warning, not a hard failure,
30
+ so `scaffold ci`'s doctor step doesn't break CI for fstab-less projects.
31
+
32
+ ## [0.4.4] - 2026-10-07
33
+
34
+ ### Added
35
+ - **`eds scaffold ci`** - generate a GitHub Actions workflow (`.github/workflows/eds.yml`)
36
+ that runs the project's own `lint`/`build` (if present) plus the eds audits
37
+ (`doctor`, `audit loading`, `audit security`) as a PR gatekeeper. Also offered
38
+ in the interactive `eds scaffold` picker. Deterministic, no agent.
39
+
40
+ ## [0.4.3] - 2026-10-06
41
+
42
+ ### Changed
43
+ - CLI: a blinking accent caret now trails the animated logo line at the
44
+ interactive entry points, matching the landing terminal.
45
+
46
+ ### Fixed
47
+ - Landing hero headline no longer wraps "Design frame in." onto three lines
48
+ (tightened the clamp + tracking so each clause stays on one line).
49
+
9
50
  ## [0.4.2] - 2026-10-06
10
51
 
11
52
  ### Fixed
@@ -114,7 +155,11 @@ harness, gradient ANSI logo. Not published (superseded by 0.3.0).
114
155
  Initial CLI scaffold: `block create`, `block from-figma`, `block list`,
115
156
  `figma setup`, `doctor`, `preview`, `publish`. Not published.
116
157
 
117
- [Unreleased]: https://github.com/piotrgodycki/aem-eds-kit/compare/v0.4.2...HEAD
158
+ [Unreleased]: https://github.com/piotrgodycki/aem-eds-kit/compare/v0.4.6...HEAD
159
+ [0.4.6]: https://github.com/piotrgodycki/aem-eds-kit/releases/tag/v0.4.6
160
+ [0.4.5]: https://github.com/piotrgodycki/aem-eds-kit/releases/tag/v0.4.5
161
+ [0.4.4]: https://github.com/piotrgodycki/aem-eds-kit/releases/tag/v0.4.4
162
+ [0.4.3]: https://github.com/piotrgodycki/aem-eds-kit/releases/tag/v0.4.3
118
163
  [0.4.2]: https://github.com/piotrgodycki/aem-eds-kit/releases/tag/v0.4.2
119
164
  [0.4.1]: https://github.com/piotrgodycki/aem-eds-kit/releases/tag/v0.4.1
120
165
  [0.4.0]: https://github.com/piotrgodycki/aem-eds-kit/releases/tag/v0.4.0
package/README.md CHANGED
@@ -41,6 +41,9 @@ A full A-Z reference of every command lives on the docs page: **https://piotrgod
41
41
  ```bash
42
42
  eds # interactive menu
43
43
 
44
+ # Just cloned an EDS boilerplate? Set it up for your authoring model
45
+ eds init
46
+
44
47
  # One-time: configure Figma MCP for your AI agent
45
48
  eds figma setup
46
49
 
@@ -60,6 +63,24 @@ eds doctor
60
63
 
61
64
  ## Commands
62
65
 
66
+ ### `eds init`
67
+
68
+ Adapt a freshly cloned EDS boilerplate to your setup in one interactive wizard. Pick the authoring model - **Universal Editor (crosswalk), DA (da.live), Google Drive or SharePoint** - and `eds` sets the project name (`package.json` + boilerplate placeholders), writes `fstab.yaml` **only when the model needs it** (UE/crosswalk doesn't), scaffolds the crosswalk config + `paths.json` for UE, optionally adds the CI workflow, then walks the **external steps** (AEM Code Sync app, content-source share, Sidekick) as a clickable checklist.
69
+
70
+ ```bash
71
+ eds init # interactive
72
+ eds init --name my-site --authoring da --org my-org --site my-site --yes
73
+ ```
74
+
75
+ | Flag | Description |
76
+ |---|---|
77
+ | `--name <name>` | Project name (kebab-case) |
78
+ | `--authoring <model>` | `ue` \| `da` \| `gdrive` \| `sharepoint` |
79
+ | `--mountpoint <url>` | Content source URL (document models) |
80
+ | `--org <org>` / `--site <site>` | DA org / site (`--authoring da`) |
81
+ | `--no-ci` | Skip the GitHub Actions workflow |
82
+ | `--yes` | Skip prompts; apply with flags/defaults |
83
+
63
84
  ### `eds block create <name>`
64
85
 
65
86
  Scaffolds `blocks/<name>/` with `<name>.js`, `<name>.css`, **and a Universal Editor model `_<name>.json` by default** - so the block is authorable in UE the moment it's created. Validates kebab-case naming and checks for collisions.
@@ -136,6 +157,14 @@ eds scaffold ue
136
157
  eds scaffold blocks # all, or: eds scaffold blocks hero cards
137
158
  ```
138
159
 
160
+ ### `eds scaffold ci`
161
+
162
+ Generate a GitHub Actions workflow (`.github/workflows/eds.yml`) that gatekeeps every PR and push to `main`: it installs deps, runs the project's own `lint`/`build` (if defined), then the eds audits - `doctor`, `audit loading`, `audit security` - which exit non-zero on problems. No agent, deterministic. Also offered in the interactive `eds scaffold` picker.
163
+
164
+ ```bash
165
+ eds scaffold ci
166
+ ```
167
+
139
168
  ### `eds integrate [type]`
140
169
 
141
170
  Add a third-party service to `scripts/delayed.js` (the EDS-correct place - delayed phase, after LCP, zero CWV impact). Chat widgets use the facade pattern.