From eb1496ad0af3f3367aece41860cbed6dc4601c45 Mon Sep 17 00:00:00 2001 From: Shishant Biswas Date: Thu, 1 Oct 2026 20:08:13 +0530 Subject: [PATCH] removed lockfile --- app/package.json | 4 ++-- app/src/ui/client/BkndProvider.tsx | 2 +- app/tsconfig.json | 14 ++++++++++++-- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/app/package.json b/app/package.json index aedc873a..f5f2ccbd 100644 --- a/app/package.json +++ b/app/package.json @@ -3,7 +3,7 @@ "type": "module", "sideEffects": false, "bin": "./dist/cli/index.js", - "version": "0.21.0-rc.1", + "version": "0.21.0-rc.3", "description": "Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.", "homepage": "https://bknd.io", "repository": { @@ -88,7 +88,7 @@ "@libsql/client": "^0.15.15", "@mantine/modals": "^7.17.1", "@mantine/notifications": "^7.17.1", - "@playwright/test": "^1.56.1", + "@playwright/test": "^1.63.0", "@rjsf/core": "5.22.2", "@rjsf/utils": "5.22.0", "@standard-schema/spec": "^1.0.0", diff --git a/app/src/ui/client/BkndProvider.tsx b/app/src/ui/client/BkndProvider.tsx index 056e52d1..463db053 100644 --- a/app/src/ui/client/BkndProvider.tsx +++ b/app/src/ui/client/BkndProvider.tsx @@ -182,7 +182,7 @@ export function useBknd({ withSecrets }: { withSecrets?: boolean } = {}): BkndCo export function useBkndOptions(): BkndAdminProps["config"] { const ctx = useContext(BkndContext); return ( - ctx.options ?? { + ctx?.options ?? { basepath: "/", } ); diff --git a/app/tsconfig.json b/app/tsconfig.json index ed133995..8ce1b6c3 100644 --- a/app/tsconfig.json +++ b/app/tsconfig.json @@ -1,5 +1,5 @@ { - "compilerOptions": { +"compilerOptions": { "composite": false, "incremental": true, "module": "esnext", @@ -35,7 +35,17 @@ "bknd/adapter/*": ["./src/adapter/*/index.ts"], "bknd/client": ["./src/ui/client/index.ts"], "bknd/modes": ["./src/modes/index.ts"], - "bknd/elements": ["./src/ui/elements/index.ts"] + "bknd/elements": ["./src/ui/elements/index.ts"], + "core": ["./src/core"], + "auth": ["./src/auth"], + "data": ["./src/data"], + "media": ["./src/media"], + "modules": ["./src/modules"], + "core/*": ["./src/core/*"], + "auth/*": ["./src/auth/*"], + "data/*": ["./src/data/*"], + "media/*": ["./src/media/*"], + "modules/*": ["./src/modules/*"], } }, "include": [