@jorgebodega/typeorm-seeding 5.0.1 → 5.0.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [5.0.2](https://github.com/jorgebodega/typeorm-seeding/compare/v5.0.1...v5.0.2) (2022-09-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * glob pattern on Windows ([1246b1c](https://github.com/jorgebodega/typeorm-seeding/commit/1246b1c5683419086b59b1e44bcec3e8f2af05d3))
7
+
1
8
  ## [5.0.1](https://github.com/jorgebodega/typeorm-seeding/compare/v5.0.0...v5.0.1) (2022-08-18)
2
9
 
3
10
 
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.calculateFilePath = void 0;
4
- const path_1 = require("path");
5
4
  const glob_1 = require("glob");
6
5
  const calculateFilePath = (filePattern) => {
7
- return (0, glob_1.sync)((0, path_1.resolve)(process.cwd(), filePattern), { ignore: '**/node_modules/**' });
6
+ return (0, glob_1.sync)(filePattern, { ignore: '**/node_modules/**', absolute: true });
8
7
  };
9
8
  exports.calculateFilePath = calculateFilePath;
10
9
  //# sourceMappingURL=fileHandling.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fileHandling.js","sourceRoot":"","sources":["../../src/utils/fileHandling.ts"],"names":[],"mappings":";;;AAAA,+BAA8B;AAC9B,+BAA2B;AAEpB,MAAM,iBAAiB,GAAG,CAAC,WAAmB,EAAY,EAAE;IACjE,OAAO,IAAA,WAAI,EAAC,IAAA,cAAO,EAAC,OAAO,CAAC,GAAG,EAAE,EAAE,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,oBAAoB,EAAE,CAAC,CAAA;AACpF,CAAC,CAAA;AAFY,QAAA,iBAAiB,qBAE7B"}
1
+ {"version":3,"file":"fileHandling.js","sourceRoot":"","sources":["../../src/utils/fileHandling.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAEpB,MAAM,iBAAiB,GAAG,CAAC,WAAmB,EAAY,EAAE;IACjE,OAAO,IAAA,WAAI,EAAC,WAAW,EAAE,EAAE,MAAM,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAA;AAC5E,CAAC,CAAA;AAFY,QAAA,iBAAiB,qBAE7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jorgebodega/typeorm-seeding",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "keywords": [
5
5
  "typeorm",
6
6
  "seed",