npm package diff
Package: @forge/cli
Versions: 10.5.1-next.6-experimental-22c15de - 10.6.0-next.13
File: package/out/deploy/packager/runtime-bundler.d.ts
Index: package/out/deploy/packager/runtime-bundler.d.ts
===================================================================
--- package/out/deploy/packager/runtime-bundler.d.ts
+++ package/out/deploy/packager/runtime-bundler.d.ts
@@ -1,6 +1,6 @@
import { Bundler, FunctionsEntryPoint } from '@forge/bundler';
-import { Handler, Logger, ConfigFile } from '@forge/cli-shared';
+import { Handler, Logger, ConfigFile, type I18nResourceBundle } from '@forge/cli-shared';
import { App } from '@forge/manifest';
import { Archiver } from './archiver';
export interface RuntimeBundleResult {
runtimeArchivePath: string;
@@ -14,12 +14,13 @@
constructor(archiverFactory: () => Archiver, logger: Logger, bundler: Bundler<FunctionsEntryPoint>, configFile: ConfigFile);
protected packageCode(archiver: Archiver, entryPoints: FunctionsEntryPoint[]): Promise<string[]>;
protected packageDependencies(archiver: Archiver): Promise<void>;
protected packageAll(archiver: Archiver, handlers: Handler[], packageConfig: App['package']): Promise<string[]>;
- bundle(handlers: Handler[], packageConfig?: App['package']): Promise<RuntimeBundleResult>;
+ protected packageI18nResources(archiver: Archiver, i18nResourceBundle: I18nResourceBundle): void;
+ bundle(handlers: Handler[], i18nResourceBundle: I18nResourceBundle, packageConfig?: App['package']): Promise<RuntimeBundleResult>;
}
export declare class SandboxRuntimeBundler extends RuntimeBundler {
- bundle(handlers: Handler[], packageConfig?: App['package']): Promise<RuntimeBundleResult>;
+ bundle(handlers: Handler[], i18nResourceBundle: I18nResourceBundle, packageConfig?: App['package']): Promise<RuntimeBundleResult>;
}
export declare class NodeRuntimeBundler extends RuntimeBundler {
protected packageAll(archiver: Archiver, handlers: Handler[], packageConfig: App['package']): Promise<string[]>;
}