@arkstack/console 0.11.6 → 0.12.0
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.
|
@@ -67,7 +67,7 @@ var BuildInterfaces = class BuildInterfaces {
|
|
|
67
67
|
skipAddingFilesFromTsConfig: true
|
|
68
68
|
});
|
|
69
69
|
BuildInterfaces.checker = BuildInterfaces.project.getTypeChecker();
|
|
70
|
-
const files = readdirSync(configDir).filter((f) => f.endsWith(".ts")
|
|
70
|
+
const files = readdirSync(configDir).filter((f) => f.endsWith(".ts"));
|
|
71
71
|
const properties = [];
|
|
72
72
|
for (const file of files) {
|
|
73
73
|
const configName = path.basename(file, ".ts");
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { t as ArkstackConsoleApp } from "./app-DGy8It6S.js";
|
|
3
|
-
import { n as BaseTCConfig, r as TSConfig, t as BuildInterfaces } from "./BuildInterfaces-
|
|
4
|
-
import { config, env, importFile, initializeGlobalContext, loadPrototypes, outputDir } from "@arkstack/common";
|
|
3
|
+
import { n as BaseTCConfig, r as TSConfig, t as BuildInterfaces } from "./BuildInterfaces-CjAQV0tH.js";
|
|
4
|
+
import { abort, abortIf, assertFound, config, env, importFile, initializeGlobalContext, loadPrototypes, outputDir } from "@arkstack/common";
|
|
5
5
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
6
6
|
import path, { join } from "node:path";
|
|
7
7
|
import { Arkstack } from "@arkstack/contract";
|
|
@@ -278,6 +278,9 @@ const runConsoleKernel = async (options = {}) => {
|
|
|
278
278
|
globalThis.env = env;
|
|
279
279
|
globalThis.config = config;
|
|
280
280
|
globalThis.str = str;
|
|
281
|
+
globalThis.abort = abort;
|
|
282
|
+
globalThis.abortIf = abortIf;
|
|
283
|
+
globalThis.assertFound = assertFound;
|
|
281
284
|
globalThis.arkctx = { runtime: "CLI" };
|
|
282
285
|
await initializeGlobalContext();
|
|
283
286
|
await Kernel.init(await new ArkstackConsoleApp(app, { stubsDir }).loadConfig(), {
|
package/dist/prepare.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as BuildInterfaces } from "./BuildInterfaces-
|
|
2
|
+
import { t as BuildInterfaces } from "./BuildInterfaces-CjAQV0tH.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { Arkstack } from "@arkstack/contract";
|
|
5
5
|
import { existsSync, mkdirSync } from "node:fs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkstack/console",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
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",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"chalk": "^5.6.2",
|
|
52
52
|
"resora": "^1.3.6",
|
|
53
53
|
"ts-morph": "^28.0.0",
|
|
54
|
-
"@arkstack/contract": "^0.
|
|
55
|
-
"@arkstack/common": "^0.
|
|
54
|
+
"@arkstack/contract": "^0.12.0",
|
|
55
|
+
"@arkstack/common": "^0.12.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsdown",
|