@xylabs/ts-scripts-yarn3 7.4.6 → 7.4.7

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/dist/index.mjs CHANGED
@@ -1208,6 +1208,7 @@ function hasImportPlugin({ location, allDependencies }) {
1208
1208
  }
1209
1209
  return false;
1210
1210
  }
1211
+ var hasVitest = ({ allDependencies }) => allDependencies.includes("vitest");
1211
1212
  var rules = [
1212
1213
  {
1213
1214
  package: "typescript",
@@ -1220,6 +1221,10 @@ var rules = [
1220
1221
  {
1221
1222
  package: "tslib",
1222
1223
  isNeeded: hasDecorators
1224
+ },
1225
+ {
1226
+ package: "@vitest/coverage-v8",
1227
+ isNeeded: hasVitest
1223
1228
  }
1224
1229
  ];
1225
1230
  function getImplicitDevDependencies(context) {