-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
157 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"name": "@akash-network/cloudmos", | ||
"packageManager": "[email protected]", | ||
"workspaces": [ | ||
"./packages/*", | ||
"./apps/*" | ||
|
@@ -10,13 +11,22 @@ | |
"dc:up:dev": "docker compose -p console -f docker-compose.build.yml -f docker-compose.prod.yml -f docker-compose.prod-with-db.yml -f docker-compose.yml up", | ||
"dc:up:dev:no-db": "docker compose -p console -f docker-compose.build.yml -f docker-compose.prod.yml -f docker-compose.yml up", | ||
"dc:up:prod": "docker compose -p console -f docker-compose.build.yml -f docker-compose.prod.yml -f docker-compose.prod-with-db.yml up", | ||
"dc:up:db": "cross-env-shell '[ \\\"$SKIP_DC_DB\\\" != \\\"true\\\" ] && npm run dc:up:prod -- -d db || echo \\\"Skipping DB setup\\\"'", | ||
"dc:up:prod:no-db": "docker compose -p console -f docker-compose.build.yml -f docker-compose.prod.yml up", | ||
"console:dev": "turbo dev --filter=\"./apps/deploy-web/\" --filter=\"./apps/api\" --filter=\"./apps/provider-proxy/\"", | ||
"console:dev:no-db": "cross-env SKIP_DC_DB=true turbo dev --filter=\"./apps/deploy-web/\" --filter=\"./apps/api\" --filter=\"./apps/provider-proxy/\"", | ||
"stats:dev": "turbo dev --filter=\"./apps/stats-web/\" --filter=\"./apps/api\"", | ||
"stats:dev:no-db": "cross-env SKIP_DC_DB=true turbo dev --filter=\"./apps/stats-web/\" --filter=\"./apps/api\"", | ||
"api:dev": "turbo dev --filter=\"./apps/api\"", | ||
"indexer:dev": "turbo dev --filter=\"./apps/indexer\"", | ||
"format": "prettier --write ./*.{js,json} **/*.{ts,tsx,js,json}", | ||
"lint": "eslint .", | ||
"lint:api": "eslint ./apps/api" | ||
}, | ||
"devDependencies": { | ||
"@akashnetwork/dev-config": "*" | ||
"@akashnetwork/dev-config": "*", | ||
"cross-env": "^7.0.3", | ||
"turbo": "^2.0.3" | ||
}, | ||
"engines": { | ||
"node": "20.14.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$schema": "https://turbo.build/schema.json", | ||
"globalEnv": [ | ||
"SKIP_DC_DB" | ||
], | ||
"tasks": { | ||
"dev": { | ||
"persistent": true, | ||
"cache": false, | ||
"dependsOn": ["//#dc:up:db"], | ||
"env": ["SKIP_DB"] | ||
}, | ||
"//#dc:up:db": {} | ||
} | ||
} |