@teambit/lanes 1.0.226 → 1.0.227
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/artifacts/__bit_junit.xml +14 -14
- package/artifacts/preview/teambit_lanes_lanes-preview.js +1 -1
- package/artifacts/schema.json +192 -890
- package/dist/{preview-1712632644937.js → preview-1712719054377.js} +2 -2
- package/package.json +23 -23
- package/tsconfig.json +52 -1
- package/dist/create-lane.d.ts +0 -8
- package/dist/index.d.ts +0 -7
- package/dist/lane.cmd.d.ts +0 -300
- package/dist/lanes.aspect.d.ts +0 -3
- package/dist/lanes.composition.d.ts +0 -1
- package/dist/lanes.create.route.d.ts +0 -13
- package/dist/lanes.delete.route.d.ts +0 -13
- package/dist/lanes.graphql.d.ts +0 -3
- package/dist/lanes.main.runtime.d.ts +0 -225
- package/dist/lanes.restore.route.d.ts +0 -13
- package/dist/lanes.spec.d.ts +0 -1
- package/dist/lanes.ui.runtime.d.ts +0 -103
- package/dist/switch-lanes.d.ts +0 -35
- package/dist/switch.cmd.d.ts +0 -28
@@ -1,225 +0,0 @@
|
|
1
|
-
import { CLIMain } from '@teambit/cli';
|
2
|
-
import { ScopeMain } from '@teambit/scope';
|
3
|
-
import { GraphqlMain } from '@teambit/graphql';
|
4
|
-
import { ExpressMain } from '@teambit/express';
|
5
|
-
import { Workspace } from '@teambit/workspace';
|
6
|
-
import { LaneDiffResults } from '@teambit/lanes.modules.diff';
|
7
|
-
import { LaneData } from '@teambit/legacy/dist/scope/lanes/lanes';
|
8
|
-
import { LaneId } from '@teambit/lane-id';
|
9
|
-
import { Logger, LoggerMain } from '@teambit/logger';
|
10
|
-
import { DiffOptions } from '@teambit/legacy/dist/consumer/component-ops/components-diff';
|
11
|
-
import { MergeStrategy } from '@teambit/legacy/dist/consumer/versions-ops/merge-version';
|
12
|
-
import { TrackLane } from '@teambit/legacy/dist/scope/scope-json';
|
13
|
-
import { ImporterMain } from '@teambit/importer';
|
14
|
-
import { ComponentID } from '@teambit/component-id';
|
15
|
-
import { Component, ComponentMain } from '@teambit/component';
|
16
|
-
import { Lane, LaneHistory } from '@teambit/legacy/dist/scope/models';
|
17
|
-
import { ExportMain } from '@teambit/export';
|
18
|
-
import { ComponentCompareMain } from '@teambit/component-compare';
|
19
|
-
import { ComponentWriterMain } from '@teambit/component-writer';
|
20
|
-
import { RemoveMain } from '@teambit/remove';
|
21
|
-
import { MergingMain } from '@teambit/merging';
|
22
|
-
import { CheckoutMain } from '@teambit/checkout';
|
23
|
-
import { ChangeType } from '@teambit/lanes.entities.lane-diff';
|
24
|
-
import ComponentsList, { DivergeDataPerId } from '@teambit/legacy/dist/consumer/component/components-list';
|
25
|
-
import { LaneCheckoutOpts } from './lane.cmd';
|
26
|
-
export { Lane };
|
27
|
-
export type SnapsDistanceObj = {
|
28
|
-
onSource: string[];
|
29
|
-
onTarget: string[];
|
30
|
-
common?: string;
|
31
|
-
};
|
32
|
-
export type LaneResults = {
|
33
|
-
lanes: LaneData[];
|
34
|
-
currentLane?: string | null;
|
35
|
-
};
|
36
|
-
export type CreateLaneOptions = {
|
37
|
-
scope?: string;
|
38
|
-
alias?: string;
|
39
|
-
forkLaneNewScope?: boolean;
|
40
|
-
};
|
41
|
-
export type SwitchLaneOptions = {
|
42
|
-
alias?: string;
|
43
|
-
merge?: MergeStrategy;
|
44
|
-
workspaceOnly?: boolean;
|
45
|
-
pattern?: string;
|
46
|
-
skipDependencyInstallation?: boolean;
|
47
|
-
verbose?: boolean;
|
48
|
-
override?: boolean;
|
49
|
-
};
|
50
|
-
export type LaneComponentDiffStatus = {
|
51
|
-
componentId: ComponentID;
|
52
|
-
sourceHead: string;
|
53
|
-
targetHead?: string;
|
54
|
-
/**
|
55
|
-
* @deprecated
|
56
|
-
* use changes to get list of all the changes
|
57
|
-
*/
|
58
|
-
changeType?: ChangeType;
|
59
|
-
changes?: ChangeType[];
|
60
|
-
upToDate?: boolean;
|
61
|
-
snapsDistance?: SnapsDistanceObj;
|
62
|
-
unrelated?: boolean;
|
63
|
-
};
|
64
|
-
export type LaneDiffStatusOptions = {
|
65
|
-
skipChanges?: boolean;
|
66
|
-
};
|
67
|
-
export type LaneDiffStatus = {
|
68
|
-
source: LaneId;
|
69
|
-
target: LaneId;
|
70
|
-
componentsStatus: LaneComponentDiffStatus[];
|
71
|
-
};
|
72
|
-
export type MarkRemoveOnLaneResult = {
|
73
|
-
removedFromWs: ComponentID[];
|
74
|
-
markedRemoved: ComponentID[];
|
75
|
-
};
|
76
|
-
export type CreateLaneResult = {
|
77
|
-
laneId: LaneId;
|
78
|
-
hash: string;
|
79
|
-
alias?: string;
|
80
|
-
};
|
81
|
-
export declare class LanesMain {
|
82
|
-
readonly workspace: Workspace | undefined;
|
83
|
-
private scope;
|
84
|
-
private merging;
|
85
|
-
private componentAspect;
|
86
|
-
logger: Logger;
|
87
|
-
readonly importer: ImporterMain;
|
88
|
-
private exporter;
|
89
|
-
private componentCompare;
|
90
|
-
readonly componentWriter: ComponentWriterMain;
|
91
|
-
private remove;
|
92
|
-
readonly checkout: CheckoutMain;
|
93
|
-
constructor(workspace: Workspace | undefined, scope: ScopeMain, merging: MergingMain, componentAspect: ComponentMain, logger: Logger, importer: ImporterMain, exporter: ExportMain, componentCompare: ComponentCompareMain, componentWriter: ComponentWriterMain, remove: RemoveMain, checkout: CheckoutMain);
|
94
|
-
/**
|
95
|
-
* return the lane data without the deleted components.
|
96
|
-
* the deleted components are filtered out in legacyScope.lanes.getLanesData()
|
97
|
-
*/
|
98
|
-
getLanes({ name, remote, merged, showDefaultLane, notMerged, }: {
|
99
|
-
name?: string;
|
100
|
-
remote?: string;
|
101
|
-
merged?: boolean;
|
102
|
-
showDefaultLane?: boolean;
|
103
|
-
notMerged?: boolean;
|
104
|
-
}): Promise<LaneData[]>;
|
105
|
-
parseLaneId(idStr: string): Promise<LaneId>;
|
106
|
-
getLaneHistory(laneId: LaneId): Promise<LaneHistory>;
|
107
|
-
checkoutHistory(historyId: string, options?: LaneCheckoutOpts): Promise<import("@teambit/merging").ApplyVersionResults>;
|
108
|
-
revertHistory(historyId: string, options?: LaneCheckoutOpts): Promise<import("@teambit/merging").ApplyVersionResults>;
|
109
|
-
private getHistoryItemOfCurrentLane;
|
110
|
-
importLaneHistory(laneId: LaneId): Promise<void>;
|
111
|
-
getCurrentLaneName(): string | null;
|
112
|
-
getCurrentLaneNameOrAlias(): string | null;
|
113
|
-
getCurrentLaneId(): LaneId | null;
|
114
|
-
/**
|
115
|
-
* get the currently checked out lane object, if on main - return null.
|
116
|
-
*/
|
117
|
-
getCurrentLane(): Promise<Lane | null>;
|
118
|
-
getDefaultLaneId(): LaneId;
|
119
|
-
setCurrentLane(laneId: LaneId, alias?: string, exported?: boolean): void;
|
120
|
-
createLane(name: string, { scope, alias, forkLaneNewScope }?: CreateLaneOptions): Promise<CreateLaneResult>;
|
121
|
-
loadLane(id: LaneId): Promise<Lane | null>;
|
122
|
-
trackLane(localName: string, remoteScope: string, remoteName?: string): Promise<{
|
123
|
-
beforeTrackData?: TrackLane;
|
124
|
-
afterTrackData: TrackLane;
|
125
|
-
}>;
|
126
|
-
aliasLane(laneName: string, alias: string): Promise<{
|
127
|
-
laneId: LaneId;
|
128
|
-
}>;
|
129
|
-
changeScope(remoteScope: string, laneName?: string): Promise<{
|
130
|
-
remoteScopeBefore: string;
|
131
|
-
localName: string;
|
132
|
-
}>;
|
133
|
-
/**
|
134
|
-
* change a lane-name and if possible, export the lane to the remote
|
135
|
-
*/
|
136
|
-
rename(newName: string, laneName?: string): Promise<{
|
137
|
-
currentName: string;
|
138
|
-
}>;
|
139
|
-
exportLane(lane: Lane): Promise<void>;
|
140
|
-
importLaneObject(laneId: LaneId, persistIfNotExists?: boolean, includeLaneHistory?: boolean): Promise<Lane>;
|
141
|
-
/**
|
142
|
-
* get the head hash (snap) of main. return undefined if the component exists only on a lane and was never merged to main
|
143
|
-
*/
|
144
|
-
getHeadOnMain(componentId: ComponentID): Promise<string | undefined>;
|
145
|
-
/**
|
146
|
-
* fetch the lane object and its components from the remote.
|
147
|
-
* save the objects and the lane to the local scope.
|
148
|
-
* this method doesn't change anything in the workspace.
|
149
|
-
*/
|
150
|
-
fetchLaneWithItsComponents(laneId: LaneId): Promise<Lane>;
|
151
|
-
removeLanes(laneNames: string[], opts?: {
|
152
|
-
remote: boolean;
|
153
|
-
force: boolean;
|
154
|
-
}): Promise<string[]>;
|
155
|
-
/**
|
156
|
-
* when deleting a lane object, it is sent into the "trash" directory in the scope.
|
157
|
-
* this method restores it and put it back in the "objects" directory.
|
158
|
-
* as an argument, it needs a hash. the reason for not supporting lane-id is because the trash may have multiple
|
159
|
-
* lanes with the same lane-id but different hashes.
|
160
|
-
*/
|
161
|
-
restoreLane(laneHash: string): Promise<void>;
|
162
|
-
/**
|
163
|
-
* switch to a different local or remote lane.
|
164
|
-
* switching to a remote lane also imports and writes the components of that remote lane.
|
165
|
-
* by default, only the components existing on the workspace will be imported from that lane, unless the "getAll"
|
166
|
-
* flag is true.
|
167
|
-
*/
|
168
|
-
switchLanes(laneName: string, { alias, merge, pattern, workspaceOnly, skipDependencyInstallation }: SwitchLaneOptions): Promise<import("@teambit/merging").ApplyVersionResults>;
|
169
|
-
/**
|
170
|
-
* the values array may include zero to two values and will be processed as following:
|
171
|
-
* [] => diff between the current lane and default lane. (only inside workspace).
|
172
|
-
* [to] => diff between the current lane (or default-lane when in scope) and "to" lane.
|
173
|
-
* [from, to] => diff between "from" lane and "to" lane.
|
174
|
-
*/
|
175
|
-
getDiff(values: string[], diffOptions?: DiffOptions, pattern?: string): Promise<LaneDiffResults>;
|
176
|
-
getLaneComponentModels(lane: LaneData): Promise<Component[]>;
|
177
|
-
getLaneComponentIds(lane: LaneData): Promise<ComponentID[]>;
|
178
|
-
getLaneReadmeComponent(lane: LaneData): Promise<Component | undefined>;
|
179
|
-
removeLaneReadme(laneName?: string): Promise<{
|
180
|
-
result: boolean;
|
181
|
-
message?: string;
|
182
|
-
}>;
|
183
|
-
diffStatus(sourceLaneId: LaneId, targetLaneId?: LaneId, options?: LaneDiffStatusOptions): Promise<LaneDiffStatus>;
|
184
|
-
private componentDiffStatus;
|
185
|
-
componentDiffStatusOld(componentId: ComponentID, sourceHead: string, targetHead?: string, options?: LaneDiffStatusOptions): Promise<LaneComponentDiffStatus>;
|
186
|
-
private recreateNewLaneIfDeleted;
|
187
|
-
addLaneReadme(readmeComponentIdStr: string, laneName?: string): Promise<{
|
188
|
-
result: boolean;
|
189
|
-
message?: string;
|
190
|
-
}>;
|
191
|
-
/**
|
192
|
-
* if the local lane was forked from another lane, this gets the differences between the two.
|
193
|
-
* it also fetches the original lane from the remote to make sure the data is up to date.
|
194
|
-
*/
|
195
|
-
listUpdatesFromForked(componentsList: ComponentsList): Promise<DivergeDataPerId[]>;
|
196
|
-
/**
|
197
|
-
* default to remove all of them.
|
198
|
-
* returns true if the lane has changed
|
199
|
-
*/
|
200
|
-
removeUpdateDependents(laneId: LaneId, ids?: ComponentID[]): Promise<Boolean>;
|
201
|
-
private getLaneDataOfDefaultLane;
|
202
|
-
get createRoutePath(): string;
|
203
|
-
get deleteRoutePath(): string;
|
204
|
-
get restoreRoutePath(): string;
|
205
|
-
static slots: never[];
|
206
|
-
static dependencies: import("@teambit/harmony").Aspect[];
|
207
|
-
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
208
|
-
static provider([cli, scope, workspace, graphql, merging, component, loggerMain, importer, exporter, express, componentCompare, componentWriter, remove, checkout,]: [
|
209
|
-
CLIMain,
|
210
|
-
ScopeMain,
|
211
|
-
Workspace,
|
212
|
-
GraphqlMain,
|
213
|
-
MergingMain,
|
214
|
-
ComponentMain,
|
215
|
-
LoggerMain,
|
216
|
-
ImporterMain,
|
217
|
-
ExportMain,
|
218
|
-
ExpressMain,
|
219
|
-
ComponentCompareMain,
|
220
|
-
ComponentWriterMain,
|
221
|
-
RemoveMain,
|
222
|
-
CheckoutMain
|
223
|
-
]): Promise<LanesMain>;
|
224
|
-
}
|
225
|
-
export default LanesMain;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/// <reference types="express" />
|
2
|
-
import { Route, Verb, Request, Response } from '@teambit/express';
|
3
|
-
import { Logger } from '@teambit/logger';
|
4
|
-
import { LanesMain } from './lanes.main.runtime';
|
5
|
-
export declare class LanesRestoreRoute implements Route {
|
6
|
-
private lanes;
|
7
|
-
private logger;
|
8
|
-
constructor(lanes: LanesMain, logger: Logger);
|
9
|
-
method: string;
|
10
|
-
route: string;
|
11
|
-
verb: Verb;
|
12
|
-
middlewares: ((req: Request, res: Response) => Promise<import("express").Response<any, Record<string, any>>>)[];
|
13
|
-
}
|
package/dist/lanes.spec.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,103 +0,0 @@
|
|
1
|
-
import { RouteProps } from 'react-router-dom';
|
2
|
-
import { Harmony, SlotRegistry } from '@teambit/harmony';
|
3
|
-
import { type LaneCompareProps as DefaultLaneCompareProps } from '@teambit/lanes.ui.compare.lane-compare';
|
4
|
-
import { UiUI } from '@teambit/ui';
|
5
|
-
import type { NavigationSlot, RouteSlot } from '@teambit/ui-foundation.ui.react-router.slot-router';
|
6
|
-
import { ScopeUI } from '@teambit/scope';
|
7
|
-
import { WorkspaceUI } from '@teambit/workspace';
|
8
|
-
import { ComponentUI, ComponentID } from '@teambit/component';
|
9
|
-
import { MenuWidget, MenuWidgetSlot } from '@teambit/ui-foundation.ui.menu';
|
10
|
-
import { LaneOverviewLine, LaneOverviewLineSlot } from '@teambit/lanes.ui.lane-overview';
|
11
|
-
import { LanesNavPlugin, LanesOrderedNavigationSlot } from '@teambit/lanes.ui.menus.lanes-overview-menu';
|
12
|
-
import { LanesProvider, IgnoreDerivingFromUrl } from '@teambit/lanes.hooks.use-lanes';
|
13
|
-
import { LaneId } from '@teambit/lane-id';
|
14
|
-
import { ComponentCompareUI } from '@teambit/component-compare';
|
15
|
-
export type LaneCompareProps = Partial<DefaultLaneCompareProps>;
|
16
|
-
export type LaneProviderIgnoreSlot = SlotRegistry<IgnoreDerivingFromUrl>;
|
17
|
-
export declare function useComponentFilters(): {
|
18
|
-
loading: boolean;
|
19
|
-
log?: undefined;
|
20
|
-
} | {
|
21
|
-
loading: boolean;
|
22
|
-
log: {
|
23
|
-
head: string;
|
24
|
-
};
|
25
|
-
};
|
26
|
-
export declare function useLaneComponentIdFromUrl(): ComponentID | undefined | null;
|
27
|
-
export declare function useComponentId(): string | undefined;
|
28
|
-
export declare class LanesUI {
|
29
|
-
private componentUI;
|
30
|
-
private componentCompareUI;
|
31
|
-
private routeSlot;
|
32
|
-
private navSlot;
|
33
|
-
private menuWidgetSlot;
|
34
|
-
/**
|
35
|
-
* overview line slot to add new lines beneath the overview section
|
36
|
-
*/
|
37
|
-
private overviewSlot;
|
38
|
-
private laneProviderIgnoreSlot;
|
39
|
-
private workspace?;
|
40
|
-
private scope?;
|
41
|
-
static dependencies: import("@teambit/harmony").Aspect[];
|
42
|
-
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
43
|
-
static slots: (((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<LaneOverviewLineSlot>) | ((registerFn: () => string) => SlotRegistry<NavigationSlot>) | ((registerFn: () => string) => SlotRegistry<LaneProviderIgnoreSlot>))[];
|
44
|
-
constructor(componentUI: ComponentUI, componentCompareUI: ComponentCompareUI, routeSlot: RouteSlot, navSlot: LanesOrderedNavigationSlot, menuWidgetSlot: MenuWidgetSlot,
|
45
|
-
/**
|
46
|
-
* overview line slot to add new lines beneath the overview section
|
47
|
-
*/
|
48
|
-
overviewSlot: LaneOverviewLineSlot, laneProviderIgnoreSlot: LaneProviderIgnoreSlot, workspace?: WorkspaceUI | undefined, scope?: ScopeUI | undefined);
|
49
|
-
private readonly lanesHost;
|
50
|
-
private readonly hostAspect?;
|
51
|
-
private readonly host;
|
52
|
-
private registerHostAspectRoutes;
|
53
|
-
getLaneRoutes(): {
|
54
|
-
path: string;
|
55
|
-
children: import("react/jsx-runtime").JSX.Element;
|
56
|
-
}[];
|
57
|
-
overrideComputeLaneUrl(fn: () => {
|
58
|
-
prefix: string;
|
59
|
-
path: string;
|
60
|
-
getLaneIdFromPathname: (pathname: string) => LaneId | undefined;
|
61
|
-
getLaneUrl: (laneId: LaneId, relative?: boolean) => string;
|
62
|
-
getLaneComponentUrl: (componentId: ComponentID, laneId: LaneId) => string;
|
63
|
-
}): void;
|
64
|
-
getLaneComponent(): import("react/jsx-runtime").JSX.Element;
|
65
|
-
getLaneComponentMenu(): import("react/jsx-runtime").JSX.Element;
|
66
|
-
getLaneOverview(): import("react/jsx-runtime").JSX.Element;
|
67
|
-
getLanesComparePage(): import("react/jsx-runtime").JSX.Element;
|
68
|
-
getMenuRoutes(): {
|
69
|
-
path: string;
|
70
|
-
children: import("react/jsx-runtime").JSX.Element;
|
71
|
-
}[];
|
72
|
-
getLanesOverviewMenu(): import("react/jsx-runtime").JSX.Element;
|
73
|
-
registerMenuWidget(...menuItems: MenuWidget[]): this;
|
74
|
-
registerLaneProviderIgnoreSlot(ignoreFn: IgnoreDerivingFromUrl): this;
|
75
|
-
private registerLanesRoutes;
|
76
|
-
private registerRoutes;
|
77
|
-
getLanesSwitcher(): import("react/jsx-runtime").JSX.Element;
|
78
|
-
getLanesProvider(): typeof LanesProvider;
|
79
|
-
getUseLanes(): import("@teambit/lanes.hooks.use-lanes").UseLanes;
|
80
|
-
private registerLanesDropdown;
|
81
|
-
private renderContext;
|
82
|
-
registerRoute(route: RouteProps): this;
|
83
|
-
/**
|
84
|
-
* register a new line beneath the lane overview section.
|
85
|
-
*/
|
86
|
-
registerOverviewLine(...lines: LaneOverviewLine[]): this;
|
87
|
-
registerNavigation(routes: LanesNavPlugin[]): void;
|
88
|
-
getLaneCompare: (props: LaneCompareProps) => import("react/jsx-runtime").JSX.Element | null;
|
89
|
-
static provider([uiUi, componentUI, workspaceUi, scopeUi, componentCompareUI]: [
|
90
|
-
UiUI,
|
91
|
-
ComponentUI,
|
92
|
-
WorkspaceUI,
|
93
|
-
ScopeUI,
|
94
|
-
ComponentCompareUI
|
95
|
-
], _: any, [routeSlot, overviewSlot, navSlot, menuWidgetSlot, laneProviderIgnoreSlot]: [
|
96
|
-
RouteSlot,
|
97
|
-
LaneOverviewLineSlot,
|
98
|
-
LanesOrderedNavigationSlot,
|
99
|
-
MenuWidgetSlot,
|
100
|
-
LaneProviderIgnoreSlot
|
101
|
-
], harmony: Harmony): Promise<LanesUI>;
|
102
|
-
}
|
103
|
-
export default LanesUI;
|
package/dist/switch-lanes.d.ts
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
import { ComponentID } from '@teambit/component-id';
|
2
|
-
import { ApplyVersionResults } from '@teambit/merging';
|
3
|
-
import { Lane } from '@teambit/legacy/dist/scope/models';
|
4
|
-
import { CheckoutProps } from '@teambit/checkout';
|
5
|
-
import { Workspace } from '@teambit/workspace';
|
6
|
-
import { Logger } from '@teambit/logger';
|
7
|
-
import { LanesMain } from './lanes.main.runtime';
|
8
|
-
export type SwitchProps = {
|
9
|
-
laneName: string;
|
10
|
-
ids?: ComponentID[];
|
11
|
-
laneBitIds?: ComponentID[];
|
12
|
-
pattern?: string;
|
13
|
-
existingOnWorkspaceOnly?: boolean;
|
14
|
-
remoteLane?: Lane;
|
15
|
-
localTrackedLane?: string;
|
16
|
-
alias?: string;
|
17
|
-
};
|
18
|
-
export declare class LaneSwitcher {
|
19
|
-
private workspace;
|
20
|
-
private logger;
|
21
|
-
private switchProps;
|
22
|
-
private checkoutProps;
|
23
|
-
private lanes;
|
24
|
-
private consumer;
|
25
|
-
private laneIdToSwitchTo;
|
26
|
-
private laneToSwitchTo;
|
27
|
-
constructor(workspace: Workspace, logger: Logger, switchProps: SwitchProps, checkoutProps: CheckoutProps, lanes: LanesMain);
|
28
|
-
switch(): Promise<ApplyVersionResults>;
|
29
|
-
private populateSwitchProps;
|
30
|
-
private populatePropsAccordingToRemoteLane;
|
31
|
-
private populatePropsAccordingToDefaultLane;
|
32
|
-
private populatePropsAccordingToLocalLane;
|
33
|
-
private throwForSwitchingToCurrentLane;
|
34
|
-
private saveLanesData;
|
35
|
-
}
|
package/dist/switch.cmd.d.ts
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
import { Command, CommandOptions } from '@teambit/cli';
|
2
|
-
import { MergeStrategy } from '@teambit/legacy/dist/consumer/versions-ops/merge-version';
|
3
|
-
import { LanesMain } from './lanes.main.runtime';
|
4
|
-
export declare class SwitchCmd implements Command {
|
5
|
-
private lanes;
|
6
|
-
name: string;
|
7
|
-
description: string;
|
8
|
-
extendedDescription: string;
|
9
|
-
private: boolean;
|
10
|
-
alias: string;
|
11
|
-
arguments: {
|
12
|
-
name: string;
|
13
|
-
description: string;
|
14
|
-
}[];
|
15
|
-
options: CommandOptions;
|
16
|
-
loader: boolean;
|
17
|
-
constructor(lanes: LanesMain);
|
18
|
-
report([lane]: [string], { alias, merge, getAll, workspaceOnly, skipDependencyInstallation, pattern, json, }: {
|
19
|
-
alias?: string;
|
20
|
-
merge?: MergeStrategy;
|
21
|
-
getAll?: boolean;
|
22
|
-
workspaceOnly?: boolean;
|
23
|
-
skipDependencyInstallation?: boolean;
|
24
|
-
override?: boolean;
|
25
|
-
pattern?: string;
|
26
|
-
json?: boolean;
|
27
|
-
}): Promise<string>;
|
28
|
-
}
|