@bejibun/core 0.1.49 → 0.1.51
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 +38 -0
- package/README.md +4 -6
- package/commands/Kernel.js +5 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,44 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
## [v0.1.51](https://github.com/crenata/bejibun-core/compare/v0.1.49...v0.1.51) - 2025-11-04
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
### 📖 Changes
|
|
11
|
+
What's New :
|
|
12
|
+
|
|
13
|
+
Everyone can create their own packages,
|
|
14
|
+
and now `Bejibun` support for commands from external packages
|
|
15
|
+
and can be added to `config/command.ts`.
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
const config: Array<Record<string, any>> = [
|
|
19
|
+
/*
|
|
20
|
+
{
|
|
21
|
+
path: "your-dependencies/your-directory-commands",
|
|
22
|
+
path: "@bejibun/database/commands" // Example
|
|
23
|
+
}
|
|
24
|
+
*/
|
|
25
|
+
];
|
|
26
|
+
|
|
27
|
+
export default config;
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Or the external package itself can automatically add them to `config/command.ts`
|
|
31
|
+
using the configuration package by creating `configure.ts` in your package root.
|
|
32
|
+
|
|
33
|
+
When the user runs `bun ace install your-package` it will automatically run the configuration package.
|
|
34
|
+
|
|
35
|
+
So when user runs `bun ace` your command will appear in the list.
|
|
36
|
+
|
|
37
|
+
### ❤️Contributors
|
|
38
|
+
- Ghulje ([@ghulje](https://github.com/ghulje))
|
|
39
|
+
|
|
40
|
+
**Full Changelog**: https://github.com/crenata/bejibun-core/blob/master/CHANGELOG.md
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
6
44
|
## [v0.1.49](https://github.com/crenata/bejibun-core/compare/v0.1.47...v0.1.49) - 2025-10-27
|
|
7
45
|
|
|
8
46
|
### 🩹 Fixes
|
package/README.md
CHANGED
|
@@ -84,13 +84,11 @@ bun ace migrate:latest --help
|
|
|
84
84
|
|
|
85
85
|
## ☕ Support / Donate
|
|
86
86
|
|
|
87
|
-
If you find this project helpful and want to support it, you can donate via
|
|
88
|
-
|
|
89
|
-
[](https://paypal.me/hafiizhghulam)
|
|
90
|
-
|
|
91
|
-
Or if you are prefer using crypto :
|
|
87
|
+
If you find this project helpful and want to support it, you can donate via crypto :
|
|
92
88
|
|
|
93
89
|
| EVM | Solana |
|
|
94
90
|
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
|
|
95
91
|
| <img src="https://github.com/crenata/bejibun/blob/master/public/images/EVM.png?raw=true" width="150" /> | <img src="https://github.com/crenata/bejibun/blob/master/public/images/SOL.png?raw=true" width="150" /> |
|
|
96
|
-
| 0xdABe8750061410D35cE52EB2a418c8cB004788B3 | GAnoyvy9p3QFyxikWDh9hA3fmSk2uiPLNWyQ579cckMn |
|
|
92
|
+
| 0xdABe8750061410D35cE52EB2a418c8cB004788B3 | GAnoyvy9p3QFyxikWDh9hA3fmSk2uiPLNWyQ579cckMn |
|
|
93
|
+
|
|
94
|
+
Or you can buy this `$BJBN (Bejibun)` tokens [here](https://pump.fun/coin/CQhbNnCGKfDaKXt8uE61i5DrBYJV7NPsCDD9vQgypump), beware of bots.
|
package/commands/Kernel.js
CHANGED
|
@@ -2,6 +2,7 @@ import App from "@bejibun/app";
|
|
|
2
2
|
import { defineValue, isEmpty } from "@bejibun/utils";
|
|
3
3
|
export default class Kernel {
|
|
4
4
|
static registerCommands(program) {
|
|
5
|
+
const rootCommands = require(App.Path.configPath("command.ts")).default;
|
|
5
6
|
const paths = [
|
|
6
7
|
{
|
|
7
8
|
absolute: true,
|
|
@@ -15,7 +16,10 @@ export default class Kernel {
|
|
|
15
16
|
absolute: true,
|
|
16
17
|
cwd: "node_modules/@bejibun/database/commands"
|
|
17
18
|
}
|
|
18
|
-
]
|
|
19
|
+
].concat(rootCommands.map(value => ({
|
|
20
|
+
absolute: true,
|
|
21
|
+
cwd: `node_modules/${value.path}`
|
|
22
|
+
})));
|
|
19
23
|
const files = paths
|
|
20
24
|
.map(value => Array.from(new Bun.Glob("**/*").scanSync({
|
|
21
25
|
absolute: value.absolute,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bejibun/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.51",
|
|
4
4
|
"author": "Havea Crenata <havea.crenata@gmail.com>",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"main": "index.js",
|
|
10
10
|
"module": "index.js",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@bejibun/app": "^0.1.
|
|
13
|
-
"@bejibun/cors": "^0.1.
|
|
14
|
-
"@bejibun/database": "^0.1.
|
|
15
|
-
"@bejibun/logger": "^0.1.
|
|
16
|
-
"@bejibun/utils": "^0.1.
|
|
12
|
+
"@bejibun/app": "^0.1.22",
|
|
13
|
+
"@bejibun/cors": "^0.1.16",
|
|
14
|
+
"@bejibun/database": "^0.1.19",
|
|
15
|
+
"@bejibun/logger": "^0.1.22",
|
|
16
|
+
"@bejibun/utils": "^0.1.20",
|
|
17
17
|
"@vinejs/vine": "^3.0.1",
|
|
18
18
|
"commander": "^14.0.2",
|
|
19
19
|
"luxon": "^3.7.2",
|