* feat: CI smoke-test foundation (probe + docker compose + rule updates) Phase 1 of multi-repo CI initiative for catching plugin/seeder integration failures (ADR-0002 id drift, missing mapWebsocketPayload, namespace collisions, BOM in package.json) that current CI misses. - packages/wwv-ci-probe: shared CLI with `seeder`, `ws`, `id-contract` subcommands. README documents why no `plugin` subcommand (Playwright belongs in wwv-plugins, not coupled to this probe). `files` + `prepublishOnly` configured for clean npm publish. - docker/ci/: reusable docker-compose stacks for plugin-CI and seeder-CI, plus mock-upstream HTTP fixture server and CI-only stub-seeder. Compose comments document scope boundary (consumer workflow owns user/plugin-row injection via Playwright globalSetup pattern) and the deferred stub-seeder bake-in for wwv-data-engine. - .github/workflows/docker-publish.yml: adds `:ci` tag alias for downstream consumers (one-line edit). - .agents/rules/*: rename worldwideview-plugins → wwv-plugins (4 files) to reflect repo rename + clarify it lives at local-plugins/ as its own git working tree. Bump 2.15.16 → 2.16.0 (Minor — new ci-probe package + new docker/ci infrastructure are net-new features for the CI ecosystem). Foundation has NOT been booted end-to-end yet — ghcr.io/silvertakana/ worldwideview:ci doesn't exist until this lands on main and the workflow publishes. Next session: validate via real compose-up, then mirror the :ci tag in wwv-data-engine repo and wire consumer workflows in wwv-plugins. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * refactor(ci-probe): extract shared payload-shape validator with contract tests * fix(ci): add /__health route to mock-upstream and gate engine on service_healthy * chore: bump version to 2.48.18 for CI foundation landing * chore: bump to 2.48.19 and reconcile lockfile after merging main (validateManifest fix) --------- Co-authored-by: Claude Sonnet 4.6 <[email protected]>
128 lines
4.1 KiB
JSON
128 lines
4.1 KiB
JSON
{
|
|
"name": "worldwideview",
|
|
"version": "2.48.19",
|
|
"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.56.0",
|
|
"@supabase/ssr": "^0.10.3",
|
|
"@supabase/supabase-js": "^2.107.0",
|
|
"@types/pg": "^8.20.0",
|
|
"@worldwideview/wwv-lib-aviation": "workspace:*",
|
|
"@worldwideview/wwv-lib-incidents": "workspace:*",
|
|
"@worldwideview/wwv-plugin-sdk": "workspace:*",
|
|
"bcryptjs": "^3.0.3",
|
|
"cesium": "^1.142.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.7",
|
|
"next-auth": "^5.0.0-beta.30",
|
|
"openid-client": "^6.8.4",
|
|
"pg": "^8.21.0",
|
|
"prisma": "^7.8.0",
|
|
"react": "19.2.7",
|
|
"react-dom": "19.2.7",
|
|
"react-player": "^3.4.0",
|
|
"resium": "1.22.0",
|
|
"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.14"
|
|
},
|
|
"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.1",
|
|
"@typescript-eslint/parser": "^8.60.1",
|
|
"@vitejs/plugin-react": "^6.0.2",
|
|
"@vitest/coverage-v8": "4.1.8",
|
|
"concurrently": "^10.0.3",
|
|
"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.7",
|
|
"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.4",
|
|
"typescript": "^5",
|
|
"vite": "^8.0.16",
|
|
"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",
|
|
"vitest@<4.1.0": "^4.1.8"
|
|
},
|
|
"onlyBuiltDependencies": [
|
|
"@prisma/engines",
|
|
"@sentry/cli",
|
|
"prisma",
|
|
"protobufjs",
|
|
"sharp",
|
|
"esbuild",
|
|
"better-sqlite3"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0",
|
|
"pnpm": ">=9.0.0"
|
|
}
|
|
}
|