Move browser authentication behind a generated-contract BFF

This commit is contained in:
ms2k 2026-07-19 18:21:17 +09:00
commit fa7220ee33

View file

@ -10,27 +10,30 @@
},
"scripts": {
"dev": "vite",
"build": "vite build",
"build": "vite build && node tools/compress-assets.mjs && node tools/check-bundle.mjs",
"preview": "vite preview",
"check": "tsc --noEmit -p ./tsconfig.app.json && tsc --noEmit -p ./tsconfig.node.json && tsc --noEmit -p ./tsconfig.test.json && pnpm --filter @remora/svelte-check-compat check",
"lint": "oxlint --threads 1 --deny-warnings src tests *.config.ts && prettier --check . && pnpm run lint:api",
"lint:api": "NODE_OPTIONS=--max-old-space-size=2048 redocly lint ../docs/api/openapi.yaml --extends=spec",
"test": "vitest run --config vitest.config.ts",
"test:unit": "vitest run --config vitest.unit.config.ts",
"test:unit": "vitest run --config vitest.unit.config.ts && node --test server.test.mjs server/*.test.mjs",
"test:component": "vitest run --config vitest.browser.config.ts",
"test:component:full": "vitest run --config vitest.browser-full.config.ts",
"test:e2e": "playwright test --project=chromium",
"test:e2e:full": "playwright test"
},
"dependencies": {
"oidc-client-ts": "3.5.0",
"svelte": "5.56.5"
"redis": "6.1.0",
"svelte": "5.56.5",
"ws": "8.21.1"
},
"devDependencies": {
"@axe-core/playwright": "4.12.1",
"@playwright/test": "1.61.1",
"@redocly/cli": "2.33.1",
"@sveltejs/vite-plugin-svelte": "7.2.0",
"@types/node": "26.1.1",
"@types/ws": "8.18.1",
"@vitest/browser-playwright": "4.1.10",
"oxlint": "1.74.0",
"oxlint-tsgolint": "0.24.0",