pull/700/head
Travis Fischer 2025-03-23 04:42:26 +08:00
rodzic b2110896d1
commit 8651ab1abb
4 zmienionych plików z 392 dodań i 396 usunięć

Wyświetl plik

@ -12,12 +12,8 @@
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
"bin": {
"openapi-to-ts-client": "./dist/index.js"
},
"files": [
"dist"
@ -28,8 +24,7 @@
"clean": "del dist",
"test": "run-s test:*",
"test:lint": "eslint .",
"test:typecheck": "tsc --noEmit",
"test:unit": "vitest run"
"test:typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentic/core": "workspace:*",

Wyświetl plik

@ -665,7 +665,7 @@ export class ${clientName} extends AIFunctionsProvider {
console.log(output)
await fs.mkdir(destFolder, { recursive: true })
await fs.writeFile(destFileClient, output)
await execa('npx', ['eslint', '--fix', destFileClient])
await execa('npx', ['eslint', '--fix', '--no-ignore', destFileClient])
}
await main()

Wyświetl plik

@ -0,0 +1 @@
export * from './generate'