@archwall/core 0.2.1 → 1.0.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 +28 -0
- package/dist/index.cjs +0 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +93 -7
- package/dist/index.d.mts +93 -7
- package/dist/index.mjs +0 -0
- package/dist/index.mjs.map +1 -1
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.mts +1 -1
- package/dist/internal.mjs +1 -1
- package/dist/{prepare-BjMxyYOm.mjs → prepare-BxSeKFYq.mjs} +72 -72
- package/dist/{prepare-BjMxyYOm.mjs.map → prepare-BxSeKFYq.mjs.map} +1 -1
- package/dist/{prepare-CEaZxLPI.cjs → prepare-DNER1gV3.cjs} +71 -71
- package/dist/{prepare-CEaZxLPI.cjs.map → prepare-DNER1gV3.cjs.map} +1 -1
- package/dist/{transform-CzxyWbUC.d.mts → transform-beNJIws-.d.cts} +49 -24
- package/dist/{transform-CzxyWbUC.d.cts → transform-beNJIws-.d.mts} +49 -24
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @archwall/core
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- b56068e: `UserConfig.baseline` now points at a committed file of accepted violations, keyed on
|
|
8
|
+
violation fingerprints. Matched findings move to `AnalysisResult.suppressed` instead of
|
|
9
|
+
failing the run, and the suppressed count is printed on every run. Write the file with
|
|
10
|
+
`archwall check --update-baseline`. See `docs/guides/brownfield-adoption.md`.
|
|
11
|
+
|
|
12
|
+
Suppression is applied at the run edge, not inside `analyze()` — the engine stays pure and
|
|
13
|
+
policy-free, exactly as `failOn` already is.
|
|
14
|
+
|
|
15
|
+
- New in `@archwall/core`: `parseBaseline`, `serializeBaseline`, `applyBaseline`, and the
|
|
16
|
+
`BaselineFile` / `BaselineEntry` / `AppliedBaseline` types.
|
|
17
|
+
- New diagnostic `baseline-invalid` (a configured baseline that is missing, unparseable, or
|
|
18
|
+
written under another fingerprint scheme), gated with the other configuration errors and so
|
|
19
|
+
failing by default. `baseline-stale` is now emitted, and remains off by default.
|
|
20
|
+
- Stale entries are not reported when the run was partial — a progressive graph, or a rule
|
|
21
|
+
that was skipped or crashed — because an unmatched entry is then not evidence of a fix.
|
|
22
|
+
- New in `@archwall/integration-kit`: `readBaseline`, `writeBaseline`, and
|
|
23
|
+
`RunCheckOptions.updateBaseline`.
|
|
24
|
+
|
|
25
|
+
**Breaking:** `@archwall/core` is now a peer dependency of `@archwall/rules`,
|
|
26
|
+
`@archwall/presets`, `@archwall/integration-kit`, and `@archwall/test-utils`, so an install
|
|
27
|
+
cannot end up with two copies of core behind one graph. The adapter packages depend on it
|
|
28
|
+
directly; if you install `@archwall/rules` or `@archwall/test-utils` on their own, add
|
|
29
|
+
`@archwall/core` alongside them.
|
|
30
|
+
|
|
3
31
|
## 0.2.1
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
Binary file
|