@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.
@@ -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
- compIds.map(compId => this.workspace.clearComponentCache(compId));
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
  }