mirror of
https://github.com/documenso/documenso.git
synced 2026-07-25 09:25:08 +10:00
fix: remove double-dash in pnpm with:env script calls
pnpm does not consume `--` the way npm did when passing args to scripts. The extra `--` was being forwarded to dotenv-cli which tried to spawn it as a command, causing ENOENT errors in CI.
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
"build": "./.bin/build.sh",
|
||||
"build:app": "pnpm run typecheck && cross-env NODE_ENV=production react-router build",
|
||||
"build:server": "cross-env NODE_ENV=production rollup -c rollup.config.mjs",
|
||||
"dev": "pnpm run with:env -- react-router dev",
|
||||
"dev": "pnpm run with:env react-router dev",
|
||||
"dev:billing": "bash .bin/stripe-dev.sh",
|
||||
"start": "pnpm run with:env -- cross-env NODE_ENV=production node build/server/main.js",
|
||||
"start": "pnpm run with:env cross-env NODE_ENV=production node build/server/main.js",
|
||||
"clean": "rimraf .react-router && rimraf node_modules",
|
||||
"typecheck": "react-router typegen && tsc",
|
||||
"with:env": "dotenv -e ../../.env -e ../../.env.local --"
|
||||
|
||||
Reference in New Issue
Block a user