@configjs/cli 1.1.7 → 1.1.8

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,10 +1,10 @@
1
1
  import {
2
2
  CompatibilityValidator,
3
3
  allCompatibilityRules
4
- } from "./chunk-NLTJ6GYH.js";
4
+ } from "./chunk-YQVYFXOD.js";
5
5
  import {
6
6
  pluginRegistry
7
- } from "./chunk-HKNOLXCV.js";
7
+ } from "./chunk-4N3JFZLA.js";
8
8
  import "./chunk-MQV3WNMH.js";
9
9
  import {
10
10
  logger
@@ -7957,7 +7957,7 @@ var vueTestUtilsPlugin = {
7957
7957
  });
7958
7958
  logger.info(`Created example test: ${testFilePath}`);
7959
7959
  const packageJsonPath = join26(ctx.projectRoot, "package.json");
7960
- await writer.modifyPackageJson(packageJsonPath, (pkg) => {
7960
+ await writer.modifyPackageJson(ctx.projectRoot, (pkg) => {
7961
7961
  pkg.scripts = pkg.scripts || {};
7962
7962
  pkg.scripts["test"] = "vitest";
7963
7963
  pkg.scripts["test:ui"] = "vitest --ui";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  CompatibilityValidator,
3
3
  allCompatibilityRules
4
- } from "./chunk-NLTJ6GYH.js";
4
+ } from "./chunk-YQVYFXOD.js";
5
5
  import {
6
6
  BackupManager,
7
7
  ConfigWriter,
8
8
  getPluginsByCategory,
9
9
  pluginRegistry
10
- } from "./chunk-HKNOLXCV.js";
10
+ } from "./chunk-4N3JFZLA.js";
11
11
  import {
12
12
  PluginTracker
13
13
  } from "./chunk-TVZWTKJU.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginRegistry
3
- } from "./chunk-HKNOLXCV.js";
3
+ } from "./chunk-4N3JFZLA.js";
4
4
  import {
5
5
  logger
6
6
  } from "./chunk-HM2JWJOO.js";
package/dist/cli.js CHANGED
@@ -5,7 +5,7 @@ import "./chunk-QGM4M3NI.js";
5
5
  import { Command } from "commander";
6
6
 
7
7
  // package.json
8
- var version = "1.1.7";
8
+ var version = "1.1.8";
9
9
 
10
10
  // src/cli.ts
11
11
  var program = new Command();
@@ -13,7 +13,7 @@ program.name("confjs").description("Configure your frontend stack, instantly").v
13
13
  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(
14
14
  async (options) => {
15
15
  try {
16
- const { ReactCommand } = await import("./react-command-3WUUJZBW.js");
16
+ const { ReactCommand } = await import("./react-command-AXYWRMBH.js");
17
17
  const command = new ReactCommand();
18
18
  await command.execute(options);
19
19
  } catch (error) {
@@ -25,7 +25,7 @@ program.command("react").description("Configure a React project").option("-y, --
25
25
  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(
26
26
  async (options) => {
27
27
  try {
28
- const { NextjsCommand } = await import("./nextjs-command-LA245VK4.js");
28
+ const { NextjsCommand } = await import("./nextjs-command-SGU7KCFM.js");
29
29
  const command = new NextjsCommand();
30
30
  await command.execute(options);
31
31
  } catch (error) {
@@ -37,7 +37,7 @@ program.command("nextjs").description("Configure a Next.js project").option("-y,
37
37
  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(
38
38
  async (options) => {
39
39
  try {
40
- const { VueCommand } = await import("./vue-command-WPFTD5JM.js");
40
+ const { VueCommand } = await import("./vue-command-SLT6ILZT.js");
41
41
  const command = new VueCommand();
42
42
  await command.execute(options);
43
43
  } catch (error) {
@@ -48,7 +48,7 @@ program.command("vue").description("Configure a Vue.js project").option("-y, --y
48
48
  );
49
49
  program.command("list").description("List available libraries").option("-c, --category <category>", "Filter by category").action(async (options) => {
50
50
  try {
51
- const { listLibraries } = await import("./list-GGH3SFER.js");
51
+ const { listLibraries } = await import("./list-ICEIQD7X.js");
52
52
  listLibraries(options);
53
53
  } catch (error) {
54
54
  console.error("Error:", error);
@@ -57,7 +57,7 @@ program.command("list").description("List available libraries").option("-c, --ca
57
57
  });
58
58
  program.command("check").description("Check compatibility without installing").option("-c, --config <file>", "Configuration file to check").action(async (options) => {
59
59
  try {
60
- const { checkCompatibility } = await import("./check-QX4VFU73.js");
60
+ const { checkCompatibility } = await import("./check-KHMCB7NK.js");
61
61
  await checkCompatibility(options);
62
62
  } catch (error) {
63
63
  console.error("Error:", error);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginRegistry
3
- } from "./chunk-HKNOLXCV.js";
3
+ } from "./chunk-4N3JFZLA.js";
4
4
  import "./chunk-MQV3WNMH.js";
5
5
  import "./chunk-HM2JWJOO.js";
6
6
  import "./chunk-QGM4M3NI.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  BaseFrameworkCommand,
3
3
  getFrameworkMetadata
4
- } from "./chunk-GVI6UQX2.js";
5
- import "./chunk-NLTJ6GYH.js";
6
- import "./chunk-HKNOLXCV.js";
4
+ } from "./chunk-AMBG3TCE.js";
5
+ import "./chunk-YQVYFXOD.js";
6
+ import "./chunk-4N3JFZLA.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-GVI6UQX2.js";
5
- import "./chunk-NLTJ6GYH.js";
6
- import "./chunk-HKNOLXCV.js";
4
+ } from "./chunk-AMBG3TCE.js";
5
+ import "./chunk-YQVYFXOD.js";
6
+ import "./chunk-4N3JFZLA.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-GVI6UQX2.js";
5
- import "./chunk-NLTJ6GYH.js";
6
- import "./chunk-HKNOLXCV.js";
4
+ } from "./chunk-AMBG3TCE.js";
5
+ import "./chunk-YQVYFXOD.js";
6
+ import "./chunk-4N3JFZLA.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.7",
3
+ "version": "1.1.8",
4
4
  "type": "module",
5
5
  "description": "Configure your frontend stack, instantly - Utilitaire CLI d'installation modulaire de bibliothèques frontend",
6
6
  "keywords": [