Skip to content

Up Update CLI option for serverless app home.#7338

Open
elanalynn wants to merge 1 commit intomainfrom
04-16-up_update_cli_option_for_serverless_app_home
Open

Up Update CLI option for serverless app home.#7338
elanalynn wants to merge 1 commit intomainfrom
04-16-up_update_cli_option_for_serverless_app_home

Conversation

@elanalynn
Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

Fixes #0000

WHAT is this pull request doing?

How to test your changes?

Post-release steps

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've considered analytics changes to measure impact
  • The change is user-facing, so I've added a changelog entry with pnpm changeset add

Update CLI option for serverless app home.
@elanalynn elanalynn requested a review from a team as a code owner April 16, 2026 23:28
Copilot AI review requested due to automatic review settings April 16, 2026 23:28
Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the CLI init prompt label for the extension-only template when hosted apps mode is enabled, reflecting the “serverless app home” wording.

Changes:

  • Updated the buildNoneTemplate() hosted-app label copy in the init prompt.
  • Updated the corresponding unit test expectation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
packages/app/src/cli/prompts/init/init.ts Updates the hosted-app template label shown in the init template selection prompt.
packages/app/src/cli/prompts/init/init.test.ts Adjusts the test to match the new hosted-app label text.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

: 'https://github.com/Shopify/shopify-app-template-none',
label: hostedAppsEnabled
? 'Build an extension-only app (Shopify-hosted Preact app home and extensions, no back-end)'
? 'Build an extension-only app (Serverless app home and extensions. No back-end)'
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hosted-app label uses two sentences inside the parenthesis (period after "extensions") and capitalizes "No", which is inconsistent with the other template labels that use a single parenthetical phrase (e.g., "(recommended)") and tends to read awkwardly in a select list. Consider using a single phrase with comma/semicolon and consistent casing (e.g., "... (Serverless app home and extensions, no back end)"), and keep terminology consistent ("backend" vs "back-end").

Suggested change
? 'Build an extension-only app (Serverless app home and extensions. No back-end)'
? 'Build an extension-only app (Serverless app home and extensions, no backend)'

Copilot uses AI. Check for mistakes.
Comment on lines 38 to 40
label: hostedAppsEnabled
? 'Build an extension-only app (Shopify-hosted Preact app home and extensions, no back-end)'
? 'Build an extension-only app (Serverless app home and extensions. No back-end)'
: 'Build an extension-only app',
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR title/intent mentions updating an "up" CLI option for the serverless app home, but the only code change here is a copy update to the init template label. Either update the PR title/description to reflect this wording change, or include the missing CLI option changes in this PR.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants