@configjs/cli 1.0.9 → 1.1.0

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.
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-VJ254HJY.js";
5
5
  import {
6
6
  pluginRegistry
7
- } from "./chunk-JDMVCQS4.js";
7
+ } from "./chunk-OJGTPK6N.js";
8
8
  import {
9
9
  logger
10
10
  } from "./chunk-QRFLHLFE.js";
@@ -7459,12 +7459,12 @@ var huskyPlugin = {
7459
7459
  const gitExists = await checkPathExists(gitDir);
7460
7460
  if (!gitExists) {
7461
7461
  logger.warn(
7462
- ".git directory not found. Husky requires Git to be initialized."
7462
+ ".git directory not found. Husky hooks will be skipped. Initialize Git and run npm run prepare to set up Husky."
7463
7463
  );
7464
7464
  return {
7465
7465
  files,
7466
- success: false,
7467
- message: "Git repository not found. Please initialize Git first."
7466
+ success: true,
7467
+ message: 'Husky installed but hooks skipped (Git not initialized). Run "git init && npm run prepare" to initialize Husky hooks later.'
7468
7468
  };
7469
7469
  }
7470
7470
  const huskyDir = join21(projectRoot, ".husky");
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.0.9";
8
+ var version = "1.1.0";
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 { installReact } = await import("./install-KLUYWYWL.js");
16
+ const { installReact } = await import("./install-KQGZKKMT.js");
17
17
  await installReact(options);
18
18
  } catch (error) {
19
19
  console.error("Error:", error);
@@ -23,7 +23,7 @@ program.command("react").description("Configure a React project").option("-y, --
23
23
  );
24
24
  program.command("list").description("List available libraries").option("-c, --category <category>", "Filter by category").action(async (options) => {
25
25
  try {
26
- const { listLibraries } = await import("./list-2GPU5MKJ.js");
26
+ const { listLibraries } = await import("./list-NW6ENYK6.js");
27
27
  listLibraries(options);
28
28
  } catch (error) {
29
29
  console.error("Error:", error);
@@ -32,7 +32,7 @@ program.command("list").description("List available libraries").option("-c, --ca
32
32
  });
33
33
  program.command("check").description("Check compatibility without installing").option("-c, --config <file>", "Configuration file to check").action(async (options) => {
34
34
  try {
35
- const { checkCompatibility } = await import("./check-RUPVHNAE.js");
35
+ const { checkCompatibility } = await import("./check-7PYMMMZK.js");
36
36
  await checkCompatibility(options);
37
37
  } catch (error) {
38
38
  console.error("Error:", error);
@@ -7,7 +7,7 @@ import {
7
7
  ConfigWriter,
8
8
  getPluginsByCategory,
9
9
  pluginRegistry
10
- } from "./chunk-JDMVCQS4.js";
10
+ } from "./chunk-OJGTPK6N.js";
11
11
  import {
12
12
  PluginTracker,
13
13
  detectContext
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginRegistry
3
- } from "./chunk-JDMVCQS4.js";
3
+ } from "./chunk-OJGTPK6N.js";
4
4
  import "./chunk-QRFLHLFE.js";
5
5
  import "./chunk-QGM4M3NI.js";
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@configjs/cli",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "description": "Configure your frontend stack, instantly - Utilitaire CLI d'installation modulaire de bibliothèques frontend",
6
6
  "keywords": [