create-sip 1.3.1 → 1.3.3

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.
@@ -7,4 +7,4 @@ DB_HOST=127.0.0.1
7
7
  DB_NAME=
8
8
  DB_USER=
9
9
  DB_PASS=
10
- DB_PATH=:memory:
10
+ DB_STORAGE=:memory:
package/expressapi/op CHANGED
@@ -300,7 +300,7 @@ APP_KEY=my_secret_key
300
300
  APP_LOG=console.log
301
301
 
302
302
  DB_DIALECT=sqlite
303
- DB_PATH=:memory:
303
+ DB_STORAGE=:memory:
304
304
  `
305
305
  const destinationFileName = '.env.test'
306
306
  if(await startCheckIfFileExists(destinationFileName)) {
package/manager.js CHANGED
@@ -73,21 +73,6 @@ const genExpressApi = async (target) => {
73
73
  copyDir(`${dir}/expressapi`, target);
74
74
  updatePackageName(`${target}/package.json`, target);
75
75
 
76
- const content = `
77
- APP_PORT=8000
78
- APP_KEY=
79
- APP_LOG=console.log
80
-
81
- DB_DIALECT=sqlite
82
- DB_HOST=127.0.0.1
83
- DB_NAME=
84
- DB_USER=
85
- DB_PASS=
86
- DB_PATH=database.sqlite
87
- `
88
-
89
- await fse.writeFile(`${target}/.env`, content, 'utf8');
90
-
91
76
  console.log('ExpressJS REST API skeleton created');
92
77
  console.log('Read docs/user_doc.md');
93
78
  console.log('Run next commands:');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-sip",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "main": "index.js",
5
5
  "bin": {
6
6
  "create-sip": "create-sip.js"
@@ -24,5 +24,18 @@
24
24
  "repository": {
25
25
  "type": "git",
26
26
  "url": "https://github.com/andteki/create-sip.git"
27
- }
27
+ },
28
+ "files": [
29
+ "create-sip.js",
30
+ "manager.js",
31
+ "utils.js",
32
+ "expressapi",
33
+ "javascript",
34
+ "mockapi",
35
+ "webbootstrap",
36
+ "webesbuildjs",
37
+ "webesbuildts",
38
+ "webnodejs",
39
+ "webpage"
40
+ ]
28
41
  }