From bd92fdb2ea9c23b07a78f85abea51d8a3c29fb70 Mon Sep 17 00:00:00 2001 From: Kamontat Chantrachirathumrong <14089557+kamontat@users.noreply.github.com> Date: Mon, 23 Oct 2023 12:05:45 +0700 Subject: [PATCH] feat(deps): Upgrade minimum version from v16 to v18 (#134) * feat(core): upgrade minimum version from v16 to v18 * chore(test): example * fix(rush-commitlint): command didn't exit with error if lint failed * fix(rush-commitlint): mark --edit as optional option * chore(config): add node engines recommend version * chore: update lock and state files * chore: add changefiles * fix(deps): nodejs version 21 is not ready yet --- .github/mergify.yml | 1 - .github/workflows/main.yml | 5 +- common/autoinstallers/rush-commitlint/lint.sh | 8 +- ...grade-minimum-nodejs_2023-10-23-04-25.json | 10 + ...grade-minimum-nodejs_2023-10-23-04-25.json | 10 + ...grade-minimum-nodejs_2023-10-23-04-25.json | 10 + ...grade-minimum-nodejs_2023-10-23-04-25.json | 10 + ...grade-minimum-nodejs_2023-10-23-04-25.json | 10 + common/config/rush/command-line.json | 2 +- common/config/rush/pnpm-lock.yaml | 172 +++++++++--------- common/config/rush/repo-state.json | 2 +- packages/color/package.json | 3 + packages/dtcheck/package.json | 3 + packages/equals/package.json | 3 + packages/eslint-config/package.json | 3 + packages/lintstaged-config/package.json | 3 + packages/mixin/package.json | 3 + packages/node-rig/package.json | 5 +- packages/random/package.json | 3 + packages/reset.css/package.json | 3 + packages/web-rig/package.json | 3 + typings/generic/package.json | 3 + typings/package_json/package.json | 3 + 23 files changed, 183 insertions(+), 95 deletions(-) create mode 100644 common/changes/@kcws/dtcheck/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json create mode 100644 common/changes/@kcws/mixin/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json create mode 100644 common/changes/@kcws/node-rig/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json create mode 100644 common/changes/@kcws/random/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json create mode 100644 common/changes/@kcws/web-rig/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json diff --git a/.github/mergify.yml b/.github/mergify.yml index f23bbb43..8d4d1e40 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -11,7 +11,6 @@ shared: - check-success=spellcheck - check-success=licensecheck - check-success=testing - - check-success=alternative-testing (16) - check-success=alternative-testing (18) - check-success=alternative-testing (20) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 90880379..ee431e0e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -134,11 +134,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - # Support backward 'LTS' version - # and 'current' version + # Support backward 'LTS' version and 'current' version # https://github.com/nodejs/release#release-schedule # https://nodejs.org/en/blog/release - node-version: [16, 18, 20] + node-version: [18, 20] needs: - testing steps: diff --git a/common/autoinstallers/rush-commitlint/lint.sh b/common/autoinstallers/rush-commitlint/lint.sh index 9e1d9b4d..360c6654 100644 --- a/common/autoinstallers/rush-commitlint/lint.sh +++ b/common/autoinstallers/rush-commitlint/lint.sh @@ -25,12 +25,16 @@ Please run 'rush %s %s' before execute this script." \ fi config="$autoinstallers/commitlint.config.js" - +code=0 if test -n "$CI" || test -n "$DEBUG"; then - "$cmd" --config "$config" --verbose "$@" || exit $? + "$cmd" --config "$config" --verbose "$@" + code=$? else "$cmd" --config "$config" "$@" + code=$? fi unset root autoinstallers cmd cmd_name unset config + +exit $code diff --git a/common/changes/@kcws/dtcheck/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json b/common/changes/@kcws/dtcheck/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json new file mode 100644 index 00000000..34d51663 --- /dev/null +++ b/common/changes/@kcws/dtcheck/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@kcws/dtcheck", + "comment": "Add node 12 as minimum engine", + "type": "patch" + } + ], + "packageName": "@kcws/dtcheck" +} \ No newline at end of file diff --git a/common/changes/@kcws/mixin/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json b/common/changes/@kcws/mixin/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json new file mode 100644 index 00000000..8dff9156 --- /dev/null +++ b/common/changes/@kcws/mixin/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@kcws/mixin", + "comment": "Add node 12 as minimum engine", + "type": "patch" + } + ], + "packageName": "@kcws/mixin" +} \ No newline at end of file diff --git a/common/changes/@kcws/node-rig/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json b/common/changes/@kcws/node-rig/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json new file mode 100644 index 00000000..49d569bb --- /dev/null +++ b/common/changes/@kcws/node-rig/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@kcws/node-rig", + "comment": "Add node 18 as minimum engine", + "type": "patch" + } + ], + "packageName": "@kcws/node-rig" +} \ No newline at end of file diff --git a/common/changes/@kcws/random/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json b/common/changes/@kcws/random/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json new file mode 100644 index 00000000..b59f977a --- /dev/null +++ b/common/changes/@kcws/random/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@kcws/random", + "comment": "Add node 12 as minimum engine", + "type": "patch" + } + ], + "packageName": "@kcws/random" +} \ No newline at end of file diff --git a/common/changes/@kcws/web-rig/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json b/common/changes/@kcws/web-rig/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json new file mode 100644 index 00000000..ac79da7a --- /dev/null +++ b/common/changes/@kcws/web-rig/feature-upgrade-minimum-nodejs_2023-10-23-04-25.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@kcws/web-rig", + "comment": "Add node 12 as minimum engine", + "type": "patch" + } + ], + "packageName": "@kcws/web-rig" +} \ No newline at end of file diff --git a/common/config/rush/command-line.json b/common/config/rush/command-line.json index e314d223..4e1252d0 100644 --- a/common/config/rush/command-line.json +++ b/common/config/rush/command-line.json @@ -194,7 +194,7 @@ "shortName": "-e", "argumentName": "MESSAGE", "description": "Commit message to verify on commitlint", - "required": true, + "required": false, "associatedCommands": ["hooks:commitlint"] } ] diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 6a672bf3..1918d3cf 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -21,7 +21,7 @@ importers: version: link:../web-rig '@rushstack/heft': specifier: 0.62.3 - version: 0.62.3(@types/node@16.18.43) + version: 0.62.3(@types/node@18.18.6) ../../packages/dtcheck: devDependencies: @@ -36,7 +36,7 @@ importers: version: link:../web-rig '@rushstack/heft': specifier: 0.62.3 - version: 0.62.3(@types/node@16.18.43) + version: 0.62.3(@types/node@18.18.6) '@types/generic': specifier: workspace:* version: link:../../typings/generic @@ -61,7 +61,7 @@ importers: version: link:../web-rig '@rushstack/heft': specifier: 0.62.3 - version: 0.62.3(@types/node@16.18.43) + version: 0.62.3(@types/node@18.18.6) tslib: specifier: 2.6.2 version: 2.6.2 @@ -94,7 +94,7 @@ importers: version: link:../web-rig '@rushstack/heft': specifier: 0.62.3 - version: 0.62.3(@types/node@16.18.43) + version: 0.62.3(@types/node@18.18.6) ../../packages/lintstaged-config: dependencies: @@ -110,7 +110,7 @@ importers: version: link:../node-rig '@rushstack/heft': specifier: 0.62.3 - version: 0.62.3(@types/node@16.18.43) + version: 0.62.3(@types/node@18.18.6) '@types/micromatch': specifier: 4.0.4 version: 4.0.4 @@ -128,31 +128,31 @@ importers: version: link:../web-rig '@rushstack/heft': specifier: 0.62.3 - version: 0.62.3(@types/node@16.18.43) + version: 0.62.3(@types/node@18.18.6) ../../packages/node-rig: dependencies: '@microsoft/api-extractor': specifier: 7.38.0 - version: 7.38.0(@types/node@16.18.43) + version: 7.38.0(@types/node@18.18.6) '@rushstack/heft-api-extractor-plugin': specifier: 0.2.9 - version: 0.2.9(@rushstack/heft@0.62.3)(@types/node@16.18.43) + version: 0.2.9(@rushstack/heft@0.62.3)(@types/node@18.18.6) '@rushstack/heft-jest-plugin': specifier: 0.9.9 - version: 0.9.9(@rushstack/heft@0.62.3)(@types/node@16.18.43)(jest-environment-node@29.6.2) + version: 0.9.9(@rushstack/heft@0.62.3)(@types/node@18.18.6)(jest-environment-node@29.6.2) '@rushstack/heft-lint-plugin': specifier: 0.2.9 - version: 0.2.9(@rushstack/heft@0.62.3)(@types/node@16.18.43) + version: 0.2.9(@rushstack/heft@0.62.3)(@types/node@18.18.6) '@rushstack/heft-typescript-plugin': specifier: 0.2.9 - version: 0.2.9(@rushstack/heft@0.62.3)(@types/node@16.18.43) + version: 0.2.9(@rushstack/heft@0.62.3)(@types/node@18.18.6) '@types/heft-jest': specifier: 1.0.5 version: 1.0.5 '@types/node': - specifier: 16.18.43 - version: 16.18.43 + specifier: 18.18.6 + version: 18.18.6 eslint: specifier: 8.52.0 version: 8.52.0 @@ -171,7 +171,7 @@ importers: devDependencies: '@rushstack/heft': specifier: 0.62.3 - version: 0.62.3(@types/node@16.18.43) + version: 0.62.3(@types/node@18.18.6) ../../packages/random: devDependencies: @@ -186,7 +186,7 @@ importers: version: link:../node-rig '@rushstack/heft': specifier: 0.62.3 - version: 0.62.3(@types/node@16.18.43) + version: 0.62.3(@types/node@18.18.6) '@types/generic': specifier: workspace:* version: link:../../typings/generic @@ -201,7 +201,7 @@ importers: version: link:../web-rig '@rushstack/heft': specifier: 0.62.3 - version: 0.62.3(@types/node@16.18.43) + version: 0.62.3(@types/node@18.18.6) stylelint: specifier: 15.11.0 version: 15.11.0 @@ -213,22 +213,22 @@ importers: dependencies: '@microsoft/api-extractor': specifier: 7.38.0 - version: 7.38.0(@types/node@16.18.43) + version: 7.38.0(@types/node@18.18.6) '@rushstack/heft-api-extractor-plugin': specifier: 0.2.9 - version: 0.2.9(@rushstack/heft@0.62.3)(@types/node@16.18.43) + version: 0.2.9(@rushstack/heft@0.62.3)(@types/node@18.18.6) '@rushstack/heft-jest-plugin': specifier: 0.9.9 version: 0.9.9(@rushstack/heft@0.62.3)(jest-environment-jsdom@29.6.2) '@rushstack/heft-lint-plugin': specifier: 0.2.9 - version: 0.2.9(@rushstack/heft@0.62.3)(@types/node@16.18.43) + version: 0.2.9(@rushstack/heft@0.62.3)(@types/node@18.18.6) '@rushstack/heft-sass-plugin': specifier: 0.12.9 version: 0.12.9(@rushstack/heft@0.62.3) '@rushstack/heft-typescript-plugin': specifier: 0.2.9 - version: 0.2.9(@rushstack/heft@0.62.3)(@types/node@16.18.43) + version: 0.2.9(@rushstack/heft@0.62.3)(@types/node@18.18.6) '@types/heft-jest': specifier: 1.0.5 version: 1.0.5 @@ -250,7 +250,7 @@ importers: devDependencies: '@rushstack/heft': specifier: 0.62.3 - version: 0.62.3(@types/node@16.18.43) + version: 0.62.3(@types/node@18.18.6) tslib: specifier: 2.6.2 version: 2.6.2 @@ -268,7 +268,7 @@ importers: version: link:../../packages/node-rig '@rushstack/heft': specifier: 0.62.3 - version: 0.62.3(@types/node@16.18.43) + version: 0.62.3(@types/node@18.18.6) ../../typings/generic: devDependencies: @@ -812,7 +812,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -833,14 +833,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.5.0 '@jest/types': 29.6.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.5.0(@types/node@16.18.43) + jest-config: 29.5.0(@types/node@18.18.6) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -868,7 +868,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 jest-mock: 29.7.0 dev: false @@ -895,7 +895,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 16.18.43 + '@types/node': 18.18.6 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -928,7 +928,7 @@ packages: '@jest/transform': 29.5.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.20 - '@types/node': 16.18.43 + '@types/node': 18.18.6 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1038,7 +1038,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.5 '@types/istanbul-reports': 3.0.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 '@types/yargs': 17.0.29 chalk: 4.1.2 dev: false @@ -1073,24 +1073,24 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: false - /@microsoft/api-extractor-model@7.28.2(@types/node@16.18.43): + /@microsoft/api-extractor-model@7.28.2(@types/node@18.18.6): resolution: {integrity: sha512-vkojrM2fo3q4n4oPh4uUZdjJ2DxQ2+RnDQL/xhTWSRUNPF6P4QyrvY357HBxbnltKcYu+nNNolVqc6TIGQ73Ig==} dependencies: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.61.0(@types/node@16.18.43) + '@rushstack/node-core-library': 3.61.0(@types/node@18.18.6) transitivePeerDependencies: - '@types/node' dev: false - /@microsoft/api-extractor@7.38.0(@types/node@16.18.43): + /@microsoft/api-extractor@7.38.0(@types/node@18.18.6): resolution: {integrity: sha512-e1LhZYnfw+JEebuY2bzhw0imDCl1nwjSThTrQqBXl40hrVo6xm3j/1EpUr89QyzgjqmAwek2ZkIVZbrhaR+cqg==} hasBin: true dependencies: - '@microsoft/api-extractor-model': 7.28.2(@types/node@16.18.43) + '@microsoft/api-extractor-model': 7.28.2(@types/node@18.18.6) '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.61.0(@types/node@16.18.43) + '@rushstack/node-core-library': 3.61.0(@types/node@18.18.6) '@rushstack/rig-package': 0.5.1 '@rushstack/ts-command-line': 4.16.1 colors: 1.2.5 @@ -1218,30 +1218,30 @@ packages: - typescript dev: false - /@rushstack/heft-api-extractor-plugin@0.2.9(@rushstack/heft@0.62.3)(@types/node@16.18.43): + /@rushstack/heft-api-extractor-plugin@0.2.9(@rushstack/heft@0.62.3)(@types/node@18.18.6): resolution: {integrity: sha512-2rPzQOVc7yUL2+5PZyRQkund19m9pECkZTy+DYKD5G6q8qFSw7jSTJ8UncukLvd2CLbN64+q38qBqkJUDHRX3Q==} peerDependencies: '@rushstack/heft': 0.62.3 dependencies: - '@rushstack/heft': 0.62.3(@types/node@16.18.43) - '@rushstack/heft-config-file': 0.14.2(@types/node@16.18.43) - '@rushstack/node-core-library': 3.61.0(@types/node@16.18.43) + '@rushstack/heft': 0.62.3(@types/node@18.18.6) + '@rushstack/heft-config-file': 0.14.2(@types/node@18.18.6) + '@rushstack/node-core-library': 3.61.0(@types/node@18.18.6) semver: 7.5.4 transitivePeerDependencies: - '@types/node' dev: false - /@rushstack/heft-config-file@0.14.2(@types/node@16.18.43): + /@rushstack/heft-config-file@0.14.2(@types/node@18.18.6): resolution: {integrity: sha512-X29DqXN6dyvkZm4hIewFkCCub1lxY8LPsyWSYqkuZ1E5f70ibKBp8P+nf2QzjQ7XcJzqDuq5fWrvPzi5N6M5lg==} engines: {node: '>=10.13.0'} dependencies: - '@rushstack/node-core-library': 3.61.0(@types/node@16.18.43) + '@rushstack/node-core-library': 3.61.0(@types/node@18.18.6) '@rushstack/rig-package': 0.5.1 jsonpath-plus: 4.0.0 transitivePeerDependencies: - '@types/node' - /@rushstack/heft-jest-plugin@0.9.9(@rushstack/heft@0.62.3)(@types/node@16.18.43)(jest-environment-node@29.6.2): + /@rushstack/heft-jest-plugin@0.9.9(@rushstack/heft@0.62.3)(@types/node@18.18.6)(jest-environment-node@29.6.2): resolution: {integrity: sha512-Ju07HHzX2QoZr9mp53kCjqyhxeGPb48pO2c8FY2dV9dqISm4OkSi+XS7pG0vi4FE93vgTnAjKKwsNAuJ0iirVA==} peerDependencies: '@rushstack/heft': ^0.62.3 @@ -1256,10 +1256,10 @@ packages: '@jest/core': 29.5.0 '@jest/reporters': 29.5.0 '@jest/transform': 29.5.0 - '@rushstack/heft': 0.62.3(@types/node@16.18.43) - '@rushstack/heft-config-file': 0.14.2(@types/node@16.18.43) - '@rushstack/node-core-library': 3.61.0(@types/node@16.18.43) - jest-config: 29.5.0(@types/node@16.18.43) + '@rushstack/heft': 0.62.3(@types/node@18.18.6) + '@rushstack/heft-config-file': 0.14.2(@types/node@18.18.6) + '@rushstack/node-core-library': 3.61.0(@types/node@18.18.6) + jest-config: 29.5.0(@types/node@18.18.6) jest-environment-node: 29.6.2 jest-resolve: 29.5.0 jest-snapshot: 29.5.0 @@ -1287,10 +1287,10 @@ packages: '@jest/core': 29.5.0 '@jest/reporters': 29.5.0 '@jest/transform': 29.5.0 - '@rushstack/heft': 0.62.3(@types/node@16.18.43) - '@rushstack/heft-config-file': 0.14.2(@types/node@16.18.43) - '@rushstack/node-core-library': 3.61.0(@types/node@16.18.43) - jest-config: 29.5.0(@types/node@16.18.43) + '@rushstack/heft': 0.62.3(@types/node@18.18.6) + '@rushstack/heft-config-file': 0.14.2(@types/node@18.18.6) + '@rushstack/node-core-library': 3.61.0(@types/node@18.18.6) + jest-config: 29.5.0(@types/node@18.18.6) jest-environment-jsdom: 29.6.2 jest-resolve: 29.5.0 jest-snapshot: 29.5.0 @@ -1303,13 +1303,13 @@ packages: - ts-node dev: false - /@rushstack/heft-lint-plugin@0.2.9(@rushstack/heft@0.62.3)(@types/node@16.18.43): + /@rushstack/heft-lint-plugin@0.2.9(@rushstack/heft@0.62.3)(@types/node@18.18.6): resolution: {integrity: sha512-gKE4RHo3aoPxNv4V4rZkXDxEAbjSnz6UPJKDWm7y+5ODk70BGUffXDmn0tC4uWOgYc9ChCAhLRXavOHv8Owy4A==} peerDependencies: '@rushstack/heft': 0.62.3 dependencies: - '@rushstack/heft': 0.62.3(@types/node@16.18.43) - '@rushstack/node-core-library': 3.61.0(@types/node@16.18.43) + '@rushstack/heft': 0.62.3(@types/node@18.18.6) + '@rushstack/node-core-library': 3.61.0(@types/node@18.18.6) semver: 7.5.4 transitivePeerDependencies: - '@types/node' @@ -1320,9 +1320,9 @@ packages: peerDependencies: '@rushstack/heft': ^0.62.3 dependencies: - '@rushstack/heft': 0.62.3(@types/node@16.18.43) - '@rushstack/heft-config-file': 0.14.2(@types/node@16.18.43) - '@rushstack/node-core-library': 3.61.0(@types/node@16.18.43) + '@rushstack/heft': 0.62.3(@types/node@18.18.6) + '@rushstack/heft-config-file': 0.14.2(@types/node@18.18.6) + '@rushstack/node-core-library': 3.61.0(@types/node@18.18.6) '@rushstack/typings-generator': 0.12.9 postcss: 8.4.31 postcss-modules: 1.5.0 @@ -1331,14 +1331,14 @@ packages: - '@types/node' dev: false - /@rushstack/heft-typescript-plugin@0.2.9(@rushstack/heft@0.62.3)(@types/node@16.18.43): + /@rushstack/heft-typescript-plugin@0.2.9(@rushstack/heft@0.62.3)(@types/node@18.18.6): resolution: {integrity: sha512-rCovSIeG9MHfehTjzqjkYmob//LEqfesQ+Q3ArCu8bnI5W9g0oe4pd9h3kMWvdaL6GkiTKigxQUisAwlWovnZg==} peerDependencies: '@rushstack/heft': 0.62.3 dependencies: - '@rushstack/heft': 0.62.3(@types/node@16.18.43) - '@rushstack/heft-config-file': 0.14.2(@types/node@16.18.43) - '@rushstack/node-core-library': 3.61.0(@types/node@16.18.43) + '@rushstack/heft': 0.62.3(@types/node@18.18.6) + '@rushstack/heft-config-file': 0.14.2(@types/node@18.18.6) + '@rushstack/node-core-library': 3.61.0(@types/node@18.18.6) '@types/tapable': 1.0.6 semver: 7.5.4 tapable: 1.1.3 @@ -1346,14 +1346,14 @@ packages: - '@types/node' dev: false - /@rushstack/heft@0.62.3(@types/node@16.18.43): + /@rushstack/heft@0.62.3(@types/node@18.18.6): resolution: {integrity: sha512-PkqKaHHiFL2gs133PrdXbW+jRuCS3UlCSnnJ8/M5C8LA6ihuviOjboq/FmObZyqKhX8DnH4qzzZWCHblRHuG4g==} engines: {node: '>=10.13.0'} hasBin: true dependencies: - '@rushstack/heft-config-file': 0.14.2(@types/node@16.18.43) - '@rushstack/node-core-library': 3.61.0(@types/node@16.18.43) - '@rushstack/operation-graph': 0.2.0(@types/node@16.18.43) + '@rushstack/heft-config-file': 0.14.2(@types/node@18.18.6) + '@rushstack/node-core-library': 3.61.0(@types/node@18.18.6) + '@rushstack/operation-graph': 0.2.0(@types/node@18.18.6) '@rushstack/rig-package': 0.5.1 '@rushstack/ts-command-line': 4.16.1 '@types/tapable': 1.0.6 @@ -1368,7 +1368,7 @@ packages: transitivePeerDependencies: - '@types/node' - /@rushstack/node-core-library@3.61.0(@types/node@16.18.43): + /@rushstack/node-core-library@3.61.0(@types/node@18.18.6): resolution: {integrity: sha512-tdOjdErme+/YOu4gPed3sFS72GhtWCgNV9oDsHDnoLY5oDfwjKUc9Z+JOZZ37uAxcm/OCahDHfuu2ugqrfWAVQ==} peerDependencies: '@types/node': '*' @@ -1376,7 +1376,7 @@ packages: '@types/node': optional: true dependencies: - '@types/node': 16.18.43 + '@types/node': 18.18.6 colors: 1.2.5 fs-extra: 7.0.1 import-lazy: 4.0.0 @@ -1385,7 +1385,7 @@ packages: semver: 7.5.4 z-schema: 5.0.5 - /@rushstack/operation-graph@0.2.0(@types/node@16.18.43): + /@rushstack/operation-graph@0.2.0(@types/node@18.18.6): resolution: {integrity: sha512-5Reheg5hQkW9py/eBeqf2JOj80+XQIFBM5XCVV8u+ISlqKes2K/XfoJg9MsKLE7latiPJ9snQUBt4JDH9ZfQwg==} peerDependencies: '@types/node': '*' @@ -1393,8 +1393,8 @@ packages: '@types/node': optional: true dependencies: - '@rushstack/node-core-library': 3.61.0(@types/node@16.18.43) - '@types/node': 16.18.43 + '@rushstack/node-core-library': 3.61.0(@types/node@18.18.6) + '@types/node': 18.18.6 /@rushstack/rig-package@0.5.1: resolution: {integrity: sha512-pXRYSe29TjRw7rqxD4WS3HN/sRSbfr+tJs4a9uuaSIBAITbUggygdhuG0VrO0EO+QqH91GhYMN4S6KRtOEmGVA==} @@ -1422,7 +1422,7 @@ packages: '@types/node': optional: true dependencies: - '@rushstack/node-core-library': 3.61.0(@types/node@16.18.43) + '@rushstack/node-core-library': 3.61.0(@types/node@18.18.6) chokidar: 3.4.3 fast-glob: 3.3.1 dev: false @@ -1502,7 +1502,7 @@ packages: /@types/graceful-fs@4.1.8: resolution: {integrity: sha512-NhRH7YzWq8WiNKVavKPBmtLYZHxNY19Hh+az28O/phfp68CF45pMFud+ZzJ8ewnxnC5smIdF3dqFeiSUQ5I+pw==} dependencies: - '@types/node': 16.18.43 + '@types/node': 18.18.6 dev: false /@types/heft-jest@1.0.5: @@ -1537,7 +1537,7 @@ packages: /@types/jsdom@20.0.1: resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} dependencies: - '@types/node': 16.18.43 + '@types/node': 18.18.6 '@types/tough-cookie': 4.0.4 parse5: 7.1.2 dev: false @@ -1559,8 +1559,8 @@ packages: resolution: {integrity: sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==} dev: false - /@types/node@16.18.43: - resolution: {integrity: sha512-YFpgPKPRcwYbeNOimfu70B+TVJe6tr88WiW/TzEldkwGxQXrmabpU+lDjrFlNqdqIi3ON0o69EQBW62VH4MIxw==} + /@types/node@18.18.6: + resolution: {integrity: sha512-wf3Vz+jCmOQ2HV1YUJuCWdL64adYxumkrxtc+H1VUQlnQI04+5HtH+qZCOE21lBE7gIrt+CwX2Wv8Acrw5Ak6w==} /@types/normalize-package-data@2.4.3: resolution: {integrity: sha512-ehPtgRgaULsFG8x0NeYJvmyH1hmlfsNLujHe9dQEia/7MAJYdzMSi19JtchUHjmBA6XC/75dK55mzZH+RyieSg==} @@ -3862,7 +3862,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -3883,7 +3883,7 @@ packages: - supports-color dev: false - /jest-config@29.5.0(@types/node@16.18.43): + /jest-config@29.5.0(@types/node@18.18.6): resolution: {integrity: sha512-kvDUKBnNJPNBmFFOhDbm59iu1Fii1Q6SxyhXfvylq3UTHbg6o7j/g8k2dZyXWLvfdKB1vAPxNZnMgtKJcmu3kA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -3898,7 +3898,7 @@ packages: '@babel/core': 7.23.2 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 babel-jest: 29.7.0(@babel/core@7.23.2) chalk: 4.1.2 ci-info: 3.9.0 @@ -3963,7 +3963,7 @@ packages: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 '@types/jsdom': 20.0.1 - '@types/node': 16.18.43 + '@types/node': 18.18.6 jest-mock: 29.7.0 jest-util: 29.7.0 jsdom: 20.0.3 @@ -3980,7 +3980,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 jest-mock: 29.7.0 jest-util: 29.7.0 dev: false @@ -3992,7 +3992,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 jest-mock: 29.7.0 jest-util: 29.7.0 dev: false @@ -4007,7 +4007,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.8 - '@types/node': 16.18.43 + '@types/node': 18.18.6 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4075,7 +4075,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 jest-util: 29.7.0 dev: false @@ -4157,7 +4157,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4188,7 +4188,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4271,7 +4271,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4296,7 +4296,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 16.18.43 + '@types/node': 18.18.6 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -4308,7 +4308,7 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 16.18.43 + '@types/node': 18.18.6 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 diff --git a/common/config/rush/repo-state.json b/common/config/rush/repo-state.json index 6877034e..2ada37d1 100644 --- a/common/config/rush/repo-state.json +++ b/common/config/rush/repo-state.json @@ -1,5 +1,5 @@ // DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. { - "pnpmShrinkwrapHash": "c06eb5dfbd0f0f95aaa317f73d96e716fd7f17ee", + "pnpmShrinkwrapHash": "30cc55d31f4bc2cf28aa7b82885a0530b274e615", "preferredVersionsHash": "bf21a9e8fbc5a3846fb05b4fa0859e0917b2202f" } diff --git a/packages/color/package.json b/packages/color/package.json index ab2d3b44..deb0e2c4 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -60,5 +60,8 @@ "@kcws/lintstaged-config": "workspace:*", "@kcws/eslint-config": "workspace:*", "@rushstack/heft": "0.62.3" + }, + "engines": { + "node": ">=12" } } diff --git a/packages/dtcheck/package.json b/packages/dtcheck/package.json index e38598a3..3118d389 100644 --- a/packages/dtcheck/package.json +++ b/packages/dtcheck/package.json @@ -63,5 +63,8 @@ "@rushstack/heft": "0.62.3", "@types/generic": "workspace:*", "tslib": "2.6.2" + }, + "engines": { + "node": ">=12" } } diff --git a/packages/equals/package.json b/packages/equals/package.json index 52609f4b..4a543bc2 100644 --- a/packages/equals/package.json +++ b/packages/equals/package.json @@ -66,5 +66,8 @@ "@kcws/eslint-config": "workspace:*", "@rushstack/heft": "0.62.3", "tslib": "2.6.2" + }, + "engines": { + "node": ">=12" } } diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index e569a51f..e505a9ed 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -36,5 +36,8 @@ "@rushstack/eslint-config": "3.4.1", "@typescript-eslint/eslint-plugin": "5.62.0", "@typescript-eslint/parser": "5.62.0" + }, + "engines": { + "node": ">=12" } } diff --git a/packages/lintstaged-config/package.json b/packages/lintstaged-config/package.json index 80da501f..f2d3e924 100644 --- a/packages/lintstaged-config/package.json +++ b/packages/lintstaged-config/package.json @@ -62,5 +62,8 @@ "@kcws/eslint-config": "workspace:*", "@rushstack/heft": "0.62.3", "@types/micromatch": "4.0.4" + }, + "engines": { + "node": ">=12" } } diff --git a/packages/mixin/package.json b/packages/mixin/package.json index efeb7a94..72b2a3d4 100644 --- a/packages/mixin/package.json +++ b/packages/mixin/package.json @@ -60,5 +60,8 @@ "@kcws/lintstaged-config": "workspace:*", "@kcws/eslint-config": "workspace:*", "@rushstack/heft": "0.62.3" + }, + "engines": { + "node": ">=12" } } diff --git a/packages/node-rig/package.json b/packages/node-rig/package.json index 3530c3e4..bb998f98 100644 --- a/packages/node-rig/package.json +++ b/packages/node-rig/package.json @@ -38,7 +38,7 @@ "@rushstack/heft-lint-plugin": "0.2.9", "@rushstack/heft-typescript-plugin": "0.2.9", "@types/heft-jest": "1.0.5", - "@types/node": "16.18.43", + "@types/node": "18.18.6", "eslint": "8.52.0", "jest-environment-node": "29.6.2", "jest-html-reporters": "3.1.4", @@ -50,5 +50,8 @@ }, "peerDependencies": { "@rushstack/heft": "^0.51.0" + }, + "engines": { + "node": ">=18" } } diff --git a/packages/random/package.json b/packages/random/package.json index 12a41d32..44fe1e87 100644 --- a/packages/random/package.json +++ b/packages/random/package.json @@ -61,5 +61,8 @@ "@kcws/eslint-config": "workspace:*", "@rushstack/heft": "0.62.3", "@types/generic": "workspace:*" + }, + "engines": { + "node": ">=12" } } diff --git a/packages/reset.css/package.json b/packages/reset.css/package.json index 812dd47d..1a30f6c5 100644 --- a/packages/reset.css/package.json +++ b/packages/reset.css/package.json @@ -49,5 +49,8 @@ "@rushstack/heft": "0.62.3", "stylelint": "15.11.0", "stylelint-config-standard-scss": "11.0.0" + }, + "engines": { + "node": ">=12" } } diff --git a/packages/web-rig/package.json b/packages/web-rig/package.json index 2b5b8f7d..48ce3c3e 100644 --- a/packages/web-rig/package.json +++ b/packages/web-rig/package.json @@ -52,5 +52,8 @@ "peerDependencies": { "@rushstack/heft": "^0.51.0", "tslib": "^2.4.1" + }, + "engines": { + "node": ">=12" } } diff --git a/typings/generic/package.json b/typings/generic/package.json index 6b4ac2a4..5cf73659 100644 --- a/typings/generic/package.json +++ b/typings/generic/package.json @@ -43,5 +43,8 @@ }, "peerDependencies": { "typescript": ">=2.0.0" + }, + "engines": { + "node": ">=12" } } diff --git a/typings/package_json/package.json b/typings/package_json/package.json index 05eeaa68..7f476909 100644 --- a/typings/package_json/package.json +++ b/typings/package_json/package.json @@ -43,5 +43,8 @@ }, "peerDependencies": { "typescript": ">=2.0.0" + }, + "engines": { + "node": ">=12" } }