@systemfsoftware/stryker-js-typescript-checker 5.0.1 → 5.0.3
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 +15 -0
- package/dist/index.mjs +10 -10
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @systemfsoftware/stryker-js-typescript-checker
|
|
2
2
|
|
|
3
|
+
## 5.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Releases the workspace so its published versions track the shared dependency graph this change moves.
|
|
8
|
+
|
|
9
|
+
- The `@systemfsoftware/source` export condition is gone. It resolved to a package's TypeScript sources for editors and in-repo typechecks; each package now exports only its built entry. If your tsconfig sets `customConditions: ["@systemfsoftware/source"]`, or a bundler config names that condition, remove it — resolution falls back to the built entry, which is what every consumer already got.
|
|
10
|
+
|
|
11
|
+
## 5.0.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies:
|
|
16
|
+
- @systemfsoftware/effect-cell-types@7.0.0
|
|
17
|
+
|
|
3
18
|
## 5.0.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import * as FileSystem from "effect/FileSystem";
|
|
|
5
5
|
import * as Layer from "effect/Layer";
|
|
6
6
|
import * as Path from "effect/Path";
|
|
7
7
|
import * as S from "effect/Schema";
|
|
8
|
-
import { Cell,
|
|
8
|
+
import { Cell, Workflow } from "@systemfsoftware/effect-cell-types";
|
|
9
9
|
import { Mutant, errorToString, normalizeFileName } from "@systemfsoftware/stryker-js/Mutant";
|
|
10
10
|
import { Predicate, Result, Schema } from "effect";
|
|
11
11
|
import * as HashMap from "effect/HashMap";
|
|
@@ -42,20 +42,20 @@ var typescript_checker_options_default = {
|
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/CheckMutants.schema.ts
|
|
44
44
|
/** A file name the node map can be keyed by: non-empty, and naming an extension. */
|
|
45
|
-
const SourceFileSchema =
|
|
46
|
-
const DiagnosticSchema =
|
|
47
|
-
fileName:
|
|
48
|
-
text:
|
|
45
|
+
const SourceFileSchema = S.NonEmptyString.pipe(S.check(S.isPattern(/\.[^./\\]+$/)));
|
|
46
|
+
const DiagnosticSchema = S.Struct({
|
|
47
|
+
fileName: S.optional(SourceFileSchema),
|
|
48
|
+
text: S.String
|
|
49
49
|
});
|
|
50
|
-
const TSFileNodeSchema =
|
|
50
|
+
const TSFileNodeSchema = S.suspend(() => S.Struct({
|
|
51
51
|
fileName: SourceFileSchema,
|
|
52
|
-
parents:
|
|
53
|
-
children:
|
|
54
|
-
}))
|
|
52
|
+
parents: S.Array(TSFileNodeSchema),
|
|
53
|
+
children: S.Array(TSFileNodeSchema)
|
|
54
|
+
}));
|
|
55
55
|
var CheckMutantsInput = class extends S.TaggedClass()("CheckMutantsInput", {
|
|
56
56
|
mutants: S.Array(Mutant),
|
|
57
57
|
diagnostics: S.Array(DiagnosticSchema),
|
|
58
|
-
nodes:
|
|
58
|
+
nodes: S.Record(SourceFileSchema, TSFileNodeSchema)
|
|
59
59
|
}) {};
|
|
60
60
|
//#endregion
|
|
61
61
|
//#region src/check-mutants.workflow.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/stryker-js-typescript-checker",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
|
|
@@ -22,26 +22,26 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"effect": "4.0.0-rc.112",
|
|
24
24
|
"typescript": "^7",
|
|
25
|
-
"@systemfsoftware/effect-cell-types": "^
|
|
26
|
-
"@systemfsoftware/stryker-js": "^3.0.
|
|
25
|
+
"@systemfsoftware/effect-cell-types": "^7.0.1",
|
|
26
|
+
"@systemfsoftware/stryker-js": "^3.0.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@effect/platform-node": "4.0.0-rc.112",
|
|
30
30
|
"@effect/platform-node-shared": "4.0.0-rc.112",
|
|
31
31
|
"@std/jsonc": "npm:@jsr/std__jsonc@^1.0.2",
|
|
32
|
-
"@systemfsoftware/arethetypeswrong-cli": "^
|
|
32
|
+
"@systemfsoftware/arethetypeswrong-cli": "^4.1.0",
|
|
33
33
|
"@types/node": "^24",
|
|
34
34
|
"oxlint": "^1.77.0",
|
|
35
35
|
"rimraf": "^6.1.3",
|
|
36
36
|
"tsdown": "^0.22.14",
|
|
37
37
|
"vitest": "^4",
|
|
38
|
-
"@systemfsoftware/
|
|
39
|
-
"@systemfsoftware/
|
|
40
|
-
"@systemfsoftware/effect-schema-law": "^2.
|
|
41
|
-
"@systemfsoftware/
|
|
42
|
-
"@systemfsoftware/effect-schema-vite": "^2.0.3",
|
|
38
|
+
"@systemfsoftware/all": "^2.0.1",
|
|
39
|
+
"@systemfsoftware/effect-gherkin-spec": "^4.0.2",
|
|
40
|
+
"@systemfsoftware/effect-schema-law": "^2.1.1",
|
|
41
|
+
"@systemfsoftware/effect-schema-vite": "^2.1.1",
|
|
43
42
|
"@systemfsoftware/vitest-config": "^0.1.0",
|
|
44
|
-
"@systemfsoftware/
|
|
43
|
+
"@systemfsoftware/oxlint-config": "^0.1.0",
|
|
44
|
+
"@systemfsoftware/tsconfig": "^1.3.4"
|
|
45
45
|
},
|
|
46
46
|
"inlinedDependencies": {
|
|
47
47
|
"@jsr/std__jsonc": "1.0.2"
|