Repository navigation
feat: improve code base - #36
Merged
Merged
Conversation
- Added package version overrides in pnpm-workspace.yaml to ensure compatibility with specific versions. - Modified TypeScript configuration in tsconfig.json to change the path alias from "#@/*" to "#/*".
…ve message handling
…ptimization command
…e resizing functions
… to use imageminGifsicle
src/index.ts registers commands via yargs .commandDir(), so the DvxCLI class and the helpers only it used (isConstructor, isFunction, readModulesRecursively, YargsCommand) were dead code. The custom imagemin-svgo wrapper was unimported and pulled in svgo/is-svg as undeclared phantom dependencies. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…commands img:minify, img:towebp and img:optimize accept --quality high|medium|low (default medium), threaded from the builders through the worker jobs via shared presets in src/shared/domain/quality-presets.ts. Jobs now log one per-file line with before/after sizes and post bytesIn/bytesOut so the helpers print a total size-savings summary. Also: drop the redundant jpegtran pass (mozjpeg alone), tie zopfli iterations to the preset (15/8/5), and make command handlers return their promises so yargs awaits completion. BREAKING CHANGE: requires Node >=24; per-file log format changed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- CI: test matrix 22.x → 24.x to match engines >=24, run on pull requests to master, and typecheck before tests - package.json: version 4.0.0, add typecheck script - README: remove stray pasted data, format macOS brew prerequisites - NOTES: trim pasted review conversation down to open TODOs - CLAUDE.md: document commandDir command pattern, domain/infrastructure layout and Node 24 requirement - gitignore *.tsbuildinfo Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.