create-fsaa 0.2.1 → 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.
- package/README.md +20 -0
- 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
|
[](https://aramex86.github.io/fsaa/)
|
|
8
28
|
[](https://aramex86.github.io/fsaa/)
|
|
9
29
|

|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-fsaa",
|
|
3
|
-
"version": "0.2.
|
|
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>",
|