Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

added changesets

Damian Legawiecf658c66187e5
diff --git a/packages/cli/.changeset/cli-hot-path-wrappers.md b/packages/cli/.changeset/cli-hot-path-wrappers.md
new file mode 100644
index 0000000000..6eb1fb45db
--- /dev/null
+++ b/packages/cli/.changeset/cli-hot-path-wrappers.md
@@ -0,0 +1,7 @@
+---
+"@spree/cli": minor
+---
+
+Add `spree generate`, `spree migrate` (+ `migrate:rollback`, `migrate:status`), `spree build`, `spree db:reset`, `spree db:console`, and `spree routes`. `spree generate` auto-prefixes `spree:` so `spree generate model Brand name:string` invokes the Spree generator. `spree db:reset` and `spree build --reset-bundle` are destructive and prompt by default; pass `--yes` to skip the prompt in CI. `spree build` targets `docker-compose.dev.yml` explicitly when present so it works before `spree eject`.
+
+`spree eject` no longer runs a separate `docker compose build` step (the dev compose builds on first `up -d` automatically). Its description and post-eject hints now point at `spree bundle add` for gems and `spree build` for Dockerfile / `.ruby-version` changes.
diff --git a/packages/cli/.changeset/cli-passthrough-commands.md b/packages/cli/.changeset/cli-passthrough-commands.md
new file mode 100644
index 0000000000..970a84e4b6
--- /dev/null
+++ b/packages/cli/.changeset/cli-passthrough-commands.md
@@ -0,0 +1,5 @@
+---
+"@spree/cli": minor
+---
+
+Add `spree exec`, `spree rails`, `spree bundle`, `spree rake`, and `spree task` as generic passthrough commands so any Rails / bundler / rake invocation is reachable through `spree` without `docker compose exec` incantations. `spree task <name>` auto-prefixes `spree:` to save the namespace prefix on the common path. `spree console` is rewired onto the same helper.