diff --git a/README.md b/README.md index 527381d0..eb899836 100644 --- a/README.md +++ b/README.md @@ -201,7 +201,7 @@ EXAMPLES $ sf lightning dev app --target-org myOrg --device-type ios --device-id "iPhone 15 Pro Max" ``` -_See code: [src/commands/lightning/dev/app.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/4.4.12/src/commands/lightning/dev/app.ts)_ +_See code: [src/commands/lightning/dev/app.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/4.4.13-alpha.0/src/commands/lightning/dev/app.ts)_ ## `sf lightning dev component` @@ -209,13 +209,14 @@ _See code: [src/commands/lightning/dev/app.ts](https://github.com/salesforcecli/ ``` USAGE - $ sf lightning dev component -o [--json] [--flags-dir ] [-n ] [-c] + $ sf lightning dev component -o [--json] [--flags-dir ] [-n ] [--api-version ] [-c] FLAGS - -c, --client-select Launch component preview without selecting a component - -n, --name= Name of a component to preview. - -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` - configuration variable is already set. + -c, --client-select Launch component preview without selecting a component + -n, --name= Name of a component to preview. + -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` + configuration variable is already set. + --api-version= Override the api version used for api requests made by this command GLOBAL FLAGS --flags-dir= Import flag values from a directory. @@ -248,7 +249,7 @@ EXAMPLES $ sf lightning dev component --name myComponent ``` -_See code: [src/commands/lightning/dev/component.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/4.4.12/src/commands/lightning/dev/component.ts)_ +_See code: [src/commands/lightning/dev/component.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/4.4.13-alpha.0/src/commands/lightning/dev/component.ts)_ ## `sf lightning dev site` @@ -304,6 +305,6 @@ EXAMPLES $ sf lightning dev site --name "Partner Central" --target-org myOrg --get-latest ``` -_See code: [src/commands/lightning/dev/site.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/4.4.12/src/commands/lightning/dev/site.ts)_ +_See code: [src/commands/lightning/dev/site.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/4.4.13-alpha.0/src/commands/lightning/dev/site.ts)_ diff --git a/command-snapshot.json b/command-snapshot.json index aa16dcf4..26cc62d9 100644 --- a/command-snapshot.json +++ b/command-snapshot.json @@ -12,7 +12,7 @@ "command": "lightning:dev:component", "flagAliases": [], "flagChars": ["c", "n", "o"], - "flags": ["client-select", "flags-dir", "json", "name", "target-org"], + "flags": ["api-version", "client-select", "flags-dir", "json", "name", "target-org"], "plugin": "@salesforce/plugin-lightning-dev" }, { @@ -20,7 +20,7 @@ "command": "lightning:dev:site", "flagAliases": [], "flagChars": ["l", "n", "o"], - "flags": ["flags-dir", "get-latest", "guest", "name", "target-org", "ssr"], + "flags": ["flags-dir", "get-latest", "guest", "name", "ssr", "target-org"], "plugin": "@salesforce/plugin-lightning-dev" } ] diff --git a/package.json b/package.json index c47bb348..ed397b77 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { "name": "@salesforce/plugin-lightning-dev", "description": "Lightning development tools for LEX, Mobile, and Experience Sites", - "version": "4.4.12", + "version": "4.4.13-alpha.0", "author": "Salesforce", "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": { "@inquirer/prompts": "^5.3.8", "@inquirer/select": "^2.4.7", - "@lwc/lwc-dev-server": "~13.2.1", - "@lwc/sfdc-lwc-compiler": "~13.0.31", + "@lwc/lwc-dev-server": "~13.1.2", + "@lwc/sfdc-lwc-compiler": "^13.1.2", "@lwrjs/api": "0.18.3", "@oclif/core": "^4.5.0", "@salesforce/core": "^8.19.1", @@ -237,8 +237,8 @@ "The 'versionToTagMappings' section defines the mapping between released tags for our CLI plugin and the org version that each tag supports." ], "target": { - "versionNumber": "66.0", - "matchingDevServerVersion": "~13.0.27" + "versionNumber": "65.0", + "matchingDevServerVersion": "~13.1.2" }, "versionToTagMappings": [ { @@ -254,7 +254,7 @@ "tagName": "prerelease" }, { - "versionNumber": "66.0", + "versionNumber": "65.0", "tagName": "next" } ] diff --git a/src/commands/lightning/dev/component.ts b/src/commands/lightning/dev/component.ts index 97a1fab4..04315289 100644 --- a/src/commands/lightning/dev/component.ts +++ b/src/commands/lightning/dev/component.ts @@ -18,7 +18,15 @@ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-lightning-dev', 'lightning.dev.component'); const sharedMessages = Messages.loadMessages('@salesforce/plugin-lightning-dev', 'shared.utils'); -export default class LightningDevComponent extends SfCommand { +export type ComponentPreviewResult = { + instanceUrl: string; + ldpServerUrl: string; + ldpServerId: string; + componentName: string; + previewUrl: string; +}; + +export default class LightningDevComponent extends SfCommand { public static readonly summary = messages.getMessage('summary'); public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessages('examples'); @@ -29,6 +37,7 @@ export default class LightningDevComponent extends SfCommand { char: 'n', requiredOrDefaulted: false, }), + 'api-version': Flags.orgApiVersion(), 'client-select': Flags.boolean({ summary: messages.getMessage('flags.client-select.summary'), char: 'c', @@ -37,7 +46,7 @@ export default class LightningDevComponent extends SfCommand { 'target-org': Flags.requiredOrg(), }; - public async run(): Promise { + public async run(): Promise { const { flags } = await this.parse(LightningDevComponent); const logger = await Logger.child(this.ctor.name); const project = await SfProject.resolve(); @@ -54,6 +63,7 @@ export default class LightningDevComponent extends SfCommand { let componentName = flags['name']; const clientSelect = flags['client-select']; const targetOrg = flags['target-org']; + const apiVersion = flags['api-version']; const { ldpServerId, ldpServerToken } = await PreviewUtils.initializePreviewConnection(targetOrg); @@ -65,41 +75,41 @@ export default class LightningDevComponent extends SfCommand { const ldpServerUrl = PreviewUtils.generateWebSocketUrlForLocalDevServer(Platform.desktop, serverPorts, logger); logger.debug(`Local Dev Server url is ${ldpServerUrl}`); - const namespacePaths = await ComponentUtils.getNamespacePaths(project); - const componentPaths = await ComponentUtils.getAllComponentPaths(namespacePaths); - if (!componentPaths) { - throw new Error(messages.getMessage('error.directory')); - } + if (!clientSelect) { + const namespacePaths = await ComponentUtils.getNamespacePaths(project); + const componentPaths = await ComponentUtils.getAllComponentPaths(namespacePaths); + if (!componentPaths) { + throw new Error(messages.getMessage('error.directory')); + } - const components = ( - await Promise.all( - componentPaths.map(async (componentPath) => { - let xml; - - try { - xml = await ComponentUtils.getComponentMetadata(componentPath); - } catch (err) { - this.warn(messages.getMessage('error.component-metadata', [componentPath])); - } - - // components must have meta xml to be previewed - if (!xml) { - return undefined; - } - - const name = path.basename(componentPath); - const label = ComponentUtils.componentNameToTitleCase(name); - - return { - name, - label: xml.LightningComponentBundle.masterLabel ?? label, - description: xml.LightningComponentBundle.description ?? '', - }; - }) - ) - ).filter((component) => !!component); + const components = ( + await Promise.all( + componentPaths.map(async (componentPath) => { + let xml; + + try { + xml = await ComponentUtils.getComponentMetadata(componentPath); + } catch (err) { + this.warn(messages.getMessage('error.component-metadata', [componentPath])); + } + + // components must have meta xml to be previewed + if (!xml) { + return undefined; + } + + const name = path.basename(componentPath); + const label = ComponentUtils.componentNameToTitleCase(name); + + return { + name, + label: xml.LightningComponentBundle.masterLabel ?? label, + description: xml.LightningComponentBundle.description ?? '', + }; + }) + ) + ).filter((component) => !!component); - if (!clientSelect) { if (componentName) { // validate that the component exists before launching the server const match = components.find( @@ -119,7 +129,9 @@ export default class LightningDevComponent extends SfCommand { } } - await startLWCServer(logger, sfdxProjectRootPath, ldpServerToken, Platform.desktop, serverPorts); + if (process.env.LAUNCH_SERVER !== 'false') { + await startLWCServer(logger, sfdxProjectRootPath, ldpServerToken, Platform.desktop, serverPorts); + } const targetOrgArg = PreviewUtils.getTargetOrgFromArguments(this.argv); const launchArguments = PreviewUtils.generateComponentPreviewLaunchArguments( @@ -129,7 +141,31 @@ export default class LightningDevComponent extends SfCommand { targetOrgArg ); - // Open the browser and navigate to the right page - await this.config.runCommand('org:open', launchArguments); + // Construct and log the full URL that will be opened + const connection = targetOrg.getConnection(apiVersion); + + const previewUrl = PreviewUtils.generateComponentPreviewUrl( + connection.instanceUrl, + ldpServerUrl, + ldpServerId, + componentName, + false + ); + + // Prepare the result for JSON output + const result: ComponentPreviewResult = { + instanceUrl: connection.instanceUrl, + ldpServerUrl, + ldpServerId, + componentName: componentName ?? '', + previewUrl, + }; + + // Open the browser and navigate to the right page (unless OPEN_BROWSER is set to true) + if (process.env.OPEN_BROWSER !== 'false') { + await this.config.runCommand('org:open', launchArguments); + } + + return result; } } diff --git a/src/shared/previewUtils.ts b/src/shared/previewUtils.ts index 64ff30a1..ff28e262 100644 --- a/src/shared/previewUtils.ts +++ b/src/shared/previewUtils.ts @@ -246,6 +246,34 @@ export class PreviewUtils { return launchArguments; } + /** + * Generates the full URL for a component preview. + * + * @param instanceUrl The URL of the Salesforce instance + * @param ldpServerUrl The URL for the local dev server + * @param ldpServerId Record ID for the identity token + * @param componentName The name of the component to preview + * @param encodePath Whether to encode the path + * @returns The full URL for the component preview + */ + public static generateComponentPreviewUrl( + instanceUrl: string, + ldpServerUrl: string, + ldpServerId: string, + componentName?: string, + encodePath = false + ): string { + let url = `${instanceUrl}/lwr/application/e/devpreview/ai/${ + encodePath ? encodeURIComponent('localdev%2Fpreview') : 'localdev%2Fpreview' + }?ldpServerUrl=${ldpServerUrl}&ldpServerId=${ldpServerId}`; + if (componentName) { + // TODO: support other namespaces + url += `&specifier=c/${componentName}`; + } + + return url; + } + /** * Generates the proper set of arguments to be used for launching a mobile app with custom launch arguments. * diff --git a/yarn.lock b/yarn.lock index 1fbd57f9..33eac9b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2298,16 +2298,6 @@ methods "^1.1.2" path-to-regexp "^6.1.0" -"@komaci/common-shared@256.0.1": - version "256.0.1" - resolved "https://registry.yarnpkg.com/@komaci/common-shared/-/common-shared-256.0.1.tgz#55dc793359f3730870172b175264f0f8e92e9366" - integrity sha512-eU/bsugYTxenie9yDiZkxO0ex/sfhSWjamfFWWIZs2jHAO0rkl3DFbHWpTV7nFTal7t8DLsoCFEHM77owlIK4Q== - dependencies: - "@babel/core" "^7.9.0" - "@babel/generator" "^7.9.0" - "@babel/parser" "^7.9.0" - "@babel/types" "^7.9.0" - "@komaci/common-shared@258.0.0": version "258.0.0" resolved "https://registry.yarnpkg.com/@komaci/common-shared/-/common-shared-258.0.0.tgz#996feeaffc7ded5cf283bf1e63f506e032cb086b" @@ -2318,17 +2308,6 @@ "@babel/parser" "^7.9.0" "@babel/types" "^7.9.0" -"@komaci/esm-generator@256.0.1": - version "256.0.1" - resolved "https://registry.yarnpkg.com/@komaci/esm-generator/-/esm-generator-256.0.1.tgz#88e525a7bc4569cb9996e8d34821dae49f39d619" - integrity sha512-KLlKeb/4MI/jBBJdZSbsdrQgoYzAQDQ/5nTbcRT63TOCZ7hMXBBbOI3Zd1oizCTguvSHO1YXJmE5UXLcPKPptA== - dependencies: - "@babel/core" "^7.9.0" - "@babel/generator" "^7.9.0" - "@babel/types" "^7.9.0" - "@komaci/common-shared" "256.0.1" - "@komaci/static-analyzer" "256.0.1" - "@komaci/esm-generator@258.0.0": version "258.0.0" resolved "https://registry.yarnpkg.com/@komaci/esm-generator/-/esm-generator-258.0.0.tgz#b11e9fa1eb9d21168cd6e1a1f91003912e4f5fdd" @@ -2340,14 +2319,6 @@ "@komaci/common-shared" "258.0.0" "@komaci/static-analyzer" "258.0.0" -"@komaci/static-analyzer@256.0.1": - version "256.0.1" - resolved "https://registry.yarnpkg.com/@komaci/static-analyzer/-/static-analyzer-256.0.1.tgz#dc2343d17eaa07504f745f4ce8e9ea2292d61244" - integrity sha512-K5plJ1bVWZ1Zwl9KPyVtCNg+XRwVqSo7rC+QqWNHnnN/rg5MsMczUU/gBESNwbJtJez0RR2QYdplpaQBYZyzgA== - dependencies: - "@babel/types" "^7.9.0" - "@komaci/common-shared" "256.0.1" - "@komaci/static-analyzer@258.0.0": version "258.0.0" resolved "https://registry.yarnpkg.com/@komaci/static-analyzer/-/static-analyzer-258.0.0.tgz#133102c13a062b3ddd09e15ccb2e601e1b7feb8f" @@ -2471,17 +2442,17 @@ "@lwc/style-compiler" "8.21.2" "@lwc/template-compiler" "8.21.2" -"@lwc/dev-server-plugin-lex@13.0.32": - version "13.0.32" - resolved "https://registry.yarnpkg.com/@lwc/dev-server-plugin-lex/-/dev-server-plugin-lex-13.0.32.tgz#77ada03665e3ec4df76febc7842a2806722bf779" - integrity sha512-526OaIItJVAP6esh8u0vyYMyw1medJsYTlqbhxrwJbc2aj0iudaKKgMX9NJAud0pleZaCIhM2S3/SO9RoGXWtw== +"@lwc/dev-server-plugin-lex@13.1.2": + version "13.1.2" + resolved "https://registry.yarnpkg.com/@lwc/dev-server-plugin-lex/-/dev-server-plugin-lex-13.1.2.tgz#f9d1afb13785a4771d4bbfb4b4c0a5862056445d" + integrity sha512-V9oQ8q/We5epvFcM6Cf8EFi0CGgp+obSqLdkpOmr+oJIdsvXhfFsL6xZjht9xs1vLQO6/ckh5u2iPX6+eR72hg== dependencies: magic-string "~0.30.17" -"@lwc/dev-server-plugin-lex@13.2.1": - version "13.2.1" - resolved "https://registry.yarnpkg.com/@lwc/dev-server-plugin-lex/-/dev-server-plugin-lex-13.2.1.tgz#b42d404fdcd2cca0003e28a7a9b9a0016857c96f" - integrity sha512-+M0YEm4jCUkiwTDucObZwAmst/3ib5NyNU0vmTcdil/wyogW7puvUSgWyq9KwkhfUezbqM8SJ7ZmgcL68/ubSw== +"@lwc/dev-server-plugin-lex@13.2.2": + version "13.2.2" + resolved "https://registry.yarnpkg.com/@lwc/dev-server-plugin-lex/-/dev-server-plugin-lex-13.2.2.tgz#7375cd2a76e4822f703850f545749ff22c1536d8" + integrity sha512-if4UDn9Dkk8IZDmv59jY344h2vay9HbkOW6AIBobtAJ+yjohjQkIW0jzfd3BDNuwJuhbLwI9aoq+JKdu5AA6qg== dependencies: magic-string "~0.30.17" @@ -2531,18 +2502,18 @@ dependencies: "@lwc/shared" "8.21.2" -"@lwc/lwc-dev-server-types@13.2.1": - version "13.2.1" - resolved "https://registry.yarnpkg.com/@lwc/lwc-dev-server-types/-/lwc-dev-server-types-13.2.1.tgz#2604d06f0f33c012eeed0f55138f921275a6bd73" - integrity sha512-wiSflI8/8ixwCbpkXO6d2ZY49hlirD26aFMrD0H8J6vBfURUxknC107XbXg/GfDij2er78iJqUDRz05mkzJT7A== +"@lwc/lwc-dev-server-types@13.1.2": + version "13.1.2" + resolved "https://registry.yarnpkg.com/@lwc/lwc-dev-server-types/-/lwc-dev-server-types-13.1.2.tgz#65db88e3c445fe8144787a07a0ea4e302a57b62d" + integrity sha512-gDQfSzBb5YPgthNACeQsVUpn8HpmcIAvkQNbC0VFNp9ysRt09CiJRiLH8HYLdWIGwrVmw+RngKEUltuhEoWKng== -"@lwc/lwc-dev-server@~13.2.1": - version "13.2.1" - resolved "https://registry.yarnpkg.com/@lwc/lwc-dev-server/-/lwc-dev-server-13.2.1.tgz#a18d7f42e1c5c2ce72d49742eee95d1b3a56847b" - integrity sha512-rC5p1NSbFz2s/6qFO19kHMN9SbtvMjImnVbtM+59HC3bDQZ/Ma76/TDKMyNMzeZjiDMurymcgpVYXelEb02tug== +"@lwc/lwc-dev-server@~13.1.2": + version "13.1.2" + resolved "https://registry.yarnpkg.com/@lwc/lwc-dev-server/-/lwc-dev-server-13.1.2.tgz#db3be08b065e9d49d4480d66988b6006b4fa6cb2" + integrity sha512-XBnn7kUNVLD9AS2YdndBsLz0yHY4Nc+jhZJmVgnRZnNFgsJL/oypFmkNNGs7ga36DYFjZ5pU0I1YZMx0IKRg7Q== dependencies: - "@lwc/lwc-dev-server-types" "13.2.1" - "@lwc/sfdc-lwc-compiler" "13.2.1" + "@lwc/lwc-dev-server-types" "13.1.2" + "@lwc/sfdc-lwc-compiler" "13.1.2" chalk "~5.4.1" chokidar "~3.6.0" commander "~10.0.0" @@ -2550,28 +2521,28 @@ glob "^10.4.5" ws "^8.18.2" -"@lwc/metadata@13.0.32": - version "13.0.32" - resolved "https://registry.yarnpkg.com/@lwc/metadata/-/metadata-13.0.32.tgz#410e1e07d8f4d673f3b348f858ec5714cc154ff7" - integrity sha512-iCNhU0rhQSAOUtXy841SWa6Yh2Ow0F4NamQu5dB1ySFDbzT2vPNwAS3G47lvGTsmmRpRHf/ySakcRb+NWEOJiQ== +"@lwc/metadata@13.1.2": + version "13.1.2" + resolved "https://registry.yarnpkg.com/@lwc/metadata/-/metadata-13.1.2.tgz#0da754e6fdc4cc2b6b06382c5329c31304386e44" + integrity sha512-WXxtIRGxsEcPtggV9ZR45TLN21tQRJC1wMS/8VdGcdWEa14NYhTdK2jtwjJDIZw4VBgmjPSPSdcoRw8+dvRPKw== dependencies: "@babel/parser" "~7.27.5" "@babel/traverse" "~7.27.4" "@babel/types" "~7.27.6" - "@lwc/sfdc-compiler-utils" "13.0.32" + "@lwc/sfdc-compiler-utils" "13.1.2" postcss "~8.5.5" postcss-selector-parser "~6.1.2" postcss-value-parser "~4.2.0" -"@lwc/metadata@13.2.1": - version "13.2.1" - resolved "https://registry.yarnpkg.com/@lwc/metadata/-/metadata-13.2.1.tgz#04ef13a5acea15570e5d4c5009ca5e852e90ab2a" - integrity sha512-HIOcCImxJ6kUL+pT6E7Tk67QPwU/Z7wFFAAbSoSw/9O+u3mNlQeeTDZjTo2yfMwKqa6JUUu499wHw4G0J4jJnw== +"@lwc/metadata@13.2.2": + version "13.2.2" + resolved "https://registry.yarnpkg.com/@lwc/metadata/-/metadata-13.2.2.tgz#0001a2c69327aeb3c291a223f140c85c7c66fce5" + integrity sha512-qKcf86q/dRBN8ivwiBNhmF2al+kE4SC5xIPiKE7B6oBKzIh60s4wjY2b21xGtJ8sCuZgC7C5F8IVPLL1GBSG9g== dependencies: "@babel/parser" "~7.27.5" "@babel/traverse" "~7.27.4" "@babel/types" "~7.27.6" - "@lwc/sfdc-compiler-utils" "13.2.1" + "@lwc/sfdc-compiler-utils" "13.2.2" postcss "~8.5.5" postcss-selector-parser "~6.1.2" postcss-value-parser "~4.2.0" @@ -2593,20 +2564,20 @@ "@lwc/shared" "8.21.2" "@rollup/pluginutils" "~5.2.0" -"@lwc/sfdc-compiler-utils@13.0.32": - version "13.0.32" - resolved "https://registry.yarnpkg.com/@lwc/sfdc-compiler-utils/-/sfdc-compiler-utils-13.0.32.tgz#c67da1063d8b023982003dc1ac07cc73cda160b6" - integrity sha512-tpTlrPCtwMHYqru4A5Hm6BFW/uvJp48EbdAVNmbF0RcPuVN1qCW29zZde1oks0MvEU1bDu6+/vGOdHVg+qgGEQ== +"@lwc/sfdc-compiler-utils@13.1.2": + version "13.1.2" + resolved "https://registry.yarnpkg.com/@lwc/sfdc-compiler-utils/-/sfdc-compiler-utils-13.1.2.tgz#36367e39e02269757951838d707dac9d40db2a2e" + integrity sha512-i4CIeRwDZgKnPU05+FfOGcajx8Tp4f7MGjGCuthk6Y9hbX50XLyfyAT8Jlun6AcXcLj4Hm3BZ+RBYCb8SpTK5g== -"@lwc/sfdc-compiler-utils@13.2.1": - version "13.2.1" - resolved "https://registry.yarnpkg.com/@lwc/sfdc-compiler-utils/-/sfdc-compiler-utils-13.2.1.tgz#3f599743176d9bb4389313e84203256b0bf7fe41" - integrity sha512-rDr9wbOZ3eMuAtuadJspOybLkuEcDmqg3eSLu/+egAnsCEM5PDMwtFbHd6Gfj1T+VnBiimhosrspRmSwS+KrQQ== +"@lwc/sfdc-compiler-utils@13.2.2": + version "13.2.2" + resolved "https://registry.yarnpkg.com/@lwc/sfdc-compiler-utils/-/sfdc-compiler-utils-13.2.2.tgz#1344375899a58dc3460aca3ef2172f640fc5961d" + integrity sha512-tJZIpJIyLSAZhKiNaart+d1+xQ9Ju3D7MuKmfZoKHlitB3Fv3M6eRT3xpGOUV/5mPbqdEtBANpCMWfy/ECnMOA== -"@lwc/sfdc-lwc-compiler@13.2.1": - version "13.2.1" - resolved "https://registry.yarnpkg.com/@lwc/sfdc-lwc-compiler/-/sfdc-lwc-compiler-13.2.1.tgz#936d3a4a92c4a8f037272bbc531723bad86ba239" - integrity sha512-9dhT4cNsZJ3BkxNDa7Am06kGwXRgKidPdJ06v1T8Q1wjAmRvwazIwKowVTiqQW1lQ0kGpEl+qXwsPD3Rwr/eXA== +"@lwc/sfdc-lwc-compiler@13.1.2": + version "13.1.2" + resolved "https://registry.yarnpkg.com/@lwc/sfdc-lwc-compiler/-/sfdc-lwc-compiler-13.1.2.tgz#3c1bbbfc5e0e05f71163f235b606283cb09d4334" + integrity sha512-+Ml52chqF5JXlXrm/AryJQWPmfyc0RQ+X+aI65iwZ6uTODmOds1gNeQAS+KwSIBfQKIUl5pHquS6R243d3iG4w== dependencies: "@babel/core" "7.27.4" "@babel/parser" "7.27.5" @@ -2615,11 +2586,11 @@ "@babel/traverse" "7.27.4" "@babel/types" "7.27.6" "@komaci/esm-generator" "258.0.0" - "@lwc/dev-server-plugin-lex" "13.2.1" + "@lwc/dev-server-plugin-lex" "13.1.2" "@lwc/eslint-plugin-lwc" "3.0.0-beta.2" "@lwc/eslint-plugin-lwc-platform" "6.0.0-beta.7" - "@lwc/metadata" "13.2.1" - "@lwc/sfdc-compiler-utils" "13.2.1" + "@lwc/metadata" "13.1.2" + "@lwc/sfdc-compiler-utils" "13.1.2" "@rollup/plugin-babel" "^6.0.4" "@rollup/plugin-replace" "^6.0.2" "@rollup/wasm-node" "4.10.0" @@ -2640,10 +2611,10 @@ postcss-selector-parser "~6.1.2" terser "~5.36.0" -"@lwc/sfdc-lwc-compiler@~13.0.31": - version "13.0.32" - resolved "https://registry.yarnpkg.com/@lwc/sfdc-lwc-compiler/-/sfdc-lwc-compiler-13.0.32.tgz#41edfd433794acd5d38e97980193871f5666b762" - integrity sha512-qAVfQS0KVFk301Dy4i1Zc3VFb/9Nbkfy+XPBG/TTpOJId/5hP8f42kWyIXG8IX17X2veHpiOitY/dzA4WEDWOQ== +"@lwc/sfdc-lwc-compiler@^13.1.2": + version "13.2.2" + resolved "https://registry.yarnpkg.com/@lwc/sfdc-lwc-compiler/-/sfdc-lwc-compiler-13.2.2.tgz#219cd3126d77450fe4c67669702e228c90fdb4be" + integrity sha512-kWcj6ZeC7nuEi066le92JxzhQ56J9zHW7qMkmd1bajXhkOl55zHaj9PRCZtJumq+dy8TE5JQdWqJRjHQ7vYKlg== dependencies: "@babel/core" "7.27.4" "@babel/parser" "7.27.5" @@ -2651,12 +2622,12 @@ "@babel/preset-typescript" "7.27.1" "@babel/traverse" "7.27.4" "@babel/types" "7.27.6" - "@komaci/esm-generator" "256.0.1" - "@lwc/dev-server-plugin-lex" "13.0.32" + "@komaci/esm-generator" "258.0.0" + "@lwc/dev-server-plugin-lex" "13.2.2" "@lwc/eslint-plugin-lwc" "3.0.0-beta.2" "@lwc/eslint-plugin-lwc-platform" "6.0.0-beta.7" - "@lwc/metadata" "13.0.32" - "@lwc/sfdc-compiler-utils" "13.0.32" + "@lwc/metadata" "13.2.2" + "@lwc/sfdc-compiler-utils" "13.2.2" "@rollup/plugin-babel" "^6.0.4" "@rollup/plugin-replace" "^6.0.2" "@rollup/wasm-node" "4.10.0"