barrelize 1.2.1 → 1.2.2
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/lib/index.js +3 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -591,7 +591,7 @@ class CAC extends EventEmitter {
|
|
|
591
591
|
}
|
|
592
592
|
const cac = (name2 = "") => new CAC(name2);
|
|
593
593
|
const name = "barrelize";
|
|
594
|
-
const version = "1.2.
|
|
594
|
+
const version = "1.2.1";
|
|
595
595
|
function cliInit() {
|
|
596
596
|
const cli = cac(name);
|
|
597
597
|
cli.command("[config path]", `Generate 'index.ts' files for all directories`).action(async (config) => {
|
|
@@ -8986,7 +8986,7 @@ async function generateBarrels(rootPath, configPath, config) {
|
|
|
8986
8986
|
colorize(indexFileRelativePath, TerminalColor.CYAN),
|
|
8987
8987
|
colorize(exportedText, TerminalColor.GRAY)
|
|
8988
8988
|
);
|
|
8989
|
-
|
|
8989
|
+
continue;
|
|
8990
8990
|
}
|
|
8991
8991
|
await writeFile(indexFileAbsolutePath, content);
|
|
8992
8992
|
const { insertions, deletions } = pathsDifferences(oldPaths, paths);
|
|
@@ -8998,7 +8998,7 @@ async function generateBarrels(rootPath, configPath, config) {
|
|
|
8998
8998
|
colorize(`${exportedText}${insertionsText}${deletionsText}`, TerminalColor.GRAY)
|
|
8999
8999
|
);
|
|
9000
9000
|
printDifferences(insertions, deletions);
|
|
9001
|
-
|
|
9001
|
+
continue;
|
|
9002
9002
|
}
|
|
9003
9003
|
await writeFile(indexFileAbsolutePath, content);
|
|
9004
9004
|
console.log(
|