chore(01-01): initialize TypeScript project with ESM

- Configure package.json with type: module, ESM-compatible setup
- Add dependencies: commander, execa
- Add devDependencies: typescript, tsx, rimraf, @types/node
- Configure tsconfig.json for ES2022/NodeNext
- Add .gitignore with node_modules and dist
- Create src/index.ts and src/bin/cw.ts placeholders
This commit is contained in:
Lukas May
2026-01-30 13:09:43 +01:00
parent 074f79b855
commit d284603694
6 changed files with 1109 additions and 0 deletions

24
.gitignore vendored Normal file
View File

@@ -0,0 +1,24 @@
# Dependencies
node_modules/
# Build output
dist/
# Environment files
.env
.env.local
.env.*.local
# IDE
.idea/
.vscode/
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
# Logs
*.log
npm-debug.log*

1017
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

33
package.json Normal file
View File

@@ -0,0 +1,33 @@
{
"name": "codewalk-district",
"version": "0.0.1",
"description": "Multi-agent workspace for orchestrating multiple Claude Code agents",
"type": "module",
"main": "./dist/index.js",
"bin": {
"cw": "./dist/bin/cw.js"
},
"scripts": {
"build": "tsc",
"dev": "tsx watch src/bin/cw.ts",
"clean": "rimraf dist"
},
"keywords": [
"claude",
"agent",
"orchestration",
"multi-agent"
],
"author": "",
"license": "ISC",
"dependencies": {
"commander": "^12.1.0",
"execa": "^9.5.2"
},
"devDependencies": {
"@types/node": "^22.10.7",
"rimraf": "^6.0.1",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
}
}

8
src/bin/cw.ts Normal file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env node
/**
* Codewalk District CLI Entry Point
*/
import { VERSION } from '../index.js';
console.log(`cw cli v${VERSION}`);

10
src/index.ts Normal file
View File

@@ -0,0 +1,10 @@
/**
* Codewalk District - Library Entry Point
*
* Multi-agent workspace for orchestrating multiple Claude Code agents.
*/
export const VERSION = '0.0.1';
// Placeholder for future module exports
export {};

17
tsconfig.json Normal file
View File

@@ -0,0 +1,17 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"declaration": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}