@jorgebodega/typeorm-seeding 6.0.0-next.3 → 6.0.0
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 +28 -0
- package/README.md +1 -1
- package/dist/utils/fileHandling.js +1 -2
- package/dist/utils/fileHandling.js.map +1 -1
- package/package.json +9 -9
- package/pnpm-lock.yaml +357 -437
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
# [6.0.0](https://github.com/jorgebodega/typeorm-seeding/compare/v5.0.2...v6.0.0) (2022-11-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### chore
|
|
5
|
+
|
|
6
|
+
* remove factory definitions ([f2ede7c](https://github.com/jorgebodega/typeorm-seeding/commit/f2ede7c952a106db98ef817e6c9fc34a1a79dd96))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add support for multiple paths on cli ([6ffb5dd](https://github.com/jorgebodega/typeorm-seeding/commit/6ffb5dd00dcb83c06b62a616855b344ab01f2096))
|
|
12
|
+
* force major version ([73ade47](https://github.com/jorgebodega/typeorm-seeding/commit/73ade475e1a1f44764d4090b04fe2abf9fcbe61b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### BREAKING CHANGES
|
|
16
|
+
|
|
17
|
+
* Force version 6
|
|
18
|
+
* remove all factory related code in favor of @jorgebodega/typeorm-factory
|
|
19
|
+
|
|
20
|
+
# [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)
|
|
21
|
+
|
|
1
22
|
# [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)
|
|
2
23
|
|
|
3
24
|
# [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)
|
|
@@ -37,6 +58,13 @@
|
|
|
37
58
|
|
|
38
59
|
* remove all factory related code in favor of @jorgebodega/typeorm-factory
|
|
39
60
|
|
|
61
|
+
## [5.0.2](https://github.com/jorgebodega/typeorm-seeding/compare/v5.0.1...v5.0.2) (2022-09-05)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### Bug Fixes
|
|
65
|
+
|
|
66
|
+
* glob pattern on Windows ([1246b1c](https://github.com/jorgebodega/typeorm-seeding/commit/1246b1c5683419086b59b1e44bcec3e8f2af05d3))
|
|
67
|
+
|
|
40
68
|
## [5.0.1](https://github.com/jorgebodega/typeorm-seeding/compare/v5.0.0...v5.0.1) (2022-08-18)
|
|
41
69
|
|
|
42
70
|
|
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 <paths>
|
|
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)(
|
|
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
|
|
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
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"typeorm",
|
|
6
6
|
"seed",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@faker-js/faker": "7.6.0",
|
|
42
|
-
"@jorgebodega/typeorm-factory": "1.
|
|
42
|
+
"@jorgebodega/typeorm-factory": "1.3.0",
|
|
43
43
|
"@tsconfig/node16": "1.0.3",
|
|
44
44
|
"@types/glob": "8.0.0",
|
|
45
|
-
"@types/jest": "29.1
|
|
46
|
-
"@types/node": "18.
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
48
|
-
"@typescript-eslint/parser": "5.
|
|
49
|
-
"eslint": "8.
|
|
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": "29.2.
|
|
52
|
+
"jest": "29.2.2",
|
|
53
53
|
"prettier": "2.7.1",
|
|
54
54
|
"rimraf": "3.0.2",
|
|
55
55
|
"sqlite3": "5.1.2",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"commander": "9.4.1",
|
|
64
64
|
"glob": "8.0.3",
|
|
65
65
|
"ora": "5.4.1",
|
|
66
|
-
"tslib": "2.4.
|
|
66
|
+
"tslib": "2.4.1"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"typeorm": "^0.3.0"
|