Skip to content

Commit 1da4b26

Browse files
author
khanh2906
committed
update version v0.6.10
1 parent 2170862 commit 1da4b26

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
| Version | Supported |
66
| ------- | ------------------ |
77
| 0.5.3 | :white_check_mark: |
8-
| 0.6.9 | :white_check_mark: |
8+
| 0.6.10 | :white_check_mark: |
99

1010

1111
## Reporting a Vulnerability

lib/stubs/template/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "bamimi",
3-
"version": "0.6.9",
3+
"version": "0.6.10",
44
"description": "Power framework for nodejs",
55
"main": "src/server.js",
6-
"bamimiVersion": "0.6.9",
6+
"bamimiVersion": "0.6.10",
77
"bin": {
88
"bamimi-enjoy-": "./dist/routes/cli/index.js",
99
"bamimi-enjoy-dev": "./src/routes/cli/index.js"
@@ -57,6 +57,7 @@
5757
"body-parser": "^1.20.2",
5858
"bullmq": "^5.8.4",
5959
"cookie-parser": "^1.4.6",
60+
"commander": "^13.0.0",
6061
"crypto": "^1.0.1",
6162
"dotenv": "^16.0.0",
6263
"ejs": "^3.1.9",

lib/stubs/template/src/bootstrap/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const express = require("express"),
1313
flash = require("express-flash");
1414

1515

16+
console.log(global.$_asset)
1617
const jobOnMain = require("@iKernel/job/onMain");
1718
/**
1819
* **********************************

lib/stubs/template/src/routes/cli/index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
#!/usr/bin/env node
2-
require("module-alias/register")
2+
if (!process.env.NODE_ENV || process.env.NODE_ENV === 'development') {
3+
require('module-alias/register');
4+
}
5+
36
const { Command } = require("commander");
47
const program = new Command();
58

6-
const jobCommand = require("@iKernel/job");
9+
const jobCommand = require("@iKernel/cronjobs");
710

811
program
912
.addCommand(jobCommand)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@knfs-tech/bamimi-cli",
3-
"version": "0.6.9",
3+
"version": "0.6.10",
44
"description": "Command line of Bamimi framework",
55
"bin": {
66
"bamimi-cli": "./bin/cli.js"

0 commit comments

Comments
 (0)