fix: build commands

This commit is contained in:
Andras Bacsai 2022-12-12 14:52:56 +01:00
parent 2009dc11db
commit 2007ba0c3b

View File

@ -8,10 +8,10 @@
"oc": "opencollective-setup",
"translate": "pnpm run --filter i18n-converter translate",
"db:studio": "pnpm run --filter api db:studio",
"db:studio:trpc": "pnpm run --filter server db:studio",
"db:studio-trpc": "pnpm run --filter server db:studio",
"db:studio:container": "docker exec coolify pnpm run --filter api db:studio",
"db:push": "pnpm run --filter api db:push",
"db:push:trpc": "pnpm run --filter server db:push",
"db:push-trpc": "pnpm run --filter server db:push",
"db:seed": "pnpm run --filter api db:seed",
"db:migrate": "pnpm run --filter api db:migrate",
"db:migrate:container": "docker exec coolify pnpm run --filter api db:migrate",
@ -20,14 +20,14 @@
"lint": "run-p -l -n lint:*",
"lint:api": "NODE_ENV=development pnpm run --filter api lint",
"dev:container": "docker-compose -f docker-compose-dev.yaml up --build || docker compose -f docker-compose-dev.yaml up --build",
"dev:trpc": "NODE_ENV=development run-p -l -n dev:server dev:client",
"dev-trpc": "NODE_ENV=development run-p -l -n dev:server dev:client",
"dev": "run-p -l -n dev:api dev:ui",
"dev:api": "NODE_ENV=development pnpm run --filter api dev",
"dev:server": "NODE_ENV=development pnpm run --filter server dev",
"dev:client": "NODE_ENV=development pnpm run --filter client dev",
"dev:ui": "NODE_ENV=development pnpm run --filter ui dev",
"build:trpc": "NODE_ENV=production pnpm run --filter server build && pnpm run --filter client build && cp ./apps/server/package.json build/ && cd build/ && pnpm install -p .",
"start:trpc": "NODE_ENV=production node build/index.js",
"build-trpc": "NODE_ENV=production pnpm run --filter server build && pnpm run --filter client build && cp ./apps/server/package.json build/ && cd build/ && pnpm install -p .",
"start-trpc": "NODE_ENV=production node build/index.js",
"build": "NODE_ENV=production run-p -n build:*",
"build:api": "NODE_ENV=production pnpm run --filter api build",
"build:ui": "NODE_ENV=production pnpm run --filter ui build",