create-strapi-app 4.3.2 → 4.3.5
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/create-strapi-app.js +2 -2
- package/index.js +1 -0
- package/package.json +3 -3
package/create-strapi-app.js
CHANGED
|
@@ -39,7 +39,7 @@ program
|
|
|
39
39
|
.option('--template <templateurl>', 'Specify a Strapi template')
|
|
40
40
|
.option('--ts, --typescript', 'Use TypeScript to generate the project')
|
|
41
41
|
.description('create a new application')
|
|
42
|
-
.action(directory => {
|
|
42
|
+
.action((directory) => {
|
|
43
43
|
initProject(directory, program);
|
|
44
44
|
})
|
|
45
45
|
.parse(process.argv);
|
|
@@ -62,7 +62,7 @@ async function initProject(projectName, program) {
|
|
|
62
62
|
await checkInstallPath(resolve(projectName));
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
const hasDatabaseOptions = databaseOptions.some(opt => program[opt]);
|
|
65
|
+
const hasDatabaseOptions = databaseOptions.some((opt) => program[opt]);
|
|
66
66
|
|
|
67
67
|
if (program.quickstart && hasDatabaseOptions) {
|
|
68
68
|
console.error(
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-strapi-app",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.5",
|
|
4
4
|
"description": "Generate a new Strapi application.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"create-strapi-app",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"test": "echo \"no tests yet\""
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@strapi/generate-new": "4.3.
|
|
41
|
+
"@strapi/generate-new": "4.3.5",
|
|
42
42
|
"commander": "6.1.0",
|
|
43
43
|
"inquirer": "8.2.4"
|
|
44
44
|
},
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"node": ">=14.19.1 <=16.x.x",
|
|
47
47
|
"npm": ">=6.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "a52b0535513ff35b4ef46c9daf7be48f2ba71737"
|
|
50
50
|
}
|