Skip to content

Commit

Permalink
edgecreator,edgecreator-api: Cleanup deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
bperel committed Jan 24, 2025
1 parent 853bb00 commit c2a58d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/edgecreator/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"build": "bun build --target node index.ts --outfile bundle.mjs",
"dev": "concurrently -n bun,tsc \"bun --inspect run --hot index.ts\" \"tsc --noEmit --watch\"",
"prod:deploy": "DIR=apps/edgecreator/api pnpm -F '~ci' prod:docker-compose-up",
"prod:deploy": "SERVICES=api-websocket DIR=apps/edgecreator/api pnpm -F '~ci' prod:docker-compose-up",
"prod:build-docker": "REPO_NAME=ghcr.io/bperel/edgecreator-api:websocket pnpm -F '~ci' prod:build-docker -f apps/edgecreator/api/Dockerfile",
"prod:transfer-files-pre": "pnpm -F '~ci' prod:transfer-files @apps/edgecreator/api/.env:apps/edgecreator/api/.env @packages/prisma-clients/.env.prod.local:packages/prisma-schemas/.env",
"prod:transfer-files-post": "pnpm -F '~ci' prod:transfer-files apps/edgecreator/api/docker-compose.yml:@apps/edgecreator/api/docker-compose.yml"
Expand Down
7 changes: 3 additions & 4 deletions apps/edgecreator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@
"node": ">=22.0.0 <23.0.0"
},
"scripts": {
"build": "vite build",
"build": "mv .env.prod .env && vite build",
"dev": "VITE_EDGES_PATH=`realpath ../edges/edges` concurrently -n vite,vue-tsc \"vite --port 8002\" \"vue-tsc --noEmit --watch\"",
"lint": "eslint --fix .",
"preview": "vite preview",
"typecheck": "vue-tsc --noEmit",
"prod:deploy": "DIR=apps/edgecreator pnpm -F '~ci' prod:docker-compose-up",
"prod:build-docker": "SERVICES=app-websocket REPO_NAME=ghcr.io/bperel/edgecreator-app:websocket pnpm -F '~ci' prod:build-docker -f apps/edgecreator/Dockerfile",
"prod:transfer-files-pre": "pnpm -F '~ci' prod:transfer-files @apps/edgecreator/.env:apps/edgecreator/.env @packages/prisma-clients/.env.prod.local:packages/prisma-schemas/.env",
"prod:deploy": "SERVICES=app-websocket DIR=apps/edgecreator pnpm -F '~ci' prod:docker-compose-up",
"prod:build-docker": "REPO_NAME=ghcr.io/bperel/edgecreator-app:websocket pnpm -F '~ci' prod:build-docker -f apps/edgecreator/Dockerfile",
"prod:transfer-files-post": "pnpm -F '~ci' prod:transfer-files apps/edgecreator/docker-compose.yml:@apps/edgecreator/docker-compose.yml apps/edgecreator/config/sentry-relay/config.yml:@apps/edgecreator/config/sentry-relay/config.yml"
},
"dependencies": {
Expand Down

0 comments on commit c2a58d5

Please sign in to comment.