Skip to content

fix: use sf template generate ui-bundle command in NUTs#50

Open
k-j-kim wants to merge 1 commit into
mainfrom
k-j-kim/fix-ui-bundle-gen-cmd
Open

fix: use sf template generate ui-bundle command in NUTs#50
k-j-kim wants to merge 1 commit into
mainfrom
k-j-kim/fix-ui-bundle-gen-cmd

Conversation

@k-j-kim
Copy link
Copy Markdown
Collaborator

@k-j-kim k-j-kim commented May 8, 2026

Summary

This PR replaces sf ui-bundle generate with sf template generate ui-bundle in:

  • test/commands/ui-bundle/helpers/uiBundleProjectUtils.ts (createProjectWithUiBundle, createProjectWithMultipleUiBundles, comment)
  • test/commands/ui-bundle/dev.nut.ts (one inline execSync call in the name-conflict test)

Test plan

  • CI NUTs pass on Ubuntu and Windows
  • Once merged + released, verify the JIT (plugin-ui-bundle-dev) jobs go green in the next nightly create-cli-release of salesforcecli/cli

The `sf ui-bundle generate` command does not exist; the correct command
shipped by @salesforce/plugin-templates is `sf template generate ui-bundle`.
Update test helpers and dev.nut.ts to call the correct command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant