Skip to content

Commit

Permalink
chore(deps): update dependency @types/node to v22 (#311)
Browse files Browse the repository at this point in the history
* 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 <ardatanrikulu@gmail.com>
  • Loading branch information
renovate[bot] and ardatan authored Jan 3, 2025
1 parent 962068a commit 06dbb2a
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 .",
Expand Down Expand Up @@ -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",
Expand Down
42 changes: 24 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -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
}
}
12 changes: 6 additions & 6 deletions test/ts-tests/run-tests.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

0 comments on commit 06dbb2a

Please sign in to comment.