create-sip 1.5.3 → 1.5.4
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/manager.js +2 -4
- package/package.json +1 -1
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
|