Commit Graph

29 Commits

Author SHA1 Message Date
Robert Fidler f32b16ac0e
add refresh option for up in NodeJS automation API ()
# Description

Adding the `refresh` option to `up` in the NodeJS automation API

Mirror of this PR adding support for `refresh` in `preview`
(https://github.com/pulumi/pulumi/issues/12740)
2023-11-02 11:05:31 +00:00
Justin Van Patten 6d37c88fbf
[auto/nodejs] Add support for the path option for config operations ()
Add support for the `--path` flag for config operations in Node.js
Automation API.

Part of https://github.com/pulumi/pulumi/issues/5506
Related: https://github.com/pulumi/pulumi/pull/12265
Related: https://github.com/pulumi/pulumi/pull/13052
Related: https://github.com/pulumi/pulumi-dotnet/pull/191
2023-10-22 06:19:25 +00:00
susanev 031b2958f1 fix some links
Signed-off-by: susanev <susan.ra.evans@gmail.com>
2023-05-19 19:39:26 -07:00
Robbie McKinstry e05a3bd81c
Apply autoformat
This commit applies the Rome autoformatter to the Node SDK.
These changes are automatically produced. To reproduce these
changes, run `make format` from inside sdk/nodejs.
2023-04-28 18:27:10 -04:00
Robbie McKinstry c0c3ac09f0
Update sdk/nodejs/automation/stack.ts
Co-authored-by: Abhinav Gupta <abhinav@pulumi.com>
2023-04-25 16:44:27 -04:00
Robbie McKinstry 7d6b3c9444
Add --refresh flag to preview for NodeJS Automation API 2023-04-25 12:05:17 -04:00
Justin Van Patten 951e474470 [auto/nodejs] Add `excludeProtected` option for `destroy`
This change adds an `excludeProtected` option for `destroy`.
2023-04-24 12:12:11 -07:00
Matthew Rodrigues dd6ab403b2 Add stack tag support for nodejs automation api sdk 2022-12-14 22:27:56 -05:00
aq17 56d3a2efb3 attempt to select stack then create 2022-11-18 11:06:20 -08:00
Justin Van Patten 4873a7796b [auto/nodejs] Support for remote operations 2022-10-28 12:56:30 -07:00
Robbie McKinstry e978311216
Enable ESModule interoperability 2022-09-20 10:34:00 -04:00
Aaron Friel d54aaf1615
[sdk/nodejs] Use loopback addresses for providers & automation API () 2022-08-25 15:40:07 -07:00
Aaron Friel 7781785aa4
feat(automation): Add options to configure logging, tracing ()
* feat(automation): Add options to configure logging, tracing

* chore: changelog

* chore: Clean up shipped/unshipped

* refactor: consolidate --debug and --tracing opts
2022-08-11 23:30:45 -07:00
Ian Wahbe a2d926a156
[auto] Add flag to show secrets ()
* Update TS

* Update Python

* Make backwards compatible

* Add go

* Add C#

* CL

* Fix lints

* Fix python defaults

* Add XML config
2022-06-24 10:00:09 -07:00
Lee Briggs 67ed4345ad
add support for local policy packs in auto api () 2022-06-15 17:50:38 -07:00
Daniel Bradley 350274c996
Tidy Nodejs SDK imports ()
* Remove unused nodejs SDK imports

Quick audit to find all unused imports in files

- Remove unused `protobufjs` dependency - we use `google-protobuf` and `@grpc/grpc-js`.

* Eliminate additional unused code
2022-05-30 09:31:28 +01:00
Fraser Waters b9b9adaadf
Add update plans to automation api ()
* Add update plans to automation api

* Update PublicAPI

* Add to CHANGELOG

* Consistent doc strings

* go test

* dotnet test
2022-04-22 17:50:40 +01:00
Fraser Waters 5b90b640f0
Fix for previews ()
* Fix  for previews

Same fix as in https://github.com/pulumi/pulumi/pull/9097 but for the preview command.

* Add to CHANGELOG
2022-03-23 21:16:55 +00:00
Martin b698ed3671
Fixes : uncaught error "ENOENT: no such file or directory" ()
* Get log result even if error occurs

* Update changelog

* Simplify await upPromise block
2022-03-11 13:10:50 +00:00
Martin 05a3eb7e91
Fix DeprecationWarning fs.rmdir (take 2) ()
* Use fs.rm only if available

Co-authored-by: Fraser Waters <fraser@pulumi.com>
2022-02-25 10:17:05 +00:00
Adrian Ordonez 23f821c36e
Add color option to stack up, preview, destroy, and refresh for automation api ()
* feat(automation): add color option to stack up, preview, destroy, and refresh

* doc(*): add PR 8811 to CHANGELOG_PENDING

Co-authored-by: Fraser Waters <fraser@pulumi.com>
Co-authored-by: Kyle Dixler <25750473+dixler@users.noreply.github.com>
2022-01-24 23:34:22 +01:00
Horace Lee a92a005d68
Use ESlint instead of TSlint ()
Migrated TSlint configs to ESlint ones using [tslint-to-eslint-config](https://github.com/typescript-eslint/tslint-to-eslint-config) tool, and refined the configs to better match the current coding style.

Changes:
- [member-delimiter-style](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/member-delimiter-style.md#options) that as suggested default for type definition to be  with `semicolon`
- Indentation fixes that is enforced by [eslint-indent](https://eslint.org/docs/rules/indent#options)
- Added dependencies for ESlint with Typescript
- Removed TSlint
2021-08-10 11:31:59 -07:00
Komal 9c1964e622
[automation/nodejs] - Only log, don't error on unparsed events () 2021-05-28 09:15:45 -07:00
Komal ff7237656c
[auto/nodejs] - Reimplement JSON event parsing with Readline () 2021-05-24 13:03:38 -07:00
Evan Boyle c3dc2d54ab
Add user agent to the CLI, Go and Nodejs Automation API SDKs () 2021-04-30 07:26:23 -07:00
Ville Penttinen daa6045381
[automation/*] Add support for getting stack outputs using Workspace () 2021-04-26 16:32:30 -07:00
Komal 61ce479241
Re-add [BREAKING] - Standardize stack select behavior () ()
Co-authored-by: Paul Stack <public@paulstack.co.uk>
2021-04-22 14:10:39 +01:00
Paul Stack f6fea7fafb [cli] Removing the deprecated pulumi history command () 2021-04-14 19:32:18 +01:00
Paul Stack 3fad2e5329 Removing x namespace from go/python/nodejs automation packages () 2021-04-14 19:32:18 +01:00