Commit Graph

7 Commits

Author SHA1 Message Date
Kazuki Yamada 4c7d8fbc99 build(config): Optimize tsconfig for TypeScript 5.x and Node.js 20+
- Update target from es2016 to es2022 (Node.js 20+ fully supports ES2022)
- Add moduleDetection: "force" to treat all files as modules
- Add verbatimModuleSyntax: true (TypeScript 5.0+ recommended setting)
- Remove esModuleInterop (replaced by verbatimModuleSyntax)
- Remove noImplicitAny (redundant, included in strict)
- Remove compileOnSave (unused, VS Code ignores this option)
- Remove redundant declaration: true from tsconfig.build.json
- Fix repomix.config.cts to use CommonJS syntax (module.exports)
2026-01-17 14:06:54 +09:00
Kazuki Yamada 83d7957474 chore(deps): Upgrade to Zod v4.1.12
Zod v4への対応を完了しました。

主な変更:
- package.json: Zod v3.25.76 → v4.1.12にアップグレード
- ZodError.errors → ZodError.issuesに変更(Zod v4の破壊的変更)
- configSchemaでネストされたオブジェクトの外側の.default({})を削除
  (Zod v4では外側のdefaultが内側のdefaultを上書きするため)
- configLoadでtokenCountとoutput.gitのマージ処理を追加
- テストの期待値を修正(空オブジェクトのパースが失敗するように)

MCP SDK互換性の対応:
- MCP SDKはZod v3を使用しているため、src/mcp配下でzod/v3をインポート
- src/mcp/tsconfig.jsonを作成し、型チェックを緩和(noImplicitAny: false)
- TypeScriptの制限(importされたファイルはexcludeできない)により、
  MCPツール・プロンプトファイルに@ts-nocheckを追加
- repomixOutputStyleSchemaの代わりにz.enum()を直接使用
- biome-ignoreコメントを追加してas any使用箇所のlintエラーを抑制

すべてのテスト(800テスト)とlintチェックが成功しています。
2025-10-25 22:20:30 +09:00
Kazuki Yamada 707428715f chore(config): Improve project configuration and linting 2024-09-01 16:49:11 +09:00
Kazuki Yamada 0d8016e7a4 refactor(structure): Reorganize project file structure for improved modularity 2024-08-10 14:39:05 +09:00
Kazuki Yamada 8d7023a1f9 feat(config): Add include functionality and enhance file filtering with glob support 2024-08-04 02:48:17 +09:00
Kazuki Yamada bd6635ff3f test(output): Add packing multiple files test 2024-08-01 00:26:58 +09:00
Kazuki Yamada 582607829e feat: Initial implementation of Repopack 2024-07-15 17:23:42 +09:00