From d4dcb326b54eb741388c468fec132e1911b8ea7c Mon Sep 17 00:00:00 2001 From: Badisi Date: Wed, 2 Oct 2024 10:09:55 +0200 Subject: [PATCH] fix(release): should fix lock file issues --- patches/nx+19.8.3.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/nx+19.8.3.patch b/patches/nx+19.8.3.patch index 92934fd..54c8dd5 100644 --- a/patches/nx+19.8.3.patch +++ b/patches/nx+19.8.3.patch @@ -76,3 +76,16 @@ index 2ace40e..c415390 100644 + // return JSON.stringify(input, null, options?.spaces ?? 2); + return JSON.stringify(input, null, options?.indent ?? 2); } +diff --git a/node_modules/nx/src/utils/package-manager.js b/node_modules/nx/src/utils/package-manager.js +index a8ef2b8..f29027d 100644 +--- a/node_modules/nx/src/utils/package-manager.js ++++ b/node_modules/nx/src/utils/package-manager.js +@@ -132,7 +132,7 @@ function getPackageManagerCommand(packageManager = detectPackageManager(), root + }, + npm: () => { + // TODO: Remove this +- process.env.npm_config_legacy_peer_deps ??= 'true'; ++ // process.env.npm_config_legacy_peer_deps ??= 'true'; + return { + install: 'npm install', + ciInstall: 'npm ci --legacy-peer-deps',