diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 22fbee4409..ffbe9b023a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -8,64 +8,6 @@ on: types: [opened, synchronize] 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 8ead549ecc..f6efb75ced 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 1992de40e8..79e4ed4e02 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 1fd1baeb7e..75aff601d9 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 9a5c8558e0..0ab4ea235c 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 7e7cbba8fc..22e0a38857 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 8830c68828..7569071321 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 638714a1e7..d68c9e59cd 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 19b446caaf..f1e8a42d0e 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 c57dbfb994..12b24700b2 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 77092c6518..41ec835e1f 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 af4b5843a0..25d35e59f9 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 175ad0ea94..6d9dc99356 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 13474dc3ad..2429b681e8 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 7409d17816..3f67b32967 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 e806644590..0f6e78e6db 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 7bb444a739..6e85fb169b 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 f393856de7..1c3fbb6c62 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 6355e5e52f..59ba37e9af 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 62a1158bc0..2c6dec2de7 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 ae9ac576ff..f69333cc92 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 9d5665b0e6..3a7c3611f5 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 d8d75cc0bc..c87dbf8195 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 92526c6c5d..c910a37562 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 41638ebc4a..065e8d0119 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 32a976949d..a49ec90e4b 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 d2ed7ca0fe..2c7d81ae74 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 bd3abc76d0..267bb6acdd 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 4a4245c604..3a57b9e73f 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 929b42be06..4bcdf712df 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 e2ed762ab3..d6aa7c707b 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 6032c917fa..f5cc1966d0 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 c96ada563f..3a1680e456 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 e3f0dd980e..686ab77b90 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 4462b3efbc..60e2ac534b 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 a554d84ee8..9950562c6d 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 67bf0bc197..d600314d60 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 ba5ebcf7ec..578b2dbe56 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 f6aa914c5a..c2502f0ced 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 2adaf110bd..f0d3bfc883 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "@packages/*" ], "engines": { - "node": ">=v14" + "node": ">=v18" }, "repository": { "type": "git",