0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

feat: upgrade the minimum Node.js maintainance LTS version (#10689)

* feat: upgrade the minimum Node.js maintainance LTS version

* chore: update minimum npm version

* chore: revert npm change

* chore: address Erika's feedback

* chore: apply further suggestions

* Update .changeset/empty-rules-type.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
This commit is contained in:
Emanuele Stoppa 2024-04-10 14:53:55 +01:00 committed by GitHub
parent 2e53b5fff6
commit 683d51a5ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 32 additions and 14 deletions

View file

@ -0,0 +1,17 @@
---
"@astrojs/markdoc": minor
"@astrojs/preact": minor
"@astrojs/svelte": minor
"@astrojs/react": minor
"@astrojs/solid-js": minor
"@astrojs/mdx": minor
"@astrojs/vue": minor
"create-astro": minor
"@astrojs/prism": minor
"@astrojs/telemetry": minor
"@astrojs/upgrade": minor
"astro": minor
---
Upgrades the minimum version of Node.js to `v18.20.1`. This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support).

View file

@ -44,7 +44,7 @@
"packages/*"
],
"engines": {
"node": ">=18.14.1",
"node": "^18.17.1 || ^20.3.0 || >=21.0.0",
"pnpm": ">=8.6.12"
},
"packageManager": "pnpm@8.6.12",

View file

@ -39,6 +39,6 @@
"astro-scripts": "workspace:*"
},
"engines": {
"node": ">=18.14.1"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
}
}

View file

@ -224,8 +224,9 @@
"unified": "^11.0.4"
},
"engines": {
"node": ">=18.14.1",
"npm": ">=6.14.0"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0",
"npm": ">=9.6.5",
"pnpm": ">=7.1.0"
},
"publishConfig": {
"provenance": true

View file

@ -41,7 +41,7 @@
"strip-json-comments": "^5.0.1"
},
"engines": {
"node": ">=18.14.1"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
},
"publishConfig": {
"provenance": true

View file

@ -86,7 +86,7 @@
"vite": "^5.1.4"
},
"engines": {
"node": ">=18.14.1"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
},
"publishConfig": {
"provenance": true

View file

@ -75,7 +75,7 @@
"vite": "^5.1.4"
},
"engines": {
"node": ">=18.14.1"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
},
"publishConfig": {
"provenance": true

View file

@ -52,7 +52,7 @@
"preact": "^10.6.5"
},
"engines": {
"node": ">=18.14.1"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
},
"publishConfig": {
"provenance": true

View file

@ -66,7 +66,7 @@
"react-dom": "^17.0.2 || ^18.0.0"
},
"engines": {
"node": ">=18.14.1"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
},
"publishConfig": {
"provenance": true

View file

@ -46,7 +46,7 @@
"solid-js": "^1.8.5"
},
"engines": {
"node": ">=18.14.1"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
},
"publishConfig": {
"provenance": true

View file

@ -57,7 +57,7 @@
"typescript": "^5.3.3"
},
"engines": {
"node": ">=18.14.1"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
},
"publishConfig": {
"provenance": true

View file

@ -58,7 +58,7 @@
"vue": "^3.2.30"
},
"engines": {
"node": ">=18.14.1"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
},
"publishConfig": {
"provenance": true

View file

@ -45,7 +45,7 @@
"astro-scripts": "workspace:*"
},
"engines": {
"node": ">=18.14.1"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
},
"publishConfig": {
"provenance": true

View file

@ -42,6 +42,6 @@
"strip-ansi": "^7.1.0"
},
"engines": {
"node": ">=18.14.1"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
}
}