npm package diff

Package: @forge/bundler

Versions: 4.19.0-next.13 - 4.19.0-next.14

File: package/out/types.d.ts

Index: package/out/types.d.ts
===================================================================
--- package/out/types.d.ts
+++ package/out/types.d.ts
@@ -1,26 +1,17 @@
 import { Logger } from '@forge/cli-shared';
 import { Translations } from '@forge/manifest';
-import { Compiler } from 'webpack';
-import { EntryPoint } from './webpack';
-export declare type BundledFiles = {
-    [filename: string]: string;
+import { EntryPoint } from './config/common';
+export declare type BundlerMetadata = {
+    modules?: string[];
+    nodeRuntimeVersion?: string;
 };
 export interface BundlerOutput {
-    output: BundledFiles;
-    sourceMap?: BundledFiles;
-    metadata?: {
-        [key: string]: any;
-    };
+    outputDir: string;
+    metadata?: BundlerMetadata;
 }
 export declare type BundleLogger = Pick<Logger, 'info' | 'warn'>;
-export declare type Bundler<EP = EntryPoint> = (logger: BundleLogger, appDirectory: string, endpointPath: EP[], i18nConfig?: Translations) => Promise<BundlerOutput>;
-export declare type InDiskBundler = (logger: BundleLogger, entrypoints: EntryPoint[], i18nConfig?: Translations) => Promise<{
-    outputDir: string;
-}>;
-export declare type WatcherCallback = (err: Error | null, output?: BundlerOutput) => void;
+export declare type Bundler = (logger: BundleLogger, appDirectory: string, endpointPath: EntryPoint[], i18nConfig?: Translations) => Promise<BundlerOutput>;
 export interface WatcherMonitor {
     stop(): void;
 }
-export declare type WatchRun = (compiler: Compiler, ...args: any[]) => void;
-export declare type Watcher = (logger: Logger, endpointPath: EntryPoint[], isDebugMode: boolean, callback: WatcherCallback, watchRun?: WatchRun) => WatcherMonitor;
 //# sourceMappingURL=types.d.ts.map
\ No newline at end of file