create-dp-koa 1.1.7 → 1.1.9
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/package.json
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# development config
|
|
2
|
+
db_enable=1
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
# database mode (recommended)
|
|
5
|
+
db_mode=sqlite_memory
|
|
6
|
+
# db_mode=sqlite_file
|
|
7
|
+
# db_sqlite_file=./data/dev.sqlite
|
|
8
|
+
|
|
9
|
+
# legacy compatibility (only used when db_mode is not set)
|
|
10
|
+
# db_memory=1
|
|
11
|
+
|
|
12
|
+
# MySQL config (effective when db_mode=mysql OR legacy db_type=mysql)
|
|
5
13
|
db_host=127.0.0.1
|
|
6
14
|
db_port=3306
|
|
7
15
|
db_username=test
|
package/template/.env.production
CHANGED
|
@@ -2,8 +2,10 @@ host=127.0.0.1
|
|
|
2
2
|
port=3011
|
|
3
3
|
jwt_secret=eT4*fL8#uW9$mW4.pE5?yZ6`jB2[dE9.
|
|
4
4
|
db_enable=1
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
db_mode=mysql
|
|
6
|
+
# legacy compatibility (only used when db_mode is not set)
|
|
7
|
+
# db_memory=0
|
|
8
|
+
# db_type=mysql
|
|
7
9
|
db_host=localhost
|
|
8
10
|
db_port=3306
|
|
9
11
|
db_username=ytfx
|
package/template/package.json
CHANGED