@capacitor/cli 5.3.1-nightly-20230913T150501.0 → 5.4.0

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.
Binary file
Binary file
@@ -525,6 +525,19 @@ export interface CapacitorConfig {
525
525
  */
526
526
  includePlugins?: string[];
527
527
  }
528
+ export interface FederatedApp {
529
+ name: string;
530
+ webDir: string;
531
+ liveUpdateConfig?: LiveUpdateConfig;
532
+ }
533
+ export interface LiveUpdateConfig {
534
+ appId: string;
535
+ channel: string;
536
+ autoUpdateMethod: AutoUpdateMethod;
537
+ maxVersions?: number;
538
+ key?: string;
539
+ }
540
+ export type AutoUpdateMethod = 'none' | 'background';
528
541
  export interface PluginsConfig {
529
542
  /**
530
543
  * Plugin configuration by class name.
@@ -534,6 +547,22 @@ export interface PluginsConfig {
534
547
  [key: string]: {
535
548
  [key: string]: any;
536
549
  } | undefined;
550
+ /**
551
+ * FederatedCapacitor plugin configuration
552
+ *
553
+ * @since 5.0.0
554
+ */
555
+ FederatedCapacitor?: {
556
+ shell: Omit<FederatedApp, 'webDir'>;
557
+ apps: FederatedApp[];
558
+ liveUpdatesKey?: string;
559
+ };
560
+ /**
561
+ * Capacitor Live Updates plugin configuration
562
+ *
563
+ * @since 4.2.0
564
+ */
565
+ LiveUpdates?: LiveUpdateConfig;
537
566
  /**
538
567
  * Capacitor Cookies plugin configuration
539
568
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/cli",
3
- "version": "5.3.1-nightly-20230913T150501.0",
3
+ "version": "5.4.0",
4
4
  "description": "Capacitor: Cross-platform apps with JavaScript and the web",
5
5
  "homepage": "https://capacitorjs.com",
6
6
  "author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
@@ -27,7 +27,7 @@
27
27
  "cross platform"
28
28
  ],
29
29
  "engines": {
30
- "node": ">=18.0.0"
30
+ "node": ">=16.0.0"
31
31
  },
32
32
  "main": "dist/index.js",
33
33
  "types": "dist/declarations.d.ts",