-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.replit
72 lines (53 loc) · 1.5 KB
/
.replit
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
modules = ["nodejs-20", "web", "postgresql-16"]
run = "npm run dev"
hidden = [".config", ".git", "generated-icon.png", "node_modules", "dist"]
[nix]
channel = "stable-24_05"
[deployment]
deploymentTarget = "cloudrun"
build = ["sh", "-c", "NODE_ENV=production npm run build"]
run = ["sh", "-c", "NODE_ENV=production tsx db/scripts/setup-schemas.ts && sleep 5 && NODE_ENV=production node dist/index.js"]
[[deployment.rewrites]]
from = "/api/*"
to = "/api/*"
[[deployment.rewrites]]
from = "/*"
to = "/index.html"
[languages.javascript]
pattern = "**/{*.js,*.jsx,*.ts,*.tsx}"
[languages.javascript.languageServer]
start = ["typescript-language-server", "--stdio"]
[[ports]]
localPort = 3000
externalPort = 80
[workflows]
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Database Setup"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Test Runner"
[[workflows.workflow]]
name = "Database Setup"
author = "agent"
[workflows.workflow.metadata]
agentRequireRestartOnSave = false
[[workflows.workflow.tasks]]
task = "packager.installForAll"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "tsx db/scripts/setup-schemas.ts"
[[workflows.workflow]]
name = "Test Runner"
author = "agent"
[workflows.workflow.metadata]
agentRequireRestartOnSave = false
[[workflows.workflow.tasks]]
task = "packager.installForAll"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "npx vitest run client/src/test/event-system.test.tsx"