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
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: 20.x
node-version: 24.x
registry-url: 'https://registry.npmjs.org'
cache: 'npm'

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: 20.x
node-version: 24.x
cache: 'npm'

- run: npm ci
Expand All @@ -37,7 +37,7 @@ jobs:

- name: Upload audit artifacts
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: audit-reports
path: audit-reports/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
node-version: [22.x, 24.x]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ npm run test:integration # offline CLI tests (help, lint, validation — no ke
npm run dev -- <args> # run CLI directly via tsx
```

Requires Node.js >= 20 (matches the official SDK).
Requires Node.js >= 22.

## Architecture

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jev models

Get a key at: https://console.typesafe.ai/settings/keys

Requires Node.js >= 20.0.0 (matches the official SDK).
Requires Node.js >= 22.0.0.

## CLI Usage

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"typescript": "^5.3.3"
},
"engines": {
"node": ">=20.0.0"
"node": ">=22.0.0"
},
"files": [
"dist/",
Expand Down
1 change: 0 additions & 1 deletion src/utils/io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export async function readState(opts: StateSource & { extra: string[] }): Promis
}

export function readStdin(): Promise<string> {
// Executor form (not Promise.withResolvers): Node 18 compat per engines.
return new Promise((resolve, reject) => {
let data = "";
process.stdin.setEncoding("utf8");
Expand Down