@shopify/cli-hydrogen@13.0.1
Patch Changes
-
Read disabled command metadata from @Shopify/hydrogen and stop those commands with an actionable error. (#3846) by @graygilmore
-
Preserve actionable build errors during
h2 deploy. When the build step fails (for example, when thevitepackage is missing from the project), the original error and its guidance are now surfaced instead of being wrapped into a generic "Build function failed with error" message and reported as an uncaught crash. (#3848) by @bashu-shopify -
Add an explicit
~app alias to new Hydrogen projects. (#3852) by @andguy95JavaScript projects use
jsconfig.json, which is not reliably covered by Vite's nativeresolve.tsconfigPathsbehavior. New projects now define Hydrogen's~/import convention directly in the Vite config so imports like~/assets/favicon.svgwork in both TypeScript and JavaScript projects. -
Skip confirmation before deploying to non-preview environments with
--force. (#3832) by @gonzaloriestra -
Add
--forceand--dry-runflags tohydrogen env push. (#3831) by @gonzaloriestra -
Fix Hydrogen deploy asset directory resolution when Vite reports the client output directory as the SSR server output directory. (#3842) by @frandiox