New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate and publish NPM package with install-pulumi-plugin.js #13195
Comments
Fixes #10 This hotfix is intended to substitute for a longer term fix in pulumi/pulumi#13195. This allows us to update our publishing workflows with a fixed NPM package.
Fixes #10 This hotfix is intended to substitute for a longer term fix in pulumi/pulumi#13195. This allows us to update our publishing workflows with a fixed NPM package.
Fixes #10 This hotfix is intended to substitute for a longer term fix in pulumi/pulumi#13195. This allows us to update our publishing workflows with a fixed NPM package.
Commented on pulumi/pulumi-package-publisher#10 (comment) so just linking that here for visibility. |
I think the root cause of this is actually a Node.js sdkgen bug. We do emit the Originally, sdkgen did not emit this file at all. Our publishing script injected it into the package before publishing: https://github.com/pulumi/scripts/blob/b6ee1692954d2b39e7a22b0db80b8cc4b735c101/ci/publish-tfgen-package#L33-L42. This ends up running add-plugin-installer-script.js, which adds this copy of Eventually we changed sdkgen to emit this file in #8730, but since this file never got "built" and copied into the built directory along with all the other compiled javascript, it was never actually included in the published package. Instead the variant of We should fix the Node.js sdkgen to emit a We may have to update any publish scripts and commands to avoid injecting a |
Honestly wonder if we should just do #13075 and drop these files entirely. NodeJS is going to be the only language where this works via library files, not totally sure it's worth the special treatment. |
Closing this as we've changed codegen to drop these files entirely now. |
Cannot close issue:
Please fix these problems and try again. |
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment)
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Apprently Pulumi dropped the install script: pulumi/pulumi#13195 (comment) Signed-off-by: peterdeme <snypox@gmail.com>
Recently published NPM packages by the ecosystem team have failed to install, on failing to execute a script
scripts/install-pulumi-plugin.js
. See:The text was updated successfully, but these errors were encountered: