Some checks failed
Test and deploy staging / staging (push) Failing after 43s
Run the sveltekit-3 migration and finish its manual tasks:
- Move kit config into the sveltekit() Vite plugin; drop svelte.config.js
- Replace $lib with #lib subpath imports
- Declare env vars in src/env.ts and import them from $app/env/{private,public}
- Consolidate param matchers into src/params.ts
- Use error(status, message), Response.json, refreshAll and goto reset/shallow
- Fall back to a full page load when goto rejects a login return path
Switch from adapter-node to adapter-bun: the build script runs Vite under
Bun (the adapter requires it) and the image starts with `bun ./build`.
Runtime env names (PORT, BODY_SIZE_LIMIT, ADDRESS_HEADER, ...) are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
113 lines
4.1 KiB
JSON
Executable File
113 lines
4.1 KiB
JSON
Executable File
{
|
|
"name": "web",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "bun --bun vite build",
|
|
"preview": "vite preview",
|
|
"test": "npm run test:integration && npm run test:unit",
|
|
"check": "svelte-kit sync && svelte-check --tsgo --tsconfig ./tsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsgo --tsconfig ./tsconfig.json --watch",
|
|
"lint": "prettier --check . && eslint .",
|
|
"format": "prettier --write .",
|
|
"test:integration": "playwright test",
|
|
"test:unit": "vitest",
|
|
"db:push": "drizzle-kit push",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:studio": "drizzle-kit studio",
|
|
"db:seed": "bun scripts/seed-catalog.ts",
|
|
"db:seed:cod": "bun scripts/seed-cod-catalog.ts",
|
|
"db:migrate:auth": "bun scripts/migrate-auth-catalog.ts",
|
|
"db:migrate:foundation": "bun scripts/migrate-foundation.ts",
|
|
"db:migrate:money-tracker": "bun scripts/migrate-money-tracker.ts",
|
|
"db:migrate:game-tracker": "bun scripts/migrate-game-tracker.ts",
|
|
"db:migrate:cs-prices": "bun scripts/migrate-cs-prices.ts",
|
|
"cs-prices:ingest": "bun scripts/ingest-cs-prices.ts",
|
|
"db:migrate:house-tracker": "bun scripts/migrate-house-tracker.ts",
|
|
"house:worker": "bun scripts/house-worker.ts",
|
|
"auth:role": "bun scripts/set-admin.ts",
|
|
"catalog:build": "python3 scripts/build-pokemon-catalog.py",
|
|
"catalog:cod": "python3 scripts/build-cod-catalog.py && prettier --write data/call-of-duty.json",
|
|
"test:auth": "node --env-file=.env node_modules/@playwright/test/cli.js test --config playwright.auth.config.ts",
|
|
"db:migrate:tracker-journal": "bun scripts/migrate-tracker-journal.ts",
|
|
"catalog:research": "python3 scripts/build-pokemon-research.py",
|
|
"db:seed:research": "bun scripts/seed-pokemon-research.ts",
|
|
"db:seed:challenges": "bun scripts/seed-cod-challenges.ts",
|
|
"test:tracker": "node --env-file=.env node_modules/@playwright/test/cli.js test --config playwright.tracker.config.ts",
|
|
"db:seed:art": "bun scripts/seed-cod-art.ts",
|
|
"catalog:atlas": "python3 scripts/build-pokemon-atlas.py",
|
|
"catalog:images": "python3 scripts/download-game-images.py",
|
|
"catalog:map-art": "python3 scripts/build-pokemon-map-art.py",
|
|
"check:images": "python3 scripts/check-game-images.py"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@fontsource-variable/montserrat": "^5.3.0",
|
|
"@iconify-json/simple-icons": "^1.2.94",
|
|
"@internationalized/date": "^3.12.0",
|
|
"@lucide/svelte": "^1.48.0",
|
|
"@playwright/test": "^1.62.1",
|
|
"@sveltejs/adapter-bun": "^1.0.0",
|
|
"@sveltejs/enhanced-img": "^0.11.0",
|
|
"@sveltejs/kit": "^3.0.0",
|
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
"@tailwindcss/typography": "^0.5.20",
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"@types/d3-geo": "^3.1.1",
|
|
"@types/eslint": "9.6.1",
|
|
"@types/pg": "^8.23.1",
|
|
"@types/topojson-client": "^3.1.5",
|
|
"@typescript/native": "npm:typescript@7",
|
|
"better-auth": "^1.7.2",
|
|
"bits-ui": "^2.19.0",
|
|
"clsx": "^2.1.1",
|
|
"cmdk-sv": "^0.0.19",
|
|
"cn": "^0.4.0",
|
|
"drizzle-kit": "^1.0.0-rc.4",
|
|
"eslint": "^10.9.1",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-svelte": "^3.23.0",
|
|
"globals": "^17.11.0",
|
|
"lucide-svelte": "^1.0.1",
|
|
"prettier": "3.9.6",
|
|
"prettier-plugin-svelte": "^4.1.1",
|
|
"shadcn-svelte": "^1.7.0",
|
|
"svelte": "^5.57.1",
|
|
"svelte-check": "4.7.6",
|
|
"tailwind-merge": "^3.6.0",
|
|
"tailwind-variants": "^3.3.1",
|
|
"tailwindcss": "^4.3.3",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typescript": "~6",
|
|
"typescript-eslint": "8.68.0",
|
|
"unplugin-icons": "^23.0.1",
|
|
"vite": "^8.2.2",
|
|
"vitest": "^4.1.11"
|
|
},
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@ai-sdk/anthropic": "^4.0.46",
|
|
"@aws-sdk/client-s3": "^3.1121.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.1121.0",
|
|
"@maptiler/sdk": "^4.1.0",
|
|
"ai": "^7.0.85",
|
|
"d3-geo": "^3.1.1",
|
|
"drizzle-orm": "^1.0.0-rc.4",
|
|
"echarts": "^6.1.0",
|
|
"highlight.js": "^11.12.0",
|
|
"marked": "^18.0.11",
|
|
"marked-highlight": "^2.2.4",
|
|
"mode-watcher": "^1.1.0",
|
|
"postgres": "^3.4.9",
|
|
"topojson-client": "^3.1.0",
|
|
"world-atlas": "^2.0.2",
|
|
"zod": "^4.5.4"
|
|
},
|
|
"imports": {
|
|
"#lib": "./src/lib/index.js",
|
|
"#lib/*": "./src/lib/*"
|
|
}
|
|
}
|