stack/packages/init-stack/tsup.config.ts
devin-ai-integration[bot] a1a8fb309b
Convert packages/init-stack to TypeScript (#465)
* Convert packages/init-stack to TypeScript and configure tsup for bundling

Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>

* Address PR feedback: remove esbuildPlugins, remove index.mjs, update pnpm-lock.yaml

Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>

* Add ESLint configuration to init-stack package

Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>

* Remove unnecessary no-restricted-syntax rule from init-stack ESLint config

Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>

* Add lint script to init-stack package.json

Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>

* Remove parserOptions from init-stack ESLint config and add typecheck script

Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
2025-02-25 23:02:25 +00:00

16 lines
280 B
TypeScript

import { defineConfig, Options } from 'tsup';
const config: Options = {
entryPoints: ['src/index.ts'],
sourcemap: true,
clean: false,
dts: true,
outDir: 'dist',
format: ['esm'],
banner: {
js: '#!/usr/bin/env node',
},
};
export default defineConfig(config);