diff --git a/.circleci/config.yml b/.circleci/config.yml index 6e0e5d322f6..d296b5d53c1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -79,19 +79,14 @@ commands: - build - test jobs: - v14: - docker: - - image: node:14-buster - steps: - - run-tests - v16: + v18: docker: - - image: node:16-buster + - image: node:18-buster steps: - run-tests - v18: + v20: docker: - - image: node:18-buster + - image: node:20-buster steps: - run-tests windows: @@ -103,7 +98,6 @@ jobs: workflows: node: jobs: - - v14 - - v16 - v18 + - v20 - windows diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 94c5ffe771d..65dcbbc6a14 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -3,64 +3,6 @@ name: CI on: [push, pull_request] jobs: - v14: - runs-on: ubuntu-22.04 - container: - image: 'ubuntu:22.04' - steps: - - name: Install required dependencies - run: | - apt update - apt install --yes sudo - sudo apt install --yes git - sudo apt install --yes curl - curl --location https://deb.nodesource.com/setup_14.x | sudo --preserve-env bash - - sudo DEBIAN_FRONTEND=noninteractive apt install --yes nodejs - - uses: actions/checkout@v3 - # workaround for https://github.com/actions/runner/issues/2033 - - name: ownership workaround - run: git config --global --add safe.directory '*' - - name: Install yarn - run: | - npm install --global yarn - node --version - yarn global add yarn@latest - - name: Install dependencies - run: yarn install --ignore-engines --frozen-lockfile - - name: Build packages - run: yarn build - - name: Test - run: yarn test-ci - - v16: - runs-on: ubuntu-22.04 - container: - image: 'ubuntu:22.04' - steps: - - name: Install required dependencies - run: | - apt update - apt install --yes sudo - sudo apt install --yes git - sudo apt install --yes curl - curl --location https://deb.nodesource.com/setup_16.x | sudo --preserve-env bash - - sudo DEBIAN_FRONTEND=noninteractive apt install --yes nodejs - - uses: actions/checkout@v3 - # workaround for https://github.com/actions/runner/issues/2033 - - name: ownership workaround - run: git config --global --add safe.directory '*' - - name: Install yarn - run: | - npm install --global yarn - node --version - yarn global add yarn@latest - - name: Install dependencies - run: yarn install --ignore-engines --frozen-lockfile - - name: Build packages - run: yarn build - - name: Test - run: yarn test-ci - v18: runs-on: ubuntu-22.04 container: diff --git a/.tool-versions b/.tool-versions index 8ead549ecc0..f6efb75cedb 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 18.16.0 +nodejs 18.17.1 diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index 1992de40e86..79e4ed4e02e 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "dependencies": { "@commitlint/config-angular": "^17.7.0" diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 1fd1baeb7e0..75aff601d93 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "dependencies": { "@commitlint/config-lerna-scopes": "^17.7.0" diff --git a/@alias/commitlint-config-nx-scopes/package.json b/@alias/commitlint-config-nx-scopes/package.json index 9a5c8558e0e..0ab4ea235c7 100644 --- a/@alias/commitlint-config-nx-scopes/package.json +++ b/@alias/commitlint-config-nx-scopes/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "dependencies": { "@commitlint/config-nx-scopes": "^17.6.4" diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index 7e7cbba8fce..22e0a38857a 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "dependencies": { "@commitlint/config-patternplate": "^17.7.0" diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 8830c688283..75690713218 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -13,7 +13,7 @@ "pkg": "pkg-check --skip-main" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 638714a1e78..d68c9e59cd0 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -15,7 +15,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 19b446caaf4..f1e8a42d0e2 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "devDependencies": { "@commitlint/utils": "^17.4.0" diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index c57dbfb994f..12b24700b25 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "devDependencies": { "@commitlint/lint": "^17.7.0", diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 77092c65181..41ec835e1f8 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -30,7 +30,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "devDependencies": { "@commitlint/lint": "^17.7.0", diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index af4b5843a01..25d35e59f9f 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -35,7 +35,7 @@ } }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "dependencies": { "@lerna/project": "^6.0.0", diff --git a/@commitlint/config-nx-scopes/package.json b/@commitlint/config-nx-scopes/package.json index 175ad0ea945..6d9dc993560 100644 --- a/@commitlint/config-nx-scopes/package.json +++ b/@commitlint/config-nx-scopes/package.json @@ -35,7 +35,7 @@ } }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "devDependencies": { "@commitlint/test": "^17.4.2", diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 13474dc3ada..2429b681e89 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "dependencies": { "@commitlint/config-angular": "^17.7.0", diff --git a/@commitlint/config-pnpm-scopes/package.json b/@commitlint/config-pnpm-scopes/package.json index 7409d17816c..3f67b32967a 100644 --- a/@commitlint/config-pnpm-scopes/package.json +++ b/@commitlint/config-pnpm-scopes/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "dependencies": { "@pnpm/read-project-manifest": "^4.1.4", diff --git a/@commitlint/config-rush-scopes/package.json b/@commitlint/config-rush-scopes/package.json index e8066445906..0f6e78e6dba 100644 --- a/@commitlint/config-rush-scopes/package.json +++ b/@commitlint/config-rush-scopes/package.json @@ -30,7 +30,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "dependencies": { "jsonc": "^2.0.0" diff --git a/@commitlint/config-validator/package.json b/@commitlint/config-validator/package.json index 7bb444a739e..6e85fb169b6 100644 --- a/@commitlint/config-validator/package.json +++ b/@commitlint/config-validator/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index f393856de70..1c3fbb6c628 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/cz-commitlint/package.json b/@commitlint/cz-commitlint/package.json index 6355e5e52ff..59ba37e9af0 100644 --- a/@commitlint/cz-commitlint/package.json +++ b/@commitlint/cz-commitlint/package.json @@ -27,7 +27,7 @@ }, "engineStrict": true, "engines": { - "node": ">=v14" + "node": ">=v18" }, "author": "Curly Brackets ", "license": "MIT", diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 62a1158bc03..2c6dec2de72 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index ae9ac576ff4..f69333cc923 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 9d5665b0e61..3a7c3611f56 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index d8d75cc0bc6..c87dbf81954 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 92526c6c5d0..c910a375623 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 41638ebc4a5..065e8d0119b 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index 32a976949d8..a49ec90e4b0 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index d2ed7ca0fe6..2c7d81ae74c 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index bd3abc76d06..267bb6acddb 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "devDependencies": { "@commitlint/test": "^17.4.2", diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index 4a4245c6049..3a57b9e73fc 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -34,7 +34,7 @@ }, "homepage": "https://commitlint.js.org/", "engines": { - "node": ">=v14" + "node": ">=v18" }, "devDependencies": { "@commitlint/config-angular": "^17.7.0", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 929b42be069..4bcdf712df8 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index e2ed762ab3f..d6aa7c707b2 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index 6032c917fa3..f5cc1966d03 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index c96ada563f2..3a1680e456b 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index e3f0dd980e0..686ab77b906 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index 4462b3efbc1..60e2ac534bd 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -14,7 +14,7 @@ "pkg": "pkg-check --skip-main" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index a554d84ee83..9950562c6d0 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -11,7 +11,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@packages/test-environment/package.json b/@packages/test-environment/package.json index 67bf0bc1976..d600314d60d 100644 --- a/@packages/test-environment/package.json +++ b/@packages/test-environment/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@packages/test/package.json b/@packages/test/package.json index ba5ebcf7ec4..578b2dbe568 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -9,7 +9,7 @@ "lib/" ], "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/@packages/utils/package.json b/@packages/utils/package.json index f6aa914c5a1..c2502f0ced7 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -16,7 +16,7 @@ "pkg": "node pkg-check.js --skip-main" }, "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git", diff --git a/package.json b/package.json index 2adaf110bdb..f0d3bfc883b 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "@packages/*" ], "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git",