From 06dbb2ab33a11576ade47996806326c6f023df41 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 14:34:31 +0300 Subject: [PATCH] chore(deps): update dependency @types/node to v22 (#311) * chore(deps): update dependency @types/node to v22 * Update package.json * Update run-tests.mjs * Update renovate.json * Update ci.yaml --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Arda TANRIKULU --- .github/workflows/ci.yaml | 2 +- package.json | 6 +++--- pnpm-lock.yaml | 42 +++++++++++++++++++++---------------- renovate.json | 11 +++++++++- test/ts-tests/run-tests.mjs | 12 +++++------ 5 files changed, 44 insertions(+), 29 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4507e71f..6f999ff7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,7 +15,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - node_version: [16, 18] + node_version: [18, 20, 22, 23] steps: - name: Checkout uses: actions/checkout@v3 diff --git a/package.json b/package.json index 33ba28a7..69de29bf 100644 --- a/package.json +++ b/package.json @@ -37,8 +37,8 @@ "build": "rimraf dist && tsc", "lint": "eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore .", "lint:prettier": "prettier --cache --check .", - "prepublish": "yarn build", - "prerelease": "yarn build", + "prepublish": "pnpm build", + "prerelease": "pnpm build", "prettier": "prettier --cache --write --list-different .", "release": "changeset publish", "test": "vitest .", @@ -67,7 +67,7 @@ "@types/fs-extra": "11.0.4", "@types/js-yaml": "4.0.5", "@types/lodash.get": "4.4.9", - "@types/node": "18.17.4", + "@types/node": "22.10.5", "@types/yargs": "17.0.24", "@typescript-eslint/parser": "5.62.0", "eslint": "8.44.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 35327619..daace05b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,8 +59,8 @@ devDependencies: specifier: 4.4.9 version: 4.4.9 '@types/node': - specifier: 18.17.4 - version: 18.17.4 + specifier: 22.10.5 + version: 22.10.5 '@types/yargs': specifier: 17.0.24 version: 17.0.24 @@ -704,7 +704,7 @@ packages: '@jest/schemas': 29.4.3 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 18.17.4 + '@types/node': 22.10.5 '@types/yargs': 17.0.24 chalk: 4.1.2 dev: true @@ -822,13 +822,13 @@ packages: resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} dependencies: '@types/jsonfile': 6.1.1 - '@types/node': 18.17.4 + '@types/node': 22.10.5 dev: true /@types/graceful-fs@4.1.6: resolution: {integrity: sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw==} dependencies: - '@types/node': 18.17.4 + '@types/node': 22.10.5 dev: true /@types/is-ci@3.0.0: @@ -864,7 +864,7 @@ packages: /@types/jsonfile@6.1.1: resolution: {integrity: sha512-GSgiRCVeapDN+3pqA35IkQwasaCh/0YFH5dEF6S88iDvEn901DjOeH3/QPY+XYP1DFzDZPvIvfeEgk+7br5png==} dependencies: - '@types/node': 18.17.4 + '@types/node': 22.10.5 dev: true /@types/lodash.get@4.4.9: @@ -885,8 +885,10 @@ packages: resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} dev: true - /@types/node@18.17.4: - resolution: {integrity: sha512-ATL4WLgr7/W40+Sp1WnNTSKbgVn6Pvhc/2RHAdt8fl6NsQyp4oPCi2eKcGOvA494bwf1K/W6nGgZ9TwDqvpjdw==} + /@types/node@22.10.5: + resolution: {integrity: sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==} + dependencies: + undici-types: 6.20.0 dev: true /@types/normalize-package-data@2.4.1: @@ -2380,7 +2382,7 @@ packages: dependencies: '@jest/types': 29.5.0 '@types/graceful-fs': 4.1.6 - '@types/node': 18.17.4 + '@types/node': 22.10.5 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -2435,7 +2437,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.5.0 - '@types/node': 18.17.4 + '@types/node': 22.10.5 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.11 @@ -2458,7 +2460,7 @@ packages: resolution: {integrity: sha512-NcrQnevGoSp4b5kg+akIpthoAFHxPBcb5P6mYPY0fUNT+sSvmtu6jlkEle3anczUKIKEbMxFimk9oTP/tpIPgA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 18.17.4 + '@types/node': 22.10.5 jest-util: 29.5.0 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -3634,6 +3636,10 @@ packages: which-boxed-primitive: 1.0.2 dev: true + /undici-types@6.20.0: + resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} + dev: true + /universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} @@ -3657,7 +3663,7 @@ packages: spdx-expression-parse: 3.0.1 dev: true - /vite-node@0.34.6(@types/node@18.17.4): + /vite-node@0.34.6(@types/node@22.10.5): resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} engines: {node: '>=v14.18.0'} hasBin: true @@ -3667,7 +3673,7 @@ packages: mlly: 1.4.0 pathe: 1.1.1 picocolors: 1.0.0 - vite: 4.3.1(@types/node@18.17.4) + vite: 4.3.1(@types/node@22.10.5) transitivePeerDependencies: - '@types/node' - less @@ -3678,7 +3684,7 @@ packages: - terser dev: true - /vite@4.3.1(@types/node@18.17.4): + /vite@4.3.1(@types/node@22.10.5): resolution: {integrity: sha512-EPmfPLAI79Z/RofuMvkIS0Yr091T2ReUoXQqc5ppBX/sjFRhHKiPPF/R46cTdoci/XgeQpB23diiJxq5w30vdg==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -3703,7 +3709,7 @@ packages: terser: optional: true dependencies: - '@types/node': 18.17.4 + '@types/node': 22.10.5 esbuild: 0.17.18 postcss: 8.4.23 rollup: 3.21.0 @@ -3744,7 +3750,7 @@ packages: dependencies: '@types/chai': 4.3.5 '@types/chai-subset': 1.3.3 - '@types/node': 18.17.4 + '@types/node': 22.10.5 '@vitest/expect': 0.34.6 '@vitest/runner': 0.34.6 '@vitest/snapshot': 0.34.6 @@ -3763,8 +3769,8 @@ packages: strip-literal: 1.0.1 tinybench: 2.5.0 tinypool: 0.7.0 - vite: 4.3.1(@types/node@18.17.4) - vite-node: 0.34.6(@types/node@18.17.4) + vite: 4.3.1(@types/node@22.10.5) + vite-node: 0.34.6(@types/node@22.10.5) why-is-node-running: 2.2.2 transitivePeerDependencies: - less diff --git a/renovate.json b/renovate.json index 7142a9df..6336b466 100644 --- a/renovate.json +++ b/renovate.json @@ -1,4 +1,13 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["github>the-guild-org/shared-config:renovate"] + "extends": ["github>the-guild-org/shared-config:renovate"], + "automerge": true, + "rebaseWhen": "conflicted", + "major": { + "automerge": false + }, + "lockFileMaintenance": { + "enabled": true, + "automerge": true + } } diff --git a/test/ts-tests/run-tests.mjs b/test/ts-tests/run-tests.mjs index fbcc15cb..202fec9f 100644 --- a/test/ts-tests/run-tests.mjs +++ b/test/ts-tests/run-tests.mjs @@ -15,12 +15,12 @@ async function main() { await run(`mkdir -p ${__dirname}/node_modules`); await run(`ln -s ${__dirname}/../__fixtures__/simple/dist ${__dirname}/node_modules/simple`); - await run(`yarn tsc --project ${__dirname}/tsconfig.esnext-node.json`); - await run(`yarn tsc --project ${__dirname}/tsconfig.commonjs-node.json`); - await run(`yarn tsc --project ${__dirname}/tsconfig.commonjs-node16.json`); - await run(`yarn tsc --project ${__dirname}/tsconfig.commonjs-nodenext.json`); - await run(`yarn tsc --project ${__dirname}/tsconfig.node16-node16.json`); - await run(`yarn tsc --project ${__dirname}/tsconfig.nodenext-nodenext.json`); + await run(`pnpm tsc --project ${__dirname}/tsconfig.esnext-node.json`); + await run(`pnpm tsc --project ${__dirname}/tsconfig.commonjs-node.json`); + await run(`pnpm tsc --project ${__dirname}/tsconfig.commonjs-node16.json`); + await run(`pnpm tsc --project ${__dirname}/tsconfig.commonjs-nodenext.json`); + await run(`pnpm tsc --project ${__dirname}/tsconfig.node16-node16.json`); + await run(`pnpm tsc --project ${__dirname}/tsconfig.nodenext-nodenext.json`); } main();