@shivaedev/vitest-rerun 0.2.0 → 0.2.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 +10 -0
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/internal/adapters/TimedJsonReporter.js +1 -1
- package/dist/internal/adapters/TimedJsonReporter.js.map +1 -1
- package/dist/internal/attempt.js +1 -1
- package/dist/internal/attempt.js.map +1 -1
- package/package.json +4 -4
- package/src/cli.ts +1 -1
- package/src/internal/adapters/TimedJsonReporter.ts +1 -1
- package/src/internal/attempt.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.1 - 2026-11-01
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Report production imports of the `@effect/platform-node` barrel with module subpaths that avoid loading optional integrations such as redis.
|
|
8
|
+
- Recognize native Effect `catchTags` record keys regardless of the handler body while retaining diagnostics for actual nested component and hook factories.
|
|
9
|
+
- Keep a constant's matching filename valid when the constant becomes private.
|
|
10
|
+
- Name each conflicting fix and format pass's file and line/column range when `quality fix` cannot settle.
|
|
11
|
+
- Use Node platform module subpaths in package runtimes and commands instead of loading the barrel.
|
|
12
|
+
|
|
3
13
|
## 0.2.0 - 2026-10-30
|
|
4
14
|
|
|
5
15
|
### Added
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import process from "node:process";
|
|
3
|
-
import
|
|
3
|
+
import * as NodeServices from "@effect/platform-node/NodeServices";
|
|
4
4
|
import { Effect } from "effect";
|
|
5
5
|
import { main } from "#internal/main.ts";
|
|
6
6
|
process.exitCode = await Effect.runPromise(main(process.argv.slice(2), process.cwd()).pipe(Effect.provide(NodeServices.layer)));
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,YAAY,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,OAAO,CAAC,QAAQ,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as NodeServices from "@effect/platform-node/NodeServices";
|
|
2
2
|
import { Effect } from "effect";
|
|
3
3
|
import { experimental_getRunnerTask, JsonReporter } from "vitest/node";
|
|
4
4
|
import { VitestRerunError } from "#error.ts";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimedJsonReporter.js","sourceRoot":"","sources":["../../../src/internal/adapters/TimedJsonReporter.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TimedJsonReporter.js","sourceRoot":"","sources":["../../../src/internal/adapters/TimedJsonReporter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,0BAA0B,EAAE,YAAY,EAAmB,MAAM,aAAa,CAAC;AACxF,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,MAAM,OAAO,iBAAkB,SAAQ,YAAY;IACzC,KAAK,CAAC,YAAY,CAAC,OAA8B;QACzD,MAAM,KAAK,CAAC,YAAY,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC;QACrC,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACxB,MAAM,IAAI,gBAAgB,CAAC,EAAE,OAAO,EAAE,2CAA2C,EAAE,CAAC,CAAC;QACtF,CAAC;QACD,MAAM,MAAM,CAAC,UAAU,CACtB,gBAAgB,CACf,IAAI,EACJ,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,QAAQ,IAAI,CAAC,CAAC,CACjF,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAC1C,CAAC;IACH,CAAC;CACD"}
|
package/dist/internal/attempt.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import process from "node:process";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
import
|
|
3
|
+
import * as NodeServices from "@effect/platform-node/NodeServices";
|
|
4
4
|
import { Console, Effect } from "effect";
|
|
5
5
|
import { runAttempt } from "#internal/runAttempt.ts";
|
|
6
6
|
if (fileURLToPath(import.meta.url) === process.argv[1]) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attempt.js","sourceRoot":"","sources":["../../src/internal/attempt.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,
|
|
1
|
+
{"version":3,"file":"attempt.js","sourceRoot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2
2
|
"name": "@shivaedev/vitest-rerun",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Reruns failed Vitest tests in a fresh process and reports which tests were flaky",
|
|
5
5
|
"homepage": "https://github.com/ShivaeDev/platform/tree/main/packages/vitest-rerun#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@effect/platform-node": "4.0.6",
|
|
47
47
|
"@effect/platform-node-shared": "4.0.6",
|
|
48
48
|
"@effect/vitest": "4.0.6",
|
|
49
|
-
"@shivaedev/quality": "0.
|
|
50
|
-
"@shivaedev/test": "0.
|
|
51
|
-
"@shivaedev/test-story": "0.
|
|
49
|
+
"@shivaedev/quality": "0.54.0",
|
|
50
|
+
"@shivaedev/test": "0.12.0",
|
|
51
|
+
"@shivaedev/test-story": "0.32.0",
|
|
52
52
|
"@types/node": "24.19.2",
|
|
53
53
|
"@vitest/coverage-v8": "5.0.5",
|
|
54
54
|
"effect": "4.0.6",
|
package/src/cli.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as NodeServices from "@effect/platform-node/NodeServices";
|
|
2
2
|
import { Effect } from "effect";
|
|
3
3
|
import { experimental_getRunnerTask, JsonReporter, type TestModule } from "vitest/node";
|
|
4
4
|
import { VitestRerunError } from "#error.ts";
|
package/src/internal/attempt.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import process from "node:process";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
import
|
|
3
|
+
import * as NodeServices from "@effect/platform-node/NodeServices";
|
|
4
4
|
import { Console, Effect } from "effect";
|
|
5
5
|
import { runAttempt } from "#internal/runAttempt.ts";
|
|
6
6
|
|