mirror of https://github.com/pulumi/pulumi.git
9b39af3a4c
12854: Add pulumi package publish-sdk command structure and NPM publish functionality r=guineveresaenger a=guineveresaenger # Description This pull request adds an _experimental_ subcommand to `pulumi package` called `publish-sdk`. - It scaffolds the structure of this new command. - It implements the [npm publish logic from the scripts repo](https://github.com/pulumi/scripts/blob/master/ci/publish-tfgen-package) in Go and provides it via the Pulumi CLI. Command help text output: ```sh Usage: pulumi package publish-sdk <package> <language> [flags] Flags: -h, --help help for publish-sdk --path string The path to the root of your package. Example: ./sdk/nodejs --tag string The tag for your NPM package, such as "latest"" ``` Fixes pulumi/home#2697 ## Checklist <!--- Please provide details if the checkbox below is to be left unchecked. --> - [ ] I have added tests that prove my fix is effective or that my feature works I am open to suggestions on how to test this. <!--- User-facing changes require a CHANGELOG entry. --> - [ ] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change n/a; this feature is developer-only Co-authored-by: Guinevere Saenger <guinevere@pulumi.com> |
||
---|---|---|
.. | ||
pulumi |