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

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

Merged
merged 5 commits into from
May 8, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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"
}