- Use pnpm as the package manager
- Build:
pnpm build(compiles TypeScript to JavaScript) - Lint:
pnpm lint(runs ESLint on source files) - Format:
pnpm format(formats all files with Prettier) - Format (check only):
pnpm format:check(checks formatting without changes) - Test:
pnpm test(runs Jest tests once) - Test (watch mode):
pnpm test:watch(runs Jest in watch mode) - Test (coverage):
pnpm test:coverage(runs Jest with coverage report)
- TypeScript with strict mode enabled
- ES2020 target with CommonJS modules
- Import ordering not specified
- Use PascalCase for classes and interfaces
- Use camelCase for variables and functions
- Use UPPER_SNAKE_CASE for constants
- Code formatting managed by Prettier with the following rules:
- Semi-colons required at end of statements
- Trailing commas in object/array literals
- Single quotes preferred over double quotes
- Print width of 80 characters
- 2 spaces for indentation (no tabs)
- Spaces between brackets
- Parentheses around arrow function parameters avoided when possible
- Not specified in this minimal codebase
- No .cursorrules or copilot instructions found
- This is a Node.js project with TypeScript support
- Tests are written in Jest
- ESLint is configured for code quality
- Source files are in the
srcdirectory - Tests are in
src/__tests__directory - Zod is used for runtime type validation