create-strapi-app 4.0.0-beta.8 → 4.0.0-beta.9

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-beta.8",
3
+ "version": "4.0.0-beta.9",
4
4
  "description": "Generate a new Strapi application.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://strapi.io",
@@ -16,7 +16,7 @@
16
16
  "create-strapi-app": "./index.js"
17
17
  },
18
18
  "dependencies": {
19
- "@strapi/generate-new": "4.0.0-beta.8",
19
+ "@strapi/generate-new": "4.0.0-beta.9",
20
20
  "commander": "6.1.0",
21
21
  "inquirer": "8.1.0",
22
22
  "js-yaml": "4.1.0",
@@ -41,5 +41,5 @@
41
41
  "node": ">=12.x.x <=16.x.x",
42
42
  "npm": ">=6.0.0"
43
43
  },
44
- "gitHead": "61b7748dad3e3d3c88e4a0a318e2d526e372ead0"
44
+ "gitHead": "0213c1a76970008a05249836f0472989df4245d2"
45
45
  }
@@ -57,11 +57,11 @@ async function getTemplateQuestion() {
57
57
  }
58
58
 
59
59
  /**
60
- *
60
+ * @param {string|null} projectName - The name of the project
61
+ * @param {string|null} template - The template the project should use
61
62
  * @returns Array of prompt question objects
62
63
  */
63
- // TODO: re-enabled once the template have been migrated to V4
64
- async function getPromptQuestions(projectName /*, template */) {
64
+ async function getPromptQuestions(projectName /*, template*/) {
65
65
  return [
66
66
  {
67
67
  type: 'input',
@@ -85,7 +85,7 @@ async function getPromptQuestions(projectName /*, template */) {
85
85
  },
86
86
  ],
87
87
  },
88
- // TODO: re-enabled once the template have been migrated to V4
88
+ // TODO: re-enable once we know where to list the official compatible templates
89
89
  // {
90
90
  // type: 'confirm',
91
91
  // name: 'useTemplate',