From d9e9729c32546835827c8ae6425abdfbd08df0b6 Mon Sep 17 00:00:00 2001 From: Sampo Tawast Date: Fri, 19 May 2023 15:03:19 +0300 Subject: [PATCH] Fix builds by using webpack with --openssl-legacy-provider --- frontend/package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 7084656515..6a781cecd5 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -16,11 +16,11 @@ "scripts": { "audit": "npx lerna-audit --level=high --groups=dependencies", "build": "npx lerna run build", - "ks-empl:build": "npx lerna run --scope @frontend/employer --stream build", - "ks-hdlr:build": "npx lerna run --scope @frontend/ks-handler --stream build", - "ks-youth:build": "npx lerna run --scope @frontend/youth --stream build", - "bf-appl:build": "npx lerna run --scope @frontend/applicant --stream build", - "bf-hdlr:build": "npx lerna run --scope @frontend/bf-handler --stream build", + "ks-empl:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider npx lerna run --scope @frontend/employer --stream build", + "ks-hdlr:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider npx lerna run --scope @frontend/ks-handler --stream build", + "ks-youth:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider npx lerna run --scope @frontend/youth --stream build", + "bf-appl:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider npx lerna run --scope @frontend/applicant --stream build", + "bf-hdlr:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider npx lerna run --scope @frontend/bf-handler --stream build", "ks-empl:dev": "npx lerna run --scope @frontend/employer --stream dev", "ks-hdlr:dev": "npx lerna run --scope @frontend/ks-handler --stream dev", "ks-youth:dev": "npx lerna run --scope @frontend/youth --stream dev", @@ -50,13 +50,13 @@ "ks-youth:browser-test:ci": "yarn --cwd kesaseteli/youth browser-test:ci", "shared:test": " yarn --cwd shared test", "ks-shared:test": " yarn --cwd kesaseteli/shared test", - "te-admin:build": "npx lerna run --scope @frontend/te-admin --stream build", + "te-admin:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider npx lerna run --scope @frontend/te-admin --stream build", "te-admin:dev": "npx lerna run --scope @frontend/te-admin --stream dev", "te-admin:start": "npx lerna run --scope @frontend/te-admin --stream start", "te-admin:test": " yarn --cwd tet/admin test", "te-admin:browser-test": "yarn --cwd tet/admin browser-test", "te-admin:browser-test:ci": "yarn --cwd tet/admin browser-test:ci", - "te-youth:build": "npx lerna run --scope @frontend/te-youth --stream build", + "te-youth:build": "cross-env NODE_OPTIONS=--openssl-legacy-provider npx lerna run --scope @frontend/te-youth --stream build", "te-youth:dev": "npx lerna run --scope @frontend/te-youth --stream dev", "te-youth:start": "npx lerna run --scope @frontend/te-youth --stream start", "te-youth:test": " yarn --cwd tet/youth test",