There’s no easy way today due to the fact that the...
# google-cloud
f
There’s no easy way today due to the fact that there’s no control over
package.json
in the mixin: https://github.com/pulumi/pulumi-gcp/blob/master/sdk/nodejs/cloudfunctions/zMixins.ts#L243
Though, that code doesn’t do anything specific to
scripts
— I’m surprised if
read-package-json
actually strips out the
scripts
property
c
producePackageJson
function only uses
dependencies
when generating the new package.json https://github.com/pulumi/pulumi-gcp/blob/master/sdk/nodejs/cloudfunctions/zMixins.ts#L273
f
Ah… yes, of course 🙂 I totally missed that line while reading it. Thanks for pointing it out in the issue.