Skip to content

Number the markets package.json step 3 - #4292

Merged
lucyxiang merged 1 commit into
2026-04from
lucy/markets-package-json-step
Nov 2, 2026
Merged

lucyxiang merged 1 commit into
2026-04from
lucy/markets-package-json-step

Conversation

@lucyxiang

@lucyxiang lucyxiang commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

TL;DR: The markets recipe goes from Step 2 to Step 8. This PR changes the package.json step to Step 3.

Why

The recipe gives the package.json patch step: "8". The generator set this number from the position of package.json in the list of changed files (String(i) in cookbook/src/lib/generate.ts). The recipe has only steps 1 and 2, so the README, the LLM prompt and the shopify.dev page skip from Step 2 to Step 8.

What this changes

  • Sets step: "3" for the package.json step in cookbook/recipes/markets/recipe.yaml.
  • Renders the markets README and the LLM prompt again. The only change in each file is the heading "Step 8: package.json", which becomes "Step 3: package.json".

The generator reuses the step number that the recipe already has (existingStep?.step), so generate and regenerate keep step "3".

Developer impact

No changeset. The cookbook does not ship in a package.

The markets recipe gives the package.json patch the step number "8".
The generator set this number from the position of package.json in the
list of changed files. The recipe has only steps 1 and 2, so the README,
the LLM prompt and the shopify.dev page go from Step 2 to Step 8.

The generator keeps the step number that the recipe already has, so a
regenerate keeps step "3".
@shopify

shopify Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Oxygen deployed a preview of your lucy/markets-package-json-step branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment November 2, 2026 8:23 PM

Learn more about Hydrogen's GitHub integration.

@lucyxiang
lucyxiang marked this pull request as ready for review November 2, 2026 21:13
@lucyxiang
lucyxiang requested a review from a team as a code owner November 2, 2026 21:13
@lucyxiang
lucyxiang added this pull request to the merge queue Nov 2, 2026
Merged via the queue into 2026-04 with commit f131aa6 Nov 2, 2026
21 checks passed
@lucyxiang
lucyxiang deleted the lucy/markets-package-json-step branch November 2, 2026 23:33
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