Skip to content

feat: rename lightning embedding command to ui-embedding#995

Open
aman06it wants to merge 3 commits into
salesforcecli:mainfrom
aman06it:feat/rename-ui-embedding
Open

feat: rename lightning embedding command to ui-embedding#995
aman06it wants to merge 3 commits into
salesforcecli:mainfrom
aman06it:feat/rename-ui-embedding

Conversation

@aman06it

@aman06it aman06it commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

What

Renames the sf template generate lightning embedding command to sf template generate ui-embedding.

  • Command class moved: lightning/embedding.tsui-embedding/index.ts
  • Messages lightningEmbedding.mduiEmbedding.md
  • NUT test moved to ui-embedding/index.nut.ts
  • package.json oclif topic updated to ui-embedding
  • command-snapshot.json regenerated
  • Removed "widget" terminology (widget URL → embedding URL)
  • Standardized angle-bracket usage in help text (<lightning-ui-embedding>)

Dependency

⚠️ Depends on forcedotcom/salesforcedx-templates PR (UI Embedding rename). The renamed symbols (UIEmbeddingOptions, TemplateType.UIEmbedding, isAllowedUIEmbeddingSrcUrl, UI_EMBEDDING_SANDBOX_TOKENS) must be published to @salesforce/templates first, or CI here will fail to resolve them. Merge/release after that PR.

Note

Command is state = 'beta' and hidden = true — not in README/docs, no back-compat obligation.

Rename the `template generate lightning embedding` command to
`template generate ui-embedding`. Update command class, messages,
tests, package.json topic, and command snapshot.

Remove "widget" terminology and standardize angle-bracket usage in
help text (<lightning-ui-embedding>).

@W-23468815@ @W-23301022@ @W-23301024@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant