- 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
18 lines
319 B
TypeScript
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,
|
|
});
|