You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main package owns the CLI. Platform package templates own publish metadata. The staging directories receive native binaries and built frontend assets.
20
+
The main package source owns the CLI implementation, `.build/cli` receives compiled output, platform package templates own publish metadata, and the staging directories receive the actual publishable package contents.
19
21
20
22
## CLI Usage
21
23
@@ -67,7 +69,8 @@ Use `CODER_STUDIO_HOME` to override the state directory for tests or isolated en
67
69
```bash
68
70
pnpm version:check
69
71
pnpm build:web
70
-
pnpm build:runtime
72
+
pnpm build:server
73
+
pnpm build:cli
71
74
pnpm build:packages
72
75
pnpm pack:local
73
76
pnpm release:verify
@@ -78,8 +81,9 @@ What they do:
78
81
79
82
-`version:check`: verifies the root package, main package, platform packages, `Cargo.toml`, and `tauri.conf.json` all share the same version
80
83
-`build:web`: builds the frontend into `.build/web/dist`
81
-
-`build:runtime`: builds the Rust/Tauri release binary into `.build/server/target`
82
-
-`build:packages`: materializes `.build/stage/npm/<platform>` from templates and injects the binary plus frontend assets
84
+
-`build:server`: builds the Rust/Tauri release binary into `.build/server/target`
85
+
-`build:cli`: compiles `packages/cli/src` into `.build/cli`
86
+
-`build:packages`: materializes `.build/stage/npm/coder-studio` and `.build/stage/npm/<platform>` by injecting compiled CLI output plus native/frontend assets
83
87
-`pack:local`: runs the release build and emits local tarballs into `.artifacts/`
84
88
-`release:verify`: runs version checks, CLI tests, Rust tests, local packaging, and smoke validation
85
89
-`release:verify:full`: adds release E2E on top of `release:verify`
@@ -142,7 +146,10 @@ ls .artifacts
142
146
-`release-manifest.json`
143
147
-`SHA256SUMS.txt`
144
148
145
-
`.build/stage/npm/` holds the generated publishable staging package for the current platform.
149
+
`.build/stage/npm/` holds:
150
+
151
+
-`coder-studio`: the generated publishable main package
152
+
-`<platform>`: the generated publishable runtime package for the current platform
146
153
147
154
## GitHub Actions
148
155
@@ -162,7 +169,7 @@ The automation is split into three workflows:
162
169
-`release.yml`
163
170
- starts with a `preflight` job that validates the tag and runs `pnpm version:check`
164
171
- publishes the 4 platform runtime packages from `.build/stage/npm/*`
165
-
- publishes the main `@spencer-kit/coder-studio` package
172
+
- publishes the main `@spencer-kit/coder-studio` package from `.build/stage/npm/coder-studio`
166
173
- aggregates tarballs and attaches `release-manifest.json` plus `SHA256SUMS.txt` to the GitHub Release
0 commit comments