kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/700/head
rodzic
b2110896d1
commit
8651ab1abb
Plik diff jest za duży
Load Diff
|
@ -12,12 +12,8 @@
|
||||||
"source": "./src/index.ts",
|
"source": "./src/index.ts",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"exports": {
|
"bin": {
|
||||||
".": {
|
"openapi-to-ts-client": "./dist/index.js"
|
||||||
"types": "./dist/index.d.ts",
|
|
||||||
"import": "./dist/index.js",
|
|
||||||
"default": "./dist/index.js"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
|
@ -28,8 +24,7 @@
|
||||||
"clean": "del dist",
|
"clean": "del dist",
|
||||||
"test": "run-s test:*",
|
"test": "run-s test:*",
|
||||||
"test:lint": "eslint .",
|
"test:lint": "eslint .",
|
||||||
"test:typecheck": "tsc --noEmit",
|
"test:typecheck": "tsc --noEmit"
|
||||||
"test:unit": "vitest run"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@agentic/core": "workspace:*",
|
"@agentic/core": "workspace:*",
|
||||||
|
|
|
@ -665,7 +665,7 @@ export class ${clientName} extends AIFunctionsProvider {
|
||||||
console.log(output)
|
console.log(output)
|
||||||
await fs.mkdir(destFolder, { recursive: true })
|
await fs.mkdir(destFolder, { recursive: true })
|
||||||
await fs.writeFile(destFileClient, output)
|
await fs.writeFile(destFileClient, output)
|
||||||
await execa('npx', ['eslint', '--fix', destFileClient])
|
await execa('npx', ['eslint', '--fix', '--no-ignore', destFileClient])
|
||||||
}
|
}
|
||||||
|
|
||||||
await main()
|
await main()
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
export * from './generate'
|
Ładowanie…
Reference in New Issue