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

chore: Bump engines to v18 #4217

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [20, 18, 16, 14]
node: [20, 18]
runs-on: ${{ matrix.os }}
name: CLI ${{ matrix.os }} nodejs ${{ matrix.node }}
steps:
Expand Down Expand Up @@ -214,19 +214,13 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
node: [20, 18, 16, 14]
node: [20, 18]
webpack: ['webpack4', 'webpack5']
exclude:
- webpack: 'webpack4'
node: 18
- webpack: 'webpack4'
node: 20
- os: windows-latest
node: 20
- os: windows-latest
node: 18
- os: windows-latest
node: 16
runs-on: ${{ matrix.os }}
name: ${{ matrix.webpack }} plugin ${{ matrix.os }} nodejs ${{ matrix.node }}
steps:
Expand Down Expand Up @@ -264,13 +258,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [16, 18]
node: [20, 18]
rollup: [3, 4]
exclude:
- rollup: 3
node: 18
- rollup: 4
node: 16
node: 20
runs-on: ${{ matrix.os }}
name: rollup ${{ matrix.rollup}} plugin nodejs ${{ matrix.node }}
steps:
Expand Down
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"private": true,
"description": "Analyze webpack stats(bundle size, assets, modules, packages) and compare the results between different builds.",
"engines": {
"node": ">= 14.0"
"node": ">= 18.0"
},
"devDependencies": {
"@babel/core": "7.23.9",
"@babel/eslint-parser": "7.23.10",
"@tsconfig/node14": "14.1.0",
"@tsconfig/node18": "18.2.2",
"@types/react": "18.2.54",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
Expand All @@ -43,8 +43,8 @@
"lerna": "8.1.2",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"rimraf": "5.0.5",
"react-is": "^16.13.1",
"rimraf": "5.0.5",
"typescript": "5.1.6",
"verdaccio": "^5.26.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lib": "lib"
},
"engines": {
"node": ">= 14.0"
"node": ">= 18.0"
},
"scripts": {
"build": "npm run clean && npm run build-lib && npm run build-esm",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lib": "lib"
},
"engines": {
"node": ">= 14.0"
"node": ">= 18.0"
},
"scripts": {
"copy-fixtures": "./scripts/copy-fixtures.sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "In-depth bundle analyzer for webpack(bundle size, assets, modules)",
"main": "index.js",
"engines": {
"node": ">= 14.0"
"node": ">= 18.0"
},
"scripts": {
"lint": "eslint"
Expand Down
2 changes: 1 addition & 1 deletion packages/next-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "In-depth bundle analyzer for webpack(bundle size, assets, modules)",
"main": "index.js",
"engines": {
"node": ">= 14.0"
"node": ">= 18.0"
},
"scripts": {
"lint": "eslint"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-webpack-filter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "types/index.d.ts",
"sideEffects": false,
"engines": {
"node": ">= 14.0"
"node": ">= 18.0"
},
"directories": {
"lib": "lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-webpack-validate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "types/index.d.ts",
"sideEffects": false,
"engines": {
"node": ">= 14.0"
"node": ">= 18.0"
},
"directories": {
"lib": "lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/rollup-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"types": "types/index.d.ts",
"sideEffects": false,
"engines": {
"node": ">= 16.0"
"node": ">= 18.0"
},
"directories": {
"lib": "lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "types/index.d.ts",
"sideEffects": false,
"engines": {
"node": ">= 14.0"
"node": ">= 18.0"
},
"directories": {
"lib": "lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"lib": "lib"
},
"engines": {
"node": ">= 14.0"
"node": ">= 18.0"
},
"scripts": {
"build": "babel src -d lib",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node14/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"moduleResolution": "Node",
"allowSyntheticDefaultImports": true,
Expand Down
Loading