Skip to content

Commit

Permalink
fix(gcp-functions): Never add packageManager to generated package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
TriPSs committed Jul 21, 2024
1 parent 54a095f commit 0a5bcaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/gcp-functions/src/utils/generate-package-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit 0a5bcaa

Please sign in to comment.