@teambit/snapping 1.0.470 → 1.0.471
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.
|
@@ -81,13 +81,6 @@ function _pMapSeries() {
|
|
|
81
81
|
};
|
|
82
82
|
return data;
|
|
83
83
|
}
|
|
84
|
-
function _loader() {
|
|
85
|
-
const data = _interopRequireDefault(require("@teambit/legacy/dist/cli/loader"));
|
|
86
|
-
_loader = function () {
|
|
87
|
-
return data;
|
|
88
|
-
};
|
|
89
|
-
return data;
|
|
90
|
-
}
|
|
91
84
|
function _componentsPendingImport() {
|
|
92
85
|
const data = _interopRequireDefault(require("@teambit/legacy/dist/consumer/exceptions/components-pending-import"));
|
|
93
86
|
_componentsPendingImport = function () {
|
|
@@ -414,7 +407,7 @@ class SnappingMain {
|
|
|
414
407
|
const validExactVersion = (0, _pkgModules().validateVersion)(exactVersion);
|
|
415
408
|
const consumer = this.workspace.consumer;
|
|
416
409
|
const componentsList = new (_legacy().ComponentsList)(consumer);
|
|
417
|
-
|
|
410
|
+
this.logger.setStatusLine('determine components to tag...');
|
|
418
411
|
const newComponents = await componentsList.listNewComponents();
|
|
419
412
|
const {
|
|
420
413
|
bitIds,
|
|
@@ -891,7 +884,7 @@ in case you're unsure about the pattern syntax, use "bit pattern [--help]"`);
|
|
|
891
884
|
return notExported;
|
|
892
885
|
}
|
|
893
886
|
async _addFlattenedDependenciesToComponents(components, rebuildDepsGraph = false) {
|
|
894
|
-
|
|
887
|
+
this.logger.setStatusLine('importing missing dependencies...');
|
|
895
888
|
this.logger.profile('snap._addFlattenedDependenciesToComponents');
|
|
896
889
|
const getLane = async () => {
|
|
897
890
|
const lane = await this.scope.legacyScope.getCurrentLaneObject();
|
|
@@ -905,7 +898,7 @@ in case you're unsure about the pattern syntax, use "bit pattern [--help]"`);
|
|
|
905
898
|
if (rebuildDepsGraph) {
|
|
906
899
|
const flattenedDependenciesGetter = new (_getFlattenedDependencies().FlattenedDependenciesGetter)(this.scope.legacyScope, components, lane);
|
|
907
900
|
await flattenedDependenciesGetter.populateFlattenedDependencies();
|
|
908
|
-
|
|
901
|
+
this.logger.clearStatusLine();
|
|
909
902
|
await this._addFlattenedDepsGraphToComponents(components);
|
|
910
903
|
return;
|
|
911
904
|
}
|