mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
<!-- Make sure you've read the CONTRIBUTING.md guidelines: https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Interactive init workflow (create, link-config, link-cloud) with safe non-interactive behavior; writes/updates project config and .env, and prints STACK AUTH setup instructions. * CLI assistant/agent with a progress UI for long-running tasks. * Backend AI proxy endpoint that validates and forwards AI requests to an external provider. * **Tests** * End-to-end tests covering all init modes, outputs, env linking, and error cases. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
21 lines
409 B
TypeScript
21 lines
409 B
TypeScript
import { defineConfig, type UserConfig } from 'tsdown';
|
|
|
|
const config: UserConfig = {
|
|
entry: ['src/index.ts'],
|
|
sourcemap: true,
|
|
clean: false,
|
|
dts: true,
|
|
outDir: 'dist',
|
|
external: ['@anthropic-ai/claude-agent-sdk'],
|
|
format: {
|
|
esm: {
|
|
outExtensions: () => ({ js: '.js', dts: '.d.ts' }),
|
|
},
|
|
},
|
|
banner: {
|
|
js: '#!/usr/bin/env node',
|
|
},
|
|
};
|
|
|
|
export default defineConfig(config);
|