From a77660a3180cb5261b73770d59344a8593bde768 Mon Sep 17 00:00:00 2001 From: Nick Wesselman <27013789+nickwesselman@users.noreply.github.com> Date: Thu, 3 Sep 2026 00:05:25 -0400 Subject: [PATCH] Say "dev store" instead of "development store" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `shopify store` dev store commands were the only place calling them "development stores" — `app dev`, the `store list` type column and the flag help elsewhere all say "dev store". Covers the messages users read: the create and delete success banners, the name prompt, the confirmation prompt, the failure errors, the deletion task title, and the command summaries and flag descriptions. `app dev` shares the name prompt through @shopify/organizations, so its own creation banner moves too — otherwise that flow would prompt for a "dev store" and then confirm a "development store". Left alone: the Admin API's own `partnerDevelopment` plan wording, and the remaining `app dev` store-selection messages. Co-Authored-By: Claude Opus 5 (1M context) Assisted-By: devx/4874be33-ff52-4bcc-beaa-5ff567199ec5 --- .../src/cli/services/dev/select-store.test.ts | 4 ++-- .../app/src/cli/services/dev/select-store.ts | 2 +- packages/cli/oclif.manifest.json | 20 +++++++++---------- packages/organizations/src/cli/prompts/dev.ts | 2 +- .../src/cli/services/dev/create-dev-store.ts | 4 ++-- .../src/cli/commands/store/create/dev.ts | 12 +++++------ .../src/cli/commands/store/delete.test.ts | 4 ++-- .../store/src/cli/commands/store/delete.ts | 8 ++++---- packages/store/src/cli/prompts/store.test.ts | 4 +--- .../src/cli/services/store/delete/dev.test.ts | 4 ++-- .../src/cli/services/store/delete/dev.ts | 8 ++++---- 11 files changed, 35 insertions(+), 37 deletions(-) diff --git a/packages/app/src/cli/services/dev/select-store.test.ts b/packages/app/src/cli/services/dev/select-store.test.ts index 24e46e78689..19d07566270 100644 --- a/packages/app/src/cli/services/dev/select-store.test.ts +++ b/packages/app/src/cli/services/dev/select-store.test.ts @@ -406,7 +406,7 @@ describe('selectStore', async () => { }) // The developer picked the create choice, so no explanatory notice is needed. expect(renderInfo).not.toHaveBeenCalled() - expect(renderSuccess).toHaveBeenCalledWith({headline: 'Development store "store1" created successfully.'}) + expect(renderSuccess).toHaveBeenCalledWith({headline: 'Dev store "store1" created successfully.'}) }) test('passes an affirmative demo data answer through to store creation', async () => { @@ -482,7 +482,7 @@ describe('selectStore', async () => { expect(renderInfo).toHaveBeenCalledWith({ body: "You don't have any dev stores associated with org1's Dev Dashboard. Let's create one.", }) - expect(renderSuccess).toHaveBeenCalledWith({headline: 'Development store "store1" created successfully.'}) + expect(renderSuccess).toHaveBeenCalledWith({headline: 'Dev store "store1" created successfully.'}) }) test('reports how to select a created store after provisioning retries are exhausted', async () => { diff --git a/packages/app/src/cli/services/dev/select-store.ts b/packages/app/src/cli/services/dev/select-store.ts index fb6ce1c2f12..c7073cee78f 100644 --- a/packages/app/src/cli/services/dev/select-store.ts +++ b/packages/app/src/cli/services/dev/select-store.ts @@ -39,7 +39,7 @@ export async function selectStore( const withDemoData = await devStoreDemoDataPrompt() const domain = await createDevStore({name, plan, withDemoData, organization: org, json: false, summary: false}) const createdStore = await waitForCreatedStoreByDomain(org, domain, developerPlatformClient) - renderSuccess({headline: `Development store "${createdStore.shopName}" created successfully.`}) + renderSuccess({headline: `Dev store "${createdStore.shopName}" created successfully.`}) return createdStore } diff --git a/packages/cli/oclif.manifest.json b/packages/cli/oclif.manifest.json index f55a5b66b68..4b179f39c06 100644 --- a/packages/cli/oclif.manifest.json +++ b/packages/cli/oclif.manifest.json @@ -7185,8 +7185,8 @@ "args": { }, "customPluginName": "@shopify/store", - "description": "Creates a new development store in your organization.", - "descriptionWithMarkdown": "Creates a new development store in your organization.", + "description": "Creates a new dev store in your organization.", + "descriptionWithMarkdown": "Creates a new dev store in your organization.", "enableJsonFlag": false, "examples": [ "<%= config.bin %> <%= command.id %>", @@ -7206,13 +7206,13 @@ }, "demo-data": { "allowNo": true, - "description": "Populate the new development store with demo data.", + "description": "Populate the new dev store with demo data.", "env": "SHOPIFY_FLAG_STORE_DEMO_DATA", "name": "demo-data", "type": "boolean" }, "feature-preview": { - "description": "The handle of a feature preview to enable on the new development store.", + "description": "The handle of a feature preview to enable on the new dev store.", "env": "SHOPIFY_FLAG_STORE_FEATURE_PREVIEW", "hasDynamicHelp": false, "multiple": false, @@ -7229,7 +7229,7 @@ "type": "boolean" }, "name": { - "description": "Name for the new development store. Required if non interactive.", + "description": "Name for the new dev store. Required if non interactive.", "env": "SHOPIFY_FLAG_STORE_NAME", "hasDynamicHelp": false, "multiple": false, @@ -7253,7 +7253,7 @@ "type": "option" }, "plan": { - "description": "The Shopify plan to use for the new development store. Required if non interactive.", + "description": "The Shopify plan to use for the new dev store. Required if non interactive.", "env": "SHOPIFY_FLAG_STORE_PLAN", "hasDynamicHelp": false, "multiple": false, @@ -7284,7 +7284,7 @@ "pluginName": "@shopify/cli", "pluginType": "core", "strict": true, - "summary": "Create a new development store." + "summary": "Create a new dev store." }, "store:create:preview": { "aliases": [ @@ -7360,8 +7360,8 @@ "args": { }, "customPluginName": "@shopify/store", - "description": "Deletes a development store from your organization.", - "descriptionWithMarkdown": "Deletes a development store from your organization.", + "description": "Deletes a dev store from your organization.", + "descriptionWithMarkdown": "Deletes a dev store from your organization.", "enableJsonFlag": false, "examples": [ "<%= config.bin %> <%= command.id %> --store shop.myshopify.com --organization-id 1234567", @@ -7430,7 +7430,7 @@ "pluginName": "@shopify/cli", "pluginType": "core", "strict": true, - "summary": "Delete a development store." + "summary": "Delete a dev store." }, "store:execute": { "aliases": [ diff --git a/packages/organizations/src/cli/prompts/dev.ts b/packages/organizations/src/cli/prompts/dev.ts index ada6eeda95d..63ae3949a94 100644 --- a/packages/organizations/src/cli/prompts/dev.ts +++ b/packages/organizations/src/cli/prompts/dev.ts @@ -10,7 +10,7 @@ const PLAN_LABELS: {[plan in DevStorePlan]: string} = { } export function devStoreNamePrompt(): Promise { - return ui.renderTextPrompt({message: 'Name for the new development store'}) + return ui.renderTextPrompt({message: 'Name for the new dev store'}) } export function devStorePlanPrompt(): Promise { diff --git a/packages/organizations/src/cli/services/dev/create-dev-store.ts b/packages/organizations/src/cli/services/dev/create-dev-store.ts index 6a96e667450..68c6fbe710e 100644 --- a/packages/organizations/src/cli/services/dev/create-dev-store.ts +++ b/packages/organizations/src/cli/services/dev/create-dev-store.ts @@ -86,7 +86,7 @@ export async function createDevStore(options: CreateDevStoreOptions): Promise 0) { const messages = userErrors.map((error) => error.message).join(', ') - throw new AbortError(`Failed to create development store: ${messages}`) + throw new AbortError(`Failed to create dev store: ${messages}`) } const {shopDomain, shopAdminUrl} = createAppDevelopmentStore @@ -167,7 +167,7 @@ export async function createDevStore(options: CreateDevStoreOptions): Promise