refactor: rename webapp dev command and plugin to ui-bundle @W-21575874@#41
Merged
garychangsf merged 18 commits intomainfrom Mar 31, 2026
Merged
refactor: rename webapp dev command and plugin to ui-bundle @W-21575874@#41garychangsf merged 18 commits intomainfrom
garychangsf merged 18 commits intomainfrom
Conversation
Rename `sf webapp dev` command to `sf ui-bundle dev` and update plugin identity: - Rename src/commands/webapp/dev.ts to src/commands/ui-bundle/dev.ts - Rename messages/webapp.dev.md to messages/ui-bundle.dev.md - Rename schemas/webapp-dev.json to schemas/ui-bundle-dev.json - Rename SF_WEBAPP_DEV_GUIDE.md to SF_UI_BUNDLE_DEV_GUIDE.md - Rename test/commands/webapp/ to test/commands/ui-bundle/ - Rename plugin from @salesforce/plugin-app-dev to @salesforce/plugin-ui-bundle-dev - Update command-snapshot.json: webapp:dev → ui-bundle:dev - Update package.json: topics webapp → ui-bundle, homepage and repository URLs - Update webappDiscovery.ts: path segment and folder constant webui → uiBundles - Update COMMANDS.md and README.md with ui-bundle command and package references - Update src/proxy/ProxyServer.ts with associated changes W-21575874 Made-with: Cursor
bpbuch
reviewed
Mar 27, 2026
bpbuch
reviewed
Mar 29, 2026
…ports - Rename dev command, messages, schemas, and configs from webapp to ui-bundle - Update imports from @salesforce/webapp-experimental to @salesforce/ui-bundle - Remove ErrorPageRenderer (template inlined upstream) - Update all test helpers and NUT references Made-with: Cursor
b2e0ca2 to
e3c9bf5
Compare
- Replace webui/, webapplication.json, .webapplication-meta.xml references - Replace app-based example names with bundle equivalents - Delete SF_WEBAPP_DEV_GUIDE.md (superseded by SF_UI_BUNDLE_DEV_GUIDE.md) - Fix title, debug log grep pattern, and project structure Made-with: Cursor
- MyApp → MyBundle in flags.name.description - myUiBundle → myBundle in command examples Made-with: Cursor
Switch tsconfig from Node16 to Preserve/Bundler to match how @salesforce/ui-bundle generates its .d.ts files. The old @salesforce/webapp-experimental included .js extensions in d.ts imports (Node16-compatible), but @salesforce/ui-bundle dropped them (Bundler-style), causing ESLint type resolution failures. Also corrects UIBundleManifest import casing to match the actual export name. Made-with: Cursor
Co-authored-by: Brian Buchanan <5377888+bpbuch@users.noreply.github.com>
Replace all webapp/webapplication references with ui-bundle conventions, update command from sf webapp dev to sf ui-bundle dev, and align example names to use bundle-style naming (myBundle). Made-with: Cursor
Made-with: Cursor
Made-with: Cursor
startViteProxyServer was sending X-Salesforce-WebApp-Proxy but dev.ts checks X-Salesforce-UiBundle-Proxy, causing the Vite proxy detection NUT to always fail. Made-with: Cursor
garychangsf
reviewed
Mar 30, 2026
Update JSDoc and schema to use concise description.
binzywu
reviewed
Mar 30, 2026
binzywu
reviewed
Mar 30, 2026
binzywu
reviewed
Mar 30, 2026
binzywu
reviewed
Mar 30, 2026
bpbuch
reviewed
Mar 30, 2026
bpbuch
approved these changes
Mar 31, 2026
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.
Rename
sf webapp devcommand tosf ui-bundle devand update plugin identity:What does this PR do?
What issues does this PR fix or reference?
@W-21575874@