@systemfsoftware/stryker-ignorer-interface 0.0.0 → 0.1.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/CHANGELOG.md ADDED
@@ -0,0 +1,26 @@
1
+ # @systemfsoftware/stryker-ignorer-interface
2
+
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Effect moves to `4.0.0-rc.116` (with `@effect/platform-node`, `@effect/platform-node-shared`, `@effect/vitest` and `@effect/opentelemetry` on the same release), the `@systemfsoftware/*` toolchain pins move to their current releases, and `vitest` 5 with `oxc-parser` 0.150 come along. Both worker bundles (`stryker-js-typescript-checker`, `stryker-js-vitest-runner`) now inline their whole runtime rather than resolving `effect`, `@effect/*` and the sibling packages from the host's tree, so a worker runs on its own copy of the effect that built it; the project's `typescript` and `vitest` remain the only imports beside Node builtins. The filter-level `arbitrary.candidate` generators that the thresholds schemas carried are gone: v4 no longer reads them, so thresholds still reject a `low` above `high` and the property tests generate the pair from the schema again. Log calls inside `Effect.catch*` handlers moved to `Effect.tapError`/`Effect.tapCause` at the same level and message. `@systemfsoftware/stryker-ignorer-interface` re-exports the 0.150 AST, where `FormalParameterRest.decorators` is now `Array<Decorator>`.
8
+
9
+ ## 0.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - First release. This is the contract an ignorer is written against: one `Ignorer`
14
+ descriptor (`{ name, shouldIgnore }`) whose decision receives the node and its
15
+ ancestors — nearest first, fully typed positions, nothing unknown. The whole AST
16
+ vocabulary of the producing parser is re-exported with optional spans, so
17
+ hand-built fixtures only need the fields a rule actually reads.
18
+
19
+ Hosts that traverse a tree get `Walker` and `WalkVisitors` types from the same
20
+ contract: a walker drives `enter`/`leave` with the node and its ancestor stack,
21
+ and the host supplies the traversal itself. The package ships no runtime value
22
+ and no runtime dependencies, so adopting it costs nothing beyond the types.
23
+
24
+ ### Patch Changes
25
+
26
+ - Maintenance release. Every published entry point, export, option, and behaviour is exactly as it was.
package/README.md CHANGED
@@ -56,20 +56,8 @@ plain descriptor and validates at load that `name` is a string and
56
56
  `shouldIgnore` is callable — an entry that fails fails the load by name.
57
57
 
58
58
  A module exporting `strykerIgnorers` loads in any engine carrying the plain-ignorer
59
- loader, and the host builds the ignorer it runs from the descriptor. Configure the
60
- pair — they take different strings:
61
-
62
- | Config key | Value |
63
- | ---------- | ----------------------------------------------- |
64
- | `plugins` | the module specifier (this package or your own) |
65
- | `ignorers` | the ignorer name (`generated-code` above) |
66
-
67
- A mismatched pair fails silent-green: the run completes with nothing ignored
68
- and only a `Cannot find plugin` warning.
69
-
70
- ## Contributing
71
-
72
- Development setup and workflow: [AGENTS.md](AGENTS.md).
59
+ loader, and the host runs every ignorer the module contributes. List the module
60
+ in `ignorers` with `import.meta.resolve`.
73
61
 
74
62
  ## License
75
63