Prewind v2.1.0 #3
art70x
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Prewind Changelog
v2.1.0 — 2026-02-26
🚀 New Features
Verbose Logging:
-v, --verboseoption to log detailed file processing information.Changed/Unchangedfiles along with their output path for all modes (dry-run,write,out).Colored Console Output:
picocolorsfor cleaner CLI display.greenfor success,redfor errors,dimfor informational messages).Safe
--outHandling:--outfor single files or directories.targetvariable).Dry-Run Default:
--dry-runif no mode is specified.Concurrency Support:
Prettier-Plugin Friendly Imports:
prettier-plugin-organize-importssupport.⚡ CLI Updates
New Options:
Behavior Improvements:
--writenow prompts confirmation before destructive file changes.Summary now includes:
Files scannedFiles changedUnchangedReplacementsModeTime (ms)🛠 Under-the-Hood Improvements
ProcessFiles Refactor:
queuenow usesArray#toSorted()instead ofsort()for immutability and ESLintunicorn/no-array-sortcompliance.countReplacements()moved to outer scope to satisfyunicorn/consistent-function-scoping.targettype is fully safe (string) for all modes.Error Handling Enhancements:
--write+--out, no matched files, etc.).Spinner Integration:
@clack/promptsspinner for visual feedback.📝 Usage Examples
This discussion was created from the release Prewind v2.1.0.
All reactions