Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General fixes #1128

Merged
merged 10 commits into from Jul 21, 2023
Merged

General fixes #1128

merged 10 commits into from Jul 21, 2023

Conversation

frandiox
Copy link
Contributor

A few minor fixes, check commits 1 by 1 since they are independent.
The main change is starting to use mock.shop in hello-world. I think this makes sense because that's the template that new storefronts created from Admin will use. This way, it's more similar to skeleton.

@frandiox frandiox requested a review from a team July 21, 2023 11:09
const isAppLine = (line: string) => line.includes(options.appDirectory);
const isAppLine = (line: string) =>
line.includes(options.rootDirectory) &&
!line.includes('node_modules');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it not work with just the node_modules check?

Copy link
Contributor Author

@frandiox frandiox Jul 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It... probably does 🤔

Edit: I forgot why I did it but now I remember -- it should work only with the node_modules check in user apps but not in the monorepo where part of the stack comes from packages/hydrogen 😅

Comment on lines +86 to +91
You’re seeing this because you don’t have a home route
in your project yet. <br />
Run <code>h2 generate route home</code> to create your home route.
Learn more about
{` `}
<CreateRoutesLink />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So much better

@frandiox frandiox merged commit 4bee03d into 2023-04 Jul 21, 2023
10 checks passed
@frandiox frandiox deleted the fd-remove-gitignore-log branch July 21, 2023 14:33
This was referenced Jul 21, 2023
FrcPpe pushed a commit to FrcPpe/hydrogen that referenced this pull request Aug 13, 2023
* Remove log related to .shopify in .gitignore

* Update list prompt and cleanup

* Throw error in HR when storeDomain is falsy

* Trim stack trace for every known error, not only GraphQL

* Show server.ts in stack trace and ensure something is shown

* Fix tests

* Update HR error messages

* Improve virtual-route information when store is linked

* Use mock.shop in hello-world

* Changesets
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.

None yet

2 participants