@xylabs/ts-scripts-yarn3 6.4.3 → 6.4.4

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
@@ -852,6 +852,7 @@ function getExternalImportsFromFiles({ prodSourceFiles, devSourceFiles }) {
852
852
  prodImports,
853
853
  devImports,
854
854
  prodImportPaths,
855
+ prodTypeImportPaths,
855
856
  devImportPaths,
856
857
  externalProdImports,
857
858
  externalDevImports,
@@ -868,6 +869,7 @@ function check({
868
869
  }) {
869
870
  const { prodSourceFiles, devSourceFiles } = findFiles(location);
870
871
  const {
872
+ prodTypeImportPaths,
871
873
  prodImportPaths,
872
874
  externalProdTypeImports,
873
875
  devImportPaths,
@@ -887,7 +889,7 @@ function check({
887
889
  if (!dependencies.includes(imp) && !peerDependencies.includes(imp) && !devDependencies.includes(imp) && !devDependencies.includes(`@types/${imp}`)) {
888
890
  unlistedDependencies++;
889
891
  console.log(`[${chalk14.blue(name)}] Missing dependency in package.json: ${chalk14.red(imp)}`);
890
- console.log(` ${prodImportPaths[imp].join("\n")}`);
892
+ console.log(` ${prodTypeImportPaths[imp].join("\n")}`);
891
893
  console.log("");
892
894
  }
893
895
  }