serverpreconfigured 2.2.13 → 2.2.14

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.
@@ -4,7 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.dataBase = void 0;
7
- //@ts-ignore
8
7
  //@ts-nocheck
9
8
  const sequelize_1 = require("sequelize");
10
9
  const database_1 = __importDefault(require("./../settings/database/database"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "serverpreconfigured",
3
- "version": "2.2.13",
3
+ "version": "2.2.14",
4
4
  "description": "\"Pre-configured server with authentication system and database integration\"",
5
5
  "main": "dist/server.js",
6
6
  "keywords": [
@@ -31,16 +31,18 @@
31
31
  "cors": "^2.8.5",
32
32
  "express": "^4.17.3",
33
33
  "express-session": "^1.17.2",
34
+ "install": "^0.13.0",
34
35
  "meta-sanitizer": "^2.1.4",
35
36
  "nodemon": "^2.0.15",
36
- "pg": "^8.7.3",
37
+ "npm": "^10.9.0",
38
+ "pg": "^8.13.0",
37
39
  "pg-hstore": "^2.3.4",
38
40
  "sequelize": "^6.37.4",
39
- "sequelize-cli": "^6.4.1",
40
41
  "sucrase": "^3.20.3",
41
42
  "typescript": "^4.6.2"
42
43
  },
43
44
  "devDependencies": {
44
- "@types/node": "^17.0.21"
45
+ "@types/node": "^17.0.21",
46
+ "sequelize-cli": "^6.6.2"
45
47
  }
46
48
  }
package/spc_envfile.json CHANGED
@@ -1,5 +1,8 @@
1
1
  {
2
2
  "DATABASE":{
3
- "DATABASE":false
3
+ "DATABASE":"vini",
4
+ "USERNAME":"postgres",
5
+ "PASSWORD":"pass",
6
+ "PORT":5232
4
7
  }
5
8
  }
@@ -1,5 +1,5 @@
1
- //@ts-ignore
2
1
  //@ts-nocheck
3
2
  import {Sequelize} from "sequelize";
4
3
  import config from "./../settings/database/database";
5
- export const dataBase=new Sequelize(config);
4
+
5
+ export const dataBase=new Sequelize(config);