mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **New Features** * Added Stack CLI with authentication (login/logout) commands. * Added project management commands to list and create projects. * Added configuration management to pull and push project settings. * Added code execution capability to run JavaScript expressions. * Added initialization command for Stack Auth setup. * **Tests** * Added comprehensive end-to-end test suite for CLI functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
20 lines
361 B
TypeScript
20 lines
361 B
TypeScript
import { defineConfig, type UserConfig } from 'tsdown';
|
|
|
|
const config: UserConfig = {
|
|
entry: ['src/index.ts'],
|
|
sourcemap: true,
|
|
clean: false,
|
|
dts: true,
|
|
outDir: 'dist',
|
|
format: {
|
|
esm: {
|
|
outExtensions: () => ({ js: '.js', dts: '.d.ts' }),
|
|
},
|
|
},
|
|
banner: {
|
|
js: '#!/usr/bin/env node',
|
|
},
|
|
};
|
|
|
|
export default defineConfig(config);
|