feat(updates): general consolidation#26
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
…ments feat(overhaul): better menu, state, and processing
This pull request introduces several improvements and refactors to the CLI codebase, focusing on developer experience, runtime reliability, and user feedback. The most significant changes include adding TypeScript linting support, improving dependency management, enhancing CLI robustness, and refactoring the API layer to provide better error handling and user warnings.
Developer tooling and dependency management:
.eslintrc.jsonconfiguration to enable TypeScript-aware linting, with recommended rules and ignore patterns for generated and external files.package.jsonto add scripts for building, type checking, and linting, and pinned all dependencies and devDependencies to exact versions for improved reproducibility. [1] [2] [3]CLI reliability and user experience:
src/index.tsto read the version frompackage.jsonat runtime, ensuring the--versionoutput always matches the published package.run()method instead oftop().API layer enhancements:
src/lib/api.tsto: