create-fullstack-setup 1.0.11 → 1.0.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/README.md +4 -4
- package/bin/index.js +19 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
The fastest way to use the CLI is with **npx** (no global install required):
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
npx create-fullstack-setup
|
|
14
|
+
npx create-fullstack-setup@latest
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
---
|
|
@@ -40,7 +40,7 @@ npx create-fullstack-setup my-app
|
|
|
40
40
|
Install the CLI globally via npm:
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
npm install -g create-fullstack-setup
|
|
43
|
+
npm install -g create-fullstack-setup@latest
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
Verify the installation:
|
|
@@ -56,13 +56,13 @@ create-fullstack-setup --version
|
|
|
56
56
|
### Create a new project
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
|
-
create-fullstack-setup my-app
|
|
59
|
+
create-fullstack-setup@latest my-app
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
### Create in the current directory
|
|
63
63
|
|
|
64
64
|
```bash
|
|
65
|
-
create-fullstack-setup .
|
|
65
|
+
create-fullstack-setup@latest .
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
The CLI will guide you through an interactive setup process.
|
package/bin/index.js
CHANGED
|
@@ -14,29 +14,30 @@ const answers = await inquirer.prompt([
|
|
|
14
14
|
validate: (input) => (input ? true : "Project name is required")
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
17
|
+
type: "list",
|
|
18
|
+
name: "frontend",
|
|
19
|
+
message: "Choose frontend:",
|
|
20
|
+
choices: ["React", "Next.js", "None"]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
type: "list",
|
|
24
|
+
name: "backend",
|
|
25
|
+
message: "Choose backend:",
|
|
26
|
+
choices: ["Express"]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
type: "list",
|
|
30
|
+
name: "language",
|
|
31
|
+
message: "Choose language:",
|
|
32
|
+
choices: ["JavaScript", "TypeScript"]
|
|
33
|
+
},
|
|
34
|
+
|
|
34
35
|
{
|
|
35
36
|
type: "confirm",
|
|
36
37
|
name: "useBackendFeatures",
|
|
37
38
|
message: "Select backend features?",
|
|
38
39
|
default: true
|
|
39
|
-
},
|
|
40
|
+
},
|
|
40
41
|
|
|
41
42
|
{
|
|
42
43
|
type: "confirm",
|