import path from 'path'
import { fileURLToPath } from 'url'

const __dirname = path.dirname(fileURLToPath(import.meta.url))
const root = path.resolve(__dirname, '../../..')

export default {
    projectId: 'mizan-fastapi-e2e',

    source: {
        fastapi: {
            module: 'main',
            cwd: path.join(root, 'examples/fastapi-react-site/backend'),
            command: ['uv', 'run', 'python'],
        },
    },

    output: 'src/api',
}
