* fix: decode Overpass response as UTF-8 to preserve Cyrillic names Collect raw Buffer chunks from the OSM search proxy stream and decode the full body as UTF-8 once, instead of concatenating Buffers into a string per-chunk. The previous `data += chunk` pattern decoded each chunk independently, corrupting any multi-byte UTF-8 character (Cyrillic place names in Kazakhstan, Russia, Mongolia, etc.) that straddled a chunk boundary on large Overpass responses. https://claude.ai/code/session_01J9986diBmJ6oCu6dD5A8m9 * chore: add self-locating pnpm setup script for web sessions Add scripts/web-setup.sh for Claude Code on the web (and fresh CI clones). It resolves the repo root from its own location, activates the pinned pnpm via corepack, runs pnpm install, and generates the Prisma client — fixing the 'npm error path /home/user/package.json' setup failure caused by running npm from the wrong directory in this pnpm monorepo. Point the environment's setup script at: bash scripts/web-setup.sh https://claude.ai/code/session_01J9986diBmJ6oCu6dD5A8m9 --------- Co-authored-by: Claude <[email protected]>
125 lines
3.9 KiB
JSON
125 lines
3.9 KiB
JSON
{
|
|
"name": "worldwideview",
|
|
"version": "2.31.3",
|
|
"private": true,
|
|
"type": "module",
|
|
"packageManager": "[email protected]",
|
|
"scripts": {
|
|
"setup": "node scripts/setup.mjs",
|
|
"test-worktree": "node scripts/test-worktree.mjs",
|
|
"clean": "node -e \"const fs=require('fs');fs.rmSync('.next',{recursive:true,force:true})\"",
|
|
"dev": "node scripts/dev.mjs",
|
|
"dev:all": "concurrently -n \"dev,backends\" -c \"magenta,blue\" \"pnpm dev\" \"pnpm dev:backends\"",
|
|
"dev:backends": "docker compose --profile engine up wwv-data-engine wwv-redis",
|
|
"dev:plugins": "node scripts/watch-local-plugins.mjs",
|
|
"predev": "node scripts/boot-db.mjs && npx dotenv-cli -c -- node scripts/safe-db-push.mjs && npx prisma generate && node scripts/copy-cesium.mjs && node scripts/sync-local-plugins.mjs",
|
|
"copy-cesium": "node scripts/copy-cesium.mjs",
|
|
"prebuild": "node scripts/check-build-env.mjs",
|
|
"build": "next build --webpack",
|
|
"start": "next start",
|
|
"test": "vitest run",
|
|
"test:e2e": "playwright test",
|
|
"test:mutate": "stryker run",
|
|
"lint": "eslint .",
|
|
"db:reset": "npx prisma migrate reset --force",
|
|
"db:prune": "node scripts/db-prune.mjs",
|
|
"generate": "prisma generate"
|
|
},
|
|
"dependencies": {
|
|
"@auth/prisma-adapter": "^2.11.2",
|
|
"@auth/supabase-adapter": "^1.11.2",
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
"@prisma/adapter-pg": "^7.8.0",
|
|
"@prisma/client": "^7.8.0",
|
|
"@prisma/client-runtime-utils": "7.8.0",
|
|
"@sentry/nextjs": "^10.54.0",
|
|
"@supabase/ssr": "^0.10.3",
|
|
"@supabase/supabase-js": "^2.106.2",
|
|
"@types/pg": "^8.20.0",
|
|
"@worldwideview/wwv-plugin-sdk": "workspace:*",
|
|
"bcryptjs": "^3.0.3",
|
|
"cesium": "^1.141.0",
|
|
"cheerio": "^1.2.0",
|
|
"hls.js": "^1.6.16",
|
|
"insecam-api": "^0.0.3",
|
|
"ioredis": "^5.4.1",
|
|
"jose": "^6.2.3",
|
|
"lucide-react": "^1.17.0",
|
|
"next": "16.2.6",
|
|
"next-auth": "^5.0.0-beta.30",
|
|
"openid-client": "^6.8.4",
|
|
"pg": "^8.21.0",
|
|
"prisma": "^7.8.0",
|
|
"react": "19.2.6",
|
|
"react-dom": "19.2.6",
|
|
"react-player": "^3.4.0",
|
|
"resium": "1.21.1",
|
|
"satellite.js": "^7.0.1",
|
|
"stripe": "^22.2.0",
|
|
"tslib": "^2.8.1",
|
|
"undici": "^8.3.0",
|
|
"ws": "^8.21.0",
|
|
"zod": "^4.4.3",
|
|
"zustand": "^5.0.13"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/compat": "^2.1.0",
|
|
"@eslint/eslintrc": "^3.3.5",
|
|
"@playwright/test": "^1.60.0",
|
|
"@stryker-mutator/core": "^9.6.1",
|
|
"@stryker-mutator/vitest-runner": "^9.6.1",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/bcryptjs": "^3.0.0",
|
|
"@types/cesium": "^1.70.4",
|
|
"@types/node": "^25",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/ws": "^8.18.1",
|
|
"@typescript-eslint/eslint-plugin": "^8.60.0",
|
|
"@typescript-eslint/parser": "^8.60.0",
|
|
"@vitejs/plugin-react": "^6.0.2",
|
|
"@vitest/coverage-v8": "4.1.7",
|
|
"concurrently": "^9.2.1",
|
|
"copy-webpack-plugin": "^14.0.0",
|
|
"eslint": "^9",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
"eslint-config-next": "^16.2.6",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"fast-check": "^4.8.0",
|
|
"jsdom": "^28.1.0",
|
|
"rollup-plugin-external-globals": "^0.13.0",
|
|
"tree-kill": "^1.2.2",
|
|
"tsx": "^4.22.3",
|
|
"typescript": "^5",
|
|
"vite": "^8.0.14",
|
|
"vitest": "^4.1.7"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"@spz-loader/core": "0.3.0",
|
|
"form-data@<2.5.4": "^2.5.5",
|
|
"form-data@>=3.0.0 <3.0.4": "^3.0.4",
|
|
"form-data@>=4.0.0 <4.0.4": "^4.0.5",
|
|
"fast-uri@<3.1.2": "^3.1.2"
|
|
},
|
|
"onlyBuiltDependencies": [
|
|
"@prisma/engines",
|
|
"@sentry/cli",
|
|
"prisma",
|
|
"protobufjs",
|
|
"sharp",
|
|
"esbuild",
|
|
"better-sqlite3"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0",
|
|
"pnpm": ">=9.0.0"
|
|
}
|
|
}
|