tpmjs/packages/cli/tsup.config.ts
Ajax Davis 154f000505 feat(cli): add @tpmjs/cli package and browser auth page
- Create comprehensive CLI with oclif framework
- Add commands: auth, tool, agent, collection, mcp, publish
- Add doctor, playground, and update commands
- Add /cli/auth page for browser-based OAuth flow
- Publish to npm as @tpmjs/cli@0.1.2
2026-01-18 06:12:34 +10:00

18 lines
319 B
TypeScript

import { defineConfig } from 'tsup';
export default defineConfig({
entry: [
'src/index.ts',
'src/commands/**/*.ts',
'src/hooks/**/*.ts',
],
format: ['esm'],
dts: true,
clean: true,
sourcemap: true,
splitting: false,
treeshake: true,
outDir: 'dist',
target: 'node18',
shims: true,
});