create-fsaa 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +21 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,26 @@
4
4
 
5
5
  > **FSD + Atomic Design with the missing decision rules: *where does UI go?***
6
6
 
7
+ **⚠ This package is a scaffolding CLI, not a library.** `npm i create-fsaa` only installs it into an existing project's `node_modules` — and nothing happens. Run it instead:
8
+
9
+ ```text
10
+ # from an EMPTY folder — this creates a new FSAA project:
11
+ npm create fsaa@latest
12
+ # (equivalently: npx create-fsaa@latest)
13
+ ```
14
+
15
+ What `npm create fsaa` gives you: the full FSAA layer structure (`app/`, `pages/`, `features/`, `entities/`, `shared/`), `eslint.config.mjs` with **eslint-plugin-fsaa** boundary rules wired into CI, an `AGENTS.md` contract with drift-check, and `pnpm` scripts (`dev`, `lint`, `typecheck`, `build`).
16
+
17
+ Inside a created FSAA project, the same CLI generates canonical slices:
18
+
19
+ ```text
20
+ pnpm exec fsaa g feature billing
21
+ pnpm exec fsaa g entity invoice
22
+ pnpm exec fsaa g molecule DataTable
23
+ ```
24
+
25
+ ---
26
+
7
27
  [![templates](https://img.shields.io/badge/templates-fsaa--react%20·%20fsaa--vite-43e0bd)](https://aramex86.github.io/fsaa/)
8
28
  [![docs](https://img.shields.io/badge/docs-aramex86.github.io%2Ffsaa-7ab8ff)](https://aramex86.github.io/fsaa/)
9
29
  ![license](https://img.shields.io/badge/license-MIT-b79bff)
@@ -148,8 +168,7 @@ src/
148
168
  | 1 | Docs site (indexable: OG, sitemap, GSC) | ✅ [aramex86.github.io/fsaa](https://aramex86.github.io/fsaa/) |
149
169
  | 2 | Boilerplate — two templates: [Next.js App Router](https://github.com/Aramex86/fsaa-next) + [plain React (Vite)](https://github.com/Aramex86/fsaa-vite), ESLint-enforced boundaries, Projects/Orders example | ✅ done |
150
170
  | 3 | Agentic layer — AGENTS.md contract, CI drift-check, `agents/` procedures, external-agent skill | ✅ done ([docs](https://aramex86.github.io/fsaa/agentic/)) |
151
- | 4 | CLI — `npm create fsaa@latest` (scaffolds next/vite) + `fsaa g` generators (pair, entity, feature, atom, molecule, page) | 🟢 core shipped ([`fsaa` repo](https://github.com/Aramex86/fsaa)); npm registry package next |
152
- | 5 | Promotion, adoption feedback loop | — |
171
+ | 4 | CLI — `npm create fsaa@latest` (scaffolds next/vite) + `fsaa g` generators (pair, entity, feature, atom, molecule, page) | ✅ shipped — [npm: create-fsaa](https://www.npmjs.com/package/create-fsaa) · plugin: [eslint-plugin-fsaa](https://www.npmjs.com/package/eslint-plugin-fsaa) |
153
172
 
154
173
  ## Contributing
155
174
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fsaa",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "FSAA \u2014 Feature-Sliced Atomic Architecture. Run `npm create fsaa` (this package) to scaffold an FSAA app from the official starter templates; `fsaa g <slice>` generates canonical slices.",
5
5
  "license": "MIT",
6
6
  "author": "Veaceslav Bezusco <Aramex86@users.noreply.github.com>",