Skip to content

Commit c4e63fb

Browse files
committed
fix: netlify config
1 parent 77cddd4 commit c4e63fb

File tree

6 files changed

+4678
-296
lines changed

6 files changed

+4678
-296
lines changed

apps/dashboard-client/netlify.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22
from = "/*"
33
to = "/"
44
status = 200
5+
6+
[build]
7+
base = "."
8+
command = "npx turbo run build --filter=taskcord-dashboard"
9+
publish = "apps/taskcord-dashboard/dist"

apps/dashboard-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "taskcord-client",
2+
"name": "taskcord-dashboard",
33
"private": true,
44
"version": "0.2.0",
55
"type": "module",

apps/dashboard-client/turbo.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"extends": ["//"],
3+
"tasks": {
4+
"build": {
5+
"outputs": ["dist/**"]
6+
},
7+
"dev": {
8+
"dependsOn": [],
9+
"cache": false,
10+
"persistent": true,
11+
"outputs": []
12+
},
13+
"preview":{
14+
}
15+
}
16+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"dev": "turbo run dev",
99
"dev:api": "turbo run dev --filter=api",
1010
"dev:bot": "turbo run dev --filter=bot",
11+
"dev:dashboard": "turbo run dev --filter=taskcord-dashboard",
1112
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
1213
"lint": "turbo run lint",
1314
"test": "turbo run test",

0 commit comments

Comments
 (0)