@bejibun/core 0.1.44 → 0.1.45

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/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  <div align="center">
2
2
 
3
+ <img src="https://github.com/crenata/bejibun/blob/master/public/images/bejibun.png?raw=true" width="150" alt="Bejibun" />
4
+
3
5
  ![GitHub top language](https://img.shields.io/github/languages/top/crenata/bejibun-core)
4
6
  ![GitHub all releases](https://img.shields.io/github/downloads/crenata/bejibun-core/total)
5
7
  ![GitHub issues](https://img.shields.io/github/issues/crenata/bejibun-core)
@@ -80,7 +82,7 @@ If you find this project helpful and want to support it, you can donate via PayP
80
82
 
81
83
  Or if you are prefer using crypto :
82
84
 
83
- | EVM | Solana |
84
- | --- | ------ |
85
+ | EVM | Solana |
86
+ | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
85
87
  | <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" /> |
86
- | 0xdABe8750061410D35cE52EB2a418c8cB004788B3 | GAnoyvy9p3QFyxikWDh9hA3fmSk2uiPLNWyQ579cckMn |
88
+ | 0xdABe8750061410D35cE52EB2a418c8cB004788B3 | GAnoyvy9p3QFyxikWDh9hA3fmSk2uiPLNWyQ579cckMn |
@@ -1,4 +1,6 @@
1
1
  import App from "@bejibun/app";
2
+ import Logger from "@bejibun/logger";
3
+ import { isEmpty } from "@bejibun/utils";
2
4
  export default class InstallCommand {
3
5
  /**
4
6
  * The name and signature of the console command.
@@ -27,6 +29,10 @@ export default class InstallCommand {
27
29
  ["<packages...>", "Install package dependencies"]
28
30
  ];
29
31
  async handle(options, args) {
32
+ if (isEmpty(args)) {
33
+ Logger.setContext("APP").error("There is no packages provided.");
34
+ return;
35
+ }
30
36
  for (const pack of args) {
31
37
  Bun.spawnSync(["bun", "add", pack], {
32
38
  cwd: App.Path.rootPath(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bejibun/core",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "author": "Havea Crenata <havea.crenata@gmail.com>",
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,10 +10,10 @@
10
10
  "module": "index.js",
11
11
  "dependencies": {
12
12
  "@bejibun/app": "^0.1.19",
13
- "@bejibun/cors": "^0.1.12",
14
- "@bejibun/database": "^0.1.1",
15
- "@bejibun/logger": "^0.1.18",
16
- "@bejibun/utils": "^0.1.14",
13
+ "@bejibun/cors": "^0.1.14",
14
+ "@bejibun/database": "^0.1.11",
15
+ "@bejibun/logger": "^0.1.19",
16
+ "@bejibun/utils": "^0.1.16",
17
17
  "@vinejs/vine": "^3.0.1",
18
18
  "commander": "^14.0.1",
19
19
  "luxon": "^3.7.2",