Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Migrate tests to vite-plus test APIs (#2964)

Julius Marmingef60def20544c
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index 75fc86203..0795c48a6 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -27,8 +27,7 @@
"@types/node": "catalog:",
"cross-env": "^10.1.0",
"electron-builder": "26.8.1",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
},
"productName": "T3 Code (Alpha)"
}
diff --git a/apps/desktop/src/ipc/methods/cloudAuth.test.ts b/apps/desktop/src/ipc/methods/cloudAuth.test.ts
index 741877157..c0e4d8b26 100644
--- a/apps/desktop/src/ipc/methods/cloudAuth.test.ts
+++ b/apps/desktop/src/ipc/methods/cloudAuth.test.ts
@@ -2,7 +2,7 @@ import { assert, describe, it } from "@effect/vitest";
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
-import { afterEach } from "vitest";
+import { afterEach } from "vite-plus/test";
import { fetchCloudAuth, validateClerkFrontendApiUrl } from "./cloudAuth.ts";
diff --git a/apps/mobile/src/features/agent-awareness/liveActivityPreferences.test.ts b/apps/mobile/src/features/agent-awareness/liveActivityPreferences.test.ts
index e10876796..f06868ed7 100644
--- a/apps/mobile/src/features/agent-awareness/liveActivityPreferences.test.ts
+++ b/apps/mobile/src/features/agent-awareness/liveActivityPreferences.test.ts
@@ -1,4 +1,4 @@
-import { beforeEach, vi } from "vitest";
+import { beforeEach, vi } from "vite-plus/test";
import { describe, expect, it } from "@effect/vitest";
import * as Effect from "effect/Effect";
import type { EnvironmentId } from "@t3tools/contracts";
diff --git a/apps/mobile/src/features/agent-awareness/notificationNavigation.test.ts b/apps/mobile/src/features/agent-awareness/notificationNavigation.test.ts
index 361641557..6d7c247df 100644
--- a/apps/mobile/src/features/agent-awareness/notificationNavigation.test.ts
+++ b/apps/mobile/src/features/agent-awareness/notificationNavigation.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it } from "vitest";
+import { describe, expect, it } from "vite-plus/test";
import {
extractAgentNotificationDeepLink,
diff --git a/apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts b/apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts
index 616aab1cb..346680df8 100644
--- a/apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts
+++ b/apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts
@@ -2,7 +2,7 @@
import * as NodeCrypto from "node:crypto";
-import { beforeEach, vi } from "vitest";
+import { beforeEach, vi } from "vite-plus/test";
import { describe, expect, it } from "@effect/vitest";
import Constants from "expo-constants";
import * as Effect from "effect/Effect";
diff --git a/apps/mobile/src/features/cloud/dpop.test.ts b/apps/mobile/src/features/cloud/dpop.test.ts
index ccab9ac04..8eda21b96 100644
--- a/apps/mobile/src/features/cloud/dpop.test.ts
+++ b/apps/mobile/src/features/cloud/dpop.test.ts
@@ -2,7 +2,7 @@
import * as NodeCrypto from "node:crypto";
-import { vi } from "vitest";
+import { vi } from "vite-plus/test";
import { describe, expect, it } from "@effect/vitest";
import * as Crypto from "effect/Crypto";
import * as Effect from "effect/Effect";
diff --git a/apps/mobile/src/features/cloud/linkEnvironment.test.ts b/apps/mobile/src/features/cloud/linkEnvironment.test.ts
index f99a5addc..16a7a7453 100644
--- a/apps/mobile/src/features/cloud/linkEnvironment.test.ts
+++ b/apps/mobile/src/features/cloud/linkEnvironment.test.ts
@@ -1,4 +1,4 @@
-import { beforeEach, vi } from "vitest";
+import { beforeEach, vi } from "vite-plus/test";
import { describe, expect, it } from "@effect/vitest";
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";
diff --git a/apps/mobile/src/features/cloud/publicConfig.test.ts b/apps/mobile/src/features/cloud/publicConfig.test.ts
index df9aefdc4..ed5567fe3 100644
--- a/apps/mobile/src/features/cloud/publicConfig.test.ts
+++ b/apps/mobile/src/features/cloud/publicConfig.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it, vi } from "vitest";
+import { describe, expect, it, vi } from "vite-plus/test";
import { resolveCloudPublicConfig } from "./publicConfig";
diff --git a/apps/mobile/src/lib/storage.test.ts b/apps/mobile/src/lib/storage.test.ts
index 3522caa15..83ff2db57 100644
--- a/apps/mobile/src/lib/storage.test.ts
+++ b/apps/mobile/src/lib/storage.test.ts
@@ -1,5 +1,5 @@
import { EnvironmentId } from "@t3tools/contracts";
-import { beforeEach, describe, expect, it, vi } from "vitest";
+import { beforeEach, describe, expect, it, vi } from "vite-plus/test";
const mocks = vi.hoisted(() => {
const values = new Map<string, string>();
diff --git a/apps/mobile/src/state/use-remote-environment-registry.test.ts b/apps/mobile/src/state/use-remote-environment-registry.test.ts
index cd3a823af..fc465bbfb 100644
--- a/apps/mobile/src/state/use-remote-environment-registry.test.ts
+++ b/apps/mobile/src/state/use-remote-environment-registry.test.ts
@@ -6,7 +6,7 @@ import {
setManagedRelaySession,
} from "@t3tools/client-runtime";
import * as Effect from "effect/Effect";
-import { beforeEach, vi } from "vitest";
+import { beforeEach, vi } from "vite-plus/test";
const mocks = vi.hoisted(() => {
const environmentConnection = {
diff --git a/apps/mobile/src/widgets/AgentActivity.test.ts b/apps/mobile/src/widgets/AgentActivity.test.ts
index 03ba05283..719e39554 100644
--- a/apps/mobile/src/widgets/AgentActivity.test.ts
+++ b/apps/mobile/src/widgets/AgentActivity.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it, vi } from "vitest";
+import { describe, expect, it, vi } from "vite-plus/test";
vi.mock("@expo/ui/swift-ui", () => ({
HStack: "HStack",
diff --git a/apps/server/package.json b/apps/server/package.json
index 2440caf93..5f4555501 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -42,8 +42,7 @@
"@types/node": "catalog:",
"effect-acp": "workspace:*",
"effect-codex-app-server": "workspace:*",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
},
"engines": {
"node": "^22.16 || ^23.11 || >=24.10"
diff --git a/apps/server/src/auth/dpop.test.ts b/apps/server/src/auth/dpop.test.ts
index 379e77844..76898bc94 100644
--- a/apps/server/src/auth/dpop.test.ts
+++ b/apps/server/src/auth/dpop.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it } from "vitest";
+import { describe, expect, it } from "vite-plus/test";
import * as PlatformError from "effect/PlatformError";
import * as ServerSecretStore from "./ServerSecretStore.ts";
diff --git a/apps/server/src/cloud/ManagedEndpointRuntime.test.ts b/apps/server/src/cloud/ManagedEndpointRuntime.test.ts
index 16cf946cf..9ce33deaa 100644
--- a/apps/server/src/cloud/ManagedEndpointRuntime.test.ts
+++ b/apps/server/src/cloud/ManagedEndpointRuntime.test.ts
@@ -1,5 +1,5 @@
import { describe, expect, it } from "@effect/vitest";
-import { vi } from "vitest";
+import { vi } from "vite-plus/test";
import * as Deferred from "effect/Deferred";
import * as Effect from "effect/Effect";
import * as Fiber from "effect/Fiber";
diff --git a/apps/web/package.json b/apps/web/package.json
index 2d0970531..64c59f0e8 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -62,7 +62,6 @@
"tailwindcss": "^4.0.0",
"vite": "catalog:",
"vite-plus": "catalog:",
- "vitest": "catalog:",
"vitest-browser-react": "^2.0.5"
}
}
diff --git a/apps/web/src/cloud/desktopAuth.test.ts b/apps/web/src/cloud/desktopAuth.test.ts
index 9a9b24451..520130518 100644
--- a/apps/web/src/cloud/desktopAuth.test.ts
+++ b/apps/web/src/cloud/desktopAuth.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it } from "vitest";
+import { describe, expect, it } from "vite-plus/test";
import { resolveDesktopCloudAuthOAuthOptions } from "./desktopAuth";
diff --git a/apps/web/src/cloud/desktopClerkExternalAccounts.test.ts b/apps/web/src/cloud/desktopClerkExternalAccounts.test.ts
index 361b52001..031094b7a 100644
--- a/apps/web/src/cloud/desktopClerkExternalAccounts.test.ts
+++ b/apps/web/src/cloud/desktopClerkExternalAccounts.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it, vi } from "vitest";
+import { describe, expect, it, vi } from "vite-plus/test";
import {
makeDesktopClerkExternalAccountAdapter,
diff --git a/apps/web/src/cloud/dpop.test.ts b/apps/web/src/cloud/dpop.test.ts
index bea52c966..754930d0c 100644
--- a/apps/web/src/cloud/dpop.test.ts
+++ b/apps/web/src/cloud/dpop.test.ts
@@ -1,6 +1,6 @@
import { verifyDpopProof } from "@t3tools/shared/dpop";
import * as Effect from "effect/Effect";
-import { describe, expect, it, vi } from "vitest";
+import { describe, expect, it, vi } from "vite-plus/test";
import { browserCryptoLayer, createBrowserDpopProof, generateBrowserDpopKey } from "./dpop";
diff --git a/apps/web/src/cloud/linkEnvironment.test.ts b/apps/web/src/cloud/linkEnvironment.test.ts
index 6b7143b18..9baae20a6 100644
--- a/apps/web/src/cloud/linkEnvironment.test.ts
+++ b/apps/web/src/cloud/linkEnvironment.test.ts
@@ -1,6 +1,6 @@
import { EnvironmentId } from "@t3tools/contracts";
import { RelayWebClientId } from "@t3tools/contracts/relay";
-import { afterEach, beforeEach, vi } from "vitest";
+import { afterEach, beforeEach, vi } from "vite-plus/test";
import { describe, expect, it } from "@effect/vitest";
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";
diff --git a/apps/web/src/cloud/publicConfig.test.ts b/apps/web/src/cloud/publicConfig.test.ts
index a19814beb..bb188d0b1 100644
--- a/apps/web/src/cloud/publicConfig.test.ts
+++ b/apps/web/src/cloud/publicConfig.test.ts
@@ -1,4 +1,4 @@
-import { afterEach, describe, expect, it, vi } from "vitest";
+import { afterEach, describe, expect, it, vi } from "vite-plus/test";
import { hasCloudPublicConfig } from "./publicConfig.ts";
diff --git a/apps/web/src/cloud/relayClientInstallDialog.test.ts b/apps/web/src/cloud/relayClientInstallDialog.test.ts
index 85f3cbe57..8f2a25bc3 100644
--- a/apps/web/src/cloud/relayClientInstallDialog.test.ts
+++ b/apps/web/src/cloud/relayClientInstallDialog.test.ts
@@ -1,4 +1,4 @@
-import { beforeEach, describe, expect, it } from "vitest";
+import { beforeEach, describe, expect, it } from "vite-plus/test";
import {
completeRelayClientInstallDialogClose,
diff --git a/apps/web/src/components/clerk/DesktopClerkSignIn.browser.tsx b/apps/web/src/components/clerk/DesktopClerkSignIn.browser.tsx
index b3b55c3c3..a5dc52053 100644
--- a/apps/web/src/components/clerk/DesktopClerkSignIn.browser.tsx
+++ b/apps/web/src/components/clerk/DesktopClerkSignIn.browser.tsx
@@ -1,7 +1,7 @@
import "../../index.css";
-import { page, userEvent } from "vitest/browser";
-import { afterEach, describe, expect, it, vi } from "vitest";
+import { page, userEvent } from "vite-plus/test/browser";
+import { afterEach, describe, expect, it, vi } from "vite-plus/test";
import { render } from "vitest-browser-react";
import type { DesktopCloudAuthOAuthOption } from "../../cloud/desktopAuth";
diff --git a/apps/web/src/components/cloud/RelayClientInstallDialog.browser.tsx b/apps/web/src/components/cloud/RelayClientInstallDialog.browser.tsx
index d58b56184..b4bb76359 100644
--- a/apps/web/src/components/cloud/RelayClientInstallDialog.browser.tsx
+++ b/apps/web/src/components/cloud/RelayClientInstallDialog.browser.tsx
@@ -1,7 +1,7 @@
import "../../index.css";
-import { page } from "vitest/browser";
-import { beforeEach, describe, expect, it } from "vitest";
+import { page } from "vite-plus/test/browser";
+import { beforeEach, describe, expect, it } from "vite-plus/test";
import { render } from "vitest-browser-react";
import {
diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json
index f8684c2d0..0e226fc13 100644
--- a/apps/web/tsconfig.json
+++ b/apps/web/tsconfig.json
@@ -8,7 +8,6 @@
"verbatimModuleSyntax": false,
"jsx": "react-jsx",
"lib": ["ES2023", "DOM", "DOM.Iterable"],
- "types": ["vite/client"],
"paths": {
"~/*": ["./src/*"]
},
diff --git a/infra/relay/package.json b/infra/relay/package.json
index 3026ce2a0..4fa7686e7 100644
--- a/infra/relay/package.json
+++ b/infra/relay/package.json
@@ -24,6 +24,7 @@
"@effect/vitest": "catalog:",
"@types/node": "catalog:",
"drizzle-kit": "1.0.0-rc.3",
- "vitest": "catalog:"
+ "vite": "catalog:",
+ "vite-plus": "catalog:"
}
}
diff --git a/infra/relay/scripts/deploy.test.ts b/infra/relay/scripts/deploy.test.ts
index 3adc2468a..b8cb9b583 100644
--- a/infra/relay/scripts/deploy.test.ts
+++ b/infra/relay/scripts/deploy.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it } from "vitest";
+import { describe, expect, it } from "vite-plus/test";
import { hasDeployChanges, reconcileRootEnvRelayUrl } from "./deploy.ts";
diff --git a/infra/relay/src/dbConfig.test.ts b/infra/relay/src/dbConfig.test.ts
index 31a1c0653..e97b29a74 100644
--- a/infra/relay/src/dbConfig.test.ts
+++ b/infra/relay/src/dbConfig.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it } from "vitest";
+import { describe, expect, it } from "vite-plus/test";
import { relayDatabaseMode } from "./dbConfig.ts";
diff --git a/infra/relay/src/deploymentConfig.test.ts b/infra/relay/src/deploymentConfig.test.ts
index b83e750ad..d7940b803 100644
--- a/infra/relay/src/deploymentConfig.test.ts
+++ b/infra/relay/src/deploymentConfig.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it } from "vitest";
+import { describe, expect, it } from "vite-plus/test";
import {
managedEndpointDigestInput,
diff --git a/infra/relay/src/http/Api.test.ts b/infra/relay/src/http/Api.test.ts
index 0f25e4632..9595ce955 100644
--- a/infra/relay/src/http/Api.test.ts
+++ b/infra/relay/src/http/Api.test.ts
@@ -1,6 +1,6 @@
import { createClerkClient, verifyToken } from "@clerk/backend";
import { describe, expect, it } from "@effect/vitest";
-import { vi } from "vitest";
+import { vi } from "vite-plus/test";
import * as Context from "effect/Context";
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";
diff --git a/oxlint-plugin-t3code/package.json b/oxlint-plugin-t3code/package.json
index 6625595ea..4c71d0409 100644
--- a/oxlint-plugin-t3code/package.json
+++ b/oxlint-plugin-t3code/package.json
@@ -14,7 +14,6 @@
"devDependencies": {
"@effect/vitest": "catalog:",
"@types/bun": "catalog:",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
}
}
diff --git a/package.json b/package.json
index 85a231554..caf918ff5 100644
--- a/package.json
+++ b/package.json
@@ -43,10 +43,7 @@
"@oxlint/plugins": "^1.63.0",
"@types/node": "catalog:",
"@typescript/native-preview": "catalog:",
- "@vitest/runner": "catalog:",
- "vite": "catalog:",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
},
"engines": {
"node": "^24.13.1"
diff --git a/packages/client-runtime/package.json b/packages/client-runtime/package.json
index 2ff98fa2a..bf1c1bdc0 100644
--- a/packages/client-runtime/package.json
+++ b/packages/client-runtime/package.json
@@ -24,7 +24,6 @@
},
"devDependencies": {
"@effect/vitest": "catalog:",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
}
}
diff --git a/packages/client-runtime/src/managedRelayState.test.ts b/packages/client-runtime/src/managedRelayState.test.ts
index 382fcae4c..ce58241e7 100644
--- a/packages/client-runtime/src/managedRelayState.test.ts
+++ b/packages/client-runtime/src/managedRelayState.test.ts
@@ -7,7 +7,7 @@ import type {
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";
import { Atom, AtomRegistry } from "effect/unstable/reactivity";
-import { afterEach, describe, expect, it, vi } from "vitest";
+import { afterEach, describe, expect, it, vi } from "vite-plus/test";
import { ManagedRelayClient, type ManagedRelayClientShape } from "./managedRelay.ts";
import {
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 5f2cb0909..92f8bdcac 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -29,7 +29,6 @@
},
"devDependencies": {
"@effect/vitest": "catalog:",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
}
}
diff --git a/packages/contracts/src/relay.test.ts b/packages/contracts/src/relay.test.ts
index 42ce2e196..4ad600953 100644
--- a/packages/contracts/src/relay.test.ts
+++ b/packages/contracts/src/relay.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it } from "vitest";
+import { describe, expect, it } from "vite-plus/test";
import * as OpenApi from "effect/unstable/httpapi/OpenApi";
import { RelayApi } from "./relay.ts";
diff --git a/packages/effect-acp/package.json b/packages/effect-acp/package.json
index 5082bf97b..4455dd460 100644
--- a/packages/effect-acp/package.json
+++ b/packages/effect-acp/package.json
@@ -45,7 +45,6 @@
"@effect/platform-node": "catalog:",
"@effect/vitest": "catalog:",
"@types/node": "catalog:",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
}
}
diff --git a/packages/effect-codex-app-server/package.json b/packages/effect-codex-app-server/package.json
index 7efe6425a..a067976c6 100644
--- a/packages/effect-codex-app-server/package.json
+++ b/packages/effect-codex-app-server/package.json
@@ -38,7 +38,6 @@
"@effect/platform-node": "catalog:",
"@effect/vitest": "catalog:",
"@types/node": "catalog:",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
}
}
diff --git a/packages/shared/package.json b/packages/shared/package.json
index f5407e270..ce5d8a414 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -164,7 +164,6 @@
"@effect/platform-node": "catalog:",
"@effect/vitest": "catalog:",
"@types/node": "catalog:",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
}
}
diff --git a/packages/shared/src/composerTrigger.test.ts b/packages/shared/src/composerTrigger.test.ts
index 99c34a373..3d51d19cf 100644
--- a/packages/shared/src/composerTrigger.test.ts
+++ b/packages/shared/src/composerTrigger.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it } from "vitest";
+import { describe, expect, it } from "vite-plus/test";
import { serializeComposerMentionPath } from "./composerTrigger.ts";
diff --git a/packages/shared/src/oauthScope.test.ts b/packages/shared/src/oauthScope.test.ts
index 7b0033d98..0aa4ef595 100644
--- a/packages/shared/src/oauthScope.test.ts
+++ b/packages/shared/src/oauthScope.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it } from "vitest";
+import { describe, expect, it } from "vite-plus/test";
import { encodeOAuthScope, parseAllowedOAuthScope, parseOAuthScope } from "./oauthScope.ts";
diff --git a/packages/shared/src/relayAuth.test.ts b/packages/shared/src/relayAuth.test.ts
index 0bf9af82e..dc06ce532 100644
--- a/packages/shared/src/relayAuth.test.ts
+++ b/packages/shared/src/relayAuth.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it } from "vitest";
+import { describe, expect, it } from "vite-plus/test";
import {
clerkFrontendApiHostnameFromPublishableKey,
diff --git a/packages/shared/src/relayUrl.test.ts b/packages/shared/src/relayUrl.test.ts
index 23b856866..5127db85d 100644
--- a/packages/shared/src/relayUrl.test.ts
+++ b/packages/shared/src/relayUrl.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, it } from "vitest";
+import { describe, expect, it } from "vite-plus/test";
import { isSecureRelayUrl, normalizeSecureRelayUrl } from "./relayUrl.ts";
diff --git a/packages/ssh/package.json b/packages/ssh/package.json
index 25bd1372c..ed0712e26 100644
--- a/packages/ssh/package.json
+++ b/packages/ssh/package.json
@@ -37,7 +37,6 @@
"@effect/platform-node": "catalog:",
"@effect/vitest": "catalog:",
"@types/node": "catalog:",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
}
}
diff --git a/packages/tailscale/package.json b/packages/tailscale/package.json
index 25cb548d5..f7c358799 100644
--- a/packages/tailscale/package.json
+++ b/packages/tailscale/package.json
@@ -19,7 +19,6 @@
"devDependencies": {
"@effect/vitest": "catalog:",
"@types/node": "catalog:",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
}
}
diff --git a/patches/@[email protected] b/patches/@[email protected]
new file mode 100644
index 000000000..7e4507228
--- /dev/null
+++ b/patches/@[email protected]
@@ -0,0 +1,124 @@
+diff --git a/dist/index.d.ts b/dist/index.d.ts
+index 14b0e5d443f6cf615d81960ca0c4942ffa0ac39b..68eebc89c6288f5bdee5fa4515e94e7fc0d332a0 100644
+--- a/dist/index.d.ts
++++ b/dist/index.d.ts
+@@ -7,11 +7,11 @@ import type * as Layer from "effect/Layer";
+ import type * as Schema from "effect/Schema";
+ import type * as Scope from "effect/Scope";
+ import type * as FC from "effect/testing/FastCheck";
+-import * as V from "vitest";
++import * as V from "vite-plus/test";
+ /**
+ * @since 4.0.0
+ */
+-export * from "vitest";
++export * from "vite-plus/test";
+ /**
+ * @since 4.0.0
+ */
+diff --git a/dist/index.js b/dist/index.js
+index 938c9c817abe9aeddb9ad8c74e099c62cbf5f091..760ecc47fec5e9df2efd75de17c05ba4b0700ec1 100644
+--- a/dist/index.js
++++ b/dist/index.js
+@@ -1,9 +1,9 @@
+-import * as V from "vitest";
++import * as V from "vite-plus/test";
+ import * as internal from "./internal/internal.js";
+ /**
+ * @since 4.0.0
+ */
+-export * from "vitest";
++export * from "vite-plus/test";
+ /**
+ * @since 4.0.0
+ */
+diff --git a/dist/internal/internal.js b/dist/internal/internal.js
+index a30fc1a0dfed2ef215faa9554a151a53443b05d7..405a7cc184e29de5d327c01876963c8a57e80361 100644
+--- a/dist/internal/internal.js
++++ b/dist/internal/internal.js
+@@ -1,7 +1,7 @@
+ /**
+ * @since 4.0.0
+ */
+-import { getCurrentSuite } from "@vitest/runner";
++import { getCurrentSuite } from "vite-plus/test/plugins/runner";
+ import * as Cause from "effect/Cause";
+ import * as Duration from "effect/Duration";
+ import * as Effect from "effect/Effect";
+@@ -15,7 +15,7 @@ import * as Scope from "effect/Scope";
+ import * as fc from "effect/testing/FastCheck";
+ import * as TestClock from "effect/testing/TestClock";
+ import * as TestConsole from "effect/testing/TestConsole";
+-import * as V from "vitest";
++import * as V from "vite-plus/test";
+ const runPromise = /*#__PURE__*/Effect.fnUntraced(function* (effect, _ctx) {
+ const exit = yield* Effect.exit(effect);
+ if (Exit.isFailure(exit)) {
+diff --git a/dist/utils.js b/dist/utils.js
+index cfb2c39847518b491ca5db87ef693947a75e5e53..c044d7a01c2dd9d86e35db3910aed384eca53a3b 100644
+--- a/dist/utils.js
++++ b/dist/utils.js
+@@ -4,7 +4,7 @@ import * as Option from "effect/Option";
+ import * as Predicate from "effect/Predicate";
+ import * as Result from "effect/Result";
+ import * as assert from "node:assert";
+-import { assert as vassert } from "vitest";
++import { assert as vassert } from "vite-plus/test";
+ // ----------------------------
+ // Primitives
+ // ----------------------------
+diff --git a/src/index.ts b/src/index.ts
+index 37886fb6c37a12710f73ccee87a3ff6ca8b2c9fa..2207df940dfae2a346211d09b8d39554e0c00d34 100644
+--- a/src/index.ts
++++ b/src/index.ts
+@@ -7,13 +7,13 @@ import type * as Layer from "effect/Layer"
+ import type * as Schema from "effect/Schema"
+ import type * as Scope from "effect/Scope"
+ import type * as FC from "effect/testing/FastCheck"
+-import * as V from "vitest"
++import * as V from "vite-plus/test"
+ import * as internal from "./internal/internal.ts"
+
+ /**
+ * @since 4.0.0
+ */
+-export * from "vitest"
++export * from "vite-plus/test"
+
+ /**
+ * @since 4.0.0
+diff --git a/src/internal/internal.ts b/src/internal/internal.ts
+index 31c7ea1299a85ad30f2e07f740ba109e42c4ed5d..9db9071c45d27095af21787cbdebb1c57178f167 100644
+--- a/src/internal/internal.ts
++++ b/src/internal/internal.ts
+@@ -2,7 +2,7 @@
+ * @since 4.0.0
+ */
+
+-import { getCurrentSuite } from "@vitest/runner"
++import { getCurrentSuite } from "vite-plus/test/plugins/runner"
+ import * as Cause from "effect/Cause"
+ import * as Duration from "effect/Duration"
+ import * as Effect from "effect/Effect"
+@@ -16,7 +16,7 @@ import * as Scope from "effect/Scope"
+ import * as fc from "effect/testing/FastCheck"
+ import * as TestClock from "effect/testing/TestClock"
+ import * as TestConsole from "effect/testing/TestConsole"
+-import * as V from "vitest"
++import * as V from "vite-plus/test"
+ import type * as Vitest from "../index.ts"
+
+ const runPromise: <E, A>(
+diff --git a/src/utils.ts b/src/utils.ts
+index ad704454c0d2d3a3f0de9cdb8ffcca616d5f859c..dbd050bff6f27e111ebc89a6f8be07767dc164d8 100644
+--- a/src/utils.ts
++++ b/src/utils.ts
+@@ -37,7 +37,7 @@ import * as Option from "effect/Option"
+ import * as Predicate from "effect/Predicate"
+ import * as Result from "effect/Result"
+ import * as assert from "node:assert"
+-import { assert as vassert } from "vitest"
++import { assert as vassert } from "vite-plus/test"
+
+ // ----------------------------
+ // Primitives
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 351c9f0f5..393fd95de 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -27,9 +27,6 @@ catalogs:
'@typescript/native-preview':
specifier: 7.0.0-dev.20260527.2
version: 7.0.0-dev.20260527.2
- '@vitest/runner':
- specifier: ^4.1.8
- version: 4.1.8
jose:
specifier: 6.2.2
version: 6.2.2
@@ -54,15 +51,20 @@ overrides:
'@effect/sql-pg': 4.0.0-beta.78
'@effect/sql-sqlite-bun': 4.0.0-beta.78
'@effect/vitest': 4.0.0-beta.78
+ '@effect/vitest>@vitest/runner': '-'
+ '@effect/vitest>vitest': '-'
'@types/node': 24.12.4
effect: 4.0.0-beta.78
vite: npm:@voidzero-dev/[email protected]
vitest: npm:@voidzero-dev/[email protected]
yaml: ^2.9.0
-packageExtensionsChecksum: sha256-MDpMSm2Rk8Y7FDIbaAgFkT45PZBPV7JBzjTAft+noEM=
+packageExtensionsChecksum: sha256-FV3+2NW/9MFbunJaPsMxvO0LAzyfccoPtPiKoIXAwUU=
patchedDependencies:
+ '@effect/[email protected]':
+ hash: 42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f
+ path: patches/@[email protected]
hash: 8cb08b5bb7051ed9d2dbe46a2c293c5a1e17f1bd6ddf30de27909e18c921ff46
path: patches/@expo%[email protected]
@@ -95,18 +97,9 @@ importers:
'@typescript/native-preview':
specifier: 'catalog:'
version: 7.0.0-dev.20260527.2
- '@vitest/runner':
- specifier: 'catalog:'
- version: 4.1.8
- vite:
- specifier: npm:@voidzero-dev/[email protected]
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
apps/desktop:
dependencies:
@@ -140,7 +133,7 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -152,10 +145,7 @@ importers:
version: 26.8.1([email protected])
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
apps/marketing:
dependencies:
@@ -367,7 +357,7 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
- version: 4.0.0-beta.78([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected](@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])))
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@types/react':
specifier: ~19.2.0
version: 19.2.16
@@ -413,7 +403,7 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@t3tools/contracts':
specifier: workspace:*
version: link:../../packages/contracts
@@ -440,10 +430,7 @@ importers:
version: link:../../packages/effect-codex-app-server
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
apps/web:
dependencies:
@@ -546,7 +533,7 @@ importers:
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@rolldown/plugin-babel':
specifier: ^0.2.0
@@ -588,13 +575,10 @@ importers:
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
vitest-browser-react:
specifier: ^2.0.5
infra/relay:
dependencies:
@@ -615,7 +599,7 @@ importers:
version: link:../../packages/shared
alchemy:
specifier: https://pkg.ing/alchemy/078ff00
- version: https://pkg.ing/alchemy/078ff00(2893e2727a24e1d13d95b8a2c9292454)
+ version: https://pkg.ing/alchemy/078ff00(044daa5923befe9f328e27c790bb74e1)
drizzle-orm:
specifier: 1.0.0-rc.3
version: 1.0.0-rc.3(@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected](@types/[email protected]))([email protected])([email protected])
@@ -631,16 +615,19 @@ importers:
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@types/node':
specifier: 24.12.4
version: 24.12.4
drizzle-kit:
specifier: 1.0.0-rc.3
version: 1.0.0-rc.3
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
+ vite:
+ specifier: npm:@voidzero-dev/[email protected]
+ vite-plus:
+ specifier: 'catalog:'
oxlint-plugin-t3code:
dependencies:
@@ -656,16 +643,13 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@types/bun':
specifier: 'catalog:'
version: 1.3.14
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
packages/client-runtime:
dependencies:
@@ -681,13 +665,10 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
packages/contracts:
dependencies:
@@ -697,13 +678,10 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
packages/effect-acp:
dependencies:
@@ -719,16 +697,13 @@ importers:
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@types/node':
specifier: 24.12.4
version: 24.12.4
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
packages/effect-codex-app-server:
dependencies:
@@ -744,16 +719,13 @@ importers:
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@types/node':
specifier: 24.12.4
version: 24.12.4
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
packages/shared:
dependencies:
@@ -781,16 +753,13 @@ importers:
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@types/node':
specifier: 24.12.4
version: 24.12.4
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
packages/ssh:
dependencies:
@@ -809,16 +778,13 @@ importers:
version: 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@types/node':
specifier: 24.12.4
version: 24.12.4
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
packages/tailscale:
dependencies:
@@ -831,16 +797,13 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@types/node':
specifier: 24.12.4
version: 24.12.4
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
scripts:
dependencies:
@@ -865,16 +828,13 @@ importers:
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.78
+ version: 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@types/bun':
specifier: 'catalog:'
version: 1.3.14
vite-plus:
specifier: 'catalog:'
- vitest:
- specifier: npm:@voidzero-dev/[email protected]
packages:
@@ -1859,7 +1819,6 @@ packages:
resolution: {integrity: sha512-5KQsQYrQ/o7mfOVAxRtNnfD9M0W4OI6yQd0n/m2N7OOLxTdX4FwN4s/X4obykBC7ZEwH+bzMrFJiB4pq9lrQKQ==}
peerDependencies:
effect: 4.0.0-beta.78
- vitest: ^3.0.0 || ^4.0.0
resolution: {integrity: sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==}
@@ -9338,49 +9297,6 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
- resolution: {integrity: sha512-h9bXPmJichP5fLmVQo3PyaGSDE2n3aPuomeAlVRm0JLmt4rY6zmPKd59HYI4LNW8oTK7tlTsuC7l/m7awx9Jcw==}
- engines: {node: ^20.19.0 || >=22.12.0}
- hasBin: true
- peerDependencies:
- '@types/node': 24.12.4
- '@vitejs/devtools': ^0.1.18
- esbuild: ^0.27.0 || ^0.28.0
- jiti: '>=1.21.0'
- less: ^4.0.0
- sass: ^1.70.0
- sass-embedded: ^1.70.0
- stylus: '>=0.54.8'
- sugarss: ^5.0.0
- terser: ^5.16.0
- tsx: ^4.8.1
- yaml: ^2.9.0
- peerDependenciesMeta:
- '@types/node':
- optional: true
- '@vitejs/devtools':
- optional: true
- esbuild:
- optional: true
- jiti:
- optional: true
- less:
- optional: true
- sass:
- optional: true
- sass-embedded:
- optional: true
- stylus:
- optional: true
- sugarss:
- optional: true
- terser:
- optional: true
- tsx:
- optional: true
- yaml:
- optional: true
-
resolution: {integrity: sha512-ub4okH7Z5KLjb6hDyjqrGXqWtWvoYdU3IGm/NorpgHncKoLTCfRIbvlhBm7r0YstIaQRYlp4yEbFqDcKSzXSSg==}
peerDependencies:
@@ -10888,13 +10804,13 @@ snapshots:
'@effect/platform-bun': 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])
'@effect/platform-node': 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
- '@distilled.cloud/[email protected](e1c60c8d0262d512ec1a168411e7f1a2)':
+ '@distilled.cloud/[email protected](874b2206c1318ea354f257cb5515510e)':
dependencies:
'@distilled.cloud/cloudflare': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/cloudflare-rolldown-plugin': 0.10.5([email protected])([email protected])
'@distilled.cloud/cloudflare-runtime': 0.10.5(@distilled.cloud/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)))(@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected]))([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
optionalDependencies:
'@effect/platform-bun': 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])
'@effect/platform-node': 4.0.0-beta.78([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected])
@@ -11046,20 +10962,9 @@ snapshots:
'@effect/tsgo-win32-arm64': 0.11.4
'@effect/tsgo-win32-x64': 0.11.4
+ '@effect/[email protected](patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))':
dependencies:
effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
-
- dependencies:
- effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
-
- dependencies:
- effect: 4.0.0-beta.78(patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)
dependencies:
@@ -13739,14 +13644,14 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.1.0
dependencies:
'@vitest/spy': 4.1.8
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
msw: 2.12.11(@types/[email protected])([email protected])
'@vitest/[email protected]':
dependencies:
@@ -13806,7 +13711,7 @@ snapshots:
'@voidzero-dev/[email protected]':
optional: true
dependencies:
'@standard-schema/spec': 1.1.0
'@types/chai': 5.2.3
@@ -13820,7 +13725,7 @@ snapshots:
tinybench: 2.9.0
tinyexec: 1.2.4
tinyglobby: 0.2.17
optionalDependencies:
'@types/node': 24.12.4
@@ -13962,7 +13867,7 @@ snapshots:
json-schema-traverse: 1.0.0
require-from-string: 2.0.2
- alchemy@https://pkg.ing/alchemy/078ff00(2893e2727a24e1d13d95b8a2c9292454):
+ alchemy@https://pkg.ing/alchemy/078ff00(044daa5923befe9f328e27c790bb74e1):
dependencies:
'@alchemy.run/node-utils': 0.0.4
'@aws-sdk/credential-providers': 3.1062.0
@@ -13972,11 +13877,11 @@ snapshots:
'@distilled.cloud/cloudflare': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/cloudflare-rolldown-plugin': 0.10.5([email protected])([email protected])
'@distilled.cloud/cloudflare-runtime': 0.10.5(@distilled.cloud/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)))(@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected]))(@effect/[email protected]([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected])([email protected]))([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
- '@distilled.cloud/cloudflare-vite-plugin': 0.10.5(e1c60c8d0262d512ec1a168411e7f1a2)
+ '@distilled.cloud/cloudflare-vite-plugin': 0.10.5(874b2206c1318ea354f257cb5515510e)
'@distilled.cloud/core': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/neon': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@distilled.cloud/planetscale': 0.23.1([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
+ '@effect/vitest': 4.0.0-beta.78(patch_hash=42b87cc47e70d74e62496e7a8261b3fd298ecad4464d209348ab04b96f853a5f)([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
'@libsql/client': 0.17.3([email protected])([email protected])
'@octokit/rest': 22.0.1
'@smithy/node-config-provider': 4.4.6
@@ -14006,7 +13911,7 @@ snapshots:
'@effect/sql-pg': 4.0.0-beta.78([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))
drizzle-kit: 1.0.0-rc.3
drizzle-orm: 1.0.0-rc.3(@cloudflare/[email protected])(@effect/[email protected]([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754)))(@libsql/[email protected]([email protected])([email protected]))([email protected])([email protected](patch_hash=883249d8efbb462e928e21fefef96027b66aec50751178cafdce45f08eee3754))([email protected](@types/[email protected]))([email protected])([email protected])
transitivePeerDependencies:
- '@types/node'
@@ -14015,7 +13920,6 @@ snapshots:
- pg-native
- react-devtools-core
- utf-8-validate
- - vitest
- workerd
@@ -17464,32 +17368,7 @@ snapshots:
- dependencies:
- tinypool: 2.1.0
- optionalDependencies:
- '@oxfmt/binding-android-arm-eabi': 0.52.0
- '@oxfmt/binding-android-arm64': 0.52.0
- '@oxfmt/binding-darwin-arm64': 0.52.0
- '@oxfmt/binding-darwin-x64': 0.52.0
- '@oxfmt/binding-freebsd-x64': 0.52.0
- '@oxfmt/binding-linux-arm-gnueabihf': 0.52.0
- '@oxfmt/binding-linux-arm-musleabihf': 0.52.0
- '@oxfmt/binding-linux-arm64-gnu': 0.52.0
- '@oxfmt/binding-linux-arm64-musl': 0.52.0
- '@oxfmt/binding-linux-ppc64-gnu': 0.52.0
- '@oxfmt/binding-linux-riscv64-gnu': 0.52.0
- '@oxfmt/binding-linux-riscv64-musl': 0.52.0
- '@oxfmt/binding-linux-s390x-gnu': 0.52.0
- '@oxfmt/binding-linux-x64-gnu': 0.52.0
- '@oxfmt/binding-linux-x64-musl': 0.52.0
- '@oxfmt/binding-openharmony-arm64': 0.52.0
- '@oxfmt/binding-win32-arm64-msvc': 0.52.0
- '@oxfmt/binding-win32-ia32-msvc': 0.52.0
- '@oxfmt/binding-win32-x64-msvc': 0.52.0
-
dependencies:
tinypool: 2.1.0
optionalDependencies:
@@ -17512,7 +17391,7 @@ snapshots:
'@oxfmt/binding-win32-arm64-msvc': 0.52.0
'@oxfmt/binding-win32-ia32-msvc': 0.52.0
'@oxfmt/binding-win32-x64-msvc': 0.52.0
optionalDependencies:
@@ -17523,7 +17402,7 @@ snapshots:
'@oxlint-tsgolint/win32-arm64': 0.23.0
'@oxlint-tsgolint/win32-x64': 0.23.0
optionalDependencies:
'@oxlint/binding-android-arm-eabi': 1.67.0
'@oxlint/binding-android-arm64': 1.67.0
@@ -17545,31 +17424,7 @@ snapshots:
'@oxlint/binding-win32-ia32-msvc': 1.67.0
'@oxlint/binding-win32-x64-msvc': 1.67.0
oxlint-tsgolint: 0.23.0
-
- optionalDependencies:
- '@oxlint/binding-android-arm-eabi': 1.67.0
- '@oxlint/binding-android-arm64': 1.67.0
- '@oxlint/binding-darwin-arm64': 1.67.0
- '@oxlint/binding-darwin-x64': 1.67.0
- '@oxlint/binding-freebsd-x64': 1.67.0
- '@oxlint/binding-linux-arm-gnueabihf': 1.67.0
- '@oxlint/binding-linux-arm-musleabihf': 1.67.0
- '@oxlint/binding-linux-arm64-gnu': 1.67.0
- '@oxlint/binding-linux-arm64-musl': 1.67.0
- '@oxlint/binding-linux-ppc64-gnu': 1.67.0
- '@oxlint/binding-linux-riscv64-gnu': 1.67.0
- '@oxlint/binding-linux-riscv64-musl': 1.67.0
- '@oxlint/binding-linux-s390x-gnu': 1.67.0
- '@oxlint/binding-linux-x64-gnu': 1.67.0
- '@oxlint/binding-linux-x64-musl': 1.67.0
- '@oxlint/binding-openharmony-arm64': 1.67.0
- '@oxlint/binding-win32-arm64-msvc': 1.67.0
- '@oxlint/binding-win32-ia32-msvc': 1.67.0
- '@oxlint/binding-win32-x64-msvc': 1.67.0
- oxlint-tsgolint: 0.23.0
@@ -19182,65 +19037,16 @@ snapshots:
'@types/unist': 3.0.3
vfile-message: 4.0.3
dependencies:
'@oxc-project/types': 0.133.0
'@oxlint/plugins': 1.61.0
- oxlint-tsgolint: 0.23.0
- optionalDependencies:
- '@voidzero-dev/vite-plus-darwin-arm64': 0.1.24
- '@voidzero-dev/vite-plus-darwin-x64': 0.1.24
- '@voidzero-dev/vite-plus-linux-arm64-gnu': 0.1.24
- '@voidzero-dev/vite-plus-linux-arm64-musl': 0.1.24
- '@voidzero-dev/vite-plus-linux-x64-gnu': 0.1.24
- '@voidzero-dev/vite-plus-linux-x64-musl': 0.1.24
- '@voidzero-dev/vite-plus-win32-arm64-msvc': 0.1.24
- '@voidzero-dev/vite-plus-win32-x64-msvc': 0.1.24
- transitivePeerDependencies:
- - '@arethetypeswrong/core'
- - '@edge-runtime/vm'
- - '@opentelemetry/api'
- - '@tsdown/css'
- - '@tsdown/exe'
- - '@types/node'
- - '@vitejs/devtools'
- - '@vitest/coverage-istanbul'
- - '@vitest/coverage-v8'
- - '@vitest/ui'
- - bufferutil
- - esbuild
- - happy-dom
- - jiti
- - jsdom
- - less
- - publint
- - sass
- - sass-embedded
- - stylus
- - sugarss
- - svelte
- - terser
- - tsx
- - typescript
- - unplugin-unused
- - unrun
- - utf-8-validate
- - vite
- - yaml
-
- dependencies:
- '@oxc-project/types': 0.133.0
- '@oxlint/plugins': 1.61.0
oxlint-tsgolint: 0.23.0
optionalDependencies:
'@voidzero-dev/vite-plus-darwin-arm64': 0.1.24
'@voidzero-dev/vite-plus-darwin-x64': 0.1.24
@@ -19279,41 +19085,25 @@ snapshots:
- unplugin-unused
- unrun
- utf-8-validate
- - vite
- yaml
- dependencies:
- lightningcss: 1.32.0
- picomatch: 4.0.4
- postcss: 8.5.15
- rolldown: 1.0.3
- tinyglobby: 0.2.17
- optionalDependencies:
- '@types/node': 24.12.4
- esbuild: 0.27.7
- fsevents: 2.3.3
- jiti: 2.7.0
- terser: 5.48.0
- yaml: 2.9.0
-
optionalDependencies:
dependencies:
react: 19.2.6
react-dom: 19.2.6([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
'@vitest/expect': 4.1.8
'@vitest/pretty-format': 4.1.8
'@vitest/runner': 4.1.8
'@vitest/snapshot': 4.1.8
@@ -19330,7 +19120,7 @@ snapshots:
tinyexec: 1.2.4
tinyglobby: 0.2.17
tinyrainbow: 3.1.0
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 24.12.4
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 49fe6c2c4..ac001acc9 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -29,7 +29,7 @@ catalog:
"@noble/curves": 1.9.1
"@noble/hashes": 1.8.0
"@pierre/diffs": 1.1.20
- "@vitest/runner": ^4.1.8
+ "@vitest/runner": 4.1.8
"@types/bun": ^1.3.11
"@types/node": 24.12.4
"@typescript/native-preview": 7.0.0-dev.20260527.2
@@ -56,6 +56,8 @@ overrides:
"@effect/sql-pg": "catalog:"
"@effect/sql-sqlite-bun": "catalog:"
"@effect/vitest": "catalog:"
+ "@effect/vitest>@vitest/runner": "-"
+ "@effect/vitest>vitest": "-"
"@types/node": "catalog:"
effect: "catalog:"
vite: "catalog:"
@@ -71,8 +73,15 @@ peerDependencyRules:
packageExtensions:
"@effect/vitest@*":
dependencies:
- "@vitest/runner": "catalog:"
+ vite-plus: "catalog:"
+ peerDependenciesMeta:
+ vitest:
+ optional: true
+ "vite-plus@*":
+ dependencies:
+ vite: "catalog:"
patchedDependencies:
"@expo/[email protected]": patches/@expo%[email protected]
"@pierre/[email protected]": patches/@pierre%[email protected]
diff --git a/scripts/lib/public-config.test.ts b/scripts/lib/public-config.test.ts
index 52eaf4319..369fc4e1d 100644
--- a/scripts/lib/public-config.test.ts
+++ b/scripts/lib/public-config.test.ts
@@ -2,7 +2,7 @@
import { mkdtempSync, rmSync, writeFileSync } from "node:fs";
import { tmpdir } from "node:os";
import { join } from "node:path";
-import { afterEach, describe, expect, it } from "vitest";
+import { afterEach, describe, expect, it } from "vite-plus/test";
import { loadRepoEnv, resolvePublicConfig } from "./public-config.ts";
diff --git a/scripts/package.json b/scripts/package.json
index e4420bd80..7a01e5e34 100644
--- a/scripts/package.json
+++ b/scripts/package.json
@@ -17,7 +17,6 @@
"devDependencies": {
"@effect/vitest": "catalog:",
"@types/bun": "catalog:",
- "vite-plus": "catalog:",
- "vitest": "catalog:"
+ "vite-plus": "catalog:"
}
}
diff --git a/vite.config.ts b/vite.config.ts
index 253972fca..98e1227da 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -22,6 +22,7 @@ export default defineConfig({
".reference",
".repos/**",
".plans",
+ ".alchemy",
"dist",
"dist-electron",
"node_modules",