mirror of
https://github.com/logos-co/logos-web.git
synced 2026-08-30 13:41:11 +00:00
* fix(web): build through turbo instead of rebuilding shared deps The app build re-ran the logos-ui build, whose `tsup --clean` wiped packages/ui/dist while logos-crm compiled against it in parallel. The deploy now runs the same turbo build as CI, so only the ui task writes that dist. `out/**` joins the build outputs since turbo owns the export now. * docs(web): build the app through turbo * fix(web): build on Vercel through turbo Vercel ran the app build directly, which no longer builds @acid-info/logos-ui and failed to resolve it. vercel.json pins the deploy to the same turbo command Jenkins runs.
68 lines
2.0 KiB
JSON
68 lines
2.0 KiB
JSON
{
|
|
"name": "web",
|
|
"type": "module",
|
|
"private": true,
|
|
"browserslist": [
|
|
"chrome 111",
|
|
"edge 111",
|
|
"firefox 111",
|
|
"safari 14",
|
|
"ios_saf 14"
|
|
],
|
|
"scripts": {
|
|
"dev": "next dev --port 3000",
|
|
"build": "pnpm build:app",
|
|
"build:app": "pnpm sync:active-circles && next build && pnpm build:strip-locale",
|
|
"sync:active-circles": "tsx scripts/sync-active-circles.ts",
|
|
"build:export": "pnpm build",
|
|
"build:strip-locale": "bash scripts/strip-default-locale-prefix.sh",
|
|
"start": "python3 -m http.server 3000 --directory out",
|
|
"lint": "eslint . --max-warnings 0",
|
|
"lint:fix": "eslint . --fix",
|
|
"check-types": "next typegen && tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:perf": "tsx test/performance/export-performance.test.ts",
|
|
"test:static": "tsx scripts/static-export-smoke.ts && tsx test/static-export/accessibility.test.ts && tsx test/static-export/navigation.test.ts",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@acid-info/logos-tokens": "workspace:*",
|
|
"@acid-info/logos-ui": "workspace:*",
|
|
"@hcaptcha/react-hcaptcha": "^1.12.0",
|
|
"@repo/content": "workspace:*",
|
|
"@repo/funnel": "workspace:*",
|
|
"@tanstack/react-query": "^5.100.14",
|
|
"clsx": "^2.1.1",
|
|
"gray-matter": "^4.0.3",
|
|
"leaflet": "^1.9.4",
|
|
"lucide-react": "^1.11.0",
|
|
"motion": "^12.38.0",
|
|
"next": "16.2.4",
|
|
"next-intl": "^4.9.1",
|
|
"react": "^19.2.5",
|
|
"react-dom": "^19.2.5",
|
|
"react-leaflet": "5.0.0",
|
|
"react-leaflet-cluster": "^3.1.1",
|
|
"react-markdown": "^10.1.0",
|
|
"rehype-raw": "^7.0.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"tailwind-merge": "^3.5.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.2.2",
|
|
"@types/leaflet": "^1.9.20",
|
|
"@types/node": "^24.12.4",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "19.2.3",
|
|
"@vitest/coverage-v8": "^4.1.5",
|
|
"dotenv": "^17.2.2",
|
|
"eslint": "^10.2.1",
|
|
"postcss": "^8.5.10",
|
|
"tailwindcss": "^4.2.2",
|
|
"tsx": "^4.20.0",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.5"
|
|
}
|
|
}
|