@shopify/cli-hydrogen@5.2.1
版本发布时间: 2023-08-31 22:39:08
Shopify/hydrogen最新发布版本:@shopify/mini-oxygen@3.0.6(2024-10-02 11:24:35)
Patch Changes
-
Fix the default page shown when the project has no routes. (#1266) by @frandiox
-
Hydrogen is now compatible with TypeScript v5. (#1240) by @frandiox
If you have
typescript
as a dev dependency in your app, it is recommended to change its version as follows:"devDependencies": { ... - "typescript": "^4.9.5", + "typescript": "^5.2.2", },
After installing the new version of TypeScript, you may need to update the version used in your IDE. For example, in VSCode, you can do this by clicking on the
{ }
icon in the bottom-right toolbar next to the language mode (generally,{ } TypeScript JSX
when editing a.tsx
file). -
Fix development server port in some situations where it was set to a random number instead of the default 3000 or the
--port
flag value. (#1267) by @frandiox -
Fix transpiling TS to JS when scaffolding routes. (#1273) by @frandiox
-
Catch more errors during init while connecting to Shopify (#1281) by @graygilmore
-
Add functionality for creating a Content Security Policy. See the guide on Content Security Policies for more details. (#1235) by @blittle
-
Updated dependencies [
06516ee9
,423acee2
]:- @shopify/hydrogen-react@2023.7.3