Skip to content

Commit

Permalink
fix(gcp-functions): Never add packageManager to generated package.j…
Browse files Browse the repository at this point in the history
…son (#296)
  • Loading branch information
TriPSs authored Jul 21, 2024
2 parents f8db596 + 0a5bcaa commit b5f6b3a
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 b5f6b3a

Please sign in to comment.