@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 03:37 UTC

main
patch 120 lines 3.91 KB
Raw
1 diff --git a/dist/index.d.ts b/dist/index.d.ts
2 index 0db951b..d6b6a6b 100644
3 --- a/dist/index.d.ts
4 +++ b/dist/index.d.ts
5 @@ -10,14 +10,14 @@ import type * as Effect from "effect/Effect";
6 import type * as Layer from "effect/Layer";
7 import type * as Schema from "effect/Schema";
8 import type * as Scope from "effect/Scope";
9 -import type * as V from "vitest";
10 +import type * as V from "vite-plus/test";
11 /**
12 * Re-exports the `vitest` API unchanged.
13 *
14 * @stability unstable
15 * @since 4.0.0
16 */
17 -export * from "vitest";
18 +export * from "vite-plus/test";
19 /**
20 * Vitest test API without additional fixtures.
21 *
22 diff --git a/dist/index.js b/dist/index.js
23 index d10d1e7..6839558 100644
24 --- a/dist/index.js
25 +++ b/dist/index.js
26 @@ -5,7 +5,7 @@ import * as internal from "./internal/internal.js";
27 * @stability unstable
28 * @since 4.0.0
29 */
30 -export * from "vitest";
31 +export * from "vite-plus/test";
32 /**
33 * Invokes the Effect Vitest equality-tester registration hook.
34 *
35 diff --git a/dist/internal/internal.js b/dist/internal/internal.js
36 index 6c1b1c1..cdc3b26 100644
37 --- a/dist/internal/internal.js
38 +++ b/dist/internal/internal.js
39 @@ -13,7 +13,7 @@ import * as Schedule from "effect/Schedule";
40 import * as Scope from "effect/Scope";
41 import * as TestClock from "effect/testing/TestClock";
42 import * as TestConsole from "effect/testing/TestConsole";
43 -import * as V from "vitest";
44 +import * as V from "vite-plus/test";
45 const getCurrentSuite = V.TestRunner.getCurrentSuite;
46 const runPromise = (effect, ctx) => Effect.runPromise(
47 // Only the test is interruptible: once the signal aborts, the fiber stops
48 diff --git a/dist/utils.js b/dist/utils.js
49 index b97edbe..7dfd64a 100644
50 --- a/dist/utils.js
51 +++ b/dist/utils.js
52 @@ -4,7 +4,7 @@ import * as Option from "effect/Option";
53 import * as Predicate from "effect/Predicate";
54 import * as Result from "effect/Result";
55 import * as assert from "node:assert";
56 -import { assert as vassert } from "vitest";
57 +import { assert as vassert } from "vite-plus/test";
58 // ----------------------------
59 // Primitives
60 // ----------------------------
61 diff --git a/package.json b/package.json
62 index 068e75e..d14a80e 100644
63 --- a/package.json
64 +++ b/package.json
65 @@ -37,7 +37,6 @@
66 "provenance": true
67 },
68 "peerDependencies": {
69 - "vitest": ">=5.0.0 <6.0.0",
70 "effect": "^4.1.2"
71 },
72 "devDependencies": {
73 diff --git a/src/index.ts b/src/index.ts
74 index cb3bf6f..8024206 100644
75 --- a/src/index.ts
76 +++ b/src/index.ts
77 @@ -10,7 +10,7 @@ import type * as Effect from "effect/Effect"
78 import type * as Layer from "effect/Layer"
79 import type * as Schema from "effect/Schema"
80 import type * as Scope from "effect/Scope"
81 -import type * as V from "vitest"
82 +import type * as V from "vite-plus/test"
83 import * as internal from "./internal/internal.ts"
84
85 /**
86 @@ -19,7 +19,7 @@ import * as internal from "./internal/internal.ts"
87 * @stability unstable
88 * @since 4.0.0
89 */
90 -export * from "vitest"
91 +export * from "vite-plus/test"
92
93 /**
94 * Vitest test API without additional fixtures.
95 diff --git a/src/internal/internal.ts b/src/internal/internal.ts
96 index e6ab75a..3b938a4 100644
97 --- a/src/internal/internal.ts
98 +++ b/src/internal/internal.ts
99 @@ -15,7 +15,7 @@ import type * as Schema from "effect/Schema"
100 import * as Scope from "effect/Scope"
101 import * as TestClock from "effect/testing/TestClock"
102 import * as TestConsole from "effect/testing/TestConsole"
103 -import * as V from "vitest"
104 +import * as V from "vite-plus/test"
105 import type * as Vitest from "../index.ts"
106
107 const getCurrentSuite = V.TestRunner.getCurrentSuite
108 diff --git a/src/utils.ts b/src/utils.ts
109 index 4473632..2d04404 100644
110 --- a/src/utils.ts
111 +++ b/src/utils.ts
112 @@ -17,7 +17,7 @@ import * as Option from "effect/Option"
113 import * as Predicate from "effect/Predicate"
114 import * as Result from "effect/Result"
115 import * as assert from "node:assert"
116 -import { assert as vassert } from "vitest"
117 +import { assert as vassert } from "vite-plus/test"
118
119 // ----------------------------
120 // Primitives