@darraghor/nest-backend-libs 2.10.2 → 2.10.3

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.
@@ -1,7 +1,12 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  const typeorm_1 = require("typeorm");
4
7
  const PostgresTypeOrmConfigurationProvider_1 = require("./PostgresTypeOrmConfigurationProvider");
8
+ const dotenv_1 = __importDefault(require("dotenv"));
9
+ dotenv_1.default.config();
5
10
  const PostgresMigrationsDataSource = new typeorm_1.DataSource(PostgresTypeOrmConfigurationProvider_1.PostgresTypeOrmConfigurationProvider.getTypeOrmConfig());
6
11
  exports.default = PostgresMigrationsDataSource;
7
12
  //# sourceMappingURL=PostrgresMigrationsHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PostrgresMigrationsHelper.js","sourceRoot":"","sources":["../../src/database-postgres/PostrgresMigrationsHelper.ts"],"names":[],"mappings":";;AAAA,qCAAmC;AACnC,iGAA4F;AAE5F,MAAM,4BAA4B,GAAG,IAAI,oBAAU,CAC/C,2EAAoC,CAAC,gBAAgB,EAAE,CAC1D,CAAC;AAEF,kBAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"PostrgresMigrationsHelper.js","sourceRoot":"","sources":["../../src/database-postgres/PostrgresMigrationsHelper.ts"],"names":[],"mappings":";;;;;AAAA,qCAAmC;AACnC,iGAA4F;AAC5F,oDAA4B;AAC5B,gBAAM,CAAC,MAAM,EAAE,CAAC;AAChB,MAAM,4BAA4B,GAAG,IAAI,oBAAU,CAC/C,2EAAoC,CAAC,gBAAgB,EAAE,CAC1D,CAAC;AAEF,kBAAe,4BAA4B,CAAC"}
@@ -1,7 +1,12 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  const typeorm_1 = require("typeorm");
4
7
  const SqliteTypeOrmConfigurationProvider_1 = require("./SqliteTypeOrmConfigurationProvider");
8
+ const dotenv_1 = __importDefault(require("dotenv"));
9
+ dotenv_1.default.config();
5
10
  const SqliteMigrationsDataSource = new typeorm_1.DataSource(SqliteTypeOrmConfigurationProvider_1.SqliteTypeOrmConfigurationProvider.getTypeOrmConfig());
6
11
  exports.default = SqliteMigrationsDataSource;
7
12
  //# sourceMappingURL=SqliteMigrationsHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SqliteMigrationsHelper.js","sourceRoot":"","sources":["../../src/database-sqlite/SqliteMigrationsHelper.ts"],"names":[],"mappings":";;AAAA,qCAAmC;AACnC,6FAAwF;AAExF,MAAM,0BAA0B,GAAG,IAAI,oBAAU,CAC7C,uEAAkC,CAAC,gBAAgB,EAAE,CACxD,CAAC;AAEF,kBAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"SqliteMigrationsHelper.js","sourceRoot":"","sources":["../../src/database-sqlite/SqliteMigrationsHelper.ts"],"names":[],"mappings":";;;;;AAAA,qCAAmC;AACnC,6FAAwF;AACxF,oDAA4B;AAC5B,gBAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,MAAM,0BAA0B,GAAG,IAAI,oBAAU,CAC7C,uEAAkC,CAAC,gBAAgB,EAAE,CACxD,CAAC;AAEF,kBAAe,0BAA0B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darraghor/nest-backend-libs",
3
- "version": "2.10.2",
3
+ "version": "2.10.3",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Some helpers for personal projects in nestjs",
6
6
  "homepage": "https://github.com/darraghoriordan/nest-backend-libs",