@docubook/create 1.4.5 → 1.4.6

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.
Files changed (2) hide show
  1. package/create.js +5 -4
  2. package/package.json +1 -1
package/create.js CHANGED
@@ -43,7 +43,7 @@ function updatePostcssConfig(projectPath) {
43
43
  }
44
44
 
45
45
  program
46
- .version("1.4.5")
46
+ .version("1.4.6")
47
47
  .description("CLI to create a new Docubook project")
48
48
  .argument("[project-directory]", "Directory to create the new Docubook project")
49
49
  .action(async (projectDirectory) => {
@@ -70,16 +70,17 @@ program
70
70
 
71
71
  updatePostcssConfig(projectPath);
72
72
 
73
- const { enterDirectory } = await inquirer.prompt([
73
+ let enterDirectory = true;
74
+ const { enter } = await inquirer.prompt([
74
75
  {
75
76
  type: "confirm",
76
- name: "enterDirectory",
77
+ name: "enter",
77
78
  message: "Enter the project directory to install dependencies?",
78
79
  default: true,
79
80
  },
80
81
  ]);
81
82
 
82
- if (enterDirectory) {
83
+ if (enter) {
83
84
  const { directoryPath } = await inquirer.prompt([
84
85
  {
85
86
  type: "input",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docubook/create",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "bin": {