create-strapi-app 4.0.0-next.2 → 4.0.0-next.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-strapi-app",
3
- "version": "4.0.0-next.2",
3
+ "version": "4.0.0-next.20",
4
4
  "description": "Generate a new Strapi application.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://strapi.io",
@@ -16,8 +16,7 @@
16
16
  "create-strapi-app": "./index.js"
17
17
  },
18
18
  "dependencies": {
19
- "@strapi/generate-new": "4.0.0-next.2",
20
- "chalk": "4.1.1",
19
+ "@strapi/generate-new": "4.0.0-next.20",
21
20
  "commander": "6.1.0",
22
21
  "inquirer": "8.1.0",
23
22
  "js-yaml": "4.1.0",
@@ -42,5 +41,5 @@
42
41
  "node": ">=12.x.x <=16.x.x",
43
42
  "npm": ">=6.0.0"
44
43
  },
45
- "gitHead": "50849e68c7d3632eb5899c6346e33d71a211a3bd"
44
+ "gitHead": "9807c78cb7ab6373b7abb46da5ecc4980a9ea56c"
46
45
  }
@@ -60,7 +60,8 @@ async function getTemplateQuestion() {
60
60
  *
61
61
  * @returns Array of prompt question objects
62
62
  */
63
- async function getPromptQuestions(projectName, template) {
63
+ // TODO: re-enabled once the template have been migrated to V4
64
+ async function getPromptQuestions(projectName /*, template */) {
64
65
  return [
65
66
  {
66
67
  type: 'input',
@@ -84,13 +85,14 @@ async function getPromptQuestions(projectName, template) {
84
85
  },
85
86
  ],
86
87
  },
87
- {
88
- type: 'confirm',
89
- name: 'useTemplate',
90
- when: !template,
91
- message:
92
- 'Would you like to use a template? (Templates are Strapi configurations designed for a specific use case)',
93
- },
88
+ // TODO: re-enabled once the template have been migrated to V4
89
+ // {
90
+ // type: 'confirm',
91
+ // name: 'useTemplate',
92
+ // when: !template,
93
+ // message:
94
+ // 'Would you like to use a template? (Templates are Strapi configurations designed for a specific use case)',
95
+ // },
94
96
  ];
95
97
  }
96
98