@jorgebodega/typeorm-seeding 6.0.0-next.2 → 6.0.0-next.4

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,7 @@
1
+ # [6.0.0-next.4](https://github.com/jorgebodega/typeorm-seeding/compare/v6.0.0-next.3...v6.0.0-next.4) (2022-11-02)
2
+
3
+ # [6.0.0-next.3](https://github.com/jorgebodega/typeorm-seeding/compare/v6.0.0-next.2...v6.0.0-next.3) (2022-10-15)
4
+
1
5
  # [6.0.0-next.2](https://github.com/jorgebodega/typeorm-seeding/compare/v6.0.0-next.1...v6.0.0-next.2) (2022-08-22)
2
6
 
3
7
 
package/README.md CHANGED
@@ -139,7 +139,7 @@ Add the following script to your `package.json` file to configure them.
139
139
  This command execute a seeder, that could be specified as a parameter. Glob pattern is supported.
140
140
 
141
141
  ```bash
142
- typeorm-seeding seed <path>
142
+ typeorm-seeding -d [...] seed <paths>
143
143
  ```
144
144
 
145
145
  CLI command only executes default seeders.
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.calculateFilePath = void 0;
4
- const node_path_1 = require("node:path");
5
4
  const glob_1 = require("glob");
6
5
  const calculateFilePath = (filePattern) => {
7
- return (0, glob_1.sync)((0, node_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,yCAAmC;AACnC,+BAA2B;AAEpB,MAAM,iBAAiB,GAAG,CAAC,WAAmB,EAAY,EAAE;IACjE,OAAO,IAAA,WAAI,EAAC,IAAA,mBAAO,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": "6.0.0-next.2",
3
+ "version": "6.0.0-next.4",
4
4
  "keywords": [
5
5
  "typeorm",
6
6
  "seed",
@@ -38,32 +38,32 @@
38
38
  "typecheck": "tsc --noEmit"
39
39
  },
40
40
  "devDependencies": {
41
- "@faker-js/faker": "7.4.0",
42
- "@jorgebodega/typeorm-factory": "1.2.0",
41
+ "@faker-js/faker": "7.6.0",
42
+ "@jorgebodega/typeorm-factory": "1.3.0",
43
43
  "@tsconfig/node16": "1.0.3",
44
- "@types/glob": "7.2.0",
45
- "@types/jest": "28.1.7",
46
- "@types/node": "18.7.6",
47
- "@typescript-eslint/eslint-plugin": "5.33.1",
48
- "@typescript-eslint/parser": "5.33.1",
49
- "eslint": "8.22.0",
44
+ "@types/glob": "8.0.0",
45
+ "@types/jest": "29.2.1",
46
+ "@types/node": "18.11.8",
47
+ "@typescript-eslint/eslint-plugin": "5.42.0",
48
+ "@typescript-eslint/parser": "5.42.0",
49
+ "eslint": "8.26.0",
50
50
  "eslint-config-prettier": "8.5.0",
51
51
  "eslint-plugin-import": "2.26.0",
52
- "jest": "28.1.3",
52
+ "jest": "29.2.2",
53
53
  "prettier": "2.7.1",
54
54
  "rimraf": "3.0.2",
55
- "sqlite3": "5.0.11",
56
- "ts-jest": "28.0.8",
55
+ "sqlite3": "5.1.2",
56
+ "ts-jest": "29.0.3",
57
57
  "ts-node": "10.9.1",
58
- "typeorm": "0.3.7",
59
- "typescript": "4.7.4"
58
+ "typeorm": "0.3.10",
59
+ "typescript": "4.8.4"
60
60
  },
61
61
  "dependencies": {
62
62
  "chalk": "4.1.2",
63
- "commander": "9.4.0",
63
+ "commander": "9.4.1",
64
64
  "glob": "8.0.3",
65
65
  "ora": "5.4.1",
66
- "tslib": "2.4.0"
66
+ "tslib": "2.4.1"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "typeorm": "^0.3.0"