@teambit/snapping 1.0.226 → 1.0.228

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.
@@ -1,61 +0,0 @@
1
- import { ReleaseType } from 'semver';
2
- import { ComponentID, ComponentIdList } from '@teambit/component-id';
3
- import ConsumerComponent from '@teambit/legacy/dist/consumer/component/consumer-component';
4
- import { AutoTagResult } from '@teambit/legacy/dist/scope/component-ops/auto-tag';
5
- import { BuilderMain } from '@teambit/builder';
6
- import { ModelComponent } from '@teambit/legacy/dist/scope/models';
7
- import { DependencyResolverMain } from '@teambit/dependency-resolver';
8
- import { ScopeMain, StagedConfig } from '@teambit/scope';
9
- import { Workspace } from '@teambit/workspace';
10
- import { SnappingMain, TagDataPerComp } from './snapping.main.runtime';
11
- export type onTagIdTransformer = (id: ComponentID) => ComponentID | null;
12
- export type BasicTagSnapParams = {
13
- message: string;
14
- skipTests?: boolean;
15
- skipTasks?: string;
16
- build?: boolean;
17
- ignoreBuildErrors?: boolean;
18
- rebuildDepsGraph?: boolean;
19
- };
20
- export type BasicTagParams = BasicTagSnapParams & {
21
- ignoreNewestVersion?: boolean;
22
- skipAutoTag?: boolean;
23
- soft?: boolean;
24
- persist: boolean;
25
- disableTagAndSnapPipelines?: boolean;
26
- preReleaseId?: string;
27
- editor?: string;
28
- unmodified?: boolean;
29
- };
30
- export declare function tagModelComponent({ workspace, scope, snapping, builder, consumerComponents, ids, tagDataPerComp, populateArtifactsFrom, message, editor, exactVersion, releaseType, preReleaseId, ignoreNewestVersion, skipTests, skipTasks, skipAutoTag, soft, build, persist, isSnap, disableTagAndSnapPipelines, ignoreBuildErrors, rebuildDepsGraph, incrementBy, packageManagerConfigRootDir, dependencyResolver, copyLogFromPreviousSnap, exitOnFirstFailedTask, updateDependentsOnLane, }: {
31
- workspace?: Workspace;
32
- scope: ScopeMain;
33
- snapping: SnappingMain;
34
- builder: BuilderMain;
35
- consumerComponents: ConsumerComponent[];
36
- ids: ComponentIdList;
37
- tagDataPerComp?: TagDataPerComp[];
38
- populateArtifactsFrom?: ComponentID[];
39
- copyLogFromPreviousSnap?: boolean;
40
- exactVersion?: string | null | undefined;
41
- releaseType?: ReleaseType;
42
- incrementBy?: number;
43
- isSnap?: boolean;
44
- packageManagerConfigRootDir?: string;
45
- dependencyResolver: DependencyResolverMain;
46
- exitOnFirstFailedTask?: boolean;
47
- updateDependentsOnLane?: boolean;
48
- } & BasicTagParams): Promise<{
49
- taggedComponents: ConsumerComponent[];
50
- autoTaggedResults: AutoTagResult[];
51
- publishedPackages: string[];
52
- stagedConfig?: StagedConfig;
53
- removedComponents?: ComponentIdList;
54
- }>;
55
- export type BitCloudUser = {
56
- username?: string;
57
- name?: string;
58
- displayName?: string;
59
- profileImage?: string;
60
- };
61
- export declare function updateComponentsVersions(workspace: Workspace, components: Array<ModelComponent>, isTag?: boolean): Promise<StagedConfig>;