@technicalshree/auto-fix 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
- Supports gated destructive cleanup (`--deep`, `--approve`)
|
|
12
12
|
- Writes run reports and snapshot metadata for rollback
|
|
13
13
|
- Supports best-effort `undo` for snapshotted changes
|
|
14
|
+
- Syncs `.env` files from `.env.example` templates (v1.2)
|
|
15
|
+
- Detects Node/Python runtime version drift (v1.2)
|
|
16
|
+
- Auto-configures VS Code Python interpreter path (v1.2)
|
|
17
|
+
- Provides actionable guidance for EPERM/EBUSY file lock errors (v1.2)
|
|
14
18
|
|
|
15
19
|
## Requirements
|
|
16
20
|
|
|
@@ -381,9 +385,14 @@ npm run build
|
|
|
381
385
|
- `src/config/`: defaults and config loading
|
|
382
386
|
- `src/report/`: summary and report writing
|
|
383
387
|
- `src/subsystems/`: subsystem-specific checks/fixes
|
|
388
|
+
- `environment.ts`: `.env` sync logic (v1.2)
|
|
389
|
+
- `engines.ts`: runtime version checks (v1.2)
|
|
384
390
|
- `src/ui/`: terminal renderer and progress hooks
|
|
385
391
|
- `dist/`: compiled JavaScript output
|
|
386
392
|
- `docs/`: product requirement docs and notes
|
|
393
|
+
- `test/`: test suites
|
|
394
|
+
- `smoke.test.mjs`: CLI smoke tests
|
|
395
|
+
- `v1.2.test.mjs`: v1.2 feature unit tests
|
|
387
396
|
|
|
388
397
|
## Troubleshooting
|
|
389
398
|
|
|
@@ -403,6 +412,25 @@ Non-interactive environments behave conservatively:
|
|
|
403
412
|
|
|
404
413
|
- In polyglot projects (Node + Python + Docker), non-interactive mode without `--approve` may limit execution to a safe subset
|
|
405
414
|
|
|
415
|
+
## Changelog
|
|
416
|
+
|
|
417
|
+
### v1.2.0
|
|
418
|
+
|
|
419
|
+
- **Environment sync**: Auto-copy `.env.example` → `.env`; detect and append missing keys
|
|
420
|
+
- **Engine version checks**: Validate Node (`.nvmrc`) and Python (`.python-version`) versions before dependency install
|
|
421
|
+
- **VS Code integration**: Auto-configure `python.defaultInterpreterPath` when `.venv` exists
|
|
422
|
+
- **EPERM handling**: Actionable error messages for file lock failures in node steps
|
|
423
|
+
- **Snapshot improvements**: Non-destructive steps with declared snapshot paths are now backed up
|
|
424
|
+
- **Undo fix**: Nested file paths (e.g., `.vscode/settings.json`) are now restored correctly
|
|
425
|
+
- **Test coverage**: Added 8 unit tests for v1.2 features
|
|
426
|
+
|
|
427
|
+
### v1.1.x
|
|
428
|
+
|
|
429
|
+
- Initial release with Node, Python, Docker detection and safe fix execution
|
|
430
|
+
- Polyglot project support with interactive confirmation
|
|
431
|
+
- Run reports, snapshots, and best-effort undo
|
|
432
|
+
- CLI help, version banner, and configurable `.autofix.yml`
|
|
433
|
+
|
|
406
434
|
## License
|
|
407
435
|
|
|
408
436
|
ISC
|