@bejibun/database 0.1.12 → 0.1.14

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
@@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  ---
5
5
 
6
+ ## [v0.1.14](https://github.com/crenata/bejibun-database/compare/v0.1.12...v0.1.14) - 2025-10-25
7
+
8
+ ### 🩹 Fixes
9
+ - Fix `make:migration` migration filename
10
+ - Fix `make:seeder` seeder filename
11
+
12
+ ### 📖 Changes
13
+
14
+ ### ❤️Contributors
15
+ - Havea Crenata ([@crenata](https://github.com/crenata))
16
+ - Ghulje ([@ghulje](https://github.com/ghulje))
17
+
18
+ **Full Changelog**: https://github.com/crenata/bejibun-database/blob/master/CHANGELOG.md
19
+
20
+ ---
21
+
6
22
  ## [v0.1.12](https://github.com/crenata/bejibun-database/compare/v0.1.11...v0.1.12) - 2025-10-25
7
23
 
8
24
  ### 🩹 Fixes
@@ -23,5 +23,5 @@ export default class MakeMigrationCommand {
23
23
  * @var $arguments Array<Array<string>>
24
24
  */
25
25
  protected $arguments: Array<Array<string>>;
26
- handle(options: any, args: Array<string>): Promise<void>;
26
+ handle(options: any, args: string): Promise<void>;
27
27
  }
@@ -35,7 +35,7 @@ export default class MakeMigrationCommand {
35
35
  Logger.setContext("APP").error("There is no filename provided.");
36
36
  return;
37
37
  }
38
- const file = args[0];
38
+ const file = args;
39
39
  const migrationsDirectory = "migrations";
40
40
  const migrationsPath = path.resolve(__dirname, `../../database/${migrationsDirectory}`);
41
41
  const migrations = Array.from(new Bun.Glob("**/*").scanSync({
@@ -23,5 +23,5 @@ export default class MakeSeederCommand {
23
23
  * @var $arguments Array<Array<string>>
24
24
  */
25
25
  protected $arguments: Array<Array<string>>;
26
- handle(options: any, args: Array<string>): Promise<void>;
26
+ handle(options: any, args: string): Promise<void>;
27
27
  }
@@ -35,7 +35,7 @@ export default class MakeSeederCommand {
35
35
  Logger.setContext("APP").error("There is no filename provided.");
36
36
  return;
37
37
  }
38
- const file = args[0];
38
+ const file = args;
39
39
  const seedersDirectory = "seeders";
40
40
  const seedersPath = path.resolve(__dirname, `../../database/${seedersDirectory}`);
41
41
  const seeders = Array.from(new Bun.Glob("**/*").scanSync({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bejibun/database",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "author": "Havea Crenata <havea.crenata@gmail.com>",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "@bejibun/app": "^0.1.19",
39
39
  "@bejibun/logger": "^0.1.19",
40
- "@bejibun/utils": "^0.1.16",
40
+ "@bejibun/utils": "^0.1.17",
41
41
  "knex": "^3.1.0",
42
42
  "ora": "^9.0.0",
43
43
  "pg": "^8.16.3"