Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make mock.shop default in storefront client * Show warning as info * Enhance log in CLI * Remove mock.shop from templates * Changesets * Fix lint * Update packages/hydrogen-react/src/storefront-client.ts Co-authored-by: Graham F. Scott <gfscott@users.noreply.github.com> --------- Co-authored-by: Juan P. Prieto <jp@calltheguys.co> Co-authored-by: Graham F. Scott <gfscott@users.noreply.github.com>
- Loading branch information
1 parent
4791908
commit a209019
Showing
6 changed files
with
38 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@shopify/hydrogen-react': patch | ||
'@shopify/hydrogen': patch | ||
--- | ||
|
||
Fall back to "mock.shop" when no value is passed in `storeDomain` to `createStorefrontClient`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# These variables are only available locally in MiniOxygen | ||
|
||
SESSION_SECRET="foobar" | ||
PUBLIC_STORE_DOMAIN="mock.shop" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# These variables are only available locally in MiniOxygen | ||
|
||
SESSION_SECRET="foobar" | ||
PUBLIC_STORE_DOMAIN="mock.shop" |