testing-conventions 0.0.82 → 0.0.84

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.
@@ -19,6 +19,13 @@ export async function runStryker(options = {}) {
19
19
  const cliOptions = {
20
20
  testRunner: 'vitest',
21
21
  plugins: [vitestRunnerPlugin],
22
+ // Stryker runs in place: mutants are applied to the project's real tree (backed up under
23
+ // .stryker-tmp, restored at run end) rather than to a sandbox copy, so everything the run
24
+ // touches resolves through the project's own node_modules. Stryker's ts-config
25
+ // preprocessor rewrites sandbox copies by importing `typescript` from
26
+ // @stryker-mutator/core's location — absent from this package's isolated production
27
+ // install — and stays out of an in-place run entirely.
28
+ inPlace: true,
22
29
  // Results come from runMutationTest()'s return value, so no file/stdout reporter is needed.
23
30
  reporters: [],
24
31
  ...(options.mutate ? { mutate: options.mutate } : {}),
@@ -1 +1 @@
1
- {"version":3,"file":"run-stryker.js","sourceRoot":"","sources":["../../src/mutation/run-stryker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,OAAO,EAAE,YAAY,EAAyB,MAAM,oBAAoB,CAAC;AAiBzE,8FAA8F;AAC9F,6FAA6F;AAC7F,6FAA6F;AAC7F,+FAA+F;AAC/F,8FAA8F;AAC9F,MAAM,kBAAkB,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;AAEpG;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,UAA6B,EAAE;IAC9D,MAAM,UAAU,GAA0B;QACxC,UAAU,EAAE,QAAQ;QACpB,OAAO,EAAE,CAAC,kBAAkB,CAAC;QAC7B,4FAA4F;QAC5F,SAAS,EAAE,EAAE;QACb,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CA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AAsE;QACtE,oFAAoF;QACpF,uDAAuD;QACvD,OAAO,EAAE,IAAI;QACb,4FAA4F;QAC5F,SAAS,EAAE,EAAE;QACb,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACrD,GAAG,CAAC,OAAO,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;KACnF,CAAC;IACF,MAAM,OAAO,GAAG,MAAM,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IAChE,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAClC,OAAO,OAAO;SACX,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;SAClD,MAAM,CAAC,CAAC,MAAM,EAA8B,EAAE,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC;AACrE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testing-conventions",
3
- "version": "0.0.82",
3
+ "version": "0.0.84",
4
4
  "description": "Enforce testing conventions in libraries (Python, TypeScript, and Rust).",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/thekevinscott/testing-conventions",
@@ -43,11 +43,11 @@
43
43
  }
44
44
  },
45
45
  "optionalDependencies": {
46
- "@testing-conventions/x86_64-unknown-linux-gnu": "0.0.82",
47
- "@testing-conventions/aarch64-unknown-linux-gnu": "0.0.82",
48
- "@testing-conventions/x86_64-apple-darwin": "0.0.82",
49
- "@testing-conventions/aarch64-apple-darwin": "0.0.82",
50
- "@testing-conventions/x86_64-pc-windows-msvc": "0.0.82"
46
+ "@testing-conventions/x86_64-unknown-linux-gnu": "0.0.84",
47
+ "@testing-conventions/aarch64-unknown-linux-gnu": "0.0.84",
48
+ "@testing-conventions/x86_64-apple-darwin": "0.0.84",
49
+ "@testing-conventions/aarch64-apple-darwin": "0.0.84",
50
+ "@testing-conventions/x86_64-pc-windows-msvc": "0.0.84"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@stryker-mutator/api": "^9.6.0",