Skip to content

Add local CLI preview and prepare v2.1.0 release - #10

Merged
SLP-DEV1 merged 6 commits into
mainfrom
feat/cli-and-release-2.1.0
Aug 26, 2026
Merged

Add local CLI preview and prepare v2.1.0 release#10
SLP-DEV1 merged 6 commits into
mainfrom
feat/cli-and-release-2.1.0

Conversation

@SLP-DEV1

Copy link
Copy Markdown
Owner

Summary

This PR adds a practical local-only CLI foundation and prepares the repository for the first GitHub release.

CLI preview

  • process files or directories locally with Sharp
  • recursive folder scanning
  • WebP, JPG and PNG output
  • quality and max-dimension controls
  • keep-original-if-larger safety by default
  • configurable JPG alpha background
  • JSON output for automation/CI
  • explicit local-only behavior with no reSmush.it calls

CI

  • syntax-check the CLI
  • generate a real PNG fixture with Sharp
  • run the CLI against it
  • assert that a WebP result was produced

Discovery/docs

  • add a workflow-focused comparison with Squoosh and TinyPNG/TinyJPG
  • avoid synthetic compression benchmark claims
  • document CLI examples, options, privacy model and current parity limits

Release

  • finalize 2.1.0 release notes
  • add a guarded release/v* workflow that validates package version, runs the full validation suite, creates a reproducible source ZIP + SHA256 and publishes the GitHub release

Validation

CI should run npm ci, server syntax, CLI syntax and image smoke-test, strict TypeScript checks, and the production build before merge.

@SLP-DEV1
SLP-DEV1 merged commit 888c4bc into main Aug 26, 2026
1 check passed
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