@configjs/cli 1.0.8 → 1.0.9

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-EFP4AZE6.js";
7
+ } from "./chunk-JDMVCQS4.js";
8
8
  import {
9
9
  logger
10
10
  } from "./chunk-QRFLHLFE.js";
@@ -5220,17 +5220,6 @@ var shadcnUiPlugin = {
5220
5220
  const projectRoot = ctx.projectRoot;
5221
5221
  const srcDir = join14(projectRoot, ctx.srcDir);
5222
5222
  try {
5223
- const tailwindInstalled = ctx.dependencies["tailwindcss"] !== void 0 || ctx.devDependencies["tailwindcss"] !== void 0;
5224
- if (!tailwindInstalled) {
5225
- logger.warn(
5226
- "TailwindCSS is required for Shadcn/ui. Please install TailwindCSS first."
5227
- );
5228
- return {
5229
- files,
5230
- success: false,
5231
- message: "TailwindCSS is required for Shadcn/ui. Please install TailwindCSS first."
5232
- };
5233
- }
5234
5223
  const componentsJsonPath = join14(projectRoot, "components.json");
5235
5224
  const componentsJsonExists = await checkPathExists(componentsJsonPath);
5236
5225
  if (componentsJsonExists) {
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.8";
8
+ var version = "1.0.9";
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-J2GB2RDX.js");
16
+ const { installReact } = await import("./install-KLUYWYWL.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-KFWAHR6Z.js");
26
+ const { listLibraries } = await import("./list-2GPU5MKJ.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-2TRO5TLL.js");
35
+ const { checkCompatibility } = await import("./check-RUPVHNAE.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-EFP4AZE6.js";
10
+ } from "./chunk-JDMVCQS4.js";
11
11
  import {
12
12
  PluginTracker,
13
13
  detectContext
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginRegistry
3
- } from "./chunk-EFP4AZE6.js";
3
+ } from "./chunk-JDMVCQS4.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.8",
3
+ "version": "1.0.9",
4
4
  "type": "module",
5
5
  "description": "Configure your frontend stack, instantly - Utilitaire CLI d'installation modulaire de bibliothèques frontend",
6
6
  "keywords": [