Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Nov 1, 2023
1 parent 5d087e4 commit 656e1ed
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@
"scripts": {
"build": "next build",
"clean": "git clean -xdf .next .turbo node_modules",
"jobs": "bunx @trigger.dev/cli@latest dev --port 3001",
"dev": "next dev -p 3001",
"lint": "next lint",
"format": "biome format --write .",
"start": "next start",
"check:types": "tsc --noEmit"
},
"trigger.dev": {
"endpointId": "midday-client"
},
"dependencies": {
"@hookform/resolvers": "^3.3.2",
"@midday/gocardless": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions apps/dashboard/src/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const ADMINS = [
"7d723617-c2e1-4b71-8bf4-fb02479b264a",
"efea0311-0786-4f70-9b5a-63e3efa5d319",
"2f76981b-fc66-479c-8203-521a5a1f734a",
"3cb7ad12-907e-49c6-9f3a-ea3eeb1d34cf",
];

export default async function Layout({
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"dev": "turbo dev --parallel",
"start:dashboard": "turbo dev --filter=@midday/dashboard",
"dev:dashboard": "turbo dev --filter=@midday/dashboard",
"jobs:dashboard": "turbo jobs --filter=@midday/dashboard",
"format": "biome format --write .",
"lint": "turbo lint && manypkg check",
"check:types": "turbo typecheck"
Expand Down
2 changes: 1 addition & 1 deletion packages/jobs/src/client.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TriggerClient } from "@trigger.dev/sdk";

export const client = new TriggerClient({
id: "supabase",
id: "midday-client",
apiKey: process.env.TRIGGER_API_KEY,
apiUrl: process.env.TRIGGER_API_URL,
});
4 changes: 4 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"persistent": true,
"cache": false
},
"jobs": {
"persistent": true,
"cache": false
},
"format": {
"outputMode": "new-only"
},
Expand Down

0 comments on commit 656e1ed

Please sign in to comment.