Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollback Nodejs Dependancy #3914

Merged
merged 2 commits into from
Jul 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .changeset/ninety-apes-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"@astrojs/prism": minor
"astro": patch
"create-astro": minor
"@astrojs/mdx": minor
"@astrojs/preact": minor
"@astrojs/react": minor
"@astrojs/solid-js": minor
"@astrojs/svelte": minor
"@astrojs/vue": minor
"@astrojs/telemetry": minor
---

Rollback supported `node@16` version. Minimum versions are now `node@14.20.0` or `node@16.14.0`.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/---01-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ body:
Thank you for taking the time to file a bug report! Please fill out this form as completely as possible.

✅ I am using the **latest version of Astro** and all plugins.
✅ I am using a version of Node that supports ESM (`v14.20.0+`, or `v16.16.0+`)
✅ I am using a version of Node that supports ESM (`v14.20.0+`, or `v16.14.0+`)
- type: input
id: astro-version
attributes:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ We welcome contributions of any size and skill level. As an open source project,
### Prerequisite

```shell
node: "^14.20.0 || >=16.16.0"
node: "^14.20.0 || >=16.14.0"
pnpm: "^7.5.0"
# otherwise, your build will fail
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"packages/astro/test/fixtures/static build/pkg"
],
"engines": {
"node": "^14.20.0 || >=16.16.0",
"node": "^14.20.0 || >=16.14.0",
"pnpm": ">=7.5.0"
},
"packageManager": "pnpm@7.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/astro-prism/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"prismjs": "^1.28.0"
},
"engines": {
"node": "^14.20.0 || >=16.16.0"
"node": "^14.20.0 || >=16.14.0"
}
}
2 changes: 1 addition & 1 deletion packages/astro/astro.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function main() {
// it's okay to hard-code the valid Node versions here since they will not change over time.
if (typeof require === 'undefined') {
console.error(`\nNode.js v${version} is not supported by Astro!
Please upgrade to a version of Node.js with complete ESM support: "^14.20.0 || >=16.16.0"\n`);
Please upgrade to a version of Node.js with complete ESM support: "^14.20.0 || >=16.14.0"\n`);
}

// Not supported: Report the most helpful error message possible.
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"srcset-parse": "^1.1.0"
},
"engines": {
"node": "^14.20.0 || >=16.16.0",
"node": "^14.20.0 || >=16.14.0",
"npm": ">=6.14.0"
}
}
2 changes: 1 addition & 1 deletion packages/create-astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
"uvu": "^0.5.3"
},
"engines": {
"node": "^14.20.0 || >=16.16.0"
"node": "^14.20.0 || >=16.14.0"
}
}
2 changes: 1 addition & 1 deletion packages/integrations/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
"linkedom": "^0.14.12"
},
"engines": {
"node": "^14.20.0 || >=16.16.0"
"node": "^14.20.0 || >=16.14.0"
}
}
2 changes: 1 addition & 1 deletion packages/integrations/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"preact": "^10.6.5"
},
"engines": {
"node": "^14.20.0 || >=16.16.0"
"node": "^14.20.0 || >=16.14.0"
}
}
2 changes: 1 addition & 1 deletion packages/integrations/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@
"react-dom": "^17.0.2 || ^18.0.0"
},
"engines": {
"node": "^14.20.0 || >=16.16.0"
"node": "^14.20.0 || >=16.14.0"
}
}
2 changes: 1 addition & 1 deletion packages/integrations/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
"solid-js": "^1.4.3"
},
"engines": {
"node": "^14.20.0 || >=16.16.0"
"node": "^14.20.0 || >=16.14.0"
}
}
2 changes: 1 addition & 1 deletion packages/integrations/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
"svelte": "^3.46.4"
},
"engines": {
"node": "^14.20.0 || >=16.16.0"
"node": "^14.20.0 || >=16.14.0"
}
}
2 changes: 1 addition & 1 deletion packages/integrations/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
"vue": "^3.2.30"
},
"engines": {
"node": "^14.20.0 || >=16.16.0"
"node": "^14.20.0 || >=16.14.0"
}
}
2 changes: 1 addition & 1 deletion packages/telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"astro-scripts": "workspace:*"
},
"engines": {
"node": "^14.20.0 || >=16.16.0"
"node": "^14.20.0 || >=16.14.0"
}
}