mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-21 22:01:49 +00:00
Configure lefthook formatter checks (#231)
* Add lefthook formatter checks * Fix SDK mode hydration * Stabilize SDK mode integration test
This commit is contained in:
parent
0471214d65
commit
d2346bafb3
282 changed files with 5840 additions and 8399 deletions
|
|
@ -34,11 +34,8 @@ export interface ActorSqliteDbOptions<TSchema extends Record<string, unknown>> {
|
|||
baseDir?: string;
|
||||
}
|
||||
|
||||
export function actorSqliteDb<TSchema extends Record<string, unknown>>(
|
||||
options: ActorSqliteDbOptions<TSchema>
|
||||
): DatabaseProvider<any & RawAccess> {
|
||||
const isBunRuntime =
|
||||
typeof (globalThis as any).Bun !== "undefined" && typeof (process as any)?.versions?.bun === "string";
|
||||
export function actorSqliteDb<TSchema extends Record<string, unknown>>(options: ActorSqliteDbOptions<TSchema>): DatabaseProvider<any & RawAccess> {
|
||||
const isBunRuntime = typeof (globalThis as any).Bun !== "undefined" && typeof (process as any)?.versions?.bun === "string";
|
||||
|
||||
// Backend tests run in a Node-ish Vitest environment where `bun:sqlite` and
|
||||
// Bun's sqlite-backed Drizzle driver are not supported.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue