@akemona-org/create-strapi-starter 3.7.0 → 3.7.2

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.
@@ -2,6 +2,7 @@
2
2
 
3
3
  const commander = require('commander');
4
4
 
5
+ // eslint-disable-next-line import/extensions
5
6
  const packageJson = require('./package.json');
6
7
  const buildStarter = require('./utils/build-starter');
7
8
  const promptUser = require('./utils/prompt-user');
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.7.0",
6
+ "version": "3.7.2",
7
7
  "description": "Generate a new Strapi application.",
8
8
  "license": "SEE LICENSE IN LICENSE",
9
9
  "homepage": "https://strapi.akemona.com",
@@ -19,7 +19,7 @@
19
19
  "create-strapi-starter": "./index.js"
20
20
  },
21
21
  "dependencies": {
22
- "@akemona-org/strapi-generate-new": "3.7.0",
22
+ "@akemona-org/strapi-generate-new": "3.7.2",
23
23
  "chalk": "4.1.1",
24
24
  "ci-info": "3.1.1",
25
25
  "commander": "7.1.0",
@@ -51,5 +51,5 @@
51
51
  "node": ">=10.16.0 <=14.x.x",
52
52
  "npm": ">=6.0.0"
53
53
  },
54
- "gitHead": "129a8d6191b55810fd66448dcc47fee829df986c"
54
+ "gitHead": "4ab59dbae5135819558c6ae27b45a556ff27cf55"
55
55
  }
@@ -89,7 +89,7 @@ async function downloadGitHubRepo(repoInfo, tmpDir) {
89
89
  stopProcess(`Could not download the repository ${message}: ${chalk.yellow(fullName)}.`);
90
90
  }
91
91
 
92
- await new Promise(resolve => {
92
+ await new Promise((resolve) => {
93
93
  response.body.pipe(tar.extract({ strip: 1, cwd: tmpDir })).on('close', resolve);
94
94
  });
95
95
  }
@@ -64,7 +64,7 @@ async function getStarterQuestion() {
64
64
  };
65
65
  }
66
66
 
67
- const choices = content.map(option => {
67
+ const choices = content.map((option) => {
68
68
  const name = option.title.replace('Starter', '');
69
69
 
70
70
  return {