From 0a5bcaaa8457148ca0645333959868618de77101 Mon Sep 17 00:00:00 2001 From: Tycho Bokdam Date: Sun, 21 Jul 2024 21:26:50 +0200 Subject: [PATCH] fix(gcp-functions): Never add `packageManager` to generated package.json --- packages/gcp-functions/src/utils/generate-package-json.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/gcp-functions/src/utils/generate-package-json.ts b/packages/gcp-functions/src/utils/generate-package-json.ts index 0f6a6c18..94f33464 100644 --- a/packages/gcp-functions/src/utils/generate-package-json.ts +++ b/packages/gcp-functions/src/utils/generate-package-json.ts @@ -32,6 +32,9 @@ export const generatePackageJson = ( } ) + // Remove packageManager as this conflicts with yarn versions + delete packageJson.packageManager + if (!packageJson.main) { packageJson.main = options.outputFileName || 'main.js' }