@systemfsoftware/stryker-ignorer-effect-schema-declarations 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-effect-schema-declarations
2
+
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Removed the `decideSchemaDeclarationIgnore` and `CLASS_FIELDS_IGNORED` exports. The ignorer still
8
+ registers under the name `effect-schema-declarations` with unchanged recognized declaration shapes
9
+ and unchanged ignore reasons. If you called the decision function directly, consult the descriptor
10
+ instead: `strykerIgnorers[0].shouldIgnore(node, ancestors)`.
11
+
12
+ - First release. This ignorer keeps mutants inside Effect Schema declarations out of
13
+ a mutation run: a symbol, a tagged error, an annotation or a class body only
14
+ declares a type, so no run can observe the change.
15
+
16
+ It has no runtime dependencies, and migrating from the plugin you use today is a
17
+ rename in your plugins list — the ignorer keeps the name it already had.
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,12 +1,21 @@
1
- import { Ignorer } from "@systemfsoftware/stryker-ignorer-interface";
2
- //#region src/SchemaDeclarationIgnore.d.ts
3
- export declare const SYMBOL_DESCRIPTION_IGNORED: 'Symbol.for() brand description is identity-only data, not behaviour';
4
- export declare const TAGGED_TAG_IGNORED: 'TaggedClass/TaggedError _tag is a declaration discriminant, not behaviour';
5
- export declare const TAGGED_FIELDS_IGNORED: 'TaggedClass/TaggedError field schema is a declaration, not behaviour';
6
- export declare const CLASS_ID_IGNORED: 'Schema.Class identifier is a declaration name, not behaviour';
7
- export declare const BRAND_NAME_IGNORED: 'Schema.brand name is identity-only data, not behaviour';
8
- export declare const OPTIONAL_DEFAULT_IGNORED: 'optionalWith default value is config, not behaviour';
9
- export declare const ANNOTATION_OBJECT_IGNORED: 'annotations object holding only documentation is a declaration, not behaviour';
10
- export declare const ANNOTATION_TEXT_IGNORED: 'annotation documentation value is declaration data, not behaviour';
11
- export declare const strykerIgnorers: readonly Ignorer[];
12
- //#endregion
1
+ import { Ignorer } from '@systemfsoftware/stryker-ignorer-interface';
2
+
3
+ export declare const ANNOTATION_OBJECT_IGNORED: 'annotations object holding only documentation is a declaration, not behaviour';
4
+
5
+ export declare const ANNOTATION_TEXT_IGNORED: 'annotation documentation value is declaration data, not behaviour';
6
+
7
+ export declare const BRAND_NAME_IGNORED: 'Schema.brand name is identity-only data, not behaviour';
8
+
9
+ export declare const CLASS_ID_IGNORED: 'Schema.Class identifier is a declaration name, not behaviour';
10
+
11
+ export declare const OPTIONAL_DEFAULT_IGNORED: 'optionalWith default value is config, not behaviour';
12
+
13
+ export declare const strykerIgnorers: readonly Ignorer[];
14
+
15
+ export declare const SYMBOL_DESCRIPTION_IGNORED: 'Symbol.for() brand description is identity-only data, not behaviour';
16
+
17
+ export declare const TAGGED_FIELDS_IGNORED: 'TaggedClass/TaggedError field schema is a declaration, not behaviour';
18
+
19
+ export declare const TAGGED_TAG_IGNORED: 'TaggedClass/TaggedError _tag is a declaration discriminant, not behaviour';
20
+
21
+ export { }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-ignorer-effect-schema-declarations",
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",
@@ -32,10 +32,11 @@
32
32
  "./package.json": "./package.json"
33
33
  },
34
34
  "dependencies": {
35
- "@systemfsoftware/stryker-ignorer-interface": "^0.0.0",
36
- "@systemfsoftware/stryker-ignorer-kit": "^0.0.0"
35
+ "@systemfsoftware/stryker-ignorer-interface": "^0.1.0",
36
+ "@systemfsoftware/stryker-ignorer-kit": "^0.1.0"
37
37
  },
38
38
  "devDependencies": {
39
+ "@effect/tsgo": "^0.45.0",
39
40
  "@microsoft/api-extractor": "^7",
40
41
  "@systemfsoftware/arethetypeswrong-cli": "^4",
41
42
  "@systemfsoftware/tsconfig": "^1",
@@ -46,9 +47,8 @@
46
47
  "tsdown": "^0.23.0",
47
48
  "typescript": "^7",
48
49
  "vitest": "^4",
49
- "@effect/tsgo": "^0.45.0",
50
+ "@systemfsoftware/oxlint-ignorer-config": "^0.1.0",
50
51
  "@systemfsoftware/tsdown-config": "^0.1.0",
51
- "@systemfsoftware/oxlint-ignorer-config": "^0.0.0",
52
52
  "@systemfsoftware/vitest-config": "^0.1.0"
53
53
  },
54
54
  "publishConfig": {