From e613d01cf96a03f5f5ba6841938cc85ae408c1a3 Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Wed, 23 Apr 2025 16:25:17 +0200 Subject: [PATCH 1/2] add package-lock=true to .npmrc Signed-off-by: Matteo Collina --- .npmrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.npmrc b/.npmrc index 4a440c6a74c7e..7373705c7271f 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,3 @@ # See bug in peerdeps resolution: https://github.com/npm/cli/issues/2999 legacy-peer-deps = false +package-lock=true From e16aaa9ceef55da7374e1d8668e5a1823a983b92 Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Wed, 23 Apr 2025 10:05:35 -0700 Subject: [PATCH 2/2] Update .npmrc Co-authored-by: Aviv Keller Signed-off-by: Matteo Collina --- .npmrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.npmrc b/.npmrc index 7373705c7271f..c2573436a89c1 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,4 @@ # See bug in peerdeps resolution: https://github.com/npm/cli/issues/2999 legacy-peer-deps = false -package-lock=true +# TODO(@mcollina): Currently, the lockfile is needed to build, so we explicitly require it's use +package-lock = true