@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/bin/xy.mjs CHANGED
@@ -762,6 +762,7 @@ function getExternalImportsFromFiles({ prodSourceFiles, devSourceFiles }) {
762
762
  prodImports,
763
763
  devImports,
764
764
  prodImportPaths,
765
+ prodTypeImportPaths,
765
766
  devImportPaths,
766
767
  externalProdImports,
767
768
  externalDevImports,
@@ -778,6 +779,7 @@ function check({
778
779
  }) {
779
780
  const { prodSourceFiles, devSourceFiles } = findFiles(location);
780
781
  const {
782
+ prodTypeImportPaths,
781
783
  prodImportPaths,
782
784
  externalProdTypeImports,
783
785
  devImportPaths,
@@ -797,7 +799,7 @@ function check({
797
799
  if (!dependencies.includes(imp) && !peerDependencies.includes(imp) && !devDependencies.includes(imp) && !devDependencies.includes(`@types/${imp}`)) {
798
800
  unlistedDependencies++;
799
801
  console.log(`[${chalk12.blue(name)}] Missing dependency in package.json: ${chalk12.red(imp)}`);
800
- console.log(` ${prodImportPaths[imp].join("\n")}`);
802
+ console.log(` ${prodTypeImportPaths[imp].join("\n")}`);
801
803
  console.log("");
802
804
  }
803
805
  }