fix: turbo env

Because turbo now removes non specified environment variables we need to specify --env-mode explicitly as loose

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2024-08-31 15:25:16 +02:00 committed by Erik Michelson
parent 09641c14f6
commit ab48b332ac

View file

@ -12,16 +12,16 @@
"markdown-it-plugins" "markdown-it-plugins"
], ],
"scripts": { "scripts": {
"build": "dotenv -c production -- turbo run build", "build": "dotenv -c production -- turbo --env-mode=loose run build",
"build:test": "dotenv -c production -- turbo run build:test", "build:test": "dotenv -c production -- turbo --env-mode=loose run build:test",
"lint": "dotenv -c development -- turbo run lint", "lint": "dotenv -c development -- turbo --env-mode=loose run lint",
"lint:fix": "dotenv -c development -- turbo run lint:fix", "lint:fix": "dotenv -c development -- turbo --env-mode=loose run lint:fix",
"format": "dotenv -c development -- turbo run format", "format": "dotenv -c development -- turbo --env-mode=loose run format",
"start:dev": "dotenv -c development -- turbo run start:dev", "start:dev": "dotenv -c development -- turbo --env-mode=loose run start:dev",
"start": "dotenv -c production -- turbo run start", "start": "dotenv -c production -- turbo --env-mode=loose run start",
"test:ci": "dotenv -c test -- turbo run test:ci --concurrency 1", "test:ci": "dotenv -c test -- turbo --env-mode=loose run test:ci --concurrency 1",
"test": "dotenv -c test -- turbo run test --concurrency 1", "test": "dotenv -c test -- turbo --env-mode=loose run test --concurrency 1",
"test:e2e:ci": "dotenv -c test -- turbo run test:e2e:ci" "test:e2e:ci": "dotenv -c test -- turbo --env-mode=loose run test:e2e:ci"
}, },
"packageManager": "yarn@4.1.1", "packageManager": "yarn@4.1.1",
"resolutions": { "resolutions": {