From ab48b332ac3979ea84be371be2df4ab8554f06e4 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Sat, 31 Aug 2024 15:25:16 +0200 Subject: [PATCH] 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 --- package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 7641f87ee..d7f71f5e2 100644 --- a/package.json +++ b/package.json @@ -12,16 +12,16 @@ "markdown-it-plugins" ], "scripts": { - "build": "dotenv -c production -- turbo run build", - "build:test": "dotenv -c production -- turbo run build:test", - "lint": "dotenv -c development -- turbo run lint", - "lint:fix": "dotenv -c development -- turbo run lint:fix", - "format": "dotenv -c development -- turbo run format", - "start:dev": "dotenv -c development -- turbo run start:dev", - "start": "dotenv -c production -- turbo run start", - "test:ci": "dotenv -c test -- turbo run test:ci --concurrency 1", - "test": "dotenv -c test -- turbo run test --concurrency 1", - "test:e2e:ci": "dotenv -c test -- turbo run test:e2e:ci" + "build": "dotenv -c production -- turbo --env-mode=loose run build", + "build:test": "dotenv -c production -- turbo --env-mode=loose run build:test", + "lint": "dotenv -c development -- turbo --env-mode=loose run lint", + "lint:fix": "dotenv -c development -- turbo --env-mode=loose run lint:fix", + "format": "dotenv -c development -- turbo --env-mode=loose run format", + "start:dev": "dotenv -c development -- turbo --env-mode=loose run start:dev", + "start": "dotenv -c production -- turbo --env-mode=loose run start", + "test:ci": "dotenv -c test -- turbo --env-mode=loose run test:ci --concurrency 1", + "test": "dotenv -c test -- turbo --env-mode=loose run test --concurrency 1", + "test:e2e:ci": "dotenv -c test -- turbo --env-mode=loose run test:e2e:ci" }, "packageManager": "yarn@4.1.1", "resolutions": {