Skip to content

AAAA NOOO the skeleton .gitignore needs a new CLI release#2952

Merged
balazsbajorics merged 2 commits intomainfrom
bb-fix-gitignore
May 21, 2025
Merged

AAAA NOOO the skeleton .gitignore needs a new CLI release#2952
balazsbajorics merged 2 commits intomainfrom
bb-fix-gitignore

Conversation

@balazsbajorics
Copy link
Copy Markdown
Contributor

Problem:
Turns out /templates/skeleton/.gitignore is NOT the .gitignore file that is placed in a freshly generated Hydrogen store.
Which means, new hydrogen stores created with the current CLI will not have .react-router in their gitignore files, which means, running npm run codegen will create a messy git diff for our users.

Fix
Place .react-router in the source string for the generated .gitignore. Merge this, then bump the shopify CLI.

@shopify
Copy link
Copy Markdown
Contributor

shopify bot commented May 21, 2025

Oxygen deployed a preview of your bb-fix-gitignore branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment May 21, 202510:47 AM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment May 21, 202510:47 AM
metaobjects ✅ Successful (Logs) Preview deployment Inspect deployment May 21, 202510:47 AM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment May 21, 202510:47 AM

Learn more about Hydrogen's GitHub integration.

@balazsbajorics balazsbajorics merged commit 2e32e77 into main May 21, 2025
11 checks passed
@balazsbajorics balazsbajorics deleted the bb-fix-gitignore branch May 21, 2025 10:55
juanpprieto pushed a commit that referenced this pull request Sep 17, 2025
* adding .react-router to the gitignore generated by the cli

* add changeset entry
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