mirror of
https://github.com/logos-co/logos-web.git
synced 2026-08-27 12:11:14 +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.
42 lines
1.6 KiB
JSON
42 lines
1.6 KiB
JSON
{
|
|
"name": "logos-turborepo-next-tailwind-i18n-template",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"clean": "rm -rf node_modules apps/*/node_modules packages/*/node_modules .turbo apps/*/.turbo packages/*/.turbo apps/*/.next apps/web/out",
|
|
"dev": "turbo run dev",
|
|
"dev:web": "turbo run dev --filter=web...",
|
|
"dev:cms": "turbo run dev --filter=cms...",
|
|
"dev:civi-crm": "turbo run dev --filter=civi-crm...",
|
|
"dev:logos-crm": "turbo run dev --filter=logos-crm...",
|
|
"lint": "turbo run lint",
|
|
"lint:fix": "turbo run lint:fix",
|
|
"format": "prettier --write \"**/*.{js,mjs,ts,tsx,json,md,css}\"",
|
|
"check-types": "turbo run check-types",
|
|
"test": "turbo run test",
|
|
"test:static": "pnpm --filter web test:static",
|
|
"test:perf": "pnpm --filter web test:perf",
|
|
"test:repo-health": "node --test scripts/__tests__/repo-health.test.mjs",
|
|
"test:web-deploy-build": "rm -rf packages/*/dist && pnpm turbo run build --filter=web --force",
|
|
"test:release": "pnpm test:repo-health && pnpm lint && pnpm check-types && pnpm test && pnpm --filter @repo/content validate && pnpm test:web-deploy-build && pnpm build && pnpm test:static && pnpm test:perf",
|
|
"generate-types": "turbo run generate-types --filter=cms"
|
|
},
|
|
"devDependencies": {
|
|
"prettier": "^3.8.3",
|
|
"turbo": "^2.9.6",
|
|
"typescript": "^6.0.3"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"@parcel/watcher",
|
|
"@swc/core",
|
|
"esbuild",
|
|
"sharp"
|
|
]
|
|
},
|
|
"packageManager": "pnpm@11.1.0",
|
|
"engines": {
|
|
"node": ">=24 <25"
|
|
}
|
|
}
|