Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 5 additions & 13 deletions .github/actions/setup-node-pnpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,18 @@ description: Install pnpm and setup Node with pnpm cache

inputs:
node-version:
description: Node.js version to use (e.g., 20.x)
description: Node.js version to use (e.g., 24.x)
required: true
registry-url:
description: NPM registry URL
required: false
default: https://registry.npmjs.org
cache:
description: Enable package manager cache
required: false
default: pnpm

runs:
using: composite
steps:
- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
uses: pnpm/action-setup@903f9c1a6ebcba6cf41d87230be49611ac97822e # v6.0.3

- name: Use Node.js ${{ inputs.node-version }}
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
registry-url: ${{ inputs.registry-url }}
registry-url: https://registry.npmjs.org
node-version: ${{ inputs.node-version }}
cache: ${{ inputs.cache }}
cache: pnpm
25 changes: 12 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
pull_request:
branches: [main]


permissions:
contents: read

Expand All @@ -15,10 +14,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: &node-versions [20.x, 22.x, 24.x]
node-version: &node-versions [22.x, 24.x]

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: setup
Expand All @@ -45,7 +44,7 @@ jobs:
-cvf ${{ runner.temp }}/workspace.tar .

- name: Upload workspace
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: workspace-${{ matrix.node-version }}
path: ${{ runner.temp }}/workspace.tar
Expand All @@ -58,15 +57,15 @@ jobs:
matrix:
node-version: [24.x]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: setup
uses: ./.github/actions/setup-node-pnpm
with:
node-version: ${{ matrix.node-version }}

- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
id: nextjs-cache
with:
path: packages/documentation/.next/cache
Expand All @@ -75,7 +74,7 @@ jobs:
${{ runner.os }}-nextjs-${{ hashFiles('pnpm-lock.yaml') }}-

- name: Download built workspace
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: workspace-${{ matrix.node-version }}
path: ${{runner.temp}}
Expand All @@ -94,15 +93,15 @@ jobs:
matrix:
node-version: *node-versions
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: setup
uses: ./.github/actions/setup-node-pnpm
with:
node-version: ${{ matrix.node-version }}
- name: Download built workspace
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: workspace-${{ matrix.node-version }}
path: ${{runner.temp}}
Expand All @@ -125,7 +124,7 @@ jobs:
node-version: *node-versions
schema-builder: [joi, zod-v3, zod-v4]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: setup
Expand All @@ -134,7 +133,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Download built workspace
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: workspace-${{ matrix.node-version }}
path: ${{runner.temp}}
Expand All @@ -159,7 +158,7 @@ jobs:
matrix:
node-version: *node-versions
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: setup
Expand All @@ -168,7 +167,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Download built workspace
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: workspace-${{ matrix.node-version }}
path: ${{runner.temp}}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
uses: pnpm/action-setup@903f9c1a6ebcba6cf41d87230be49611ac97822e # v6.0.3

- name: Use Node.js
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: '.nvmrc'

- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
id: nextjs-cache
with:
path: packages/documentation/.next/cache
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ jobs:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
uses: pnpm/action-setup@903f9c1a6ebcba6cf41d87230be49611ac97822e # v6.0.3

- name: Use Node.js
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
registry-url: "https://registry.npmjs.org"
node-version-file: '.nvmrc'
cache: "pnpm"

- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
id: nextjs-cache
with:
path: packages/documentation/.next/cache
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/typescript-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"@angular/build": "^21.2.8",
"@angular/cli": "^21.2.8",
"@angular/compiler-cli": "^21.2.10",
"typescript": "~6.0.3"
"typescript": "^6.0.3"
}
}
2 changes: 1 addition & 1 deletion integration-tests/typescript-axios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"tslib": "^2.8.1"
},
"devDependencies": {
"@types/node": "22.16.5",
"@types/node": "^22.19.17",
"typescript": "^6.0.3"
}
}
2 changes: 1 addition & 1 deletion integration-tests/typescript-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"tslib": "^2.8.1"
},
"devDependencies": {
"@types/node": "22.16.5",
"@types/node": "^22.19.17",
"typescript": "^6.0.3"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@swc/jest": "^0.2.39",
"@tsconfig/node24": "^24.0.4",
"@tsconfig/strictest": "^2.0.8",
"@types/node": "22.16.5",
"@types/node": "^22.19.17",
"ajv": "^8.20.0",
"ajv-draft-04": "^1.0.0",
"ajv-formats": "^3.0.1",
Expand Down Expand Up @@ -78,7 +78,7 @@
]
},
"engines": {
"node": ">=20 <25"
"node": ">=22"
},
"packageManager": "pnpm@10.33.2+sha512.a90faf6feeab71ad6c6e57f94e0fe1a12f5dcc22cd754db40ae9593eb6a3e0b6b12e3540218bb37ae083404b1f2ce6db2a4121e979829b4aff94b99f49da1cf8"
}
5 changes: 4 additions & 1 deletion packages/documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,14 @@
},
"devDependencies": {
"@types/lodash": "^4.17.24",
"@types/node": "22.16.5",
"@types/node": "^22.19.17",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"gh-pages": "^6.3.0",
"tsx": "^4.21.0",
"typescript": "^6.0.3"
},
"engines": {
"node": ">=22"
}
}
3 changes: 3 additions & 0 deletions packages/openapi-code-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@
"axios",
"angular"
],
"engines": {
"node": ">=22"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/typescript-axios-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
"typescript-axios",
"axios"
],
"engines": {
"node": ">=22"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/typescript-common-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@
"runtime",
"typescript"
],
"engines": {
"node": ">=22"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/typescript-express-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@
"express",
"zod"
],
"engines": {
"node": ">=22"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/typescript-fetch-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
"typescript-fetch",
"fetch"
],
"engines": {
"node": ">=22"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/typescript-koa-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@
"koa",
"zod"
],
"engines": {
"node": ">=22"
},
"publishConfig": {
"access": "public"
}
Expand Down
Loading
Loading