Skip to content

Commit

Permalink
Merge pull request #2092 from srod/feat/node-18
Browse files Browse the repository at this point in the history
feat(node): remove node 16, add node 18
  • Loading branch information
srod authored Jan 20, 2024
2 parents 33efe95 + 030e68a commit c9acdaa
Show file tree
Hide file tree
Showing 23 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [16.x, 18.x]
node-version: [18.x, 20.x]
steps:
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://github.com/srod/node-minify.git"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"packageManager": "pnpm@8.14.1",
"scripts": {
Expand Down Expand Up @@ -54,7 +54,7 @@
"@node-minify/uglify-js": "workspace:*",
"@node-minify/utils": "workspace:*",
"@node-minify/yui": "workspace:*",
"@tsconfig/node16": "1.0.4",
"@tsconfig/node18": "18.2.2",
"@types/node": "18.19.8",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-minify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/babel-minify#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/clean-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/clean-css#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"node-minify": "dist/cli.mjs"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/core#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/crass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/crass#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/cssnano/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/cssnano#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/csso/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/csso#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-closure-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/google-closure-compiler#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/html-minifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/html-minifier#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsonminify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/jsonminify#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/no-compress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/no-compress#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/run/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/run#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/sqwish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/sqwish#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/terser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/terser#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/types#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "src/types.ts",
"types": "src/types.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/uglify-es/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/uglify-es#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/uglify-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/uglify-js#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/utils#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/yui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://github.com/srod/node-minify/tree/master/packages/yui#readme",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"directories": {
"lib": "dist",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"declaration": true,
Expand Down

0 comments on commit c9acdaa

Please sign in to comment.