@systemfsoftware/stryker-js-typescript-checker 1.3.0 → 1.4.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 +49 -0
- package/dist/index.mjs +2 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# @systemfsoftware/stryker-js-typescript-checker
|
|
2
2
|
|
|
3
|
+
## 1.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Plugins are discovered under this scope by default. The `plugins` option now
|
|
8
|
+
defaults to a glob over this scope instead of the original project's, so a
|
|
9
|
+
configuration that relied on the previous default while installing plugins from
|
|
10
|
+
the original project must now list those plugins explicitly. Discovery also no
|
|
11
|
+
longer fails when no matching scope directory is installed: it loads nothing and
|
|
12
|
+
warns.
|
|
13
|
+
|
|
14
|
+
The report's dependency section names the packages of this scope, and the
|
|
15
|
+
report's home link points at this project.
|
|
16
|
+
|
|
17
|
+
- Updated dependencies:
|
|
18
|
+
- @systemfsoftware/stryker-js-util@0.2.0
|
|
19
|
+
|
|
20
|
+
## 1.4.0
|
|
21
|
+
|
|
22
|
+
### Minor Changes
|
|
23
|
+
|
|
24
|
+
- cut over to effect v4 (4.0.0-rc.108): public surface derives from effect types; peers flip effect ^3→^4
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Fail a compile on errors only, not on the tree's standing suggestions
|
|
29
|
+
|
|
30
|
+
The dry run and the per-mutant check counted every diagnostic the program produced, so the Effect language service's suggestions — which the pristine tree carries by design and which surface in `lint:tsgo` and the editor — refused mutation runs outright with a dry-run compile error. Only error-category diagnostics fail a compile now; warnings and suggestions were never compile failures
|
|
31
|
+
|
|
32
|
+
- New version is published through npm trusted publishing, so it carries a provenance attestation you can verify.
|
|
33
|
+
|
|
34
|
+
- Each of these packages now has a README, so its registry page says what the package is, how
|
|
35
|
+
to install it, and what to import or register — previously the page was blank. The lint
|
|
36
|
+
plugins show the configuration line that enables what they recommend.
|
|
37
|
+
|
|
38
|
+
`@systemfsoftware/stryker-js-mutation-report` also carries its licence text
|
|
39
|
+
|
|
40
|
+
- These packages no longer ship their development files. Sources, tests and build, lint and
|
|
41
|
+
test configuration were all included, which broke consumers in one specific way: oxlint
|
|
42
|
+
discovers configuration by walking directories, finds the published `oxlint.config.ts` under
|
|
43
|
+
`node_modules`, and stops with "Stripping types is currently unsupported for files under
|
|
44
|
+
node_modules" before linting anything.
|
|
45
|
+
|
|
46
|
+
The installed package now contains the compiled output, the runtime schema files it reads,
|
|
47
|
+
and the usual manifest, README and licence
|
|
48
|
+
|
|
49
|
+
- Updated dependencies:
|
|
50
|
+
- @systemfsoftware/stryker-js-plugin-api@2.0.0
|
|
51
|
+
|
|
3
52
|
## 1.3.0
|
|
4
53
|
|
|
5
54
|
### Minor Changes
|
package/dist/index.mjs
CHANGED
|
@@ -2,14 +2,14 @@ import { readFileSync } from "fs";
|
|
|
2
2
|
import { PluginKind, Scope, commonTokens, declareFactoryPlugin, tokens } from "@systemfsoftware/stryker-js-plugin-api/plugin";
|
|
3
3
|
import { Result, Schema } from "effect";
|
|
4
4
|
import { EOL } from "os";
|
|
5
|
-
import { split, strykerReportBugUrl } from "@stryker-mutator/util";
|
|
6
5
|
import { CheckStatus } from "@systemfsoftware/stryker-js-plugin-api/check";
|
|
6
|
+
import { split, strykerReportBugUrl } from "@systemfsoftware/stryker-js-util";
|
|
7
7
|
import { API, DiagnosticCategory } from "typescript/unstable/sync";
|
|
8
8
|
import { createRequire } from "module";
|
|
9
9
|
import path from "path";
|
|
10
10
|
import semver from "semver";
|
|
11
11
|
import { SyntaxKind } from "typescript/unstable/ast";
|
|
12
|
-
//#region
|
|
12
|
+
//#region ../../../../../node_modules/.pnpm/@jsr+std__jsonc@1.0.2/node_modules/@jsr/std__jsonc/parse.js
|
|
13
13
|
/**
|
|
14
14
|
* Converts a JSON with Comments (JSONC) string into an object.
|
|
15
15
|
*
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/stryker-js-typescript-checker",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
|
|
7
|
-
"directory": "packages/stryker-js/typescript-checker"
|
|
7
|
+
"directory": "packages/testing/mutation/stryker-js/typescript-checker"
|
|
8
8
|
},
|
|
9
|
-
"homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/stryker-js/typescript-checker#readme",
|
|
9
|
+
"homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/testing/mutation/stryker-js/typescript-checker#readme",
|
|
10
10
|
"bugs": "https://github.com/systemfsoftware/systemfsoftware/issues",
|
|
11
11
|
"description": "TypeScript checker plugin for Stryker — TS7 native",
|
|
12
12
|
"type": "module",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"
|
|
24
|
-
"effect": "4.0.0-rc.108",
|
|
23
|
+
"effect": "4.0.0-rc.111",
|
|
25
24
|
"semver": "^7.7.0",
|
|
26
25
|
"tslib": "~2.8.0",
|
|
27
26
|
"typescript": "^7",
|
|
28
|
-
"@systemfsoftware/stryker-js-plugin-api": "^
|
|
27
|
+
"@systemfsoftware/stryker-js-plugin-api": "^2.2.0",
|
|
28
|
+
"@systemfsoftware/stryker-js-util": "^0.2.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@std/jsonc": "npm:@jsr/std__jsonc@^1.0.2",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"tsdown": "^0.22.14",
|
|
38
38
|
"typed-inject": "~5.0.0",
|
|
39
39
|
"vitest": "^4.1.10",
|
|
40
|
-
"@systemfsoftware/effect-gherkin-spec": "^
|
|
40
|
+
"@systemfsoftware/effect-gherkin-spec": "^2.0.1",
|
|
41
|
+
"@systemfsoftware/oxlint-config": "^0.1.0",
|
|
41
42
|
"@systemfsoftware/vitest-config": "^0.1.0",
|
|
42
|
-
"@systemfsoftware/tsconfig": "^1.3.
|
|
43
|
-
"@systemfsoftware/oxlint-config": "^0.1.0"
|
|
43
|
+
"@systemfsoftware/tsconfig": "^1.3.3"
|
|
44
44
|
},
|
|
45
45
|
"inlinedDependencies": {
|
|
46
46
|
"@jsr/std__jsonc": "1.0.2"
|