Skip to content

Commit

Permalink
fix(monorepo): drop Node 14 support
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node 14 is not longer supported. Node 16 is the minimum required version now.
  • Loading branch information
homer0 committed Dec 27, 2022
1 parent 87becbb commit 4df5a23
Show file tree
Hide file tree
Showing 21 changed files with 39 additions and 39 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/test.yml
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '14', '16' ]
node: [ '16', '18' ]
name: Run jest and ESLint (Node ${{ matrix.node }})
steps:
- uses: actions/checkout@v2
Expand All @@ -19,7 +19,7 @@ jobs:
- run: yarn lint:all
- run: yarn test
- name: Coveralls (unit) for public/prettier-plugin-jsdoc
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -28,7 +28,7 @@ jobs:
path-to-lcov: ./packages/public/prettier-plugin-jsdoc/coverage-unit/lcov.info
base-path: ./packages/public/prettier-plugin-jsdoc
- name: Coveralls (e2e) for public/prettier-plugin-jsdoc
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -37,7 +37,7 @@ jobs:
path-to-lcov: ./packages/public/prettier-plugin-jsdoc/coverage-e2e/lcov.info
base-path: ./packages/public/prettier-plugin-jsdoc
- name: Coveralls for public/object-utils
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -46,7 +46,7 @@ jobs:
path-to-lcov: ./packages/public/object-utils/coverage/lcov.info
base-path: ./packages/public/object-utils
- name: Coveralls for public/deep-assign
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -55,7 +55,7 @@ jobs:
path-to-lcov: ./packages/public/deep-assign/coverage/lcov.info
base-path: ./packages/public/deep-assign
- name: Coveralls for public/extend-promise
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -64,7 +64,7 @@ jobs:
path-to-lcov: ./packages/public/extend-promise/coverage/lcov.info
base-path: ./packages/public/extend-promise
- name: Coveralls for public/jimple
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -73,7 +73,7 @@ jobs:
path-to-lcov: ./packages/public/jimple/coverage/lcov.info
base-path: ./packages/public/jimple
- name: Coveralls for public/deferred
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -82,7 +82,7 @@ jobs:
path-to-lcov: ./packages/public/deferred/coverage/lcov.info
base-path: ./packages/public/deferred
- name: Coveralls for public/events-hub
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -91,7 +91,7 @@ jobs:
path-to-lcov: ./packages/public/events-hub/coverage/lcov.info
base-path: ./packages/public/events-hub
- name: Coveralls for public/api-utils
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -100,7 +100,7 @@ jobs:
path-to-lcov: ./packages/public/api-utils/coverage/lcov.info
base-path: ./packages/public/api-utils
- name: Coveralls for public/path-utils
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -109,7 +109,7 @@ jobs:
path-to-lcov: ./packages/public/path-utils/coverage/lcov.info
base-path: ./packages/public/path-utils
- name: Coveralls for public/env-utils
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -118,7 +118,7 @@ jobs:
path-to-lcov: ./packages/public/env-utils/coverage/lcov.info
base-path: ./packages/public/env-utils
- name: Coveralls for public/package-info
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -127,7 +127,7 @@ jobs:
path-to-lcov: ./packages/public/package-info/coverage/lcov.info
base-path: ./packages/public/package-info
- name: Coveralls for public/root-file
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -136,7 +136,7 @@ jobs:
path-to-lcov: ./packages/public/root-file/coverage/lcov.info
base-path: ./packages/public/root-file
- name: Coveralls for public/simple-logger
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -145,7 +145,7 @@ jobs:
path-to-lcov: ./packages/public/simple-logger/coverage/lcov.info
base-path: ./packages/public/simple-logger
- name: Coveralls for public/error-handler
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -154,7 +154,7 @@ jobs:
path-to-lcov: ./packages/public/error-handler/coverage/lcov.info
base-path: ./packages/public/error-handler
- name: Coveralls for public/simple-config
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -163,7 +163,7 @@ jobs:
path-to-lcov: ./packages/public/simple-config/coverage/lcov.info
base-path: ./packages/public/simple-config
- name: Coveralls for public/simple-storage
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -172,7 +172,7 @@ jobs:
path-to-lcov: ./packages/public/simple-storage/coverage/lcov.info
base-path: ./packages/public/simple-storage
- name: Coveralls for public/fs-cache
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
14
16
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -19,7 +19,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"commitlint": {
"extends": [
Expand Down
2 changes: 1 addition & 1 deletion packages/personal/eslint-plugin/package.json
Expand Up @@ -26,7 +26,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/public/api-utils/package.json
Expand Up @@ -34,7 +34,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/deep-assign/package.json
Expand Up @@ -30,7 +30,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/deferred/package.json
Expand Up @@ -30,7 +30,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/env-utils/package.json
Expand Up @@ -33,7 +33,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/error-handler/package.json
Expand Up @@ -34,7 +34,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/events-hub/package.json
Expand Up @@ -30,7 +30,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/extend-promise/package.json
Expand Up @@ -30,7 +30,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/fs-cache/package.json
Expand Up @@ -35,7 +35,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/jimple/package.json
Expand Up @@ -31,7 +31,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/object-utils/package.json
Expand Up @@ -34,7 +34,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/package-info/package.json
Expand Up @@ -36,7 +36,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/path-utils/package.json
Expand Up @@ -33,7 +33,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/prettier-plugin-jsdoc/package.json
Expand Up @@ -30,7 +30,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/public/root-file/package.json
Expand Up @@ -34,7 +34,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/simple-config/package.json
Expand Up @@ -37,7 +37,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/simple-logger/package.json
Expand Up @@ -36,7 +36,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/public/simple-storage/package.json
Expand Up @@ -32,7 +32,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
Expand Down

0 comments on commit 4df5a23

Please sign in to comment.