Skip to content

Conversation

@Shinoni
Copy link

@Shinoni Shinoni commented Jan 15, 2026

What does this PR do?

Implemented the new top‑level WebApplication metadata type (folder webapplications, suffix webapplication) and wired it into SDR’s registry, adapter, and path generation, with strict source validation: deploy now requires metadata XML + webapplication.json + at least one non‑metadata content file (e.g., src/index.html). Retrieve remains aligned with standard metadata resolution behavior.

What issues does this PR fix or reference?

Support for the new MD type.

@https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07EE00002SNx2RYAT/view@

Functionality Before

<insert gif and/or summary>

Functionality After

A developer will be able deploy and retrieve a web app via sf cli
<insert gif and/or summary>

@Shinoni Shinoni changed the title feat: add WebApplication metadata type @W-20799435 feat: add WebApplication metadata type Jan 15, 2026
// lwc, aura, waveTemplate, experiencePropertyType, lightningTypeBundle, contentTypeBundle
if (type.strategies?.adapter === 'bundle') {
// lwc, aura, waveTemplate, experiencePropertyType, lightningTypeBundle, contentTypeBundle, webApplications
if (type.strategies?.adapter === 'bundle' || type.strategies?.adapter === 'webApplications') {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a custom adapter because WebApplication has extra source‑time requirements beyond a normal bundle: it must include webapplication.json and at least one non‑metadata content file.

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.

2 participants