@systemfsoftware/stryker-ignorer-in-source-vitest-block 0.0.0 → 0.1.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 ADDED
@@ -0,0 +1,21 @@
1
+ # @systemfsoftware/stryker-ignorer-in-source-vitest-block
2
+
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - First release. This ignorer keeps mutants inside a test-only block out of a
8
+ mutation run: those statements never reach the production path, so no run can
9
+ observe the change.
10
+
11
+ It has no runtime dependencies, and migrating from the plugin you use today is a
12
+ rename in your plugins list — the ignorer keeps the name it already had.
13
+
14
+ - Removed the `decideInSourceTestIgnore` and `isInSourceTestGuard` exports. The ignorer still
15
+ registers under the name `in-source-vitest-block` with unchanged recognized guard shapes and
16
+ unchanged ignore reasons. If you called the decision function directly, consult the
17
+ descriptor instead: `strykerIgnorers[0].shouldIgnore(node, ancestors)`.
18
+
19
+ ### Patch Changes
20
+
21
+ - Maintenance release. Every published entry point, export, option, and behaviour is exactly as it was.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,9 @@
1
- import { Ignorer } from "@systemfsoftware/stryker-ignorer-interface";
2
- //#region src/InSourceTestIgnore.d.ts
3
- export declare const IN_SOURCE_TEST_IGNORED: 'inside an `if (import.meta.vitest)` block — test code, not production behaviour';
4
- export declare const VITEST_META_PROPERTY: 'vitest';
5
- export declare const strykerIgnorers: readonly Ignorer[];
6
- //#endregion
1
+ import { Ignorer } from '@systemfsoftware/stryker-ignorer-interface';
2
+
3
+ export declare const IN_SOURCE_TEST_IGNORED: 'inside an `if (import.meta.vitest)` block — test code, not production behaviour';
4
+
5
+ export declare const strykerIgnorers: readonly Ignorer[];
6
+
7
+ export declare const VITEST_META_PROPERTY: 'vitest';
8
+
9
+ export { }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-ignorer-in-source-vitest-block",
3
3
  "license": "Apache-2.0",
4
- "version": "0.0.0",
4
+ "version": "0.1.0",
5
5
  "author": "Ryan Lee <drdgvhbh@gmail.com>",
6
6
  "repository": {
7
7
  "type": "git",
@@ -31,10 +31,11 @@
31
31
  "./package.json": "./package.json"
32
32
  },
33
33
  "dependencies": {
34
- "@systemfsoftware/stryker-ignorer-interface": "^0.0.0",
35
- "@systemfsoftware/stryker-ignorer-kit": "^0.0.0"
34
+ "@systemfsoftware/stryker-ignorer-interface": "^0.1.0",
35
+ "@systemfsoftware/stryker-ignorer-kit": "^0.1.0"
36
36
  },
37
37
  "devDependencies": {
38
+ "@effect/tsgo": "^0.45.0",
38
39
  "@microsoft/api-extractor": "^7",
39
40
  "@systemfsoftware/arethetypeswrong-cli": "^4",
40
41
  "@systemfsoftware/tsconfig": "^1",
@@ -45,10 +46,9 @@
45
46
  "tsdown": "^0.23.0",
46
47
  "typescript": "^7",
47
48
  "vitest": "^4",
48
- "@effect/tsgo": "^0.45.0",
49
- "@systemfsoftware/oxlint-ignorer-config": "^0.0.0",
50
- "@systemfsoftware/vitest-config": "^0.1.0",
51
- "@systemfsoftware/tsdown-config": "^0.1.0"
49
+ "@systemfsoftware/oxlint-ignorer-config": "^0.1.0",
50
+ "@systemfsoftware/tsdown-config": "^0.1.0",
51
+ "@systemfsoftware/vitest-config": "^0.1.0"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public",