@teambit/snapping 1.0.451 → 1.0.453
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 +6 -6
- package/artifacts/schema.json +760 -210
- package/dist/snap-from-scope.cmd.d.ts +13 -3
- package/dist/snap-from-scope.cmd.js +59 -15
- package/dist/snap-from-scope.cmd.js.map +1 -1
- package/package.json +21 -21
- /package/dist/{preview-1730517501720.js → preview-1730863230957.js} +0 -0
|
@@ -44,10 +44,20 @@ export declare class SnapFromScopeCmd implements Command {
|
|
|
44
44
|
loader: boolean;
|
|
45
45
|
private: boolean;
|
|
46
46
|
constructor(snapping: SnappingMain, logger: Logger);
|
|
47
|
-
report([data]: [string],
|
|
47
|
+
report([data]: [string], { push, message, lane, ignoreIssues, build, skipTests, disableSnapPipeline, ignoreBuildErrors, rebuildDepsGraph, updateDependents, tag, }: SnapFromScopeOptions): Promise<string>;
|
|
48
48
|
json([data]: [string], { push, message, lane, ignoreIssues, build, skipTests, disableSnapPipeline, ignoreBuildErrors, rebuildDepsGraph, updateDependents, tag, }: SnapFromScopeOptions): Promise<{
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
code: number;
|
|
50
|
+
data: {
|
|
51
|
+
exportedIds: string[] | undefined;
|
|
52
|
+
snappedIds: string[];
|
|
53
|
+
};
|
|
54
|
+
error?: undefined;
|
|
55
|
+
stack?: undefined;
|
|
56
|
+
} | {
|
|
57
|
+
code: number;
|
|
58
|
+
error: any;
|
|
59
|
+
stack: any;
|
|
60
|
+
data?: undefined;
|
|
51
61
|
}>;
|
|
52
62
|
private parseData;
|
|
53
63
|
}
|
|
@@ -64,17 +64,7 @@ to ignore multiple issues, separate them by a comma and wrap with quotes. to ign
|
|
|
64
64
|
_defineProperty(this, "loader", true);
|
|
65
65
|
_defineProperty(this, "private", true);
|
|
66
66
|
}
|
|
67
|
-
async report([data],
|
|
68
|
-
const results = await this.json([data], options);
|
|
69
|
-
const {
|
|
70
|
-
snappedIds,
|
|
71
|
-
exportedIds
|
|
72
|
-
} = results;
|
|
73
|
-
const snappedOutput = `${_chalk().default.bold('snapped components')}\n${snappedIds.join('\n')}`;
|
|
74
|
-
const exportedOutput = exportedIds && exportedIds.length ? `\n\n${_chalk().default.bold('exported components')}\n${exportedIds.join('\n')}` : '';
|
|
75
|
-
return `${snappedOutput}${exportedOutput}`;
|
|
76
|
-
}
|
|
77
|
-
async json([data], {
|
|
67
|
+
async report([data], {
|
|
78
68
|
push = false,
|
|
79
69
|
message = '',
|
|
80
70
|
lane,
|
|
@@ -108,10 +98,64 @@ to ignore multiple issues, separate them by a comma and wrap with quotes. to ign
|
|
|
108
98
|
updateDependents,
|
|
109
99
|
tag
|
|
110
100
|
});
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
};
|
|
101
|
+
const {
|
|
102
|
+
snappedIds,
|
|
103
|
+
exportedIds
|
|
104
|
+
} = results;
|
|
105
|
+
const snappedOutput = `${_chalk().default.bold('snapped components')}\n${snappedIds.join('\n')}`;
|
|
106
|
+
const exportedOutput = exportedIds && exportedIds.length ? `\n\n${_chalk().default.bold('exported components')}\n${exportedIds.join('\n')}` : '';
|
|
107
|
+
return `${snappedOutput}${exportedOutput}`;
|
|
108
|
+
}
|
|
109
|
+
async json([data], {
|
|
110
|
+
push = false,
|
|
111
|
+
message = '',
|
|
112
|
+
lane,
|
|
113
|
+
ignoreIssues,
|
|
114
|
+
build = false,
|
|
115
|
+
skipTests = false,
|
|
116
|
+
disableSnapPipeline = false,
|
|
117
|
+
ignoreBuildErrors = false,
|
|
118
|
+
rebuildDepsGraph,
|
|
119
|
+
updateDependents,
|
|
120
|
+
tag
|
|
121
|
+
}) {
|
|
122
|
+
const disableTagAndSnapPipelines = disableSnapPipeline;
|
|
123
|
+
if (disableTagAndSnapPipelines && ignoreBuildErrors) {
|
|
124
|
+
throw new (_bitError().BitError)('you can use either ignore-build-errors or disable-snap-pipeline, but not both');
|
|
125
|
+
}
|
|
126
|
+
if (updateDependents && !lane) {
|
|
127
|
+
throw new (_bitError().BitError)('update-dependents flag is only available when snapping from a lane');
|
|
128
|
+
}
|
|
129
|
+
const snapDataPerCompRaw = this.parseData(data);
|
|
130
|
+
try {
|
|
131
|
+
const results = await this.snapping.snapFromScope(snapDataPerCompRaw, {
|
|
132
|
+
push,
|
|
133
|
+
message,
|
|
134
|
+
lane,
|
|
135
|
+
ignoreIssues,
|
|
136
|
+
build,
|
|
137
|
+
skipTests,
|
|
138
|
+
disableTagAndSnapPipelines,
|
|
139
|
+
ignoreBuildErrors,
|
|
140
|
+
rebuildDepsGraph,
|
|
141
|
+
updateDependents,
|
|
142
|
+
tag
|
|
143
|
+
});
|
|
144
|
+
return {
|
|
145
|
+
code: 0,
|
|
146
|
+
data: {
|
|
147
|
+
exportedIds: results.exportedIds?.map(id => id.toString()),
|
|
148
|
+
snappedIds: results.snappedIds.map(id => id.toString())
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
} catch (err) {
|
|
152
|
+
this.logger.error('snap-from-scope.json, error: ', err);
|
|
153
|
+
return {
|
|
154
|
+
code: 1,
|
|
155
|
+
error: err.message,
|
|
156
|
+
stack: err.stack
|
|
157
|
+
};
|
|
158
|
+
}
|
|
115
159
|
}
|
|
116
160
|
parseData(data) {
|
|
117
161
|
let dataParsed;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_chalk","data","_interopRequireDefault","require","_componentIssues","_bitError","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","SnapFromScopeCmd","constructor","snapping","logger","keys","IssuesClasses","join","report","options","results","json","snappedIds","exportedIds","snappedOutput","chalk","bold","exportedOutput","length","push","message","lane","ignoreIssues","build","skipTests","disableSnapPipeline","ignoreBuildErrors","rebuildDepsGraph","updateDependents","tag","disableTagAndSnapPipelines","BitError","snapDataPerCompRaw","parseData","snapFromScope","map","id","toString","dataParsed","JSON","parse","err","Error","Array","isArray","forEach","dataItem","componentId","files","file","path","content","Buffer","from","exports"],"sources":["snap-from-scope.cmd.ts"],"sourcesContent":["import chalk from 'chalk';\nimport { IssuesClasses } from '@teambit/component-issues';\nimport { Command, CommandOptions } from '@teambit/cli';\nimport { BitError } from '@teambit/bit-error';\nimport { Logger } from '@teambit/logger';\nimport { SnappingMain } from './snapping.main.runtime';\nimport { BasicTagSnapParams } from './tag-model-component';\n\nexport type FileData = { path: string; content: string; delete?: boolean };\n\nexport type SnapDataPerCompRaw = {\n componentId: string;\n dependencies?: string[];\n aspects?: Record<string, any>;\n message?: string;\n files?: FileData[];\n isNew?: boolean;\n mainFile?: string; // relevant when isNew is true. default to \"index.ts\".\n newDependencies?: Array<{\n id: string; // component-id or package-name. e.g. \"teambit.react/react\" or \"lodash\".\n version?: string; // version of the package. e.g. \"2.0.3\". for packages, it is mandatory.\n isComponent?: boolean; // default true. if false, it's a package dependency\n type?: 'runtime' | 'dev' | 'peer'; // default \"runtime\".\n }>;\n removeDependencies?: string[];\n forkFrom?: string; // origin id to fork from. the componentId is the new id. (no need to populate isNew prop).\n version?: string; // relevant when passing \"--tag\". optionally, specify the semver to tag. default to \"patch\".\n};\n\ntype SnapFromScopeOptions = {\n push?: boolean;\n lane?: string;\n ignoreIssues?: string;\n disableSnapPipeline?: boolean;\n updateDependents?: boolean;\n tag?: boolean;\n} & BasicTagSnapParams;\n\nexport class SnapFromScopeCmd implements Command {\n name = '_snap <data>';\n description = 'snap components from a bare-scope';\n extendedDescription = `this command should be running from a new bare scope, it first imports the components it needs and then processes the snap.\nthe input data is a stringified JSON of an array of the following object.\n{\n componentId: string; // ids always have scope, so it's safe to parse them from string\n dependencies?: string[]; // dependencies include versions. for components use component-id. e.g. [teambit.compilation/compiler@1.0.0, lodash@4.17.21]\n aspects?: Record<string,any> // e.g. { \"teambit.react/react\": {}, \"teambit.envs/envs\": { \"env\": \"teambit.react/react\" } }\n message?: string; // tag-message.\n files?: Array<{path: string, content: string}>; // replace content of specified source-files. the content is base64 encoded.\n isNew?: boolean; // if it's new, it'll be generated from the given files. otherwise, it'll be fetched from the scope and updated.\n mainFile?: string; // relevant when isNew is true. default to \"index.ts\".\n newDependencies?: Array<{ // new dependencies (components and packages) to add.\n id: string; // component-id or package-name. e.g. \"teambit.react/react\" or \"lodash\".\n version?: string; // version of the package. e.g. \"2.0.3\". for packages, it is mandatory.\n isComponent?: boolean; // default true. if false, it's a package dependency\n type?: 'runtime' | 'dev' | 'peer'; // default \"runtime\".\n }>;\n removeDependencies?: string[]; // component-id (for components) or package-name (for packages) to remove from the dependencies.\n forkFrom?: string; // origin id to fork from. the componentId is the new id. (no need to populate isNew prop).\n version?: string; // relevant when passing \"--tag\". optionally, specify the semver to tag. default to \"patch\".\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"message\": \"first snap\"}]'\n`;\n alias = '';\n options = [\n ['', 'push', 'export the updated objects to the original scopes once done'],\n ['m', 'message <message>', 'log message describing the latest changes'],\n ['', 'lane <lane-id>', 'fetch the components from the given lane'],\n ['', 'build', 'run the build pipeline'],\n ['', 'skip-tests', 'skip running component tests during snap process'],\n ['', 'disable-snap-pipeline', 'skip the snap pipeline'],\n ['', 'ignore-build-errors', 'run the snap pipeline although the build pipeline failed'],\n ['', 'rebuild-deps-graph', 'do not reuse the saved dependencies graph, instead build it from scratch'],\n [\n 'i',\n 'ignore-issues [issues]',\n `ignore component issues (shown in \"bit status\" as \"issues found\"), issues to ignore:\n[${Object.keys(IssuesClasses).join(', ')}]\nto ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify \"*\".`,\n ],\n [\n '',\n 'update-dependents',\n 'when snapped on a lane, mark it as update-dependents so it will be skipped from the workspace',\n ],\n ['', 'tag', 'make a tag instead of a snap'],\n ['', 'stream', 'relevant for --json only. stream loader as json strings'],\n ['j', 'json', 'output as json format'],\n ] as CommandOptions;\n loader = true;\n private = true;\n\n constructor(private snapping: SnappingMain, private logger: Logger) {}\n\n async report([data]: [string], options: SnapFromScopeOptions) {\n const results = await this.json([data], options);\n\n const { snappedIds, exportedIds } = results;\n\n const snappedOutput = `${chalk.bold('snapped components')}\\n${snappedIds.join('\\n')}`;\n const exportedOutput =\n exportedIds && exportedIds.length ? `\\n\\n${chalk.bold('exported components')}\\n${exportedIds.join('\\n')}` : '';\n\n return `${snappedOutput}${exportedOutput}`;\n }\n async json(\n [data]: [string],\n {\n push = false,\n message = '',\n lane,\n ignoreIssues,\n build = false,\n skipTests = false,\n disableSnapPipeline = false,\n ignoreBuildErrors = false,\n rebuildDepsGraph,\n updateDependents,\n tag,\n }: SnapFromScopeOptions\n ) {\n const disableTagAndSnapPipelines = disableSnapPipeline;\n if (disableTagAndSnapPipelines && ignoreBuildErrors) {\n throw new BitError('you can use either ignore-build-errors or disable-snap-pipeline, but not both');\n }\n if (updateDependents && !lane) {\n throw new BitError('update-dependents flag is only available when snapping from a lane');\n }\n\n const snapDataPerCompRaw = this.parseData(data);\n\n const results = await this.snapping.snapFromScope(snapDataPerCompRaw, {\n push,\n message,\n lane,\n ignoreIssues,\n build,\n skipTests,\n disableTagAndSnapPipelines,\n ignoreBuildErrors,\n rebuildDepsGraph,\n updateDependents,\n tag,\n });\n\n return {\n exportedIds: results.exportedIds?.map((id) => id.toString()),\n snappedIds: results.snappedIds.map((id) => id.toString()),\n };\n }\n private parseData(data: string): SnapDataPerCompRaw[] {\n let dataParsed: unknown;\n try {\n dataParsed = JSON.parse(data);\n } catch (err: any) {\n throw new Error(`failed parsing the data entered as JSON. err ${err.message}`);\n }\n if (!Array.isArray(dataParsed)) {\n throw new Error('expect data to be an array');\n }\n dataParsed.forEach((dataItem) => {\n if (!dataItem.componentId) throw new Error('expect data item to have \"componentId\" prop');\n dataItem.files?.forEach((file) => {\n if (!file.path) throw new Error('expect file to have \"path\" prop');\n if (file.content) {\n file.content = Buffer.from(file.content, 'base64').toString();\n }\n });\n });\n\n return dataPar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AC;IAEF,OAAOC,UAAU;EACnB;AACF;AAACgB,OAAA,CAAArD,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_chalk","data","_interopRequireDefault","require","_componentIssues","_bitError","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","SnapFromScopeCmd","constructor","snapping","logger","keys","IssuesClasses","join","report","push","message","lane","ignoreIssues","build","skipTests","disableSnapPipeline","ignoreBuildErrors","rebuildDepsGraph","updateDependents","tag","disableTagAndSnapPipelines","BitError","snapDataPerCompRaw","parseData","results","snapFromScope","snappedIds","exportedIds","snappedOutput","chalk","bold","exportedOutput","length","json","code","map","id","toString","err","error","stack","dataParsed","JSON","parse","Error","Array","isArray","forEach","dataItem","componentId","files","file","path","content","Buffer","from","exports"],"sources":["snap-from-scope.cmd.ts"],"sourcesContent":["import chalk from 'chalk';\nimport { IssuesClasses } from '@teambit/component-issues';\nimport { Command, CommandOptions } from '@teambit/cli';\nimport { BitError } from '@teambit/bit-error';\nimport { Logger } from '@teambit/logger';\nimport { SnappingMain } from './snapping.main.runtime';\nimport { BasicTagSnapParams } from './tag-model-component';\n\nexport type FileData = { path: string; content: string; delete?: boolean };\n\nexport type SnapDataPerCompRaw = {\n componentId: string;\n dependencies?: string[];\n aspects?: Record<string, any>;\n message?: string;\n files?: FileData[];\n isNew?: boolean;\n mainFile?: string; // relevant when isNew is true. default to \"index.ts\".\n newDependencies?: Array<{\n id: string; // component-id or package-name. e.g. \"teambit.react/react\" or \"lodash\".\n version?: string; // version of the package. e.g. \"2.0.3\". for packages, it is mandatory.\n isComponent?: boolean; // default true. if false, it's a package dependency\n type?: 'runtime' | 'dev' | 'peer'; // default \"runtime\".\n }>;\n removeDependencies?: string[];\n forkFrom?: string; // origin id to fork from. the componentId is the new id. (no need to populate isNew prop).\n version?: string; // relevant when passing \"--tag\". optionally, specify the semver to tag. default to \"patch\".\n};\n\ntype SnapFromScopeOptions = {\n push?: boolean;\n lane?: string;\n ignoreIssues?: string;\n disableSnapPipeline?: boolean;\n updateDependents?: boolean;\n tag?: boolean;\n} & BasicTagSnapParams;\n\nexport class SnapFromScopeCmd implements Command {\n name = '_snap <data>';\n description = 'snap components from a bare-scope';\n extendedDescription = `this command should be running from a new bare scope, it first imports the components it needs and then processes the snap.\nthe input data is a stringified JSON of an array of the following object.\n{\n componentId: string; // ids always have scope, so it's safe to parse them from string\n dependencies?: string[]; // dependencies include versions. for components use component-id. e.g. [teambit.compilation/compiler@1.0.0, lodash@4.17.21]\n aspects?: Record<string,any> // e.g. { \"teambit.react/react\": {}, \"teambit.envs/envs\": { \"env\": \"teambit.react/react\" } }\n message?: string; // tag-message.\n files?: Array<{path: string, content: string}>; // replace content of specified source-files. the content is base64 encoded.\n isNew?: boolean; // if it's new, it'll be generated from the given files. otherwise, it'll be fetched from the scope and updated.\n mainFile?: string; // relevant when isNew is true. default to \"index.ts\".\n newDependencies?: Array<{ // new dependencies (components and packages) to add.\n id: string; // component-id or package-name. e.g. \"teambit.react/react\" or \"lodash\".\n version?: string; // version of the package. e.g. \"2.0.3\". for packages, it is mandatory.\n isComponent?: boolean; // default true. if false, it's a package dependency\n type?: 'runtime' | 'dev' | 'peer'; // default \"runtime\".\n }>;\n removeDependencies?: string[]; // component-id (for components) or package-name (for packages) to remove from the dependencies.\n forkFrom?: string; // origin id to fork from. the componentId is the new id. (no need to populate isNew prop).\n version?: string; // relevant when passing \"--tag\". optionally, specify the semver to tag. default to \"patch\".\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"message\": \"first snap\"}]'\n`;\n alias = '';\n options = [\n ['', 'push', 'export the updated objects to the original scopes once done'],\n ['m', 'message <message>', 'log message describing the latest changes'],\n ['', 'lane <lane-id>', 'fetch the components from the given lane'],\n ['', 'build', 'run the build pipeline'],\n ['', 'skip-tests', 'skip running component tests during snap process'],\n ['', 'disable-snap-pipeline', 'skip the snap pipeline'],\n ['', 'ignore-build-errors', 'run the snap pipeline although the build pipeline failed'],\n ['', 'rebuild-deps-graph', 'do not reuse the saved dependencies graph, instead build it from scratch'],\n [\n 'i',\n 'ignore-issues [issues]',\n `ignore component issues (shown in \"bit status\" as \"issues found\"), issues to ignore:\n[${Object.keys(IssuesClasses).join(', ')}]\nto ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify \"*\".`,\n ],\n [\n '',\n 'update-dependents',\n 'when snapped on a lane, mark it as update-dependents so it will be skipped from the workspace',\n ],\n ['', 'tag', 'make a tag instead of a snap'],\n ['', 'stream', 'relevant for --json only. stream loader as json strings'],\n ['j', 'json', 'output as json format'],\n ] as CommandOptions;\n loader = true;\n private = true;\n\n constructor(\n private snapping: SnappingMain,\n private logger: Logger\n ) {}\n\n async report(\n [data]: [string],\n {\n push = false,\n message = '',\n lane,\n ignoreIssues,\n build = false,\n skipTests = false,\n disableSnapPipeline = false,\n ignoreBuildErrors = false,\n rebuildDepsGraph,\n updateDependents,\n tag,\n }: SnapFromScopeOptions\n ) {\n const disableTagAndSnapPipelines = disableSnapPipeline;\n if (disableTagAndSnapPipelines && ignoreBuildErrors) {\n throw new BitError('you can use either ignore-build-errors or disable-snap-pipeline, but not both');\n }\n if (updateDependents && !lane) {\n throw new BitError('update-dependents flag is only available when snapping from a lane');\n }\n\n const snapDataPerCompRaw = this.parseData(data);\n const results = await this.snapping.snapFromScope(snapDataPerCompRaw, {\n push,\n message,\n lane,\n ignoreIssues,\n build,\n skipTests,\n disableTagAndSnapPipelines,\n ignoreBuildErrors,\n rebuildDepsGraph,\n updateDependents,\n tag,\n });\n\n const { snappedIds, exportedIds } = results;\n\n const snappedOutput = `${chalk.bold('snapped components')}\\n${snappedIds.join('\\n')}`;\n const exportedOutput =\n exportedIds && exportedIds.length ? `\\n\\n${chalk.bold('exported components')}\\n${exportedIds.join('\\n')}` : '';\n\n return `${snappedOutput}${exportedOutput}`;\n }\n async json(\n [data]: [string],\n {\n push = false,\n message = '',\n lane,\n ignoreIssues,\n build = false,\n skipTests = false,\n disableSnapPipeline = false,\n ignoreBuildErrors = false,\n rebuildDepsGraph,\n updateDependents,\n tag,\n }: SnapFromScopeOptions\n ) {\n const disableTagAndSnapPipelines = disableSnapPipeline;\n if (disableTagAndSnapPipelines && ignoreBuildErrors) {\n throw new BitError('you can use either ignore-build-errors or disable-snap-pipeline, but not both');\n }\n if (updateDependents && !lane) {\n throw new BitError('update-dependents flag is only available when snapping from a lane');\n }\n\n const snapDataPerCompRaw = this.parseData(data);\n\n try {\n const results = await this.snapping.snapFromScope(snapDataPerCompRaw, {\n push,\n message,\n lane,\n ignoreIssues,\n build,\n skipTests,\n disableTagAndSnapPipelines,\n ignoreBuildErrors,\n rebuildDepsGraph,\n updateDependents,\n tag,\n });\n\n return {\n code: 0,\n data: {\n exportedIds: results.exportedIds?.map((id) => id.toString()),\n snappedIds: results.snappedIds.map((id) => id.toString()),\n },\n };\n } catch (err: any) {\n this.logger.error('snap-from-scope.json, error: ', err);\n return {\n code: 1,\n error: err.message,\n stack: err.stack,\n };\n }\n }\n private parseData(data: string): SnapDataPerCompRaw[] {\n let dataParsed: unknown;\n try {\n dataParsed = JSON.parse(data);\n } catch (err: any) {\n throw new Error(`failed parsing the data entered as JSON. err ${err.message}`);\n }\n if (!Array.isArray(dataParsed)) {\n throw new Error('expect data to be an array');\n }\n dataParsed.forEach((dataItem) => {\n if (!dataItem.componentId) throw new Error('expect data item to have \"componentId\" prop');\n dataItem.files?.forEach((file) => {\n if (!file.path) throw new Error('expect file to have \"path\" prop');\n if (file.content) {\n file.content = Buffer.from(file.content, 'base64').toString();\n }\n });\n });\n\n return dataParsed;\n }\n}\n"],"mappings":";;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,iB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UAAmB;IACvB,IAAI;MACFA,UAAU,GAAGC,IAAI,CAACC,KAAK,CAACpE,IAAI,CAAC;IAC/B,CAAC,CAAC,OAAO+D,GAAQ,EAAE;MACjB,MAAM,IAAIM,KAAK,CAAC,gDAAgDN,GAAG,CAAC5B,OAAO,EAAE,CAAC;IAChF;IACA,IAAI,CAACmC,KAAK,CAACC,OAAO,CAACL,UAAU,CAAC,EAAE;MAC9B,MAAM,IAAIG,KAAK,CAAC,4BAA4B,CAAC;IAC/C;IACAH,UAAU,CAACM,OAAO,CAAEC,QAAQ,IAAK;MAC/B,IAAI,CAACA,QAAQ,CAACC,WAAW,EAAE,MAAM,IAAIL,KAAK,CAAC,6CAA6C,CAAC;MACzFI,QAAQ,CAACE,KAAK,EAAEH,OAAO,CAAEI,IAAI,IAAK;QAChC,IAAI,CAACA,IAAI,CAACC,IAAI,EAAE,MAAM,IAAIR,KAAK,CAAC,iCAAiC,CAAC;QAClE,IAAIO,IAAI,CAACE,OAAO,EAAE;UAChBF,IAAI,CAACE,OAAO,GAAGC,MAAM,CAACC,IAAI,CAACJ,IAAI,CAACE,OAAO,EAAE,QAAQ,CAAC,CAAChB,QAAQ,CAAC,CAAC;QAC/D;MACF,CAAC,CAAC;IACJ,CAAC,CAAC;IAEF,OAAOI,UAAU;EACnB;AACF;AAACe,OAAA,CAAAvD,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/snapping",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.453",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/snapping",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "snapping",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.453"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -21,34 +21,34 @@
|
|
|
21
21
|
"@teambit/harmony": "0.4.6",
|
|
22
22
|
"@teambit/component-version": "1.0.3",
|
|
23
23
|
"@teambit/lane-id": "0.0.311",
|
|
24
|
-
"@teambit/graph": "1.0.
|
|
25
|
-
"@teambit/logger": "0.0.
|
|
26
|
-
"@teambit/scope": "1.0.
|
|
24
|
+
"@teambit/graph": "1.0.453",
|
|
25
|
+
"@teambit/logger": "0.0.1123",
|
|
26
|
+
"@teambit/scope": "1.0.453",
|
|
27
27
|
"@teambit/toolbox.promise.map-pool": "0.0.1",
|
|
28
28
|
"@teambit/component.sources": "0.0.42",
|
|
29
|
-
"@teambit/component": "1.0.
|
|
30
|
-
"@teambit/dependencies": "1.0.
|
|
31
|
-
"@teambit/dependency-resolver": "1.0.
|
|
32
|
-
"@teambit/cli": "0.0.
|
|
29
|
+
"@teambit/component": "1.0.453",
|
|
30
|
+
"@teambit/dependencies": "1.0.453",
|
|
31
|
+
"@teambit/dependency-resolver": "1.0.453",
|
|
32
|
+
"@teambit/cli": "0.0.1030",
|
|
33
33
|
"@teambit/legacy.component-list": "0.0.43",
|
|
34
34
|
"@teambit/component-issues": "0.0.151",
|
|
35
|
-
"@teambit/global-config": "0.0.
|
|
36
|
-
"@teambit/application": "1.0.
|
|
37
|
-
"@teambit/builder": "1.0.
|
|
38
|
-
"@teambit/export": "1.0.
|
|
39
|
-
"@teambit/forking": "1.0.
|
|
35
|
+
"@teambit/global-config": "0.0.1033",
|
|
36
|
+
"@teambit/application": "1.0.453",
|
|
37
|
+
"@teambit/builder": "1.0.453",
|
|
38
|
+
"@teambit/export": "1.0.453",
|
|
39
|
+
"@teambit/forking": "1.0.453",
|
|
40
40
|
"@teambit/harmony.modules.concurrency": "0.0.1",
|
|
41
|
-
"@teambit/importer": "1.0.
|
|
42
|
-
"@teambit/insights": "1.0.
|
|
43
|
-
"@teambit/install": "1.0.
|
|
44
|
-
"@teambit/issues": "1.0.
|
|
41
|
+
"@teambit/importer": "1.0.453",
|
|
42
|
+
"@teambit/insights": "1.0.453",
|
|
43
|
+
"@teambit/install": "1.0.453",
|
|
44
|
+
"@teambit/issues": "1.0.453",
|
|
45
45
|
"@teambit/lanes.modules.create-lane": "0.0.23",
|
|
46
46
|
"@teambit/legacy.scope-api": "0.0.45",
|
|
47
47
|
"@teambit/pkg.modules.semver-helper": "0.0.1",
|
|
48
|
-
"@teambit/workspace": "1.0.
|
|
48
|
+
"@teambit/workspace": "1.0.453",
|
|
49
49
|
"@teambit/bit.get-bit-version": "0.0.1",
|
|
50
50
|
"@teambit/harmony.modules.get-basic-log": "0.0.1",
|
|
51
|
-
"@teambit/remove": "1.0.
|
|
51
|
+
"@teambit/remove": "1.0.453",
|
|
52
52
|
"@teambit/toolbox.crypto.sha1": "0.0.2",
|
|
53
53
|
"@teambit/workspace.modules.node-modules-linker": "0.0.217"
|
|
54
54
|
},
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@types/uuid": "8.3.4",
|
|
62
62
|
"@types/mocha": "9.1.0",
|
|
63
63
|
"@teambit/harmony.envs.core-aspect-env": "0.0.60",
|
|
64
|
-
"@teambit/compiler": "1.0.
|
|
64
|
+
"@teambit/compiler": "1.0.453",
|
|
65
65
|
"@teambit/component.testing.mock-components": "0.0.248",
|
|
66
66
|
"@teambit/harmony.testing.load-aspect": "0.0.243",
|
|
67
67
|
"@teambit/workspace.testing.mock-workspace": "0.0.27"
|
|
File without changes
|