- Changed CreateSessionOptions.activePlayers from number[] to string[] - Updated socket-server.ts fallback from [1] to [data.userId] - Added debug logging to validateFlipCard to diagnose turn validation issues This ensures that when a session is created without explicit activePlayers, it uses the actual UUID of the requesting player instead of the numeric value 1.
102 lines
3.3 KiB
JSON
102 lines
3.3 KiB
JSON
{
|
|
"name": "@soroban/web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "concurrently \"node server.js\" \"npx @pandacss/dev --watch\"",
|
|
"build": "node scripts/generate-build-info.js && next build",
|
|
"start": "NODE_ENV=production node server.js",
|
|
"lint": "next lint",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"type-check": "tsc --noEmit",
|
|
"clean": "rm -rf .next",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "tsx src/db/migrate.ts",
|
|
"db:push": "drizzle-kit push",
|
|
"db:studio": "drizzle-kit studio",
|
|
"db:drop": "drizzle-kit drop"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@myriaddreamin/typst-all-in-one.ts": "0.6.1-rc3",
|
|
"@myriaddreamin/typst-ts-renderer": "0.6.1-rc3",
|
|
"@myriaddreamin/typst-ts-web-compiler": "0.6.1-rc3",
|
|
"@myriaddreamin/typst.ts": "0.6.1-rc3",
|
|
"@number-flow/react": "^0.5.10",
|
|
"@pandacss/dev": "^0.20.0",
|
|
"@paralleldrive/cuid2": "^2.2.2",
|
|
"@radix-ui/react-accordion": "^1.1.2",
|
|
"@radix-ui/react-checkbox": "^1.0.4",
|
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
"@radix-ui/react-hover-card": "^1.1.15",
|
|
"@radix-ui/react-label": "^2.0.2",
|
|
"@radix-ui/react-popover": "^1.1.15",
|
|
"@radix-ui/react-progress": "^1.0.3",
|
|
"@radix-ui/react-radio-group": "^1.1.3",
|
|
"@radix-ui/react-select": "^2.0.0",
|
|
"@radix-ui/react-slider": "^1.1.2",
|
|
"@radix-ui/react-switch": "^1.0.3",
|
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
"@radix-ui/react-toast": "^1.1.5",
|
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
"@react-spring/web": "^10.0.2",
|
|
"@soroban/abacus-react": "workspace:*",
|
|
"@soroban/client": "workspace:*",
|
|
"@soroban/core": "workspace:*",
|
|
"@soroban/templates": "workspace:*",
|
|
"@tanstack/react-form": "^0.19.0",
|
|
"@tanstack/react-query": "^5.90.2",
|
|
"@types/jsdom": "^21.1.7",
|
|
"better-sqlite3": "^12.4.1",
|
|
"drizzle-orm": "^0.44.6",
|
|
"emojibase-data": "^16.0.3",
|
|
"jose": "^6.1.0",
|
|
"lucide-react": "^0.294.0",
|
|
"make-plural": "^7.4.0",
|
|
"nanoid": "^5.1.6",
|
|
"next": "^14.2.32",
|
|
"next-auth": "5.0.0-beta.29",
|
|
"python-bridge": "^1.1.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-resizable-layout": "^0.7.3",
|
|
"socket.io": "^4.8.1",
|
|
"socket.io-client": "^4.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.55.1",
|
|
"@storybook/addon-docs": "^9.1.7",
|
|
"@storybook/addon-onboarding": "^9.1.7",
|
|
"@storybook/nextjs": "^9.1.7",
|
|
"@testing-library/jest-dom": "^6.8.0",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"@vitejs/plugin-react": "^5.0.2",
|
|
"concurrently": "^8.0.0",
|
|
"drizzle-kit": "^0.31.5",
|
|
"eslint": "^8.0.0",
|
|
"eslint-config-next": "^14.0.0",
|
|
"eslint-plugin-storybook": "^9.1.7",
|
|
"happy-dom": "^18.0.1",
|
|
"jsdom": "^27.0.0",
|
|
"storybook": "^9.1.7",
|
|
"tsx": "^4.20.5",
|
|
"typescript": "^5.0.0",
|
|
"vitest": "^1.0.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"next/core-web-vitals"
|
|
]
|
|
}
|
|
}
|