pulumi/sdk/nodejs/automation
Tom Harding 53c5412cdd
Preview-only refresh in NodeJS (#18662)
The `previewOnly` parameter now allows users to set the `--preview-only`
flag in the NodeJS Automation API. This overrides [`--skip-preview` in
the same way as
Go](edcecda347/sdk/go/auto/stack.go (L727-L729))*.
As with #18653, it's difficult to test that flags are set at the moment,
but I have manually tested that the flag shows up correctly:

```javascript
[
  'refresh',
  '--preview-only',
  '--exec-agent',
  'pulumi/pulumi/test',
  '--exec-kind',
  'auto.inline',
  '--stack',
  'organization/inline_node/int_test42ed92ec-177e-4156-8af2-223e0ebc91b7'
]
```

_* Note that, unlike Go, it doesn't unset the `--yes` flag when
`--preview-only` is set. Given that Go doesn't seem to handle any
prompts that may follow, it seems like this could be a thing we want to
change in the Go code?_
2025-02-20 16:05:06 +00:00
..
cmd.ts [nodejs] cancelation support for auto api (#16783) 2024-09-17 13:23:58 +00:00
config.ts Improve TypeDocs for `sdk/nodejs/automation` (#16616) 2024-07-10 17:22:24 +00:00
errors.ts Improve TypeDocs for `sdk/nodejs/automation` (#16616) 2024-07-10 17:22:24 +00:00
events.ts add debugging events to automation API (#17221) 2024-09-16 16:46:51 +00:00
index.ts Export automation.tag.TagMap type & @param tag fixes (#15774) 2024-03-25 14:33:15 +00:00
localWorkspace.ts Add LocalWorkspace.install method for Nodejs (#17134) 2024-09-03 09:01:30 +00:00
minimumVersion.ts Improve TypeDocs for `sdk/nodejs/automation` (#16616) 2024-07-10 17:22:24 +00:00
projectSettings.ts Improve TypeDocs for `sdk/nodejs/automation` (#16616) 2024-07-10 17:22:24 +00:00
remoteStack.ts Update function comments to remove outdated DIY backend note (#17563) 2024-10-29 09:57:23 +00:00
remoteWorkspace.ts Improve TypeDocs for `sdk/nodejs/automation` (#16616) 2024-07-10 17:22:24 +00:00
server.ts Improve TypeDocs for `sdk/nodejs/automation` (#16616) 2024-07-10 17:22:24 +00:00
stack.ts Preview-only refresh in NodeJS (#18662) 2025-02-20 16:05:06 +00:00
stackSettings.ts Improve TypeDocs for `sdk/nodejs/automation` (#16616) 2024-07-10 17:22:24 +00:00
tag.ts Improve TypeDocs for `sdk/nodejs/automation` (#16616) 2024-07-10 17:22:24 +00:00
workspace.ts Fixed a bug where token information was not present in types (#17735) 2024-12-01 07:39:51 +00:00