@magmonium/one 0.4.20 → 0.4.21
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.
|
@@ -11,7 +11,9 @@ Each App has one repository: its **AppRepo**. It holds two things:
|
|
|
11
11
|
| Path | What it is |
|
|
12
12
|
| --- | --- |
|
|
13
13
|
| `.magmonium/` | The design: Screens, Features, state, rules, nav and assets as you composed them. This is what the editor reads back. |
|
|
14
|
-
|
|
|
14
|
+
| `src/app/custom/`, `mag_assets/` and the shell | What you wrote by hand and what the editor cannot regenerate: your own components, the app's assets, `package.json`, `angular.json`, the CI workflows. |
|
|
15
|
+
|
|
16
|
+
The generated code — `src/app/features/`, `pages/`, `widgets/`, `shared/lib/`, `shared/type/` and the router and provide overlays — is **not** committed. `npm start`, `npm run build*` and `npm test` regenerate it from `.magmonium/` through `@magmonium/cli` (`npm run gen:code`), so a clone builds after `npm install`, without the editor. `.gitignore` excludes it.
|
|
15
17
|
|
|
16
18
|
The Store records which repository belongs to which App. The repository's own
|
|
17
19
|
files only carry the App's id, so moving the App to another repository leaves
|
|
@@ -148,7 +150,7 @@ If you composed first and have no App yet:
|
|
|
148
150
|
- In the editor, **Open App** for that App now goes straight to choosing a
|
|
149
151
|
**Branch** instead of asking for a repository.
|
|
150
152
|
- After your first Push, the repository on GitHub has a `dev` branch holding
|
|
151
|
-
`.magmonium/` and the
|
|
153
|
+
`.magmonium/`, `mag_assets/` and the app shell, in a commit by `magmonium[bot]` that credits
|
|
152
154
|
you.
|
|
153
155
|
|
|
154
156
|
### When linking is refused
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magmonium/one",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.21",
|
|
4
4
|
"description": "Magmonium One — Angular design-system primitives for mm Apps",
|
|
5
5
|
"author": "magmonium",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@angular/elements": "^21.0.0",
|
|
33
33
|
"@ngrx/signals": "^21.0.0",
|
|
34
34
|
"rxjs": "^7.8.0",
|
|
35
|
-
"@magmonium/cli": "^0.
|
|
35
|
+
"@magmonium/cli": "^0.8.0",
|
|
36
36
|
"socket.io-client": "^4.8.0"
|
|
37
37
|
},
|
|
38
38
|
"sideEffects": false,
|