@napi-rs/cli 3.0.0-alpha.92 → 3.0.0-alpha.94

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.
@@ -10,6 +10,7 @@ export declare abstract class BasePrePublishCommand extends Command {
10
10
  ghRelease: boolean;
11
11
  ghReleaseName?: string;
12
12
  ghReleaseId?: string;
13
+ skipOptionalPublish: boolean;
13
14
  dryRun: boolean;
14
15
  getOptions(): {
15
16
  cwd: string;
@@ -20,6 +21,7 @@ export declare abstract class BasePrePublishCommand extends Command {
20
21
  ghRelease: boolean;
21
22
  ghReleaseName: string | undefined;
22
23
  ghReleaseId: string | undefined;
24
+ skipOptionalPublish: boolean;
23
25
  dryRun: boolean;
24
26
  };
25
27
  }
@@ -69,6 +71,12 @@ export interface PrePublishOptions {
69
71
  * Existing GitHub release id
70
72
  */
71
73
  ghReleaseId?: string;
74
+ /**
75
+ * Whether skip optionalDependencies packages publish
76
+ *
77
+ * @default false
78
+ */
79
+ skipOptionalPublish?: boolean;
72
80
  /**
73
81
  * Dry run without touching file system
74
82
  *
@@ -94,5 +102,6 @@ export declare function applyDefaultPrePublishOptions(options: PrePublishOptions
94
102
  * Existing GitHub release id
95
103
  */
96
104
  ghReleaseId?: string;
105
+ skipOptionalPublish: boolean;
97
106
  dryRun: boolean;
98
107
  };