@moku-labs/native 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -278,6 +278,9 @@ type Api$4 = {
278
278
  clean(opts?: {
279
279
  target?: Target | undefined;
280
280
  }): Promise<CleanResult>;
281
+ clearMobileBuildOutput(opts: {
282
+ target: MobileTarget;
283
+ }): Promise<CleanResult>;
281
284
  resolveDerivedPath(target: string): string;
282
285
  ensureIconSource(): Promise<string>;
283
286
  resolve<K extends keyof CapabilityConfigMap>(name: K, config?: CapabilityConfigMap[K]): ResolvedCapability;
@@ -477,7 +480,7 @@ type PathResolver = (target: string) => string;
477
480
  * cross-plugin surface build depends on (D-007) is readable in one place.
478
481
  */
479
482
  type BuildDeps = {
480
- readonly project: Pick<Api$4, "generate" | "getBundleLayout" | "getCompleteness" | "patchMobile" | "ensureIconSource" | "resolveDerivedPath">;
483
+ readonly project: Pick<Api$4, "generate" | "getBundleLayout" | "getCompleteness" | "patchMobile" | "clearMobileBuildOutput" | "ensureIconSource" | "resolveDerivedPath">;
481
484
  readonly tauri: Pick<Api$3, "build" | "mobileInit" | "icon" | "getRunner">;
482
485
  };
483
486
  /** Public API of the build plugin — the per-target pipeline orchestrator. */
package/dist/index.d.mts CHANGED
@@ -279,6 +279,9 @@ type Api$4 = {
279
279
  clean(opts?: {
280
280
  target?: Target | undefined;
281
281
  }): Promise<CleanResult>;
282
+ clearMobileBuildOutput(opts: {
283
+ target: MobileTarget;
284
+ }): Promise<CleanResult>;
282
285
  resolveDerivedPath(target: string): string;
283
286
  ensureIconSource(): Promise<string>;
284
287
  resolve<K extends keyof CapabilityConfigMap>(name: K, config?: CapabilityConfigMap[K]): ResolvedCapability;
@@ -478,7 +481,7 @@ type PathResolver = (target: string) => string;
478
481
  * cross-plugin surface build depends on (D-007) is readable in one place.
479
482
  */
480
483
  type BuildDeps = {
481
- readonly project: Pick<Api$4, "generate" | "getBundleLayout" | "getCompleteness" | "patchMobile" | "ensureIconSource" | "resolveDerivedPath">;
484
+ readonly project: Pick<Api$4, "generate" | "getBundleLayout" | "getCompleteness" | "patchMobile" | "clearMobileBuildOutput" | "ensureIconSource" | "resolveDerivedPath">;
482
485
  readonly tauri: Pick<Api$3, "build" | "mobileInit" | "icon" | "getRunner">;
483
486
  };
484
487
  /** Public API of the build plugin — the per-target pipeline orchestrator. */