chore(js-sdk): Compatible with nodenext (#1667)

This commit is contained in:
zWing 2025-08-09 08:05:50 +08:00 committed by GitHub
commit 2f4291672b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 35 additions and 32 deletions

View file

@ -12,7 +12,10 @@ await $`bun dev generate > ${dir}/openapi.json`.cwd(path.resolve(dir, "../../ope
await createClient({
input: "./openapi.json",
output: "./src/gen",
output: {
path: "./src/gen",
tsConfigPath: path.join(dir, 'tsconfig.json')
},
plugins: [
{
name: "@hey-api/typescript",