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
15 changes: 7 additions & 8 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ Files in `src/generator/01-base/static/*.ts.txt` are raw TypeScript strings impo

## Commands

| Task | Command |
|------|---------|
| Build CLI | `npm run build` |
| Run tests | `npm test` |
| Lint | `npm run lint` |
| Format check | `npm run prettier` |
| Full CI check | `npm run ci` |
| Task | Command |
| ------------------------- | ---------------------------------------------------- |
| Build CLI | `npm run build` |
| Run tests | `npm test` |
| Lint | `npm run lint` |
| Format check | `npm run prettier` |
| Full CI check | `npm run ci` |
| Generate SDK (local file) | `./bin/cli.js test/openapi_v3.json --target browser` |

## Testing
Expand All @@ -84,4 +84,3 @@ Files in `src/generator/01-base/static/*.ts.txt` are raw TypeScript strings impo
- The `sdk/` directory is **generated output** — never edit files there manually; they are deleted and regenerated on each build.
- The project uses ESM (`"type": "module"`) throughout with `import ... with { type: 'json' }` for JSON imports.
- Rollup config uses `tsconfig.node.json`; the generated SDK uses `tsconfig.sdk.json`.

10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.14.0
node-version: 24.11.1

- name: Install dependencies
run: npm ci
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.14.0
node-version: 24.11.1

- name: Install dependencies
run: npm ci
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.14.0
node-version: 24.11.1

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.14.0
node-version: 24.11.1

- name: Download dist files
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.14.0
node-version: 24.11.1

- name: Download dist files
uses: actions/download-artifact@v4
Expand Down
Loading