Skip to content

Commit 06dbb2a

Browse files
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 <[email protected]>
1 parent 962068a commit 06dbb2a

File tree

5 files changed

+44
-29
lines changed

5 files changed

+44
-29
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
os: [ubuntu-latest]
18-
node_version: [16, 18]
18+
node_version: [18, 20, 22, 23]
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v3

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
"build": "rimraf dist && tsc",
3838
"lint": "eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore .",
3939
"lint:prettier": "prettier --cache --check .",
40-
"prepublish": "yarn build",
41-
"prerelease": "yarn build",
40+
"prepublish": "pnpm build",
41+
"prerelease": "pnpm build",
4242
"prettier": "prettier --cache --write --list-different .",
4343
"release": "changeset publish",
4444
"test": "vitest .",
@@ -67,7 +67,7 @@
6767
"@types/fs-extra": "11.0.4",
6868
"@types/js-yaml": "4.0.5",
6969
"@types/lodash.get": "4.4.9",
70-
"@types/node": "18.17.4",
70+
"@types/node": "22.10.5",
7171
"@types/yargs": "17.0.24",
7272
"@typescript-eslint/parser": "5.62.0",
7373
"eslint": "8.44.0",

pnpm-lock.yaml

Lines changed: 24 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

renovate.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["github>the-guild-org/shared-config:renovate"]
3+
"extends": ["github>the-guild-org/shared-config:renovate"],
4+
"automerge": true,
5+
"rebaseWhen": "conflicted",
6+
"major": {
7+
"automerge": false
8+
},
9+
"lockFileMaintenance": {
10+
"enabled": true,
11+
"automerge": true
12+
}
413
}

test/ts-tests/run-tests.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ async function main() {
1515
await run(`mkdir -p ${__dirname}/node_modules`);
1616
await run(`ln -s ${__dirname}/../__fixtures__/simple/dist ${__dirname}/node_modules/simple`);
1717

18-
await run(`yarn tsc --project ${__dirname}/tsconfig.esnext-node.json`);
19-
await run(`yarn tsc --project ${__dirname}/tsconfig.commonjs-node.json`);
20-
await run(`yarn tsc --project ${__dirname}/tsconfig.commonjs-node16.json`);
21-
await run(`yarn tsc --project ${__dirname}/tsconfig.commonjs-nodenext.json`);
22-
await run(`yarn tsc --project ${__dirname}/tsconfig.node16-node16.json`);
23-
await run(`yarn tsc --project ${__dirname}/tsconfig.nodenext-nodenext.json`);
18+
await run(`pnpm tsc --project ${__dirname}/tsconfig.esnext-node.json`);
19+
await run(`pnpm tsc --project ${__dirname}/tsconfig.commonjs-node.json`);
20+
await run(`pnpm tsc --project ${__dirname}/tsconfig.commonjs-node16.json`);
21+
await run(`pnpm tsc --project ${__dirname}/tsconfig.commonjs-nodenext.json`);
22+
await run(`pnpm tsc --project ${__dirname}/tsconfig.node16-node16.json`);
23+
await run(`pnpm tsc --project ${__dirname}/tsconfig.nodenext-nodenext.json`);
2424
}
2525

2626
main();

0 commit comments

Comments
 (0)