@configjs/cli 1.1.12 → 1.1.13
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/{angular-command-WBG4AAEE.js → angular-command-KX7WHQV4.js} +1 -1
- package/dist/{angular-installer-UBYBJ7YY.js → angular-installer-FY43HE72.js} +2 -1
- package/dist/{chunk-DESNV4LJ.js → chunk-5ZZ56QH7.js} +7 -7
- package/dist/cli.js +6 -6
- package/dist/{nextjs-command-6OYQELZH.js → nextjs-command-6PIQOGKC.js} +1 -1
- package/dist/{react-command-ZH7X2Z3K.js → react-command-XF7Q4GB6.js} +1 -1
- package/dist/{svelte-command-MAH3XCXC.js → svelte-command-AJPAGQES.js} +1 -1
- package/dist/{vue-command-XMM2XQTV.js → vue-command-UGN3RDDJ.js} +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ async function createAngularProject(options, currentDir, language) {
|
|
|
16
16
|
try {
|
|
17
17
|
spinner.start(t.angular.creatingProject);
|
|
18
18
|
const args = [
|
|
19
|
+
"@angular/cli@latest",
|
|
19
20
|
"new",
|
|
20
21
|
options.projectName,
|
|
21
22
|
"--skip-git=true",
|
|
@@ -27,7 +28,7 @@ async function createAngularProject(options, currentDir, language) {
|
|
|
27
28
|
args.push("--create-application=true");
|
|
28
29
|
}
|
|
29
30
|
await new Promise((resolve2, reject) => {
|
|
30
|
-
const child = spawn("
|
|
31
|
+
const child = spawn("npx", args, {
|
|
31
32
|
cwd: currentDir,
|
|
32
33
|
stdio: "pipe"
|
|
33
34
|
});
|
|
@@ -140,7 +140,7 @@ var frameworkRegistry = {
|
|
|
140
140
|
return await promptAngularSetup();
|
|
141
141
|
},
|
|
142
142
|
createProject: async (options, currentDir, language) => {
|
|
143
|
-
const { createAngularProject } = await import("./angular-installer-
|
|
143
|
+
const { createAngularProject } = await import("./angular-installer-FY43HE72.js");
|
|
144
144
|
return await createAngularProject(
|
|
145
145
|
options,
|
|
146
146
|
currentDir,
|
|
@@ -721,12 +721,12 @@ function displayNextSteps(lang) {
|
|
|
721
721
|
// src/cli/ui/logo.ts
|
|
722
722
|
import pc2 from "picocolors";
|
|
723
723
|
var LOGO = `
|
|
724
|
-
${pc2.cyan("\u2588\u2588\u2588\u2588\u2588\u2588\u2557")} ${pc2.cyan("\u2588\u2588\u2588\u2588\u2588\u2588\u2557")} ${pc2.cyan("\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\
|
|
725
|
-
${pc2.cyan("\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D")} ${pc2.cyan("\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557")} ${pc2.cyan("\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D \u2588\u2588\u2551\u2588\u2588\
|
|
726
|
-
${pc2.cyan("\u2588\u2588\u2551")} ${pc2.cyan("\u2588\u2588\u2551 \u2588\u2588\u2551")} ${pc2.cyan("\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\
|
|
727
|
-
${pc2.cyan("\u2588\u2588\u2551")} ${pc2.cyan("\u2588\u2588\u2551 \u2588\u2588\u2551")} ${pc2.cyan("\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u255D \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551\
|
|
728
|
-
${pc2.cyan("\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557")} ${pc2.cyan("\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D")} ${pc2.cyan("\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2551\u2588\u2588\
|
|
729
|
-
${pc2.cyan("\u255A\u2550\u2550\u2550\u2550\u2550\u255D")} ${pc2.cyan("\u255A\u2550\u2550\u2550\u2550\u2550\u255D")} ${pc2.cyan("\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D\u255A\u2550\
|
|
724
|
+
${pc2.cyan("\u2588\u2588\u2588\u2588\u2588\u2588\u2557")} ${pc2.cyan("\u2588\u2588\u2588\u2588\u2588\u2588\u2557")} ${pc2.cyan("\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2557")}
|
|
725
|
+
${pc2.cyan("\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D")} ${pc2.cyan("\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557")} ${pc2.cyan("\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D \u2588\u2588\u2551 \u255A\u2588\u2588\u2551")}
|
|
726
|
+
${pc2.cyan("\u2588\u2588\u2551")} ${pc2.cyan("\u2588\u2588\u2551 \u2588\u2588\u2551")} ${pc2.cyan("\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551")}
|
|
727
|
+
${pc2.cyan("\u2588\u2588\u2551")} ${pc2.cyan("\u2588\u2588\u2551 \u2588\u2588\u2551")} ${pc2.cyan("\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u255D \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551")}
|
|
728
|
+
${pc2.cyan("\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557")} ${pc2.cyan("\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D")} ${pc2.cyan("\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2551 \u2588\u2588\u2554\u255D")}
|
|
729
|
+
${pc2.cyan("\u255A\u2550\u2550\u2550\u2550\u2550\u255D")} ${pc2.cyan("\u255A\u2550\u2550\u2550\u2550\u2550\u255D")} ${pc2.cyan("\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D")}
|
|
730
730
|
|
|
731
731
|
`;
|
|
732
732
|
function displayLogo() {
|
package/dist/cli.js
CHANGED
|
@@ -8,7 +8,7 @@ import "./chunk-QGM4M3NI.js";
|
|
|
8
8
|
import { Command } from "commander";
|
|
9
9
|
|
|
10
10
|
// package.json
|
|
11
|
-
var version = "1.1.
|
|
11
|
+
var version = "1.1.13";
|
|
12
12
|
|
|
13
13
|
// src/cli.ts
|
|
14
14
|
initializeCLILogging();
|
|
@@ -17,7 +17,7 @@ program.name("confjs").description("Configure your frontend stack, instantly").v
|
|
|
17
17
|
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(
|
|
18
18
|
async (options) => {
|
|
19
19
|
try {
|
|
20
|
-
const { ReactCommand } = await import("./react-command-
|
|
20
|
+
const { ReactCommand } = await import("./react-command-XF7Q4GB6.js");
|
|
21
21
|
const command = new ReactCommand();
|
|
22
22
|
await command.execute(options);
|
|
23
23
|
} catch (error) {
|
|
@@ -29,7 +29,7 @@ program.command("react").description("Configure a React project").option("-y, --
|
|
|
29
29
|
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(
|
|
30
30
|
async (options) => {
|
|
31
31
|
try {
|
|
32
|
-
const { NextjsCommand } = await import("./nextjs-command-
|
|
32
|
+
const { NextjsCommand } = await import("./nextjs-command-6PIQOGKC.js");
|
|
33
33
|
const command = new NextjsCommand();
|
|
34
34
|
await command.execute(options);
|
|
35
35
|
} catch (error) {
|
|
@@ -41,7 +41,7 @@ program.command("nextjs").description("Configure a Next.js project").option("-y,
|
|
|
41
41
|
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(
|
|
42
42
|
async (options) => {
|
|
43
43
|
try {
|
|
44
|
-
const { VueCommand } = await import("./vue-command-
|
|
44
|
+
const { VueCommand } = await import("./vue-command-UGN3RDDJ.js");
|
|
45
45
|
const command = new VueCommand();
|
|
46
46
|
await command.execute(options);
|
|
47
47
|
} catch (error) {
|
|
@@ -53,7 +53,7 @@ program.command("vue").description("Configure a Vue.js project").option("-y, --y
|
|
|
53
53
|
program.command("svelte").description("Configure a Svelte 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(
|
|
54
54
|
async (options) => {
|
|
55
55
|
try {
|
|
56
|
-
const { SvelteCommand } = await import("./svelte-command-
|
|
56
|
+
const { SvelteCommand } = await import("./svelte-command-AJPAGQES.js");
|
|
57
57
|
const command = new SvelteCommand();
|
|
58
58
|
await command.execute(options);
|
|
59
59
|
} catch (error) {
|
|
@@ -65,7 +65,7 @@ program.command("svelte").description("Configure a Svelte project").option("-y,
|
|
|
65
65
|
program.command("angular").description("Configure an Angular 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(
|
|
66
66
|
async (options) => {
|
|
67
67
|
try {
|
|
68
|
-
const { AngularCommand } = await import("./angular-command-
|
|
68
|
+
const { AngularCommand } = await import("./angular-command-KX7WHQV4.js");
|
|
69
69
|
const command = new AngularCommand();
|
|
70
70
|
await command.execute(options);
|
|
71
71
|
} catch (error) {
|
package/package.json
CHANGED