turbo.json:
{
"$schema": "https://turbo.build/schema.json",
"ui": "tui",
"tasks": {
"build": {
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": [".next/", "!.next/cache/"]
},
"lint": {
"dependsOn": ["^lint"]
},
"check-types": {
"dependsOn": ["^check-types"]
},
"dev": {
"cache": false,
"persistent": true
}
}
}
apps/web package.json:
{
"name": "web",
"version": "0.0.1",
"type": "module",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@workspace/ui": "workspace:",
"better-auth": "^1.1.18",
"lucide-react": "0.456.0",
"next": "^15.1.0",
"next-themes": "^0.4.3",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "18.3.0",
"@types/react-dom": "18.3.1",
"@workspace/eslint-config": "workspace:^",
"@workspace/typescript-config": "workspace:",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}
monorepo package.json:
{
"name": "simplist",
"version": "0.0.1",
"private": true,
"scripts": {
"build": "turbo build",
"dev": "turbo dev",
"lint": "turbo lint",
"format": "prettier --write "**/.{ts,tsx,md}""
},
"devDependencies": {
"@workspace/eslint-config": "workspace:",
"@workspace/typescript-config": "workspace:*",
"prettier": "^3.2.5",
"turbo": "^2.3.0",
"typescript": "5.5.4"
},
"packageManager": "pnpm@9.12.3",
"engines": {
"node": ">=20"
}
}