refactor: rename webui generate command to ui-bundle @W-21575871@#888
Closed
deepu-mungamuri94 wants to merge 3 commits intosalesforcecli:mainfrom
Closed
refactor: rename webui generate command to ui-bundle @W-21575871@#888deepu-mungamuri94 wants to merge 3 commits intosalesforcecli:mainfrom
deepu-mungamuri94 wants to merge 3 commits intosalesforcecli:mainfrom
Conversation
- 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
Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
template generate webuicommand totemplate generate ui-bundleto align with the updated metadata type name (uiBundles)messages/webui.mdwithmessages/ui-bundle.generate.mdusing updated terminology throughoutcommand-snapshot.jsoncommand ID (template:generate:webui→template:generate:ui-bundle) and alias (webui:generate→ui-bundle:generate)package.jsontaxonomy: renames themulti-framework/webuitopic entry toui-bundleand adds a top-levelui-bundletopicContext
The
webuinaming was an internal working name. The official metadata type for this artifact isuiBundles, so all user-facing CLI surface (command ID, alias, help text, output directory defaults) is being updated accordingly.Test Plan
yarn buildto confirm no compile errorsyarn testto confirm existing NUTs pass under the new command pathsf template generate ui-bundle --name MyBundlescaffolds files intouiBundles/template:generate:webuiand aliaswebui:generateno longer appear insf --helpMade with Cursor
@W-21575871@