https://pulumi.com logo
Title
f

faint-table-42725

04/20/2020, 8:50 PM
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

clean-autumn-55516

04/21/2020, 11:12 PM
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

faint-table-42725

04/22/2020, 3:55 AM
Ah… yes, of course 🙂 I totally missed that line while reading it. Thanks for pointing it out in the issue.