@bejibun/database 0.1.20 → 0.1.21
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 +14 -0
- package/commands/db/DbSeedCommand.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
## [v0.1.21](https://github.com/Bejibun-Framework/bejibun-database/compare/v0.1.20...v0.1.21) - 2026-06-01
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
- Invalid parameter for specific seeder - [#2](https://github.com/Bejibun-Framework/bejibun-database/issues/2)
|
|
10
|
+
|
|
11
|
+
### 📖 Changes
|
|
12
|
+
|
|
13
|
+
### ❤️Contributors
|
|
14
|
+
- Havea Crenata ([@crenata](https://github.com/crenata))
|
|
15
|
+
|
|
16
|
+
**Full Changelog**: https://github.com/Bejibun-Framework/bejibun-database/blob/master/CHANGELOG.md
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
6
20
|
## [v0.1.20](https://github.com/Bejibun-Framework/bejibun-database/compare/v0.1.14...v0.1.20) - 2026-05-11
|
|
7
21
|
|
|
8
22
|
### 🩹 Fixes
|
|
@@ -23,7 +23,7 @@ export default class DbSeedCommand {
|
|
|
23
23
|
*/
|
|
24
24
|
$options = [
|
|
25
25
|
["-f, --force", "Skip command confirmation"],
|
|
26
|
-
["-s, --seeder", "Specific file seeder"]
|
|
26
|
+
["-s, --seeder <file>", "Specific file seeder"]
|
|
27
27
|
];
|
|
28
28
|
/**
|
|
29
29
|
* The arguments of the console command.
|
|
@@ -48,7 +48,7 @@ export default class DbSeedCommand {
|
|
|
48
48
|
.show()).start();
|
|
49
49
|
try {
|
|
50
50
|
const logs = (await database.seed.run({
|
|
51
|
-
specific:
|
|
51
|
+
specific: seeder
|
|
52
52
|
})).flat();
|
|
53
53
|
spinner.succeed("Seeding finished");
|
|
54
54
|
if (logs.length > 0)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bejibun/database",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"author": "Havea Crenata <havea.crenata@gmail.com>",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"type": "module",
|
|
38
38
|
"types": "index.d.ts",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@bejibun/app": "^0.1.
|
|
40
|
+
"@bejibun/app": "^0.1.24",
|
|
41
41
|
"@bejibun/logger": "^0.1.22",
|
|
42
42
|
"@bejibun/utils": "^0.1.28",
|
|
43
43
|
"knex": "^3.2.10",
|
|
44
44
|
"ora": "^9.4.0",
|
|
45
|
-
"pg": "^8.
|
|
45
|
+
"pg": "^8.21.0"
|
|
46
46
|
}
|
|
47
47
|
}
|