@xylabs/ts-scripts-yarn3 7.4.5 → 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/bin/xy.mjs CHANGED
@@ -1116,6 +1116,7 @@ function hasImportPlugin({ location, allDependencies }) {
1116
1116
  }
1117
1117
  return false;
1118
1118
  }
1119
+ var hasVitest = ({ allDependencies }) => allDependencies.includes("vitest");
1119
1120
  var rules = [
1120
1121
  {
1121
1122
  package: "typescript",
@@ -1128,6 +1129,10 @@ var rules = [
1128
1129
  {
1129
1130
  package: "tslib",
1130
1131
  isNeeded: hasDecorators
1132
+ },
1133
+ {
1134
+ package: "@vitest/coverage-v8",
1135
+ isNeeded: hasVitest
1131
1136
  }
1132
1137
  ];
1133
1138
  function getImplicitDevDependencies(context) {