feat: refactor build process to use Bun, removing Rollup configuration

- Implemented `gererateBunConfig` and `buildWithBun` functions for building projects with Bun.
- Added command-line interface using Commander for building projects.
- Removed Rollup-related code and configuration.
- Deleted unused config module.
- Updated TypeScript configuration to extend from a shared config.
- Added .npmrc for authentication tokens.
- Created bun.config.ts for Bun build configuration.
- Added README documentation for usage instructions.
This commit is contained in:
2025-12-23 12:25:22 +08:00
parent c622010ee2
commit d6aae58ca0
9 changed files with 200 additions and 1630 deletions

6
bin/code.js Normal file → Executable file
View File

@@ -1,3 +1,5 @@
#!/usr/bin/env node
#!/usr/bin/env bun
import { parse } from '../dist/app.js';
console.log('Hello World');
const args = process.argv.slice(2);
const result = parse(args);