File tree Expand file tree Collapse file tree 5 files changed +780
-13
lines changed
Expand file tree Collapse file tree 5 files changed +780
-13
lines changed Original file line number Diff line number Diff line change 1010 "@salesforce/core" : " ^8.25.1" ,
1111 "@salesforce/kit" : " ^3.2.4" ,
1212 "@salesforce/sf-plugins-core" : " ^12.2.6" ,
13- "@salesforce/webapp-experimental " : " ^1.23.0" ,
13+ "@salesforce/ui-bundle " : " ^1.23.0" ,
1414 "chokidar" : " ^3.6.0" ,
1515 "http-proxy" : " ^1.18.1" ,
1616 "micromatch" : " ^4.0.8" ,
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- // Re-export base types from @salesforce/webapp-experimental package
17+ // Re-export base types from @salesforce/ui-bundle package
1818export type {
19- WebAppManifest as BaseWebAppManifest ,
19+ UIBundleManifest as BaseWebAppManifest ,
2020 RoutingConfig ,
2121 RewriteRule ,
2222 RedirectRule ,
23- } from '@salesforce/webapp-experimental /app' ;
23+ } from '@salesforce/ui-bundle /app' ;
2424
2525// Import for local use
26- import type { WebAppManifest as BaseWebAppManifest } from '@salesforce/webapp-experimental /app' ;
26+ import type { UIBundleManifest as BaseWebAppManifest } from '@salesforce/ui-bundle /app' ;
2727
2828/**
2929 * Development configuration (plugin-specific extension)
30- * NOT in @salesforce/webapp-experimental package
30+ * NOT in @salesforce/ui-bundle package
3131 */
3232export type DevConfig = {
3333 /** Command to run the dev server (e.g., "npm run dev") */
@@ -40,7 +40,7 @@ export type DevConfig = {
4040
4141/**
4242 * WebApp manifest configuration - defines the structure of ui-bundle.json file
43- * Extended from @salesforce/webapp-experimental with plugin-specific fields
43+ * Extended from @salesforce/ui-bundle with plugin-specific fields
4444 */
4545export type WebAppManifest = BaseWebAppManifest & {
4646 /** Development configuration (plugin-specific) */
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ import { readFileSync } from 'node:fs';
2121import { join } from 'node:path' ;
2222import httpProxy from 'http-proxy' ;
2323import { Logger , SfError } from '@salesforce/core' ;
24- import type { OrgInfo } from '@salesforce/webapp-experimental /app' ;
25- import { getOrgInfo } from '@salesforce/webapp-experimental /app' ;
26- import type { ProxyHandler } from '@salesforce/webapp-experimental /proxy' ;
27- import { createProxyHandler } from '@salesforce/webapp-experimental /proxy' ;
24+ import type { OrgInfo } from '@salesforce/ui-bundle /app' ;
25+ import { getOrgInfo } from '@salesforce/ui-bundle /app' ;
26+ import type { ProxyHandler } from '@salesforce/ui-bundle /proxy' ;
27+ import { createProxyHandler } from '@salesforce/ui-bundle /proxy' ;
2828import type { WebAppManifest } from '../config/manifest.js' ;
2929import type { DevServerError } from '../config/types.js' ;
3030import type { ErrorPageData } from '../templates/ErrorPageRenderer.js' ;
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- import { getErrorPageTemplate } from '@salesforce/webapp-experimental/proxy ' ;
17+ import { errorPageTemplate } from './errorPageTemplate.js ' ;
1818import type { DevServerError } from '../config/types.js' ;
1919
2020export type ErrorPageData = {
@@ -35,7 +35,7 @@ export class ErrorPageRenderer {
3535 private template : string ;
3636
3737 public constructor ( ) {
38- this . template = getErrorPageTemplate ( ) ;
38+ this . template = errorPageTemplate ;
3939 }
4040
4141 /**
You can’t perform that action at this time.
0 commit comments