@eslint-config-snapshot/cli 0.9.0 → 0.14.0
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/CHANGELOG.md +66 -0
- package/README.md +10 -0
- package/dist/index.cjs +975 -794
- package/dist/index.js +978 -800
- package/package.json +3 -2
- package/src/commands/check.ts +157 -0
- package/src/commands/print.ts +58 -0
- package/src/commands/update.ts +49 -0
- package/src/formatters.ts +256 -0
- package/src/index.ts +48 -1204
- package/src/init.ts +331 -0
- package/src/run-context.ts +161 -0
- package/src/runtime.ts +224 -0
- package/src/terminal.ts +178 -0
- package/test/cli.integration.test.ts +4 -6
- package/test/cli.npm-isolated.integration.test.ts +1 -1
- package/test/cli.pnpm-isolated.integration.test.ts +1 -1
- package/test/cli.terminal.integration.test.ts +10 -5
- package/test/fixtures/npm-isolated-template/eslint-config-snapshot.config.mjs +1 -2
- package/test/fixtures/repo/eslint-config-snapshot.config.mjs +1 -2
- package/test/formatters.unit.test.ts +47 -0
- package/test/init.unit.test.ts +31 -0
- package/test/runtime.unit.test.ts +36 -0
- package/test/ui.unit.test.ts +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,71 @@
|
|
|
1
1
|
# @eslint-config-snapshot/cli
|
|
2
2
|
|
|
3
|
+
## 0.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Improve repository hygiene by expanding .gitignore for generated test report artifacts and Vitest local cache.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @eslint-config-snapshot/api@0.14.0
|
|
13
|
+
|
|
14
|
+
## 0.13.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- Add richer GitHub CI reporting with JUnit test publication and coverage summaries.
|
|
19
|
+
Include Vitest coverage provider dependency for report generation.
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
- @eslint-config-snapshot/api@0.13.0
|
|
25
|
+
|
|
26
|
+
## 0.12.1
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Add architecture guidance for API/CLI module boundaries and responsibilities.
|
|
31
|
+
Link architecture doc from README.
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
- @eslint-config-snapshot/api@0.12.1
|
|
34
|
+
|
|
35
|
+
## 0.12.0
|
|
36
|
+
|
|
37
|
+
### Minor Changes
|
|
38
|
+
|
|
39
|
+
- Add json/css to default sampling globs, keep md/mdx, and prioritize code files during sampling selection.
|
|
40
|
+
Rename CLI presentation module to run-context and keep formatter/runtime boundaries clearer.
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- Updated dependencies
|
|
45
|
+
- @eslint-config-snapshot/api@0.12.0
|
|
46
|
+
|
|
47
|
+
## 0.11.0
|
|
48
|
+
|
|
49
|
+
### Minor Changes
|
|
50
|
+
|
|
51
|
+
- b3c8406: Automate root version synchronization during release versioning and improve token-hint sampling configuration clarity.
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- Updated dependencies [b3c8406]
|
|
56
|
+
- @eslint-config-snapshot/api@0.11.0
|
|
57
|
+
|
|
58
|
+
## 0.10.0
|
|
59
|
+
|
|
60
|
+
### Minor Changes
|
|
61
|
+
|
|
62
|
+
- 1f6f0fc: Replace sampling hint globs with configurable `tokenHints` and improve sampling documentation clarity.
|
|
63
|
+
|
|
64
|
+
### Patch Changes
|
|
65
|
+
|
|
66
|
+
- Updated dependencies [1f6f0fc]
|
|
67
|
+
- @eslint-config-snapshot/api@0.10.0
|
|
68
|
+
|
|
3
69
|
## 0.9.0
|
|
4
70
|
|
|
5
71
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -59,6 +59,16 @@ Compatibility aliases:
|
|
|
59
59
|
- If no config is found, built-in defaults are used.
|
|
60
60
|
- Snapshots are stored under `.eslint-config-snapshot/`.
|
|
61
61
|
|
|
62
|
+
## Debugging
|
|
63
|
+
|
|
64
|
+
Use `debug` namespaces when you need deep diagnostics:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
DEBUG=eslint-config-snapshot:* eslint-config-snapshot
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
This includes sampling details, extracted files, executed print-config command traces, and timing by phase.
|
|
71
|
+
|
|
62
72
|
## Related Packages
|
|
63
73
|
|
|
64
74
|
- API engine: [`@eslint-config-snapshot/api`](https://www.npmjs.com/package/@eslint-config-snapshot/api)
|