Skip to content

Commit 62b2522

Browse files
Abdulnasır OlcanAbdulnasır Olcan
authored andcommitted
🚀 package changed version
1 parent 7471ed7 commit 62b2522

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fe-boilerplates-create",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"description": "Create your boilerplates library and publish it in no time",
55
"main": "src/index.js",
66
"scripts": {

src/cli.js

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ async function promptForMissingOptions(options) {
1515
}
1616

1717
const questions = [];
18-
if (!options.projectName) {
19-
questions.push({
20-
type: "input",
21-
name: "projectName",
22-
message: "What's your project name:",
23-
default: defaultTargetDir
24-
});
25-
}
18+
questions.push({
19+
type: "input",
20+
name: "projectName",
21+
message: "What's your project name:",
22+
default: defaultTargetDir
23+
});
2624

2725
if (!options.template) {
2826
questions.push({
@@ -79,9 +77,9 @@ function parseArgumentsIntoOptions(rawArgs) {
7977
skipPrompts: args["--yes"] || false,
8078
git: args["--git"] || false,
8179
template: args._[0],
82-
projectName: argv._[0],
8380
runInstall: args["--install"] || false,
8481
packageManager: "",
82+
projectName: ""
8583
};
8684
}
8785

0 commit comments

Comments
 (0)