Skip to content

Commit

Permalink
chore: update engines
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlubos committed Jan 10, 2025
1 parent 97e39bc commit 8d8fbd2
Show file tree
Hide file tree
Showing 9 changed files with 354 additions and 337 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: [18.x, 20.x, 22.x]
node-version: ['18.20.5', '20.11.1', '22.11.0']
steps:
- uses: actions/checkout@v4

Expand All @@ -36,7 +36,7 @@ jobs:
run: pnpm --filter './packages/**' run build

- name: Build examples
if: matrix.node-version == '22.x' && matrix.os == 'ubuntu-latest'
if: matrix.node-version == '22.11.0' && matrix.os == 'ubuntu-latest'
run: pnpm --filter './examples/**' run build

- name: Run linter
Expand All @@ -52,5 +52,5 @@ jobs:
run: pnpm test:e2e

- name: Publish previews
if: matrix.node-version == '22.x' && matrix.os == 'ubuntu-latest'
if: matrix.node-version == '22.11.0' && matrix.os == 'ubuntu-latest'
run: pnpx pkg-pr-new publish --compact --pnpm './packages/*'
2 changes: 1 addition & 1 deletion examples/openapi-ts-axios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@hey-api/openapi-ts": "workspace:*",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.1",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.15.0",
"@vitejs/plugin-react": "4.3.1",
"autoprefixer": "10.4.19",
Expand Down
2 changes: 1 addition & 1 deletion examples/openapi-ts-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@hey-api/openapi-ts": "workspace:*",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.1",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.15.0",
"@vitejs/plugin-react": "4.3.1",
"autoprefixer": "10.4.19",
Expand Down
2 changes: 1 addition & 1 deletion examples/openapi-ts-tanstack-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@hey-api/openapi-ts": "workspace:*",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.1",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.15.0",
"@vitejs/plugin-react": "4.3.1",
"autoprefixer": "10.4.19",
Expand Down
2 changes: 1 addition & 1 deletion examples/openapi-ts-tanstack-vue-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"autoprefixer": "10.4.20",
"eslint": "9.17.0",
"eslint-plugin-vue": "9.32.0",
"jsdom": "24.1.0",
"jsdom": "23.0.0",
"npm-run-all2": "6.2.0",
"postcss": "8.4.41",
"prettier": "3.4.2",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
"typecheck": "pnpm --recursive typecheck"
},
"engines": {
"node": "^18.0.0 || >=20.0.0"
"node": "^18.20.5 || ^20.11.1 || >=22.11.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.2",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.8",
"@types/node": "22.10.5",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@vitest/coverage-v8": "1.6.0",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
Expand Down
3 changes: 0 additions & 3 deletions packages/client-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,5 @@
"test:watch:disabled": "vitest watch",
"test:disabled": "vitest run",
"typecheck:disabled": "tsc --noEmit"
},
"engines": {
"node": "^18.0.0 || >=20.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/openapi-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"typecheck": "tsc --noEmit"
},
"engines": {
"node": "^18.0.0 || >=20.0.0"
"node": "^18.20.5 || ^20.11.1 || >=22.11.0"
},
"dependencies": {
"@hey-api/json-schema-ref-parser": "1.0.1",
Expand Down
668 changes: 344 additions & 324 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit 8d8fbd2

Please sign in to comment.