-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
30 lines (26 loc) · 1.48 KB
/
Copy pathnetlify.toml
File metadata and controls
30 lines (26 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Netlify build configuration for Intend v0.5 monorepo
# Web app: apps/web (Next.js 14)
# Bot + cron: GCP VM (not Netlify)
[build]
# Build from monorepo root — must stay at root so the command can reach
# packages/* and the hoisted node_modules/. Do NOT set packagePath: it
# would change CWD to apps/web and break `tsc -p packages/*/tsconfig.json`.
base = "."
# Build each workspace package explicitly, then next. Avoids turbo's
# package-manager detection (which spawns yarn in weird ways on Windows).
# Order matters: core/skills first (no deps), then data/signals (depend
# on core), then decision/intelligence, then web.
command = "npx tsc -p packages/core/tsconfig.json && npx tsc -p packages/skills/tsconfig.json && npx tsc -p packages/data/tsconfig.json && npx tsc -p packages/signals/tsconfig.json && npx tsc -p packages/decision/tsconfig.json && npx tsc -p packages/intelligence/tsconfig.json && npx tsc -p packages/execution/tsconfig.json && cd apps/web && node ../../node_modules/next/dist/bin/next build"
publish = "apps/web/.next"
[build.environment]
NODE_VERSION = "22"
YARN_VERSION = "1.22.22"
NEXT_TELEMETRY_DISABLED = "1"
# Netlify Next.js plugin — handles SSR, image optimization, and API routes
# Installed as a devDep in apps/web/package.json (pins v5.15.9, avoids dynamic install)
[[plugins]]
package = "@netlify/plugin-nextjs"
[dev]
command = "yarn workspace @intend/web dev"
port = 3000
targetPort = 3000