forked from claude-did-this/claude-hub
## Overview Establishes comprehensive TypeScript infrastructure and tooling for the claude-github-webhook project as specified in issue #101. ## Dependencies Added - Core TypeScript: typescript, @types/node, @types/express, @types/body-parser - Development: ts-node for dev execution - ESLint: @typescript-eslint/parser, @typescript-eslint/eslint-plugin - Testing: ts-jest, babel-jest for Jest TypeScript support ## Configuration Files - tsconfig.json: Strict TypeScript config targeting ES2022/CommonJS - eslint.config.js: Updated with TypeScript support and strict rules - jest.config.js: Configured for both .js and .ts test files - babel.config.js: Babel configuration for JavaScript transformation ## Build Scripts - npm run build: Compile TypeScript to dist/ - npm run build⌚ Watch mode compilation - npm run typecheck: Type checking without compilation - npm run clean: Clean build artifacts - npm run dev: Development with ts-node - npm run dev⌚ Development with nodemon + ts-node ## Infrastructure Verified ✅ TypeScript compilation works ✅ ESLint supports TypeScript files ✅ Jest runs tests with TypeScript support ✅ All existing tests pass (67 tests, 2 skipped) ✅ Docker build process updated for TypeScript ## Documentation - CLAUDE.md updated with TypeScript build commands and architecture - Migration strategy documented (Phase 1: Infrastructure, Phase 2: Code conversion) - TypeScript coding guidelines added ## Backward Compatibility - Existing JavaScript files continue to work during transition - Support for both .js and .ts files in tests and linting - No breaking changes to existing functionality 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
5 lines
234 B
JavaScript
5 lines
234 B
JavaScript
"use strict";
|
|
// TypeScript type definitions for the claude-github-webhook project
|
|
// This file establishes the TypeScript infrastructure
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
//# sourceMappingURL=types.js.map
|