@teambit/snapping 1.0.108 → 1.0.110
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 +9 -0
- package/artifacts/preview/teambit_component_snapping-preview.js +1 -0
- package/dist/snapping.main.runtime.js +2 -1
- package/dist/snapping.main.runtime.js.map +1 -1
- package/package.json +29 -25
- package/components-have-issues.ts +0 -39
- package/flattened-edges.ts +0 -189
- package/generate-comp-from-scope.ts +0 -124
- package/index.ts +0 -8
- package/reset-cmd.ts +0 -70
- package/snap-cmd.ts +0 -195
- package/snap-distance-cmd.ts +0 -29
- package/snap-from-scope.cmd.ts +0 -155
- package/snapping.aspect.ts +0 -5
- package/snapping.main.runtime.ts +0 -1331
- package/snapping.spec.ts +0 -52
- package/tag-cmd.ts +0 -360
- package/tag-from-scope.cmd.ts +0 -258
- package/tag-model-component.ts +0 -641
- /package/dist/{preview-1703647408454.js → preview-1703733956734.js} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuites>
|
|
3
|
+
<testsuite name="teambit.component/snapping@1.0.110" timestamp="2023-12-28T03:49:10.905Z" tests="2" failures="0" errors="0" skipped="1">
|
|
4
|
+
<testcase classname="snapping.spec.js" name="tag should throw an ComponentsHaveIssues error" time="0.149"/>
|
|
5
|
+
<testcase classname="snapping.spec.js" name="should not throw an error if the config was set to ignore MissingPackagesDependenciesOnFs error">
|
|
6
|
+
<skipped/>
|
|
7
|
+
</testcase>
|
|
8
|
+
</testsuite>
|
|
9
|
+
</testsuites>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["teambit.component/snapping-preview"]=o():e["teambit.component/snapping-preview"]=o()}(self,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};e.r(o),e.d(o,{compositions:()=>t,compositions_metadata:()=>r,overview:()=>n});const t=[],n=[],r={compositions:[]};return o})()));
|
|
@@ -1163,7 +1163,8 @@ another option, in case this dependency is not in main yet is to remove all refe
|
|
|
1163
1163
|
const compIds = await this.workspace.resolveMultipleComponentIds(ids);
|
|
1164
1164
|
if (shouldClearCacheFirst) {
|
|
1165
1165
|
await this.workspace.consumer.componentFsCache.deleteAllDependenciesDataCache();
|
|
1166
|
-
|
|
1166
|
+
// don't clear only the cache of these ids. we need also the auto-tag. so it's safer to just clear all.
|
|
1167
|
+
this.workspace.clearAllComponentsCache();
|
|
1167
1168
|
}
|
|
1168
1169
|
return this.workspace.getMany(compIds.map(id => id.changeVersion(undefined)));
|
|
1169
1170
|
}
|