@brendanbank/create-atrium-host 0.25.4 → 0.26.1
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 +1 -1
- package/package.json +1 -1
- package/src/cli.js +1 -1
- package/template/README.md +2 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ npx @brendanbank/create-atrium-host test-host --yes-defaults
|
|
|
28
28
|
| `--yes-defaults` | Skip prompts; derive everything from the project name |
|
|
29
29
|
| `--no-git` | Skip `git init` + initial commit |
|
|
30
30
|
| `--out <dir>` | Output directory (default: `./<name>`) |
|
|
31
|
-
| `--atrium <version>` | Atrium image / SDK version pin (default: `0.
|
|
31
|
+
| `--atrium <version>` | Atrium image / SDK version pin (default: `0.26`) |
|
|
32
32
|
| `-h`, `--help` | Show help |
|
|
33
33
|
|
|
34
34
|
## What it emits
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brendanbank/create-atrium-host",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"description": "Scaffolder for new atrium host extensions: backend Python package + frontend Vite bundle + compose stack + CI, all wired against atrium's published image and host SDK packages. Run via `npx @brendanbank/create-atrium-host <name>`.",
|
|
5
5
|
"license": "BSD-2-Clause",
|
|
6
6
|
"type": "module",
|
package/src/cli.js
CHANGED
|
@@ -37,7 +37,7 @@ const TEMPLATE_DIR = resolve(__dirname, '..', 'template');
|
|
|
37
37
|
// The atrium image + SDK packages version in lockstep. Bump this when
|
|
38
38
|
// cutting a new atrium release so freshly scaffolded hosts pin against
|
|
39
39
|
// the right line.
|
|
40
|
-
const DEFAULT_ATRIUM_VERSION = '0.
|
|
40
|
+
const DEFAULT_ATRIUM_VERSION = '0.26';
|
|
41
41
|
|
|
42
42
|
const HELP = `
|
|
43
43
|
${kleur.bold('create-atrium-host')} — scaffold a new atrium host extension
|
package/template/README.md
CHANGED
|
@@ -94,6 +94,7 @@ the atrium repo's `CLAUDE.md` for the contract.
|
|
|
94
94
|
| Home widget | A React component in `frontend/src/` | `reg.registerHomeWidget({ key, render })` |
|
|
95
95
|
| Dedicated route | A page component | `reg.registerRoute({ key, path, element, layout? })` |
|
|
96
96
|
| Sidebar link | A label + path | `reg.registerNavItem({ key, label, to, icon? })` |
|
|
97
|
+
| Sidebar nav group | A collapsible top-level parent with nav-only children| `reg.registerNavGroup({ key, label, icon?, condition?, order?, children })` |
|
|
97
98
|
| Admin tab | A component, gated by a permission | `reg.registerAdminTab({ key, label, icon?, perm, element })` |
|
|
98
99
|
| Profile-page card | A component | `reg.registerProfileItem({ key, slot?, render, condition? })` |
|
|
99
100
|
|
|
@@ -114,7 +115,7 @@ make typecheck # tsc --noEmit on the host bundle
|
|
|
114
115
|
against a specific release:
|
|
115
116
|
|
|
116
117
|
```bash
|
|
117
|
-
ATRIUM_IMAGE=ghcr.io/brendanbank/atrium:0.
|
|
118
|
+
ATRIUM_IMAGE=ghcr.io/brendanbank/atrium:0.26.1 make build up
|
|
118
119
|
```
|
|
119
120
|
|
|
120
121
|
The frontend SDK packages
|