@configjs/cli 1.0.2 → 1.0.3
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.
|
@@ -198,18 +198,6 @@ var compatibilityRules = [
|
|
|
198
198
|
severity: "warning",
|
|
199
199
|
allowOverride: true
|
|
200
200
|
},
|
|
201
|
-
// Dépendances - TailwindCSS v4
|
|
202
|
-
// Note: TailwindCSS v4 avec @tailwindcss/vite ne nécessite plus postcss/autoprefixer
|
|
203
|
-
// Voir: https://tailwindcss.com/docs/installation/using-vite
|
|
204
|
-
{
|
|
205
|
-
type: "REQUIRES",
|
|
206
|
-
plugin: "tailwindcss",
|
|
207
|
-
requires: ["@tailwindcss/vite"],
|
|
208
|
-
reason: "@tailwindcss/vite est n\xE9cessaire pour utiliser TailwindCSS v4 avec Vite",
|
|
209
|
-
severity: "error",
|
|
210
|
-
autoInstall: false,
|
|
211
|
-
allowOverride: false
|
|
212
|
-
},
|
|
213
201
|
// Recommandations - React Router
|
|
214
202
|
{
|
|
215
203
|
type: "RECOMMENDS",
|
package/dist/cli.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Command } from "commander";
|
|
5
5
|
|
|
6
6
|
// package.json
|
|
7
|
-
var version = "1.0.
|
|
7
|
+
var version = "1.0.3";
|
|
8
8
|
|
|
9
9
|
// src/cli.ts
|
|
10
10
|
var program = new Command();
|
|
@@ -12,7 +12,7 @@ program.name("confjs").description("Configure your frontend stack, instantly").v
|
|
|
12
12
|
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(
|
|
13
13
|
async (options) => {
|
|
14
14
|
try {
|
|
15
|
-
const { installReact } = await import("./install-
|
|
15
|
+
const { installReact } = await import("./install-ML3FB63K.js");
|
|
16
16
|
await installReact(options);
|
|
17
17
|
} catch (error) {
|
|
18
18
|
console.error("Error:", error);
|
|
@@ -31,7 +31,7 @@ program.command("list").description("List available libraries").option("-c, --ca
|
|
|
31
31
|
});
|
|
32
32
|
program.command("check").description("Check compatibility without installing").option("-c, --config <file>", "Configuration file to check").action(async (options) => {
|
|
33
33
|
try {
|
|
34
|
-
const { checkCompatibility } = await import("./check-
|
|
34
|
+
const { checkCompatibility } = await import("./check-I62WT7NB.js");
|
|
35
35
|
await checkCompatibility(options);
|
|
36
36
|
} catch (error) {
|
|
37
37
|
console.error("Error:", error);
|