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.
Files changed (2) hide show
  1. package/lib/index.js +3 -3
  2. 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.0";
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
- return;
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
- return;
9001
+ continue;
9002
9002
  }
9003
9003
  await writeFile(indexFileAbsolutePath, content);
9004
9004
  console.log(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barrelize",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Automatically generating index (barrel) files",
5
5
  "scripts": {
6
6
  "build": "npm run schema && vite build",