The Wire · Showcase
CLI COMMANDS UNHIDDEN, HYDROGEN FIXES IMPORT RESOLUTION ACROSS FRAMEWORKS
By RepoJournal · Filed · About Shopify
Shopify CLI 4.5.0 ships store commands for public use while Hydrogen patches JavaScript project imports that broke after the Vite 8 upgrade.
Shopify CLI 4.5.0 unhides the store commands suite [1], making previously internal tooling available for general release. The move follows test coverage work across the CLI ecosystem: execute command tests now prevent regressions in flag parsing and service integration [2], while the flushPromises utility gains dedicated async scenario coverage [3]. On the Hydrogen side, three releases address a critical developer experience gap. The Vite 8 upgrade removed the vite-tsconfig-paths plugin in favor of native path alias support, which worked fine for TypeScript projects but broke JavaScript quickstarts [8]. Both @shopify/create-hydrogen 5.0.38 and skeleton 2026.4.5 now define the `~/` import alias explicitly in the Vite config [5] [6], ensuring consistent behavior across both project types. Separately, @shopify/cli-hydrogen 13.0.1 adds command policy guards to prevent classic CLI lifecycle commands from running against Hydrogen primitives projects [7], surfacing actionable errors during deployment instead of generic failures [4].
Action items
- → Upgrade @shopify/cli-hydrogen to 13.0.1 and regenerate new Hydrogen projects to get Vite alias fixes Shopify/hydrogen [immediate]
- → Update to Shopify CLI 4.5.0 to access newly public store commands Shopify/cli [plan]
- → Monitor Hydrogen JavaScript projects for import failures if running pre-5.0.38 create-hydrogen Shopify/hydrogen [monitor]
References
- [1] 4.5.0 ↗ Shopify/cli
- [2] [Tests] Cover app bulk execute command ↗ Shopify/cli
- [3] [Tests] Add unit tests for flushPromises utility ↗ Shopify/cli
- [4] @shopify/[email protected] ↗ Shopify/hydrogen
- [5] @shopify/[email protected] ↗ Shopify/hydrogen
- [6] [email protected] ↗ Shopify/hydrogen
- [7] Guard Hydrogen primitives projects from classic CLI commands ↗ Shopify/hydrogen
- [8] fix: add an explicit ~ alias in the Hydrogen skeleton ↗ Shopify/hydrogen