@teambit/lanes 1.0.1149 → 1.0.1150

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.
@@ -48,6 +48,8 @@ export type SwitchLaneOptions = {
48
48
  forceTheirs?: boolean;
49
49
  workspaceOnly?: boolean;
50
50
  pattern?: string;
51
+ /** switch only the lane components from these scopes (see `SwitchProps.restrictToScopes`) */
52
+ restrictToScopes?: string[];
51
53
  skipDependencyInstallation?: boolean;
52
54
  verbose?: boolean;
53
55
  override?: boolean;
@@ -242,7 +244,7 @@ export declare class LanesMain {
242
244
  * by default, only the components existing on the workspace will be imported from that lane, unless the "getAll"
243
245
  * flag is true.
244
246
  */
245
- switchLanes(laneName: string, { alias, merge, forceOurs, forceTheirs, pattern, workspaceOnly, skipDependencyInstallation, skipFetch, branch, }: SwitchLaneOptions): Promise<import("@teambit/component.modules.merge-helper").ApplyVersionResults>;
247
+ switchLanes(laneName: string, { alias, merge, forceOurs, forceTheirs, pattern, workspaceOnly, restrictToScopes, skipDependencyInstallation, skipFetch, branch, }: SwitchLaneOptions): Promise<import("@teambit/component.modules.merge-helper").ApplyVersionResults>;
246
248
  private createGitBranchForLane;
247
249
  /**
248
250
  * the values array may include zero to two values and will be processed as following:
@@ -850,6 +850,7 @@ please create a new lane instead, which will include all components of this lane
850
850
  forceTheirs,
851
851
  pattern,
852
852
  workspaceOnly,
853
+ restrictToScopes,
853
854
  skipDependencyInstallation = false,
854
855
  skipFetch = false,
855
856
  branch = false
@@ -873,6 +874,7 @@ please create a new lane instead, which will include all components of this lane
873
874
  laneName,
874
875
  existingOnWorkspaceOnly: workspaceOnly,
875
876
  pattern,
877
+ restrictToScopes,
876
878
  alias,
877
879
  skipFetch
878
880
  };