Skip to content

Add Hydrogen primitives package metadata#3847

Merged
graygilmore merged 1 commit into
previewfrom
gg-hydrogen-primitives-identifier
Jul 10, 2026
Merged

Add Hydrogen primitives package metadata#3847
graygilmore merged 1 commit into
previewfrom
gg-hydrogen-primitives-identifier

Conversation

@graygilmore

@graygilmore graygilmore commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Adds package-owned Shopify CLI compatibility metadata to the preview @shopify/hydrogen package:

"shopify": {
  "cli": {
    "disabledCommands": [
      "hydrogen:build",
      "hydrogen:check",
      "hydrogen:codegen",
      "hydrogen:debug:cpu",
      "hydrogen:dev",
      "hydrogen:g",
      "hydrogen:generate:route",
      "hydrogen:generate:routes",
      "hydrogen:preview",
      "hydrogen:setup",
      "hydrogen:setup:css",
      "hydrogen:setup:markets",
      "hydrogen:setup:vite",
      "hydrogen:shortcut",
      "hydrogen:upgrade"
    ]
  }
}

The values are canonical Oclif command IDs, so shopify hydrogen setup vite is represented as hydrogen:setup:vite.

This list covers the Hydrogen classic lifecycle and project-management commands that this package does not support. Shopify integration commands are intentionally omitted and remain available. The matching CLI consumer is in #3846.

Validation

pnpm exec oxfmt --check packages/hydrogen/package.json .changeset/fuzzy-wolves-signal.md
git diff --check origin/preview...HEAD

@graygilmore graygilmore marked this pull request as ready for review July 9, 2026 23:39
@graygilmore graygilmore requested a review from a team as a code owner July 9, 2026 23:39
Expose the Hydrogen classic command IDs this package does not support so
Shopify CLI can preserve integration commands without inferring the
package shape.

Assisted-By: devx/82312b61-7c91-4344-a141-09987c8b46eb
@graygilmore graygilmore merged commit f216581 into preview Jul 10, 2026
3 checks passed
@graygilmore graygilmore deleted the gg-hydrogen-primitives-identifier branch July 10, 2026 19:52
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.

3 participants