Skip to content

Commit

Permalink
breaking: set verison to 4, remove engines.pnpm and bump engines.node…
Browse files Browse the repository at this point in the history
… to >=16 (#8566)
  • Loading branch information
dominikg committed May 8, 2023
1 parent 5e486c1 commit 56df761
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 19 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,19 @@ 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
os: ubuntu-latest
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 }}
Expand All @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -77,7 +77,7 @@
}
},
"engines": {
"node": ">= 14"
"node": ">=16"
},
"types": "types/runtime/index.d.ts",
"scripts": {
Expand Down Expand Up @@ -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"
}

0 comments on commit 56df761

Please sign in to comment.