@reactful/create 0.0.59 → 0.0.61

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 +4 -6
  2. package/package.json +3 -5
package/index.js CHANGED
@@ -32,12 +32,10 @@ const questions = [
32
32
  ]
33
33
 
34
34
  inquirer.prompt(questions).then(async function (answers) {
35
- // const fromTemplate = path.join(process.cwd(), base, 'templates', answers.template)
36
- // const destination = path.join(process.cwd(), answers.project)
37
- // const fromCommon = path.join(process.cwd(), base, 'common')
38
- // copyFolder(fromTemplate, destination)
39
- // copyFolder(fromCommon, destination)
35
+ exec($`md ${answers.project}`)
36
+ exec($`cd ${answers.project}`)
40
37
 
38
+ const destination = path.join(process.cwd(), answers.project)
41
39
  const base = 'https://github.com/jsenaribeiro/reactful/installation/'
42
40
 
43
41
  copyScaffold(`${base}/common`, destination)
@@ -46,7 +44,7 @@ inquirer.prompt(questions).then(async function (answers) {
46
44
 
47
45
  console.log('')
48
46
 
49
- exec($`cd ${answers.project} bun install`)
47
+ exec($`bun install`)
50
48
  })
51
49
 
52
50
  function renamingJSON(directory, projectName) {
package/package.json CHANGED
@@ -1,16 +1,14 @@
1
1
  {
2
2
  "name": "@reactful/create",
3
- "version": "0.0.59",
3
+ "version": "0.0.61",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "description": "reactful scafold tool",
7
7
  "author": "jonathan de sena ribeiro <jsenaribeiro@gmail.com>",
8
- "license": "MIT",
9
8
  "files": [ "index.js", "package.json" ],
10
9
  "bin": { "@reactful/create": "index.js" },
11
- "scripts": {
12
- "deploy": "npm publish --access public"
13
- },
10
+ "scripts": { "deploy": "npm publish --access public" },
11
+ "license": "MIT",
14
12
  "dependencies": {
15
13
  "bun-types": "latest",
16
14
  "fs": "^0.0.1-security",