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 +3 -3
- package/utils/prompt-user.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-strapi-app",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
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.
|
|
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": "
|
|
44
|
+
"gitHead": "0213c1a76970008a05249836f0472989df4245d2"
|
|
45
45
|
}
|
package/utils/prompt-user.js
CHANGED
|
@@ -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
|
-
|
|
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-
|
|
88
|
+
// TODO: re-enable once we know where to list the official compatible templates
|
|
89
89
|
// {
|
|
90
90
|
// type: 'confirm',
|
|
91
91
|
// name: 'useTemplate',
|