File tree Expand file tree Collapse file tree 9 files changed +67
-67
lines changed
TypeScript-TypeORM-Inversify Expand file tree Collapse file tree 9 files changed +67
-67
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ HOST=localhost
88# Database
99DATABASE_NAME = test_db
1010DATABASE_USER = root
11- DATABASE_PASSWORD = root
11+ DATABASE_PASSWORD = admin
1212DATABASE_HOST = 127.0.0.1
13- DATABASE_PORT = 3306
13+ DATABASE_PORT = 5432
1414DATABASE_DIALECT = mysql
1515LOGGER_PATH = logs
Original file line number Diff line number Diff line change 1313 "dependencies" : {
1414 "body-parser" : " ^1.19.0" ,
1515 "cors" : " ^2.8.5" ,
16- "dotenv" : " ^8.2 .0" ,
16+ "dotenv" : " ^10.0 .0" ,
1717 "express" : " ^4.17.1" ,
18- "mysql2" : " ^2.1 .0" ,
19- "sequelize" : " ^5.21.6 " ,
20- "winston" : " ^3.2.1 "
18+ "mysql2" : " ^2.3 .0" ,
19+ "sequelize" : " ^6.6.5 " ,
20+ "winston" : " ^3.3.3 "
2121 },
2222 "devDependencies" : {
23- "eslint" : " ^6.8 .0" ,
24- "ava" : " ^3.8.2 "
23+ "eslint" : " ^7.32 .0" ,
24+ "ava" : " ^3.15.0 "
2525 },
2626 "ava" : {
2727 "files" : [
Original file line number Diff line number Diff line change 1313 "dependencies" : {
1414 "body-parser" : " ^1.19.0" ,
1515 "cors" : " ^2.8.5" ,
16- "dotenv" : " ^8.2 .0" ,
16+ "dotenv" : " ^10.0 .0" ,
1717 "express" : " ^4.17.1" ,
18- "winston" : " ^3.2.1 "
18+ "winston" : " ^3.3.3 "
1919 },
2020 "devDependencies" : {
21- "eslint" : " ^6.8 .0" ,
22- "ava" : " ^3.8.2 "
21+ "eslint" : " ^7.32 .0" ,
22+ "ava" : " ^3.15.0 "
2323 },
2424 "ava" : {
2525 "files" : [
Original file line number Diff line number Diff line change 1010 },
1111 "dependencies" : {
1212 "cors" : " ^2.8.5" ,
13- "dotenv" : " ^8.2 .0" ,
13+ "dotenv" : " ^10.0 .0" ,
1414 "express" : " ^4.17.1" ,
15- "inversify" : " ^5.0 .1" ,
15+ "inversify" : " ^5.1 .1" ,
1616 "inversify-binding-decorators" : " ^4.0.0" ,
1717 "reflect-metadata" : " ^0.1.13" ,
1818 "mysql" : " ^2.18.1" ,
19- "winston" : " ^3.2.1 "
19+ "winston" : " ^3.3.3 "
2020 },
2121 "devDependencies" : {
22- "@types/cors" : " ^2.8.5 " ,
23- "@types/express" : " ^4.17.2 " ,
24- "@types/node" : " ^10.0.3 " ,
25- "@typescript-eslint/eslint-plugin" : " ^3.9.1 " ,
26- "@typescript-eslint/parser" : " ^3.9.1 " ,
27- "eslint" : " ^7.7 .0" ,
28- "fs-extra" : " ^8.1 .0" ,
29- "typescript" : " ~3.7.0 " ,
30- "ava" : " ^3.8.2 " ,
31- "@ava/typescript" : " ^1.1.1 "
22+ "@types/cors" : " ^2.8.12 " ,
23+ "@types/express" : " ^4.17.13 " ,
24+ "@types/node" : " ^16.7.2 " ,
25+ "@typescript-eslint/eslint-plugin" : " ^4.29.3 " ,
26+ "@typescript-eslint/parser" : " ^4.29.3 " ,
27+ "eslint" : " ^7.32 .0" ,
28+ "fs-extra" : " ^10.0 .0" ,
29+ "typescript" : " ~4.3 " ,
30+ "ava" : " ^3.15.0 " ,
31+ "@ava/typescript" : " ^2.0.0 "
3232 },
3333 "ava" : {
3434 "files" : [
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ DB_HOST=127.0.0.1
1010DB_USERNAME = root
1111DB_PASSWORD = root
1212DB_NAME = test_db
13- DB_PORT = 3306
13+ DB_PORT = 5432
Original file line number Diff line number Diff line change 1010 },
1111 "dependencies" : {
1212 "cors" : " ^2.8.5" ,
13- "dotenv" : " ^8.2 .0" ,
13+ "dotenv" : " ^10.0 .0" ,
1414 "express" : " ^4.17.1" ,
15- "inversify" : " ^5.0 .1" ,
15+ "inversify" : " ^5.1 .1" ,
1616 "inversify-binding-decorators" : " ^4.0.0" ,
1717 "mysql" : " ^2.18.1" ,
1818 "reflect-metadata" : " ^0.1.13" ,
19- "typeorm" : " ^0.2.24 " ,
20- "winston" : " ^3.2.1 "
19+ "typeorm" : " ^0.2.37 " ,
20+ "winston" : " ^3.3.3 "
2121 },
2222 "devDependencies" : {
23- "@types/cors" : " ^2.8.5 " ,
24- "@types/express" : " ^4.17.2 " ,
25- "@types/node" : " ^10.0.3 " ,
26- "@typescript-eslint/eslint-plugin" : " ^3.9.1 " ,
27- "@typescript-eslint/parser" : " ^3.9.1 " ,
28- "eslint" : " ^7.7 .0" ,
29- "fs-extra" : " ^8.1 .0" ,
30- "typescript" : " ~3.7.0 " ,
31- "ava" : " ^3.8.2 " ,
32- "@ava/typescript" : " ^1.1.1 "
23+ "@types/cors" : " ^2.8.12 " ,
24+ "@types/express" : " ^4.17.13 " ,
25+ "@types/node" : " ^16.7.2 " ,
26+ "@typescript-eslint/eslint-plugin" : " ^4.29.3 " ,
27+ "@typescript-eslint/parser" : " ^4.29.3 " ,
28+ "eslint" : " ^7.32 .0" ,
29+ "fs-extra" : " ^10.0 .0" ,
30+ "typescript" : " ~4.3 " ,
31+ "ava" : " ^3.15.0 " ,
32+ "@ava/typescript" : " ^2.0.0 "
3333 },
3434 "ava" : {
3535 "files" : [
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ DB_HOST=127.0.0.1
1010DB_USERNAME = root
1111DB_PASSWORD = root
1212DB_NAME = test_db
13- DB_PORT = 3306
13+ DB_PORT = 5432
Original file line number Diff line number Diff line change 1010 },
1111 "dependencies" : {
1212 "cors" : " ^2.8.5" ,
13- "dotenv" : " ^8.2 .0" ,
13+ "dotenv" : " ^10.0 .0" ,
1414 "express" : " ^4.17.1" ,
1515 "mysql" : " ^2.18.1" ,
16- "typeorm" : " ^0.2.24 " ,
17- "winston" : " ^3.2.1 "
16+ "typeorm" : " ^0.2.37 " ,
17+ "winston" : " ^3.3.3 "
1818 },
1919 "devDependencies" : {
20- "@types/cors" : " ^2.8.5 " ,
21- "@types/express" : " ^4.17.2 " ,
22- "@types/node" : " ^10.0.3 " ,
23- "@typescript-eslint/eslint-plugin" : " ^3.9.1 " ,
24- "@typescript-eslint/parser" : " ^3.9.1 " ,
25- "eslint" : " ^7.7 .0" ,
26- "fs-extra" : " ^8.1 .0" ,
27- "typescript" : " ~3.7.0 " ,
28- "ava" : " ^3.8.2 " ,
29- "@ava/typescript" : " ^1.1.1 "
20+ "@types/cors" : " ^2.8.12 " ,
21+ "@types/express" : " ^4.17.13 " ,
22+ "@types/node" : " ^16.7.2 " ,
23+ "@typescript-eslint/eslint-plugin" : " ^4.29.3 " ,
24+ "@typescript-eslint/parser" : " ^4.29.3 " ,
25+ "eslint" : " ^7.32 .0" ,
26+ "fs-extra" : " ^10.0 .0" ,
27+ "typescript" : " ~4.3 " ,
28+ "ava" : " ^3.15.0 " ,
29+ "@ava/typescript" : " ^2.0.0 "
3030 },
3131 "ava" : {
3232 "files" : [
Original file line number Diff line number Diff line change 1010 },
1111 "dependencies" : {
1212 "cors" : " ^2.8.5" ,
13- "dotenv" : " ^8.2 .0" ,
13+ "dotenv" : " ^10.0 .0" ,
1414 "express" : " ^4.17.1" ,
1515 "mysql" : " ^2.18.1" ,
16- "typeorm" : " ^0.2.24 " ,
17- "winston" : " ^3.2.1 "
16+ "typeorm" : " ^0.2.37 " ,
17+ "winston" : " ^3.3.3 "
1818 },
1919 "devDependencies" : {
20- "@types/cors" : " ^2.8.5 " ,
21- "@types/express" : " ^4.17.2 " ,
22- "@types/node" : " ^10.0.3 " ,
23- "@typescript-eslint/eslint-plugin" : " ^3.9.1 " ,
24- "@typescript-eslint/parser" : " ^3.9.1 " ,
25- "eslint" : " ^7.7 .0" ,
26- "fs-extra" : " ^8.1 .0" ,
27- "typescript" : " ~3.7.0 " ,
28- "ava" : " ^3.8.2 " ,
29- "@ava/typescript" : " ^1.1.1 "
20+ "@types/cors" : " ^2.8.12 " ,
21+ "@types/express" : " ^4.17.13 " ,
22+ "@types/node" : " ^16.7.2 " ,
23+ "@typescript-eslint/eslint-plugin" : " ^4.29.3 " ,
24+ "@typescript-eslint/parser" : " ^4.29.3 " ,
25+ "eslint" : " ^7.32 .0" ,
26+ "fs-extra" : " ^10.0 .0" ,
27+ "typescript" : " ~4.3 " ,
28+ "ava" : " ^3.15.0 " ,
29+ "@ava/typescript" : " ^2.0.0 "
3030 },
3131 "ava" : {
3232 "files" : [
You can’t perform that action at this time.
0 commit comments