Skip to content

Commit

Permalink
Merge pull request #1697 from srod/feat/remove-node-14
Browse files Browse the repository at this point in the history
feat(node): remove node 14
  • Loading branch information
srod authored Feb 13, 2023
2 parents 6b67bda + 1a8a901 commit 684bb5f
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: [14.x, 16.x, 18.x]
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
Expand Down
6 changes: 3 additions & 3 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": ">=14.0.0"
"node": ">=16.0.0"
},
"packageManager": "pnpm@7.27.0",
"scripts": {
Expand All @@ -23,7 +23,7 @@
"clean:build": "pnpm dlx rimraf packages/*/dist",
"clean:packages": "pnpm run lerna clean -y",
"clean:test": "pnpm dlx rimraf tests/tmp/*.{js,js.map,css,html,json}",
"clean:git":"git restore --source=HEAD --staged --worktree -- tests/fixtures",
"clean:git": "git restore --source=HEAD --staged --worktree -- tests/fixtures",
"coverage": "vitest run --coverage",
"precoverage:ci": "pnpm run build && pnpm run eslint",
"coverage:ci": "vitest run --coverage",
Expand Down Expand Up @@ -59,7 +59,7 @@
"@node-minify/uglify-js": "workspace:*",
"@node-minify/utils": "workspace:*",
"@node-minify/yui": "workspace:*",
"@tsconfig/node14": "1.0.3",
"@tsconfig/node16": "1.0.3",
"@types/node": "18.13.0",
"@typescript-eslint/eslint-plugin": "5.51.0",
"@typescript-eslint/parser": "5.51.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.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": ">=14.0.0"
"node": ">=16.0.0"
},
"directories": {
"lib": "dist",
Expand Down
8 changes: 4 additions & 4 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/node14/tsconfig.json",
"extends": "@tsconfig/node16/tsconfig.json",
"compilerOptions": {
"declaration": true,
"removeComments": true,
Expand Down

0 comments on commit 684bb5f

Please sign in to comment.