Hide deprecated remix template from app init help text (shop/issues-develop#21581)#7405
Merged
isaacroldan merged 1 commit intoApr 28, 2026
Merged
Conversation
…evelop#21581) The `remix` template was still listed in the `--template` help text and validation error message even though it was removed from the interactive `shopify app init` menu in favor of React Router. Mark `remix` as `visible: false` (matching the existing pattern for `node` and `ruby`) so it is no longer advertised, while keeping it as a valid alias for backwards compatibility.
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR hides the deprecated remix app template from shopify app init --template help/Docs output while preserving backward compatibility for --template remix.
Changes:
- Mark the
remixpredefined template as not visible, so it’s omitted from help text and validation messaging. - Update generated oclif manifests, CLI README command docs, and docs-shopify.dev generated docs to remove
remixfrom the advertised--templatealiases. - Add a small unit test to ensure
visibleTemplatesexcludesremixand only exposes the currently offered aliases.
Reviewed changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/create-app/oclif.manifest.json | Updates init --template flag description to no longer advertise remix. |
| packages/cli/oclif.manifest.json | Updates app init --template flag description to no longer advertise remix. |
| packages/cli/README.md | Updates rendered command docs for shopify app init to remove remix from the advertised aliases. |
| packages/app/src/cli/prompts/init/init.ts | Marks remix template as visible: false and exports visibleTemplates derived from template visibility. |
| packages/app/src/cli/prompts/init/init.test.ts | Adds coverage asserting visibleTemplates excludes remix and equals ['reactRouter','none']. |
| docs-shopify.dev/generated/generated_docs_data_v2.json | Updates generated docs text for --template to remove remix from advertised aliases. |
| docs-shopify.dev/generated/generated_docs_data.json | Updates generated docs text for --template to remove remix from advertised aliases. |
| docs-shopify.dev/commands/interfaces/app-init.interface.ts | Updates autogenerated interface docs for --template to remove remix from advertised aliases. |
| .changeset/hide-deprecated-remix-template.md | Adds a patch changeset describing the user-facing change and back-compat behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
byrichardpowell
approved these changes
Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

WHY are these changes introduced?
Fixes shop/issues-develop#21581
shopify app init --template <invalid>still listedremixin its help text and in the validation error, even though theremixtemplate was removed from the interactive picker in favor of React Router. Users running into the error were nudged toward a deprecated option.WHAT is this pull request doing?
packages/app/src/cli/prompts/init/init.ts: settemplates.remix.visible = false, matching the existing pattern fornodeandruby(still accepted via--templatefor back-compat, but no longer advertised in help text, validation errors, or generated docs).visibleTemplatesexcludesremixand equals['reactRouter', 'none'].make refresh-manifests/refresh-readme/build-dev-docsproduce:packages/cli/oclif.manifest.json,packages/create-app/oclif.manifest.json,packages/cli/README.md,docs-shopify.dev/commands/interfaces/app-init.interface.ts, and the twogenerated_docs_data*.jsonfiles.@shopify/app.How to test your changes?
reactRouterandnone— noremix.shopify app init --template remixstill works (back-compat preserved).Checklist
patchfor bug fixes ·minorfor new features ·majorfor breaking changes) and added a changeset withpnpm changeset add