@reactful/create 0.0.94 → 0.0.95

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -21,8 +21,7 @@ console.log(line)
21
21
 
22
22
  const templates = ['empty', 'minimal', 'sampling']
23
23
 
24
- const questions = [
25
- {
24
+ const questions = [{
26
25
  type: 'list',
27
26
  name: 'template',
28
27
  message: 'Which template?',
@@ -44,7 +43,6 @@ inquirer.prompt(questions).then(async function (answers) {
44
43
 
45
44
  console.log('- templating project...')
46
45
  renamingJSON(destination, answers.project)
47
-
48
46
 
49
47
  console.log('- installing dependencies...')
50
48
  console.log('')
@@ -66,6 +64,8 @@ const download = async (subfolder, destination) =>
66
64
  downloadNPM('@reactful/create', subfolder, destination)
67
65
 
68
66
  async function downloadNPM(packageName, subdirectory, destination) {
67
+ console.log(`- downloading ${subdirectory}...`)
68
+
69
69
  try {
70
70
  const pkg = npmPackage.resolve(packageName)
71
71
  const content = await npmDownload(pkg, { dir: 'temp' })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactful/create",
3
- "version": "0.0.94",
3
+ "version": "0.0.95",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "description": "reactful scafold tool",