-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turn examples into template diffs for better maintenance (#1549)
* Refactor symlink in init.test * Add diff feature to dev command * Add example diff * Fix watcher when deleting files * Allow importing from current dir and skeleton template at the same time using aliases * Support --diff in build command * Add build script to example * Add turbo dependency * Merge main * Remove examples/diff * Use --diff in examples/third-party-queries-caching * Update package-lock * Remove unnecessary files * Refactor mergePackageJson * Refactor mergePackageJson, move to another file * Merge package.json with --diff flag * Refactor * Rename file, refactor * Changesets * Update example readme * Convert examples/optimistic-cart-ui to diff * Update examples/README.md Co-authored-by: Michelle Chen <michelle.chen@shopify.com> * Update package-lock * Fix finding storefront.generated.d.ts * Fix build dependencies --------- Co-authored-by: Michelle Chen <michelle.chen@shopify.com>
- Loading branch information
Showing
59 changed files
with
395 additions
and
3,711 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,5 @@ | ||
--- | ||
'@shopify/cli-hydrogen': minor | ||
--- | ||
|
||
Add `--diff` flag to dev and build commands to run examples in monorepo. Examples are now a diff applied on top of the starter template. |
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 |
---|---|---|
|
@@ -137,3 +137,5 @@ yarn.lock | |
|
||
admin.schema.json | ||
business-platform.schema.json | ||
|
||
examples/**/*.generated.d.ts |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.