Repository navigation
v0.56.0
Minor Changes
-
#494
9b3edf0Thanks @mattiamanzati! - AddcodegenCLI command to automatically update Effect codegensThis release introduces a new CLI command
effect-language-service codegenthat allows you to automatically update Effect codegens in your TypeScript files from the command line. The command scans files containing@effect-codegensdirectives and applies the necessary code transformations.Usage:
effect-language-service codegen --file <path>- Update a specific fileeffect-language-service codegen --project <tsconfig.json>- Update all files in a projecteffect-language-service codegen --verbose- Show detailed output during processing
Example:
# Update a single file effect-language-service codegen --file src/MyService.ts # Update entire project effect-language-service codegen --project tsconfig.json --verbose
This is particularly useful for CI/CD pipelines or batch processing scenarios where you want to ensure all codegens are up-to-date without manual editor intervention.