You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit updates the `discord:start` and `discord:register` scripts in `web/package.json` to use `nx run`. This aligns them with the project's task runner conventions.
The corresponding nx tasks were also added to `web/project.json` to ensure they can be executed correctly.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Copy file name to clipboardExpand all lines: web/project.json
+21-1Lines changed: 21 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,30 @@
38
38
"start": {
39
39
"executor": "nx:run-commands",
40
40
"options": {
41
-
"command": "next start",
41
+
"commands": [
42
+
"if command -v infisical >/dev/null 2>&1; then infisical run -- next start; else next start; fi"
43
+
],
42
44
"cwd": "web"
43
45
},
44
46
"dependsOn": ["build"]
47
+
},
48
+
"discord:start": {
49
+
"executor": "nx:run-commands",
50
+
"options": {
51
+
"commands": [
52
+
"if command -v infisical >/dev/null 2>&1; then infisical run -- bun run scripts/discord/index.ts; else bun run scripts/discord/index.ts; fi"
53
+
],
54
+
"cwd": "web"
55
+
}
56
+
},
57
+
"discord:register": {
58
+
"executor": "nx:run-commands",
59
+
"options": {
60
+
"commands": [
61
+
"if command -v infisical >/dev/null 2>&1; then infisical run -- bun run scripts/discord/register-commands.ts; else bun run scripts/discord/register-commands.ts; fi"
0 commit comments