Skip to content

refactor: rename webui generate command to ui-bundle @W-21575871@#888

Closed
deepu-mungamuri94 wants to merge 3 commits intosalesforcecli:mainfrom
deepu-mungamuri94:rename-webapp-to-ui-bundle
Closed

refactor: rename webui generate command to ui-bundle @W-21575871@#888
deepu-mungamuri94 wants to merge 3 commits intosalesforcecli:mainfrom
deepu-mungamuri94:rename-webapp-to-ui-bundle

Conversation

@deepu-mungamuri94
Copy link
Copy Markdown

@deepu-mungamuri94 deepu-mungamuri94 commented Mar 27, 2026

Summary

  • Renames the template generate webui command to template generate ui-bundle to align with the updated metadata type name (uiBundles)
  • Replaces messages/webui.md with messages/ui-bundle.generate.md using updated terminology throughout
  • Updates command-snapshot.json command ID (template:generate:webuitemplate:generate:ui-bundle) and alias (webui:generateui-bundle:generate)
  • Updates package.json taxonomy: renames the multi-framework/webui topic entry to ui-bundle and adds a top-level ui-bundle topic

Context

The webui naming was an internal working name. The official metadata type for this artifact is uiBundles, so all user-facing CLI surface (command ID, alias, help text, output directory defaults) is being updated accordingly.

Test Plan

  • Run yarn build to confirm no compile errors
  • Run yarn test to confirm existing NUTs pass under the new command path
  • Manually verify sf template generate ui-bundle --name MyBundle scaffolds files into uiBundles/
  • Confirm old command ID template:generate:webui and alias webui:generate no longer appear in sf --help

Made with Cursor

@W-21575871@

- Rename command: sf template generate webapp → sf template generate webui
- Rename source folder: src/commands/template/generate/webapp/ → webui/
- Rename messages file: messages/webApplication.md → messages/webui.md
- Update default output directory: main/default/webapplications → main/default/webui
- Update all path references, examples, and tests to use webui

Made-with: Cursor
Renames the `template generate webui` command and all associated
artifacts to `template generate ui-bundle` to align with the updated
metadata type name.

Changes:
- Rename src/commands/template/generate/webui/ → ui-bundle/
- Rename test/commands/template/generate/webui/ → ui-bundle/
- Replace messages/webui.md with messages/ui-bundle.generate.md
- Update command-snapshot.json: command ID and alias updated
  (template:generate:webui → template:generate:ui-bundle,
   webui:generate → ui-bundle:generate)
- Update package.json: taxonomy entry renamed from multi-framework/webui
  to ui-bundle, and a top-level ui-bundle topic added

Made-with: Cursor
@deepu-mungamuri94 deepu-mungamuri94 requested a review from a team as a code owner March 27, 2026 06:49
@deepu-mungamuri94 deepu-mungamuri94 changed the title refactor: rename webui generate command to ui-bundle refactor: rename webui generate command to ui-bundle @W-21575871@ Mar 27, 2026
@deepu-mungamuri94 deepu-mungamuri94 deleted the rename-webapp-to-ui-bundle branch March 27, 2026 07:46
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