Skip to content

Commit

Permalink
fix: Update generate:types and build-payload to use PAYLOAD_PUBLIC_AP…
Browse files Browse the repository at this point in the history
…P_URL environment variables
  • Loading branch information
m453h committed Jul 16, 2024
1 parent 70a2dc6 commit b7dc142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/roboshield/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"build-server": "tsc --project tsconfig.server.json",
"build-next": "NEXT_BUILD=true pnpm build-server && NEXT_BUILD=true PAYLOAD_CONFIG_PATH=${PAYLOAD_CONFIG_PATH:-dist/payload.config.js} node dist/server.js",
"build-payload": "payload build",
"build-payload": "PAYLOAD_PUBLIC_APP_URL=${PAYLOAD_PUBLIC_APP_URL} payload build",
"start": "PAYLOAD_CONFIG_PATH=${PAYLOAD_CONFIG_PATH:-dist/payload.config.js} NODE_ENV=${NODE_ENV:-production} node dist/server.js",
"dev": "NODE_OPTIONS='--inspect' ts-node --project tsconfig.server.json server.ts",
"clean": "rm -rf .next .turbo node_modules",
"jest": "jest --passWithNoTests",
"lint-check": "TIMING=1 next lint './'",
"lint": "TIMING=1 next lint --fix './'",
"generate:types": "payload generate:types"
"generate:types": "PAYLOAD_PUBLIC_APP_URL=${PAYLOAD_PUBLIC_APP_URL} payload generate:types"
},
"dependencies": {
"@commons-ui/core": "workspace:*",
Expand Down

0 comments on commit b7dc142

Please sign in to comment.