@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.
- package/dist/{check-QX4VFU73.js → check-KHMCB7NK.js} +2 -2
- package/dist/{chunk-HKNOLXCV.js → chunk-4N3JFZLA.js} +1 -1
- package/dist/{chunk-GVI6UQX2.js → chunk-AMBG3TCE.js} +2 -2
- package/dist/{chunk-NLTJ6GYH.js → chunk-YQVYFXOD.js} +1 -1
- package/dist/cli.js +6 -6
- package/dist/{list-GGH3SFER.js → list-ICEIQD7X.js} +1 -1
- package/dist/{nextjs-command-LA245VK4.js → nextjs-command-SGU7KCFM.js} +3 -3
- package/dist/{react-command-3WUUJZBW.js → react-command-AXYWRMBH.js} +3 -3
- package/dist/{vue-command-WPFTD5JM.js → vue-command-SLT6ILZT.js} +3 -3
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CompatibilityValidator,
|
|
3
3
|
allCompatibilityRules
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YQVYFXOD.js";
|
|
5
5
|
import {
|
|
6
6
|
pluginRegistry
|
|
7
|
-
} from "./chunk-
|
|
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(
|
|
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-
|
|
4
|
+
} from "./chunk-YQVYFXOD.js";
|
|
5
5
|
import {
|
|
6
6
|
BackupManager,
|
|
7
7
|
ConfigWriter,
|
|
8
8
|
getPluginsByCategory,
|
|
9
9
|
pluginRegistry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4N3JFZLA.js";
|
|
11
11
|
import {
|
|
12
12
|
PluginTracker
|
|
13
13
|
} from "./chunk-TVZWTKJU.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.
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
60
|
+
const { checkCompatibility } = await import("./check-KHMCB7NK.js");
|
|
61
61
|
await checkCompatibility(options);
|
|
62
62
|
} catch (error) {
|
|
63
63
|
console.error("Error:", error);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseFrameworkCommand,
|
|
3
3
|
getFrameworkMetadata
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
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-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
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-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-AMBG3TCE.js";
|
|
5
|
+
import "./chunk-YQVYFXOD.js";
|
|
6
|
+
import "./chunk-4N3JFZLA.js";
|
|
7
7
|
import {
|
|
8
8
|
DetectionError,
|
|
9
9
|
detectContext
|