Skip to content

Refactor infrastructure#6

Merged
or-yam merged 10 commits into
mainfrom
major-refactor-and-improvements
Jun 21, 2025
Merged

Refactor infrastructure#6
or-yam merged 10 commits into
mainfrom
major-refactor-and-improvements

Conversation

@or-yam

@or-yam or-yam commented Jun 21, 2025

Copy link
Copy Markdown
Owner
  • Introduce DEFAULT_SPEED and DEFAULT_LENGTH constants in config.ts
  • Update CLI to accept speed and length options
  • Validate and apply speed and length in logSaber function
  • Define LogSaberOptions and CliOptions types for better type safety

or-yam added 10 commits June 20, 2025 08:33
- use Commander for argument parsing
- update TypeScript target to ES2022
- replace bin entry point with new CLI script
- Refactor color argument parsing to include 'random' option
- Improve logSaber function to handle color validation and progress display
- Update type definitions for better TypeScript support
- Introduce DEFAULT_SPEED and DEFAULT_LENGTH constants in config.ts
- Update CLI to accept speed and length options
- Validate and apply speed and length in logSaber function
- Define LogSaberOptions and CliOptions types for better type safety
- Introduced a new TypeScript build configuration in tsconfig.build.json.
- Updated package.json scripts to use vitest for testing and adjusted build process.
- Added logSaber tests using vitest and removed outdated utils.test.js.
- Updated devDependencies, including types for commander and added vitest.
- Enhanced type safety and project organization by restructuring tsconfig files.
@or-yam or-yam changed the title Update gitignore Refactor infrastructure Jun 21, 2025
@or-yam
or-yam marked this pull request as ready for review June 21, 2025 19:03
@or-yam
or-yam merged commit b4dd43e into main Jun 21, 2025
1 check passed
@or-yam
or-yam deleted the major-refactor-and-improvements branch June 21, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant