@configjs/cli 1.1.13 → 1.1.16

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginRegistry
3
- } from "./chunk-XJN5434Q.js";
3
+ } from "./chunk-JYWGJJ4M.js";
4
4
  import {
5
5
  getModuleLogger
6
6
  } from "./chunk-QPEUT7QG.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  CompatibilityValidator,
3
3
  allCompatibilityRules
4
- } from "./chunk-HSLMPJN4.js";
4
+ } from "./chunk-NYCK4R4K.js";
5
5
  import {
6
6
  BackupManager,
7
7
  ConfigWriter,
8
8
  getPluginsByCategory,
9
9
  getRecommendedPlugins,
10
10
  pluginRegistry
11
- } from "./chunk-XJN5434Q.js";
11
+ } from "./chunk-JYWGJJ4M.js";
12
12
  import {
13
13
  PluginTracker
14
14
  } from "./chunk-UKEHW2LH.js";
@@ -720,17 +720,18 @@ function displayNextSteps(lang) {
720
720
 
721
721
  // src/cli/ui/logo.ts
722
722
  import pc2 from "picocolors";
723
- var LOGO = `
724
- ${pc2.cyan("\u2588\u2588\u2588\u2588\u2588\u2588\u2557")} ${pc2.cyan("\u2588\u2588\u2588\u2588\u2588\u2588\u2557")} ${pc2.cyan("\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2557")}
725
- ${pc2.cyan("\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D")} ${pc2.cyan("\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557")} ${pc2.cyan("\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D \u2588\u2588\u2551 \u255A\u2588\u2588\u2551")}
726
- ${pc2.cyan("\u2588\u2588\u2551")} ${pc2.cyan("\u2588\u2588\u2551 \u2588\u2588\u2551")} ${pc2.cyan("\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551")}
727
- ${pc2.cyan("\u2588\u2588\u2551")} ${pc2.cyan("\u2588\u2588\u2551 \u2588\u2588\u2551")} ${pc2.cyan("\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u255D \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551")}
728
- ${pc2.cyan("\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557")} ${pc2.cyan("\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D")} ${pc2.cyan("\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2551 \u2588\u2588\u2554\u255D")}
729
- ${pc2.cyan("\u255A\u2550\u2550\u2550\u2550\u2550\u255D")} ${pc2.cyan("\u255A\u2550\u2550\u2550\u2550\u2550\u255D")} ${pc2.cyan("\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D")}
730
-
731
- `;
723
+ function LOGO() {
724
+ return [
725
+ " \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557",
726
+ " \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D \u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D",
727
+ " \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557",
728
+ " \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u255D \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588 \u2588\u2588\u2551\u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551",
729
+ " \u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u255A\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551",
730
+ " \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D"
731
+ ].map((line) => pc2.cyan(line)).join("\n");
732
+ }
732
733
  function displayLogo() {
733
- console.log(pc2.cyan(LOGO));
734
+ console.log(LOGO());
734
735
  }
735
736
 
736
737
  // src/cli/commands/base-framework-command.ts
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import "./chunk-QGM4M3NI.js";
8
8
  import { Command } from "commander";
9
9
 
10
10
  // package.json
11
- var version = "1.1.13";
11
+ var version = "1.1.16";
12
12
 
13
13
  // src/cli.ts
14
14
  initializeCLILogging();
@@ -17,7 +17,7 @@ program.name("confjs").description("Configure your frontend stack, instantly").v
17
17
  program.command("react").description("Configure a React project").option("-y, --yes", "Accept all defaults").option("-d, --dry-run", "Simulate without writing to disk").option("-s, --silent", "Non-interactive mode").option("--debug", "Enable debug logs").option("-c, --config <file>", "Use configuration file").option("-f, --force", "Force installation (overwrite configs)").option("--no-install", "Generate configs only, skip package installation").action(
18
18
  async (options) => {
19
19
  try {
20
- const { ReactCommand } = await import("./react-command-XF7Q4GB6.js");
20
+ const { ReactCommand } = await import("./react-command-2T6IOTHB.js");
21
21
  const command = new ReactCommand();
22
22
  await command.execute(options);
23
23
  } catch (error) {
@@ -29,7 +29,7 @@ program.command("react").description("Configure a React project").option("-y, --
29
29
  program.command("nextjs").description("Configure a Next.js project").option("-y, --yes", "Accept all defaults").option("-d, --dry-run", "Simulate without writing to disk").option("-s, --silent", "Non-interactive mode").option("--debug", "Enable debug logs").option("-c, --config <file>", "Use configuration file").option("-f, --force", "Force installation (overwrite configs)").option("--no-install", "Generate configs only, skip package installation").action(
30
30
  async (options) => {
31
31
  try {
32
- const { NextjsCommand } = await import("./nextjs-command-6PIQOGKC.js");
32
+ const { NextjsCommand } = await import("./nextjs-command-WKKOAY7I.js");
33
33
  const command = new NextjsCommand();
34
34
  await command.execute(options);
35
35
  } catch (error) {
@@ -41,7 +41,7 @@ program.command("nextjs").description("Configure a Next.js project").option("-y,
41
41
  program.command("vue").description("Configure a Vue.js project").option("-y, --yes", "Accept all defaults").option("-d, --dry-run", "Simulate without writing to disk").option("-s, --silent", "Non-interactive mode").option("--debug", "Enable debug logs").option("-c, --config <file>", "Use configuration file").option("-f, --force", "Force installation (overwrite configs)").option("--no-install", "Generate configs only, skip package installation").action(
42
42
  async (options) => {
43
43
  try {
44
- const { VueCommand } = await import("./vue-command-UGN3RDDJ.js");
44
+ const { VueCommand } = await import("./vue-command-IOTC32AI.js");
45
45
  const command = new VueCommand();
46
46
  await command.execute(options);
47
47
  } catch (error) {
@@ -53,7 +53,7 @@ program.command("vue").description("Configure a Vue.js project").option("-y, --y
53
53
  program.command("svelte").description("Configure a Svelte project").option("-y, --yes", "Accept all defaults").option("-d, --dry-run", "Simulate without writing to disk").option("-s, --silent", "Non-interactive mode").option("--debug", "Enable debug logs").option("-c, --config <file>", "Use configuration file").option("-f, --force", "Force installation (overwrite configs)").option("--no-install", "Generate configs only, skip package installation").action(
54
54
  async (options) => {
55
55
  try {
56
- const { SvelteCommand } = await import("./svelte-command-AJPAGQES.js");
56
+ const { SvelteCommand } = await import("./svelte-command-B2DNNQ5Z.js");
57
57
  const command = new SvelteCommand();
58
58
  await command.execute(options);
59
59
  } catch (error) {
@@ -65,7 +65,7 @@ program.command("svelte").description("Configure a Svelte project").option("-y,
65
65
  program.command("angular").description("Configure an Angular project").option("-y, --yes", "Accept all defaults").option("-d, --dry-run", "Simulate without writing to disk").option("-s, --silent", "Non-interactive mode").option("--debug", "Enable debug logs").option("-c, --config <file>", "Use configuration file").option("-f, --force", "Force installation (overwrite configs)").option("--no-install", "Generate configs only, skip package installation").action(
66
66
  async (options) => {
67
67
  try {
68
- const { AngularCommand } = await import("./angular-command-KX7WHQV4.js");
68
+ const { AngularCommand } = await import("./angular-command-XN26G6L3.js");
69
69
  const command = new AngularCommand();
70
70
  await command.execute(options);
71
71
  } catch (error) {
@@ -76,7 +76,7 @@ program.command("angular").description("Configure an Angular project").option("-
76
76
  );
77
77
  program.command("list").description("List available libraries").option("-c, --category <category>", "Filter by category").action(async (options) => {
78
78
  try {
79
- const { listLibraries } = await import("./list-AWADTBUA.js");
79
+ const { listLibraries } = await import("./list-VZDUWV5O.js");
80
80
  listLibraries(options);
81
81
  } catch (error) {
82
82
  console.error("Error:", error);
@@ -85,7 +85,7 @@ program.command("list").description("List available libraries").option("-c, --ca
85
85
  });
86
86
  program.command("check").description("Check compatibility without installing").option("-c, --config <file>", "Configuration file to check").action(async (options) => {
87
87
  try {
88
- const { checkCompatibility } = await import("./check-XXBOQU2U.js");
88
+ const { checkCompatibility } = await import("./check-KNGZSCMM.js");
89
89
  await checkCompatibility(options);
90
90
  } catch (error) {
91
91
  console.error("Error:", error);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginRegistry
3
- } from "./chunk-XJN5434Q.js";
3
+ } from "./chunk-JYWGJJ4M.js";
4
4
  import "./chunk-6GV4NKUX.js";
5
5
  import "./chunk-FIB2J36N.js";
6
6
  import "./chunk-QPEUT7QG.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  BaseFrameworkCommand,
3
3
  getFrameworkMetadata
4
- } from "./chunk-5ZZ56QH7.js";
5
- import "./chunk-HSLMPJN4.js";
6
- import "./chunk-XJN5434Q.js";
4
+ } from "./chunk-TN27AX4L.js";
5
+ import "./chunk-NYCK4R4K.js";
6
+ import "./chunk-JYWGJJ4M.js";
7
7
  import {
8
8
  DetectionError,
9
9
  detectContext
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  BaseFrameworkCommand,
3
3
  getFrameworkMetadata
4
- } from "./chunk-5ZZ56QH7.js";
5
- import "./chunk-HSLMPJN4.js";
6
- import "./chunk-XJN5434Q.js";
4
+ } from "./chunk-TN27AX4L.js";
5
+ import "./chunk-NYCK4R4K.js";
6
+ import "./chunk-JYWGJJ4M.js";
7
7
  import {
8
8
  DetectionError,
9
9
  detectContext
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  BaseFrameworkCommand,
3
3
  getFrameworkMetadata
4
- } from "./chunk-5ZZ56QH7.js";
5
- import "./chunk-HSLMPJN4.js";
6
- import "./chunk-XJN5434Q.js";
4
+ } from "./chunk-TN27AX4L.js";
5
+ import "./chunk-NYCK4R4K.js";
6
+ import "./chunk-JYWGJJ4M.js";
7
7
  import {
8
8
  DetectionError,
9
9
  detectContext
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  BaseFrameworkCommand,
3
3
  getFrameworkMetadata
4
- } from "./chunk-5ZZ56QH7.js";
5
- import "./chunk-HSLMPJN4.js";
6
- import "./chunk-XJN5434Q.js";
4
+ } from "./chunk-TN27AX4L.js";
5
+ import "./chunk-NYCK4R4K.js";
6
+ import "./chunk-JYWGJJ4M.js";
7
7
  import {
8
8
  DetectionError,
9
9
  detectContext
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@configjs/cli",
3
- "version": "1.1.13",
3
+ "version": "1.1.16",
4
4
  "type": "module",
5
5
  "description": "Configure your frontend stack, instantly - Utilitaire CLI d'installation modulaire de bibliothèques frontend",
6
6
  "keywords": [