@jorgebodega/typeorm-seeding 5.0.0-next.2 → 5.0.1
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/.commitlintrc +9 -1
- package/CHANGELOG.md +34 -0
- package/README.md +20 -68
- package/dist/commands/seed.command.js +4 -1
- package/dist/commands/seed.command.js.map +1 -1
- package/package.json +18 -15
- package/pnpm-lock.yaml +4424 -0
package/.commitlintrc
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
## [5.0.1](https://github.com/jorgebodega/typeorm-seeding/compare/v5.0.0...v5.0.1) (2022-08-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* no application seeds ([30f82f6](https://github.com/jorgebodega/typeorm-seeding/commit/30f82f6c3f3c5c249ed32c78452f066cc7c1ab06))
|
|
7
|
+
|
|
8
|
+
## [5.0.1-next.1](https://github.com/jorgebodega/typeorm-seeding/compare/v5.0.0...v5.0.1-next.1) (2022-08-17)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* no application seeds ([30f82f6](https://github.com/jorgebodega/typeorm-seeding/commit/30f82f6c3f3c5c249ed32c78452f066cc7c1ab06))
|
|
14
|
+
|
|
15
|
+
# [5.0.0](https://github.com/jorgebodega/typeorm-seeding/compare/v4.0.0...v5.0.0) (2022-08-01)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* add factory deprecation notice ([8d75e05](https://github.com/jorgebodega/typeorm-seeding/commit/8d75e05e43b35e770f7c14437a1e6b04c8fffd01))
|
|
21
|
+
* update dependency glob to v8 ([2d3c996](https://github.com/jorgebodega/typeorm-seeding/commit/2d3c99635fcfdd667b38a4bed60d663145dd619b))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* removed unused command and add some more tests ([ea6649e](https://github.com/jorgebodega/typeorm-seeding/commit/ea6649e98261d62907118448b047987cbebcd2c7))
|
|
27
|
+
* use typeorm 0.3 ([aa0153b](https://github.com/jorgebodega/typeorm-seeding/commit/aa0153bd050c60ab94f9979eff4e5ab9bec81645))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### BREAKING CHANGES
|
|
31
|
+
|
|
32
|
+
* Removed config command
|
|
33
|
+
* Connection API is deprecated and removed.
|
|
34
|
+
|
|
1
35
|
# [5.0.0-next.2](https://github.com/jorgebodega/typeorm-seeding/compare/v5.0.0-next.1...v5.0.0-next.2) (2022-08-01)
|
|
2
36
|
|
|
3
37
|
|
package/README.md
CHANGED
|
@@ -54,12 +54,9 @@
|
|
|
54
54
|
- [Subfactory](#subfactory)
|
|
55
55
|
- [make & makeMany](#make--makemany)
|
|
56
56
|
- [create & createMany](#create--createmany)
|
|
57
|
-
- [faker](#faker)
|
|
58
57
|
- [Seeder](#seeder-1)
|
|
59
58
|
- [run](#run)
|
|
60
|
-
- [call](#call)
|
|
61
59
|
- [CLI](#cli-configuration)
|
|
62
|
-
- [config](#config)
|
|
63
60
|
- [seed](#seed)
|
|
64
61
|
- [Testing features](#testing-features)
|
|
65
62
|
|
|
@@ -72,6 +69,7 @@ After that install the extension with `npm` or `yarn`. Add development flag if y
|
|
|
72
69
|
```bash
|
|
73
70
|
npm i [-D] @jorgebodega/typeorm-seeding
|
|
74
71
|
yarn add [-D] @jorgebodega/typeorm-seeding
|
|
72
|
+
pnpm add [-D] @jorgebodega/typeorm-seeding
|
|
75
73
|
```
|
|
76
74
|
|
|
77
75
|
## Configuration
|
|
@@ -341,23 +339,6 @@ new UserFactory().create({ email: 'other@mail.com' }, { listeners: false })
|
|
|
341
339
|
new UserFactory().createMany(10, { email: 'other@mail.com' }, { listeners: false })
|
|
342
340
|
```
|
|
343
341
|
|
|
344
|
-
## faker
|
|
345
|
-
|
|
346
|
-
[Faker](https://github.com/faker-js/faker) package has been removed from `dependencies`. If you want to use it, please install it manually and just import when needed.
|
|
347
|
-
|
|
348
|
-
```bash
|
|
349
|
-
npm i [-D] @faker-js/faker
|
|
350
|
-
yarn add [-D] @faker-js/faker
|
|
351
|
-
```
|
|
352
|
-
|
|
353
|
-
```typescript
|
|
354
|
-
import { faker } from '@faker-js/faker'
|
|
355
|
-
|
|
356
|
-
class UserFactory extends Factory<User> {
|
|
357
|
-
...
|
|
358
|
-
}
|
|
359
|
-
```
|
|
360
|
-
|
|
361
342
|
# Seeder
|
|
362
343
|
|
|
363
344
|
Seeder class is how we provide a way to insert data into databases, and could be executed by the command line or by helper method. Is an abstract class with one method to be implemented, and a helper function to run some more seeder sequentially.
|
|
@@ -386,16 +367,6 @@ async run(connection: Connection) {
|
|
|
386
367
|
}
|
|
387
368
|
```
|
|
388
369
|
|
|
389
|
-
## `call`
|
|
390
|
-
|
|
391
|
-
This function allow to run some other seeders in a sequential way.
|
|
392
|
-
|
|
393
|
-
In order to use seeders from cli command, a default seeder class must be provided as root seeder, working as a tree structure.
|
|
394
|
-
|
|
395
|
-
<p align="center">
|
|
396
|
-
<img src="./seeders.png" alt="logo" />
|
|
397
|
-
</p>
|
|
398
|
-
|
|
399
370
|
# CLI Configuration
|
|
400
371
|
|
|
401
372
|
There are two possible commands to execute, one to see the current configuration and one to run a seeder.
|
|
@@ -404,60 +375,26 @@ Add the following scripts to your `package.json` file to configure them.
|
|
|
404
375
|
|
|
405
376
|
```json
|
|
406
377
|
"scripts": {
|
|
407
|
-
"seed:config": "typeorm-seeding config",
|
|
408
378
|
"seed:run": "typeorm-seeding seed",
|
|
409
379
|
...
|
|
410
380
|
}
|
|
411
381
|
```
|
|
412
382
|
|
|
413
|
-
## `config`
|
|
414
|
-
|
|
415
|
-
This command just print the connection configuration.
|
|
416
|
-
|
|
417
|
-
```bash
|
|
418
|
-
typeorm-seeding config
|
|
419
|
-
```
|
|
420
|
-
|
|
421
|
-
Example result
|
|
422
|
-
|
|
423
|
-
```json
|
|
424
|
-
{
|
|
425
|
-
"name": "default",
|
|
426
|
-
"type": "sqlite",
|
|
427
|
-
"database": "/home/jorgebodega/projects/typeorm-seeding/test.db",
|
|
428
|
-
"entities": ["sample/entities/**/*{.ts,.js}"],
|
|
429
|
-
"seeders": ["sample/seeders/**/*{.ts,.js}"],
|
|
430
|
-
"defaultSeeder": "RootSeeder"
|
|
431
|
-
}
|
|
432
|
-
```
|
|
433
|
-
|
|
434
|
-
##### Options
|
|
435
|
-
|
|
436
|
-
| Option | Default | Description |
|
|
437
|
-
| ---------------------- | --------------------- | ---------------------------------------------------------------------------- |
|
|
438
|
-
| `--seed` or `-s` | null | Option to specify a seeder class to run individually. (Only on seed command) |
|
|
439
|
-
| `--connection` or `-c` | TypeORM default value | Name of the TypeORM connection. Required if there are multiple connections. |
|
|
440
|
-
| `--configName` or `-n` | TypeORM default value | Name to the TypeORM config file. |
|
|
441
|
-
| `--root` or `-r` | TypeORM default value | Path to the TypeORM config file. |
|
|
442
|
-
|
|
443
383
|
## `seed`
|
|
444
384
|
|
|
445
385
|
This command execute a seeder, that could be specified as a parameter.
|
|
446
386
|
|
|
447
387
|
```bash
|
|
448
|
-
typeorm-seeding seed
|
|
388
|
+
typeorm-seeding seed <path>
|
|
449
389
|
```
|
|
450
390
|
|
|
451
391
|
The name of the seeder to execute (either set with the `--seed` option or with default in [configs](#configuration)) must be the seeder's class name, and thus, the seeder must be exported with a named export. Please avoid default export for seeders: it may imply unwanted behavior. (See [\#75](https://github.com/jorgebodega/typeorm-seeding/issues/75)).
|
|
452
392
|
|
|
453
393
|
##### Options
|
|
454
394
|
|
|
455
|
-
| Option | Default | Description
|
|
456
|
-
| ---------------------- | ------------------------------------ |
|
|
457
|
-
| `--
|
|
458
|
-
| `--connection` or `-c` | TypeORM default value | Name of the TypeORM connection. Required if there are multiple connections. |
|
|
459
|
-
| `--configName` or `-n` | TypeORM default value | Name to the TypeORM config file. |
|
|
460
|
-
| `--root` or `-r` | TypeORM default value | Path to the TypeORM config file. |
|
|
395
|
+
| Option | Default | Description |
|
|
396
|
+
| ---------------------- | ------------------------------------ | ----------------------------------------------------- |
|
|
397
|
+
| `--dataSource` or `-d` | | Path of the data source |
|
|
461
398
|
|
|
462
399
|
# Testing features
|
|
463
400
|
|
|
@@ -475,3 +412,18 @@ useSeeders(
|
|
|
475
412
|
customOptions: Partial<ConnectionConfiguration>,
|
|
476
413
|
): Promise<void>
|
|
477
414
|
```
|
|
415
|
+
|
|
416
|
+
## `useDataSource`
|
|
417
|
+
|
|
418
|
+
Use specific data source on the factories. If the data source is not initialized when provided, can be initialized with the `forceInitialization` flag.
|
|
419
|
+
|
|
420
|
+
```typescript
|
|
421
|
+
useDataSource(dataSource: DataSource): Promise<void>
|
|
422
|
+
useDataSource(dataSource: DataSource, overrideOptions: Partial<DataSourceOptions>): Promise<void>
|
|
423
|
+
useDataSource(dataSource: DataSource, forceInitialization: boolean): Promise<void>
|
|
424
|
+
useDataSource(
|
|
425
|
+
dataSource: DataSource,
|
|
426
|
+
overrideOptions: Partial<DataSourceOptions>,
|
|
427
|
+
forceInitialization: boolean,
|
|
428
|
+
): Promise<void>
|
|
429
|
+
```
|
|
@@ -6,8 +6,10 @@ const node_path_1 = require("node:path");
|
|
|
6
6
|
const ora_1 = tslib_1.__importDefault(require("ora"));
|
|
7
7
|
const typeorm_1 = require("typeorm");
|
|
8
8
|
const yargs_1 = require("yargs");
|
|
9
|
+
const seeder_1 = require("../seeder");
|
|
9
10
|
const useSeeders_1 = require("../helpers/useSeeders");
|
|
10
11
|
const fileHandling_1 = require("../utils/fileHandling");
|
|
12
|
+
const helpers_1 = require("../helpers");
|
|
11
13
|
class SeedCommand {
|
|
12
14
|
constructor() {
|
|
13
15
|
this.command = 'seed <path>';
|
|
@@ -65,6 +67,7 @@ class SeedCommand {
|
|
|
65
67
|
// Run seeder
|
|
66
68
|
spinner.start(`Executing seeders`);
|
|
67
69
|
try {
|
|
70
|
+
await (0, helpers_1.useDataSource)(dataSource);
|
|
68
71
|
for (const seeder of seeders) {
|
|
69
72
|
await (0, useSeeders_1.useSeeders)(seeder);
|
|
70
73
|
spinner.succeed(`Seeder ${seeder.name} executed`);
|
|
@@ -131,7 +134,7 @@ class SeedCommand {
|
|
|
131
134
|
for (const fileExport in seederFileExports) {
|
|
132
135
|
const seederExport = seederFileExports[fileExport];
|
|
133
136
|
const instance = new seederExport();
|
|
134
|
-
if (instance instanceof
|
|
137
|
+
if (instance instanceof seeder_1.Seeder) {
|
|
135
138
|
seeders.push(seederExport);
|
|
136
139
|
}
|
|
137
140
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seed.command.js","sourceRoot":"","sources":["../../src/commands/seed.command.ts"],"names":[],"mappings":";;;;AAAA,yCAAmC;AACnC,sDAAqB;AACrB,qCAAoC;AACpC,iCAAgE;
|
|
1
|
+
{"version":3,"file":"seed.command.js","sourceRoot":"","sources":["../../src/commands/seed.command.ts"],"names":[],"mappings":";;;;AAAA,yCAAmC;AACnC,sDAAqB;AACrB,qCAAoC;AACpC,iCAAgE;AAChE,sCAAkC;AAClC,sDAAkD;AAClD,wDAAyD;AAEzD,wCAA0C;AAO1C,MAAa,WAAW;IAAxB;QACE,YAAO,GAAG,aAAa,CAAA;QACvB,aAAQ,GAAG,kBAAkB,CAAA;IA+I/B,CAAC;IA7IC;;OAEG;IACH,OAAO,CAAC,IAAU;QAChB,OAAO,IAAI;aACR,MAAM,CAAC,GAAG,EAAE;YACX,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,6DAA6D;YACvE,QAAQ,EAAE,IAAI;SACf,CAAC;aACD,IAAI,CAAC,CAAC,OAAO,EAAE,KAAY,EAAE,EAAE;YAC9B,IAAI,KAAK;gBAAE,MAAM,KAAK,CAAA,CAAC,iBAAiB;iBACnC;gBACH,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;gBACtB,IAAA,gBAAQ,GAAE,CAAA;aAC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AAI,QAAQ,YAAY,eAAM,EAAE;gBAC9B,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;aAC3B;SACF;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;CACF;AAjJD,kCAiJC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jorgebodega/typeorm-seeding",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"typeorm",
|
|
6
|
+
"seed",
|
|
7
|
+
"seeding",
|
|
8
|
+
"orm"
|
|
9
|
+
],
|
|
4
10
|
"description": "🌱 A delightful way to seed test data into your database.",
|
|
5
11
|
"license": "MIT",
|
|
6
12
|
"author": "Gery Hirschfeld <gery.hirschfeld@w3tec.ch> (https://github.com/hirsch88)",
|
|
@@ -21,8 +27,8 @@
|
|
|
21
27
|
"format": "prettier --write \"{src,test}/**/*.ts\"",
|
|
22
28
|
"format:ci": "prettier --check \"{src,test}/**/*.ts\"",
|
|
23
29
|
"lint": "eslint \"{src,test}/**/*.ts\"",
|
|
24
|
-
"lint:fix": "
|
|
25
|
-
"lint:ci": "
|
|
30
|
+
"lint:fix": "pnpm lint --fix",
|
|
31
|
+
"lint:ci": "pnpm lint",
|
|
26
32
|
"prebuild": "rimraf dist",
|
|
27
33
|
"schema:drop": "ts-node ./node_modules/typeorm/cli.js schema:drop",
|
|
28
34
|
"schema:log": "ts-node ./node_modules/typeorm/cli.js schema:log",
|
|
@@ -36,26 +42,22 @@
|
|
|
36
42
|
"typecheck": "tsc --noEmit"
|
|
37
43
|
},
|
|
38
44
|
"devDependencies": {
|
|
39
|
-
"@faker-js/faker": "7.
|
|
40
|
-
"@semantic-release/changelog": "6.0.1",
|
|
41
|
-
"@semantic-release/git": "10.0.1",
|
|
45
|
+
"@faker-js/faker": "7.4.0",
|
|
42
46
|
"@tsconfig/node16": "1.0.3",
|
|
43
|
-
"@types/bcryptjs": "2.4.2",
|
|
44
47
|
"@types/glob": "7.2.0",
|
|
45
|
-
"@types/jest": "28.1.
|
|
46
|
-
"@types/
|
|
47
|
-
"@
|
|
48
|
-
"@typescript-eslint/
|
|
49
|
-
"
|
|
50
|
-
"eslint": "8.
|
|
48
|
+
"@types/jest": "28.1.7",
|
|
49
|
+
"@types/node": "18.7.6",
|
|
50
|
+
"@types/yargs": "17.0.11",
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "5.33.1",
|
|
52
|
+
"@typescript-eslint/parser": "5.33.1",
|
|
53
|
+
"eslint": "8.22.0",
|
|
51
54
|
"eslint-config-prettier": "8.5.0",
|
|
52
55
|
"eslint-plugin-import": "2.26.0",
|
|
53
56
|
"jest": "28.1.3",
|
|
54
57
|
"prettier": "2.7.1",
|
|
55
58
|
"rimraf": "3.0.2",
|
|
56
|
-
"semantic-release": "19.0.3",
|
|
57
59
|
"sqlite3": "5.0.11",
|
|
58
|
-
"ts-jest": "28.0.
|
|
60
|
+
"ts-jest": "28.0.8",
|
|
59
61
|
"ts-node": "10.9.1",
|
|
60
62
|
"typeorm": "0.3.7",
|
|
61
63
|
"typescript": "4.7.4"
|
|
@@ -65,6 +67,7 @@
|
|
|
65
67
|
"glob": "8.0.3",
|
|
66
68
|
"ora": "5.4.1",
|
|
67
69
|
"reflect-metadata": "0.1.13",
|
|
70
|
+
"tslib": "2.4.0",
|
|
68
71
|
"yargs": "17.5.1"
|
|
69
72
|
},
|
|
70
73
|
"peerDependencies": {
|