@reactful/create 0.1.11 → 0.1.13

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/index.js CHANGED
@@ -45,7 +45,7 @@ async function prompting(answers) {
45
45
  console.log('- loading NPM...')
46
46
  await download('@reactful/create', downloadPath)
47
47
 
48
- console.log('- creating .env...')
48
+ console.log('- creating env...')
49
49
  const env = `PORT=333\nMINIFY=FALSE`
50
50
  fs.writeFileSync(`${destination}/.env`, env)
51
51
 
@@ -63,8 +63,7 @@ async function prompting(answers) {
63
63
  if (answers.vscode) {
64
64
  spawn("code", ['.'])
65
65
 
66
- const pathVSCode = `${destination}/.vscode`
67
-
66
+ const pathVSCode = `${destination}/.vscode`
68
67
  await createDirectory(pathVSCode)
69
68
  await copyPath(`${downloadPath}/vscode`, pathVSCode)
70
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactful/create",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "description": "reactful scafold tool",
@@ -12,7 +12,8 @@
12
12
  "index.js",
13
13
  "package.json",
14
14
  "templates",
15
- "commons"
15
+ "commons",
16
+ "vscode"
16
17
  ],
17
18
  "scripts": {
18
19
  "start": "bun run index.js",
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [{
4
+ "type": "bun",
5
+ "name": "Bun: Debug",
6
+ "request": "launch",
7
+ "program": "index.ts"
8
+ }]
9
+ }