Skip to content

Add store delete command#8035

Open
alfonso-noriega wants to merge 1 commit into
mainfrom
store-delete-dev
Open

Add store delete command#8035
alfonso-noriega wants to merge 1 commit into
mainfrom
store-delete-dev

Conversation

@alfonso-noriega

@alfonso-noriega alfonso-noriega commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

Adds the CLI-side shopify store delete command requested in https://github.com/shop/issues-develop/issues/22936, using the prototype in #7471 as the reference implementation.

WHAT is this pull request doing?

  • Adds a hidden shopify store delete command in @shopify/store for deleting app development stores.
  • Supports the full command flag shape: global flags, --json, --store (--name alias), and --organization-id.
  • Adds the deleteAppDevelopmentStore Business Platform mutation document and typed document.
  • Adds a service layer that resolves auth, calls the BP mutation, maps user errors to AbortError, and emits text or JSON output.
  • Registers the command in the store plugin and CLI oclif manifest.

How to test your changes?

  • pnpm --filter @shopify/store vitest run src/cli/commands/store/delete.test.ts src/cli/services/store/delete/dev.test.ts
  • pnpm nx lint store
  • pnpm nx type-check store

Notes

No changeset: this follows the existing hidden dev-store command pattern, so it is not being announced in public release notes yet.

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

Assisted-By: devx/921acb10-d127-42c8-8a9a-0314a325d188

Copy link
Copy Markdown
Contributor Author

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

@github-actions github-actions Bot added the no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users. label Jul 8, 2026
@alfonso-noriega alfonso-noriega marked this pull request as ready for review July 8, 2026 11:09
@alfonso-noriega alfonso-noriega requested review from a team as code owners July 8, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant