hydrogen
hydrogen copied to clipboard
Move Minimum Node Version to 18
Description
Ensure that the minimum Node version is 18. This ensures that globals like fetch
, formData
, etc. are always available.
Node 18 - New globally available browser-compatible APIs
Additional context
Also updated starter templates
Looks like we need to poke the Oxygen team to upgrade Node:
error [email protected]: The engine “node” is incompatible with this module. Expected version “>=18". Got “16.16.0”
I think Stackblitz may also only be on 16?
@frehner That's a good point on StackBlitz. We need to ensure they support Node 18 before we can push this out and then drop all our polyfills.
I left a comment on the StackBlitz issue for custom Node versions. We will see what they say or do.
Oxygen deployed a preview of your bl-fix-xss2
branch. Details:
Storefront | Status | Preview link | Deployment details | Last update (UTC) |
---|---|---|---|---|
third-party-queries-caching | ⏳ In progress (Logs) | - | Inspect deployment | March 14, 2024 5:14 PM |
optimistic-cart-ui | ⏳ In progress (Logs) | - | Inspect deployment | March 14, 2024 5:14 PM |
skeleton | ⏳ In progress (Logs) | - | Inspect deployment | March 14, 2024 5:14 PM |
custom-cart-method | ⏳ In progress (Logs) | - | Inspect deployment | March 14, 2024 5:14 PM |
subscriptions | ⏳ In progress (Logs) | - | Inspect deployment | March 14, 2024 5:14 PM |
vite | ✅ Successful (Logs) | Preview deployment | Inspect deployment | March 12, 2024 7:29 PM |
Learn more about Hydrogen's GitHub integration.
We detected some changes in packages/*/package.json
or packages/*/src
, and there are no updates in the .changeset
.
If the changes are user-facing and should cause a version bump, run npm run changeset add
to track your changes and include them in the next release CHANGELOG.
If you are making simple updates to examples or documentation, you do not need to add a changeset.