From 5ad446716b7bc6a33d42b0b3723612053a572c67 Mon Sep 17 00:00:00 2001 From: Amrit Mishra Date: Mon, 17 Aug 2026 13:45:12 +0530 Subject: [PATCH] NEW @W-23659201@ Register uibundle engine in CLI Adds the new @salesforce/code-analyzer-uibundle-engine plugin to the CLI's EnginePluginsFactoryImpl so it runs alongside the other engines with `sf code-analyzer run`. Depends on forcedotcom/code-analyzer-core#499 being merged and the engine package being published before this PR's CI can go green. --- package.json | 1 + src/lib/factories/EnginePluginsFactory.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a4c71481d..47a61b0c4 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "@salesforce/code-analyzer-regex-engine": "0.39.0", "@salesforce/code-analyzer-retirejs-engine": "0.38.0", "@salesforce/code-analyzer-sfge-engine": "0.24.0", + "@salesforce/code-analyzer-uibundle-engine": "0.1.0-SNAPSHOT", "@salesforce/core": "8.23.4", "@salesforce/sf-plugins-core": "^12.2.26", "@salesforce/ts-types": "^2.0.12", diff --git a/src/lib/factories/EnginePluginsFactory.ts b/src/lib/factories/EnginePluginsFactory.ts index 22a516573..b36cdba7a 100644 --- a/src/lib/factories/EnginePluginsFactory.ts +++ b/src/lib/factories/EnginePluginsFactory.ts @@ -6,6 +6,7 @@ import * as RegexEngineModule from '@salesforce/code-analyzer-regex-engine'; import * as FlowEngineModule from '@salesforce/code-analyzer-flow-engine'; import * as SfgeEngineModule from '@salesforce/code-analyzer-sfge-engine'; import * as ApexGuruEngineModule from '@salesforce/code-analyzer-apexguru-engine'; +import * as UIBundleEngineModule from '@salesforce/code-analyzer-uibundle-engine'; export interface EnginePluginsFactory { create(): EnginePlugin[]; @@ -20,7 +21,8 @@ export class EnginePluginsFactoryImpl implements EnginePluginsFactory { RegexEngineModule.createEnginePlugin(), FlowEngineModule.createEnginePlugin(), SfgeEngineModule.createEnginePlugin(), - ApexGuruEngineModule.createEnginePlugin() + ApexGuruEngineModule.createEnginePlugin(), + UIBundleEngineModule.createEnginePlugin() ]; } }