mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
parent
f7fa39e682
commit
31f9c0bf02
15 changed files with 28 additions and 14 deletions
14
.changeset/blue-avocados-jog.md
Normal file
14
.changeset/blue-avocados-jog.md
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
'astro': patch
|
||||||
|
'@astrojs/prism': patch
|
||||||
|
'create-astro': patch
|
||||||
|
'@astrojs/mdx': patch
|
||||||
|
'@astrojs/preact': patch
|
||||||
|
'@astrojs/react': patch
|
||||||
|
'@astrojs/solid-js': patch
|
||||||
|
'@astrojs/svelte': patch
|
||||||
|
'@astrojs/vue': patch
|
||||||
|
'@astrojs/telemetry': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Roll back supported Node engines
|
2
.github/ISSUE_TEMPLATE/---01-bug-report.yml
vendored
2
.github/ISSUE_TEMPLATE/---01-bug-report.yml
vendored
|
@ -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.
|
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 the **latest version of Astro** and all plugins.
|
||||||
✅ I am using a version of Node that supports ESM (`v14.20.0+`, or `v16.14.0+`)
|
✅ I am using a version of Node that supports ESM (`v14.18.0+`, or `v16.12.0+`)
|
||||||
- type: input
|
- type: input
|
||||||
id: astro-version
|
id: astro-version
|
||||||
attributes:
|
attributes:
|
||||||
|
|
|
@ -10,7 +10,7 @@ We welcome contributions of any size and skill level. As an open source project,
|
||||||
### Prerequisite
|
### Prerequisite
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
node: "^14.20.0 || >=16.14.0"
|
node: "^14.18.0 || >=16.12.0"
|
||||||
pnpm: "^7.5.0"
|
pnpm: "^7.5.0"
|
||||||
# otherwise, your build will fail
|
# otherwise, your build will fail
|
||||||
```
|
```
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
"packages/astro/test/fixtures/static build/pkg"
|
"packages/astro/test/fixtures/static build/pkg"
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.20.0 || >=16.14.0",
|
"node": "^14.18.0 || >=16.12.0",
|
||||||
"pnpm": ">=7.5.0"
|
"pnpm": ">=7.5.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@7.5.0",
|
"packageManager": "pnpm@7.5.0",
|
||||||
|
|
|
@ -23,6 +23,6 @@
|
||||||
"prismjs": "^1.28.0"
|
"prismjs": "^1.28.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.20.0 || >=16.14.0"
|
"node": "^14.18.0 || >=16.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.
|
// it's okay to hard-code the valid Node versions here since they will not change over time.
|
||||||
if (typeof require === 'undefined') {
|
if (typeof require === 'undefined') {
|
||||||
console.error(`\nNode.js v${version} is not supported by Astro!
|
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.14.0"\n`);
|
Please upgrade to a version of Node.js with complete ESM support: "^14.18.0 || >=16.12.0"\n`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Not supported: Report the most helpful error message possible.
|
// Not supported: Report the most helpful error message possible.
|
||||||
|
|
|
@ -170,7 +170,7 @@
|
||||||
"srcset-parse": "^1.1.0"
|
"srcset-parse": "^1.1.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.20.0 || >=16.14.0",
|
"node": "^14.18.0 || >=16.12.0",
|
||||||
"npm": ">=6.14.0"
|
"npm": ">=6.14.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,6 @@
|
||||||
"uvu": "^0.5.3"
|
"uvu": "^0.5.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.20.0 || >=16.14.0"
|
"node": "^14.18.0 || >=16.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,6 @@
|
||||||
"linkedom": "^0.14.12"
|
"linkedom": "^0.14.12"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.20.0 || >=16.14.0"
|
"node": "^14.18.0 || >=16.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,6 +45,6 @@
|
||||||
"preact": "^10.6.5"
|
"preact": "^10.6.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.20.0 || >=16.14.0"
|
"node": "^14.18.0 || >=16.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,6 @@
|
||||||
"react-dom": "^17.0.2 || ^18.0.0"
|
"react-dom": "^17.0.2 || ^18.0.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.20.0 || >=16.14.0"
|
"node": "^14.18.0 || >=16.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,6 @@
|
||||||
"solid-js": "^1.4.3"
|
"solid-js": "^1.4.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.20.0 || >=16.14.0"
|
"node": "^14.18.0 || >=16.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,6 +48,6 @@
|
||||||
"svelte": "^3.46.4"
|
"svelte": "^3.46.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.20.0 || >=16.14.0"
|
"node": "^14.18.0 || >=16.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,6 +45,6 @@
|
||||||
"vue": "^3.2.30"
|
"vue": "^3.2.30"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.20.0 || >=16.14.0"
|
"node": "^14.18.0 || >=16.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,6 @@
|
||||||
"astro-scripts": "workspace:*"
|
"astro-scripts": "workspace:*"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.20.0 || >=16.14.0"
|
"node": "^14.18.0 || >=16.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue