create-uk-node-server 1.0.4 → 1.0.6

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.
Files changed (2) hide show
  1. package/index.js +13 -16
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -29,22 +29,19 @@ async function main() {
29
29
  console.log('success!')
30
30
  })
31
31
 
32
- fs.createFileSync(path.join(projectPath, ".env"))
33
- fs.createFileSync(path.join(projectPath, ".gitignore"))
34
-
35
- fs.writeFileSync(path.join(projectPath, ".env"), `
36
- APP_ENV=development
37
- APP_PORT=${process.env.PORT || 3000}
38
- APP_URL=http://localhost:${process.env.PORT || 3000}
39
- DB_URL=mongodb://localhost:27017/your-database
40
- `)
41
-
42
- fs.writeFileSync(path.join(projectPath, ".gitignore"), `
43
- .env
44
- /node_modules
45
- /dist
46
- /package-lock.json
47
- `)
32
+ // fs.createFileSync(path.join(projectPath, ".env"), `
33
+ // APP_ENV=development
34
+ // APP_PORT=${process.env.PORT || 3000}
35
+ // APP_URL=http://localhost:${process.env.PORT || 3000}
36
+ // DB_URL=mongodb://localhost:27017/your-database
37
+ // `)
38
+
39
+ // fs.createFileSync(path.join(projectPath, ".gitignore"), `
40
+ // .env
41
+ // /node_modules
42
+ // /dist
43
+ // /package-lock.json
44
+ // `)
48
45
 
49
46
  console.log(`cd ${answers.projectName} and change DB connection in .env file and run npm start`)
50
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-uk-node-server",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "A CLI tool to quickly scaffold server projects with JavaScript or TypeScript templates",
5
5
  "main": "index.js",
6
6
  "scripts": {