Skip to content

feat: improve code base - #36

Merged
devlegacy merged 54 commits into
masterfrom
feat/improve-codebase
Sep 8, 2026
Merged

devlegacy merged 54 commits into
masterfrom
feat/improve-codebase

Conversation

@devlegacy

Copy link
Copy Markdown
Owner

No description provided.

- 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 "#/*".
devlegacy and others added 24 commits April 18, 2026 04:08
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>
@devlegacy
devlegacy merged commit 1d61756 into master Sep 8, 2026
1 check passed
@devlegacy
devlegacy deleted the feat/improve-codebase branch September 8, 2026 20:11
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