breaking: set verison to 4, remove engines.pnpm and bump engines.node to >=16 (#8566)

pull/8572/head
Dominik G 1 year ago committed by GitHub
parent 5e486c19ad
commit 56df761f95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,14 +12,12 @@ jobs:
strategy:
matrix:
include:
- node-version: 14
- node-version: 16
os: ubuntu-latest
- node-version: 14
- node-version: 16
os: windows-latest
- node-version: 14
os: macOS-latest
- node-version: 16
os: ubuntu-latest
os: macOS-latest
- node-version: 18
os: ubuntu-latest
- node-version: 20
@ -27,8 +25,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.4
with:
version: ${{ matrix.node-version == 14 && 7 || 8 }}
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
@ -46,6 +42,7 @@ jobs:
- uses: pnpm/action-setup@v2.2.4
- uses: actions/setup-node@v3
with:
node-version: 16
cache: pnpm
- run: 'pnpm i && pnpm lint'
Unit:
@ -54,14 +51,12 @@ jobs:
strategy:
matrix:
include:
- node-version: 14
- node-version: 16
os: ubuntu-latest
- node-version: 14
- node-version: 16
os: windows-latest
- node-version: 14
os: macOS-latest
- node-version: 16
os: ubuntu-latest
os: macOS-latest
- node-version: 18
os: ubuntu-latest
- node-version: 20

@ -2,7 +2,7 @@
## Unreleased (4.0)
* **breaking** Minimum supported Node version is now Node 14 ([#8482](https://github.com/sveltejs/svelte/pull/8482))
* **breaking** Minimum supported Node version is now Node 16 ([#8566](https://github.com/sveltejs/svelte/pull/8566))
* **breaking** Minimum supported webpack version is now webpack 5 ([#8515](https://github.com/sveltejs/svelte/pull/8515))
* **breaking** Bundlers must specify the `browser` condition when building a frontend bundle for the browser ([#8516](https://github.com/sveltejs/svelte/pull/8516))
* **breaking** Minimum supported vite-plugin-svelte version is now 2.1.1. SvelteKit users can upgrade to 1.15.9 or newer to ensure a compatible version ([#8516](https://github.com/sveltejs/svelte/pull/8516))

@ -1,6 +1,6 @@
{
"name": "svelte",
"version": "3.59.0",
"version": "4.0.0-next.0",
"description": "Cybernetically enhanced web apps",
"module": "index.mjs",
"main": "index",
@ -77,7 +77,7 @@
}
},
"engines": {
"node": ">= 14"
"node": ">=16"
},
"types": "types/runtime/index.d.ts",
"scripts": {
@ -152,8 +152,5 @@
"typescript": "^5.0.4",
"util": "^0.12.5"
},
"packageManager": "pnpm@7.32.0",
"engines": {
"pnpm": ">=7.0.0"
}
"packageManager": "pnpm@8.4.0"
}

Loading…
Cancel
Save