From 3a08378eca8ea73e6fe42e04f871bd1842c58c7a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Jul 2026 11:41:59 +0000 Subject: [PATCH] Version Packages --- .changeset/stash-cli-config-scaffold-dx.md | 25 ------------- .changeset/stash-cli-per-command-help.md | 18 ---------- e2e/CHANGELOG.md | 8 +++++ e2e/package.json | 2 +- packages/cli/CHANGELOG.md | 41 ++++++++++++++++++++++ packages/cli/package.json | 2 +- 6 files changed, 51 insertions(+), 45 deletions(-) delete mode 100644 .changeset/stash-cli-config-scaffold-dx.md delete mode 100644 .changeset/stash-cli-per-command-help.md diff --git a/.changeset/stash-cli-config-scaffold-dx.md b/.changeset/stash-cli-config-scaffold-dx.md deleted file mode 100644 index ade7f56d7..000000000 --- a/.changeset/stash-cli-config-scaffold-dx.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -"stash": patch ---- - -Fix two config-scaffold dead-ends in the CLI (#578, #579). - -- **Missing config is now actionable.** When a command that needs a - `stash.config.ts` can't find one, the error recommends `stash init` / - `stash eql install` (runner-aware) instead of only telling you to hand-write - the file. -- **`stash eql install` no longer requires a `stash.config.ts`.** It only needs - a database URL, so it now resolves one directly (`--database-url` → env → - `supabase status` → prompt) instead of scaffolding a config and loading it. - That means a standalone `npx stash eql install --database-url ...` works in a - bare project with **zero dependencies** — no more crash with a raw - `Cannot find module 'stash'` from the config's `import`. A plain - `stash eql install` still honours an existing config (later workflow commands - rely on it) and offers to scaffold one otherwise. An explicit `--database-url` - is a one-shot install: it resolves that URL directly and leaves the project - untouched — no config or client is scaffolded, and an existing config is - bypassed so the flag can't be silently overridden by a hand-edited literal - `databaseUrl` (including one in a parent directory). -- As a safety net, `loadStashConfig` translates a missing-module load failure - (a project that *has* a config but lacks the CLI packages) into the same - actionable guidance for every command, instead of a jiti/Node stack trace. diff --git a/.changeset/stash-cli-per-command-help.md b/.changeset/stash-cli-per-command-help.md deleted file mode 100644 index 53a0b6a80..000000000 --- a/.changeset/stash-cli-per-command-help.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"stash": patch ---- - -Render per-command `--help` from the command-descriptor registry, and slim the -global banner. This is the documented follow-on to the manifest/registry work in -`docs/plans/cli-help-and-manifest.md`. - -- `stash --help` now prints command-specific help instead of the global - banner. A leaf command (`stash eql install --help`, `stash auth login --help`) - shows its usage, summary, long description, flags, and examples; a command - group (`stash eql --help`, `stash auth --help`) lists its subcommands and points - at their own `--help`. All of it renders from `src/cli/registry.ts`, so it can't - drift from `stash manifest`. -- `-h` is now honoured after a command too (`stash eql install -h`), not just as a - bare `stash -h`. -- The global `stash --help` banner no longer inlines every command's flags; it - lists the commands and directs users to ` --help` for the detail. diff --git a/e2e/CHANGELOG.md b/e2e/CHANGELOG.md index 370ade6bf..2ab6bf48c 100644 --- a/e2e/CHANGELOG.md +++ b/e2e/CHANGELOG.md @@ -1,5 +1,13 @@ # @cipherstash/e2e +## 0.0.2 + +### Patch Changes + +- Updated dependencies [cb8fa1d] +- Updated dependencies [cbece82] + - stash@0.17.1 + ## 0.0.1 ### Patch Changes diff --git a/e2e/package.json b/e2e/package.json index 660ff66ba..0f623dfb4 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -1,6 +1,6 @@ { "name": "@cipherstash/e2e", - "version": "0.0.1", + "version": "0.0.2", "private": true, "description": "End-to-end tests that exercise built CipherStash binaries and cross-package behaviour.", "type": "module", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 616e25c7d..c676c6138 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,46 @@ # @cipherstash/cli +## 0.17.1 + +### Patch Changes + +- cb8fa1d: Fix two config-scaffold dead-ends in the CLI (#578, #579). + + - **Missing config is now actionable.** When a command that needs a + `stash.config.ts` can't find one, the error recommends `stash init` / + `stash eql install` (runner-aware) instead of only telling you to hand-write + the file. + - **`stash eql install` no longer requires a `stash.config.ts`.** It only needs + a database URL, so it now resolves one directly (`--database-url` → env → + `supabase status` → prompt) instead of scaffolding a config and loading it. + That means a standalone `npx stash eql install --database-url ...` works in a + bare project with **zero dependencies** — no more crash with a raw + `Cannot find module 'stash'` from the config's `import`. A plain + `stash eql install` still honours an existing config (later workflow commands + rely on it) and offers to scaffold one otherwise. An explicit `--database-url` + is a one-shot install: it resolves that URL directly and leaves the project + untouched — no config or client is scaffolded, and an existing config is + bypassed so the flag can't be silently overridden by a hand-edited literal + `databaseUrl` (including one in a parent directory). + - As a safety net, `loadStashConfig` translates a missing-module load failure + (a project that _has_ a config but lacks the CLI packages) into the same + actionable guidance for every command, instead of a jiti/Node stack trace. + +- cbece82: Render per-command `--help` from the command-descriptor registry, and slim the + global banner. This is the documented follow-on to the manifest/registry work in + `docs/plans/cli-help-and-manifest.md`. + + - `stash --help` now prints command-specific help instead of the global + banner. A leaf command (`stash eql install --help`, `stash auth login --help`) + shows its usage, summary, long description, flags, and examples; a command + group (`stash eql --help`, `stash auth --help`) lists its subcommands and points + at their own `--help`. All of it renders from `src/cli/registry.ts`, so it can't + drift from `stash manifest`. + - `-h` is now honoured after a command too (`stash eql install -h`), not just as a + bare `stash -h`. + - The global `stash --help` banner no longer inlines every command's flags; it + lists the commands and directs users to ` --help` for the detail. + ## 0.17.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 2c89e97c9..fef7f871a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "stash", - "version": "0.17.0", + "version": "0.17.1", "description": "CipherStash CLI — the one stash command for auth, init, encryption schema, database setup, and secrets.", "repository": { "type": "git",