stack/packages/stack-cli/tsdown.config.ts
BilalG1 57149bd84b
Stack CLI (#1227)
<!-- 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 -->
2026-03-09 13:24:15 -07:00

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);