@brendanbank/create-atrium-host 0.28.0 → 0.29.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 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.28`) |
31
+ | `--atrium <version>` | Atrium image / SDK version pin (default: `0.29`) |
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.28.0",
3
+ "version": "0.29.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.28';
40
+ const DEFAULT_ATRIUM_VERSION = '0.29';
41
41
 
42
42
  const HELP = `
43
43
  ${kleur.bold('create-atrium-host')} — scaffold a new atrium host extension
@@ -0,0 +1,71 @@
1
+ name: Atrium release watch
2
+
3
+ # Polls atrium for a new release once a day and opens a lockstep bump
4
+ # PR — the image tag across every file that pins it, plus the
5
+ # version-locked @brendanbank/atrium-host-* packages and the lockfile.
6
+ # All the logic lives in the action; this file is just the trigger and
7
+ # this host's pin layout.
8
+ #
9
+ # Setup, once: create a fine-grained PAT scoped to this repo with
10
+ # Contents + Pull requests set to read and write, add Workflows write
11
+ # too if any file listed in pin-files lives under .github/workflows,
12
+ # and store it as the ATRIUM_BUMP_TOKEN secret. It must not be
13
+ # GITHUB_TOKEN — a PR opened by GITHUB_TOKEN does not trigger
14
+ # `pull_request` workflows, so CI would never exercise the new image.
15
+ #
16
+ # Note: GitHub disables `schedule` on a repo with 60 days of no
17
+ # activity. If this repo goes quiet the poll stops silently; re-enable
18
+ # it from the Actions tab or run `gh workflow run atrium-watch.yml`.
19
+
20
+ on:
21
+ schedule:
22
+ # Deliberately off the hour — GitHub queues cron heavily at :00 and
23
+ # delays or drops runs scheduled there.
24
+ - cron: "17 6 * * *"
25
+ workflow_dispatch:
26
+ inputs:
27
+ version:
28
+ description: "atrium version to adopt (e.g. 0.29.0). Blank = latest release."
29
+ required: false
30
+ type: string
31
+
32
+ permissions:
33
+ contents: read
34
+
35
+ concurrency:
36
+ group: atrium-watch
37
+ cancel-in-progress: false
38
+
39
+ jobs:
40
+ watch:
41
+ name: Check for a new atrium release
42
+ runs-on: ubuntu-latest
43
+ steps:
44
+ - uses: actions/checkout@v4
45
+ with:
46
+ # Same token the action pushes with, so the push is
47
+ # authenticated as the PAT rather than GITHUB_TOKEN.
48
+ token: ${{ secrets.ATRIUM_BUMP_TOKEN }}
49
+
50
+ # The lockfile must be regenerated with the same package manager
51
+ # version this host's CI uses, or the relock churns. That is why
52
+ # the action does not set this up itself.
53
+ - uses: pnpm/action-setup@v4
54
+ with:
55
+ version: 10.33.1
56
+
57
+ - uses: actions/setup-node@v4
58
+ with:
59
+ node-version: "22"
60
+
61
+ - uses: brendanbank/atrium/.github/actions/host-atrium-bump@master
62
+ with:
63
+ token: ${{ secrets.ATRIUM_BUMP_TOKEN }}
64
+ version: ${{ inputs.version }}
65
+ # Every file in this host that carries the image tag. They are
66
+ # rewritten together and the bump refuses if any disagrees, so
67
+ # add a file here the moment you pin the tag in it.
68
+ pin-files: |
69
+ .env.example
70
+ Dockerfile
71
+ compose.yaml
@@ -115,7 +115,7 @@ make typecheck # tsc --noEmit on the host bundle
115
115
  against a specific release:
116
116
 
117
117
  ```bash
118
- ATRIUM_IMAGE=ghcr.io/brendanbank/atrium:0.28.0 make build up
118
+ ATRIUM_IMAGE=ghcr.io/brendanbank/atrium:0.29.1 make build up
119
119
  ```
120
120
 
121
121
  The frontend SDK packages