fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at feat/use-query-options 26 lines 567 B view raw
1import fs from 'node:fs'; 2import path from 'node:path'; 3import { parseEnv } from 'node:util'; 4 5import { defineConfig } from '@hey-api/openapi-python'; 6 7import { getInput } from './inputs'; 8import { getPreset } from './python/presets'; 9 10process.env = { 11 ...process.env, 12 ...parseEnv(fs.readFileSync(path.resolve(__dirname, '.env'), 'utf-8')), 13}; 14 15export default defineConfig(() => [ 16 { 17 input: getInput(), 18 logs: { 19 path: './logs', 20 }, 21 output: { 22 path: path.resolve(__dirname, 'gen', 'python'), 23 }, 24 plugins: [...getPreset()], 25 }, 26]);