create-sip 1.5.3 → 1.5.5

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.
@@ -15,7 +15,7 @@
15
15
  "author": "your name",
16
16
  "license": "ISC",
17
17
  "dependencies": {
18
- "@sipere/op-cli": "^0.9.4",
18
+ "@sipere/op-cli": "^1.0.0",
19
19
  "bcryptjs": "^2.4.3",
20
20
  "cors": "^2.8.5",
21
21
  "dotenv-flow": "^4.1.0",
package/manager.js CHANGED
@@ -73,8 +73,7 @@ const genExpressApi = async (target) => {
73
73
  copyDir(`${dir}/expressapi`, target);
74
74
  updatePackageName(`${target}/package.json`, target);
75
75
 
76
- const envContent = `
77
- APP_PORT=8000
76
+ const envContent = `APP_PORT=8000
78
77
  APP_KEY=
79
78
  APP_LOG=console.log
80
79
 
@@ -88,8 +87,7 @@ DB_STORAGE=database.sqlite
88
87
 
89
88
  await fse.writeFile(`${target}/.env`, envContent, 'utf8');
90
89
 
91
- const gitignoreContent = `
92
- /node_modules
90
+ const gitignoreContent = `/node_modules
93
91
  /access.log
94
92
  /.env
95
93
  /database.sqlite
@@ -108,6 +106,8 @@ DB_STORAGE=database.sqlite
108
106
  console.log('Usable commands:');
109
107
  console.log(' node op make:model something');
110
108
  console.log(' node op make:controller something');
109
+ console.log(' node op make:migration something');
110
+ console.log(' node op make:seeder something');
111
111
  console.log('The model and controller names must be');
112
112
  console.log('given in the singular. More info:');
113
113
  console.log(' node op help')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-sip",
3
- "version": "1.5.3",
3
+ "version": "1.5.5",
4
4
  "main": "index.js",
5
5
  "bin": {
6
6
  "create-sip": "create-sip.js"