@arkstack/console 0.7.19 → 0.7.20
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/dist/index.js +2 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { t as ArkstackConsoleApp } from "./app-CNmh_S9c.js";
|
|
3
|
-
import { config, env, importFile, loadPrototypes, outputDir } from "@arkstack/common";
|
|
3
|
+
import { config, env, importFile, initializeGlobalContext, loadPrototypes, outputDir } from "@arkstack/common";
|
|
4
4
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
5
5
|
import path, { join } from "node:path";
|
|
6
6
|
import { MakeResource } from "resora";
|
|
@@ -277,6 +277,7 @@ const runConsoleKernel = async (options = {}) => {
|
|
|
277
277
|
globalThis.config = config;
|
|
278
278
|
globalThis.str = str;
|
|
279
279
|
globalThis.arkctx = { runtime: "CLI" };
|
|
280
|
+
await initializeGlobalContext();
|
|
280
281
|
await Kernel.init(await new ArkstackConsoleApp(app, { stubsDir }).loadConfig(), {
|
|
281
282
|
logo: options.logo ?? logo_default,
|
|
282
283
|
name: "Cmd",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkstack/console",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Console module for Arkstack, providing the command-line runtime and console integration layer.",
|
|
6
6
|
"homepage": "https://arkstack.toneflix.net/guide/cli",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"@h3ravel/support": "^0.15.11",
|
|
51
51
|
"chalk": "^5.6.2",
|
|
52
52
|
"resora": "^1.3.5",
|
|
53
|
-
"@arkstack/
|
|
54
|
-
"@arkstack/
|
|
53
|
+
"@arkstack/common": "^0.7.20",
|
|
54
|
+
"@arkstack/contract": "^0.7.20"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "tsdown",
|