@systemfsoftware/stryker-plugins 0.12.0 → 0.13.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @systemfsoftware/stryker-plugins
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - cut over to effect v4 (4.0.0-rc.108): public surface derives from effect types; peers flip effect ^3→^4
8
+
9
+ - The schema-declaration ignorer now treats a `Schema.Class` identifier and a `Schema.brand` name as declaration data, exporting `CLASS_ID_IGNORED` and `BRAND_NAME_IGNORED` and suppressing those string arguments. It also exports `CLASS_FIELDS_IGNORED` for a Class fields object, but no rule emits it: ignoring the fields object would suppress the literals inside it, and a field's accepted value set is behaviour, not data.
10
+
11
+ - The `workflow-make-boundary` ignorer selects the mutation population mechanically.
12
+
13
+ Every mutant whose ancestor chain contains no `Workflow.make(...)` call argument is excised with
14
+ the named reason `NOT_INSIDE_WORKFLOW_MAKE`; mutants inside any make boundary pass through to the
15
+ other ignorers. The boundary is identity-contained through the call's arguments (nested makes
16
+ count), resolves named, aliased, and namespace imports of `Workflow`, and follows module-scope
17
+ function references. Ships as the `./workflow-make-ignorer` subpath wired like
18
+ `./effect-schema-ignorer`, with the AST schemas redeclared locally.
19
+
20
+ ### Patch Changes
21
+
22
+ - Array types are spelled one way. `Array<T>` and `ReadonlyArray<T>` in emitted
23
+ declarations become `T[]` and `readonly T[]`, which the type checker cannot tell
24
+ apart: no exported type changes, only how it is written.
25
+
26
+ - New version is published through npm trusted publishing, so it carries a provenance attestation you can verify.
27
+
28
+ - The `atom` packages publish their own author rather than crediting an upstream they are not downstream of, and `stryker-plugins` no longer pulls Node's ambient types into a package that has no runtime dependency on them.
29
+
30
+ - Fix two `test:types` scripts that could not pass.
31
+
32
+ `tstyche` exits 1 with "No test files were selected using current configuration" when nothing matches
33
+ `testFileMatch`, so a watcher pointed at files that do not exist is a script guaranteed to fail the
34
+ moment anyone runs it. Measured directly: `effect-gherkin-spec`'s `tstyche.json` matched
35
+ `src/**/*.tst.ts` and the package holds no such file, so its `test:types` script is removed rather than
36
+ left as a gate attached to nothing. `stryker-plugins` now pins `TSTYCHE_TYPESCRIPT_MODULE` so its own
37
+ `test:types` resolves the TypeScript module it needs.
38
+
39
+ Both packages publish, and both scripts ship in the published `package.json`, so a consumer inspecting
40
+ or running them sees the change — a real patch rather than an empty intent.
41
+
42
+ - Updated dependencies:
43
+ - @systemfsoftware/stryker-js-plugin-api@2.0.0
44
+
3
45
  ## 0.12.0
4
46
 
5
47
  ### Minor Changes
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-plugins",
3
3
  "license": "Apache-2.0",
4
- "version": "0.12.0",
4
+ "version": "0.13.0",
5
5
  "author": "Ryan Lee <drdgvhbh@gmail.com>",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
9
- "directory": "packages/stryker-plugins"
9
+ "directory": "packages/testing/mutation/plugins/stryker-plugins"
10
10
  },
11
- "homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/stryker-plugins#readme",
11
+ "homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/testing/mutation/plugins/stryker-plugins#readme",
12
12
  "bugs": "https://github.com/systemfsoftware/systemfsoftware/issues",
13
13
  "description": "Stryker mutation-testing plugins for Effect-TS — ignore equivalent mutants on Effect Schema declarations (brands, TaggedClass/TaggedError tags) so the score reflects behaviour, not data.",
14
14
  "keywords": [
@@ -60,19 +60,19 @@
60
60
  "tsdown": "^0.22.14",
61
61
  "tstyche": "^7.1.0",
62
62
  "vitest": "^4.1.10",
63
- "@systemfsoftware/effect-gherkin-spec": "^1.0.0",
64
- "@systemfsoftware/effect-schema-law": "^0.7.0",
65
- "@systemfsoftware/tsconfig": "^1.3.2",
63
+ "@systemfsoftware/effect-schema-law": "^0.8.0",
64
+ "@systemfsoftware/effect-gherkin-spec": "^2.0.0",
65
+ "@systemfsoftware/effect-schema-vite": "^1.5.3",
66
66
  "@systemfsoftware/oxlint-config": "^0.1.0",
67
- "@systemfsoftware/effect-schema-vite": "^1.5.2",
68
- "@systemfsoftware/stryker-js-plugin-api": "^1.0.0",
69
- "@systemfsoftware/vitest-config": "^0.1.0"
67
+ "@systemfsoftware/tsconfig": "^1.3.3",
68
+ "@systemfsoftware/vitest-config": "^0.1.0",
69
+ "@systemfsoftware/stryker-js-plugin-api": "^2.0.0"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "@stryker-mutator/api": "^9.6.1",
73
73
  "effect": "4.0.0-rc.108",
74
74
  "typescript": ">=5.0.0",
75
- "@systemfsoftware/stryker-js-plugin-api": "^1.0.0"
75
+ "@systemfsoftware/stryker-js-plugin-api": "^2.0.0"
76
76
  },
77
77
  "publishConfig": {
78
78
  "provenance": true