vectify 2.1.1 → 2.1.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/dist/cli.mjs CHANGED
@@ -2,15 +2,15 @@
2
2
  import {
3
3
  generate,
4
4
  init,
5
+ source_default,
5
6
  watch
6
- } from "./chunk-QYE23M3E.mjs";
7
- import "./chunk-FS34P27H.mjs";
7
+ } from "./chunk-2ITFHLOW.mjs";
8
+ import "./chunk-SYQXCPHN.mjs";
8
9
 
9
10
  // src/cli.ts
10
11
  import { readFileSync } from "fs";
11
12
  import { dirname, join } from "path";
12
13
  import { fileURLToPath } from "url";
13
- import chalk from "chalk";
14
14
  import { Command } from "commander";
15
15
  function getPackageJson() {
16
16
  let pkgPath;
@@ -30,7 +30,7 @@ program.command("init").description("Initialize a new configuration file").optio
30
30
  try {
31
31
  await init(options);
32
32
  } catch (error) {
33
- console.error(chalk.red(`Error: ${error.message}`));
33
+ console.error(source_default.red(`Error: ${error.message}`));
34
34
  process.exit(1);
35
35
  }
36
36
  });
@@ -38,7 +38,7 @@ program.command("generate").description("Generate icon components from SVG files
38
38
  try {
39
39
  await generate(options);
40
40
  } catch (error) {
41
- console.error(chalk.red(`Error: ${error.message}`));
41
+ console.error(source_default.red(`Error: ${error.message}`));
42
42
  process.exit(1);
43
43
  }
44
44
  });
@@ -46,7 +46,7 @@ program.command("watch").description("Watch for changes and regenerate automatic
46
46
  try {
47
47
  await watch(options);
48
48
  } catch (error) {
49
- console.error(chalk.red(`Error: ${error.message}`));
49
+ console.error(source_default.red(`Error: ${error.message}`));
50
50
  process.exit(1);
51
51
  }
52
52
  });
@@ -10,7 +10,7 @@ import {
10
10
  toKebabCase,
11
11
  toPascalCase,
12
12
  writeFile
13
- } from "./chunk-FS34P27H.mjs";
13
+ } from "./chunk-SYQXCPHN.mjs";
14
14
  export {
15
15
  ensureDir,
16
16
  fileExists,