📝 feat: update TypeScript configuration and add API support
- Changed root directory in tsconfig.json to include all source files. - Updated server.json to include npm package configuration for claude-code-explorer-mcp. - Enhanced x402 command to support non-interactive mode. - Refactored x402 command call function to simplify argument handling. - Introduced .mcp.json for MCP server configuration. - Added bunfig.toml for Bun development mode configuration. - Created bridge.md documentation for IDE integration and architecture overview. - Added .npmignore to exclude unnecessary files from npm package. - Implemented build-bundle script for production and development builds. - Developed bun-plugin-shims for Bun preload plugin. - Created ci-build.sh for CI/CD build pipeline. - Added dev.ts for development launcher using Bun's TS runtime. - Implemented package-npm.ts to generate a publishable npm package. - Created test-auth.ts to verify API key configuration. - Developed test-mcp.ts for MCP client/server roundtrip testing. - Implemented test-services.ts to ensure all services initialize correctly. - Added stub.ts for bridge functionality when BRIDGE_MODE is disabled.
This commit is contained in:
15
scripts/dev.ts
Normal file
15
scripts/dev.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
// scripts/dev.ts
|
||||
// Development launcher — runs the CLI directly via Bun's TS runtime.
|
||||
//
|
||||
// Usage:
|
||||
// bun scripts/dev.ts [args...]
|
||||
// bun run dev [args...]
|
||||
//
|
||||
// The bun:bundle shim is loaded automatically via bunfig.toml preload.
|
||||
// Bun automatically reads .env files from the project root.
|
||||
|
||||
// Load MACRO global (version, package url, etc.) before any app code
|
||||
import '../src/shims/macro.js'
|
||||
|
||||
// Launch the CLI entrypoint
|
||||
await import('../src/entrypoints/cli.js')
|
||||
Reference in New Issue
Block a user