@arkstack/console-slim 0.19.1 → 0.19.3
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/{app-6meKYtnp.js → app-CKobs7Pd.js} +5 -5
- package/dist/app.js +1 -1
- package/dist/index.js +11 -11
- package/package.json +3 -3
|
@@ -68,16 +68,16 @@ var ArkstackConsoleApp = class extends CliApp {
|
|
|
68
68
|
return outputPath;
|
|
69
69
|
};
|
|
70
70
|
/**
|
|
71
|
-
* Normalize a file path by removing the current working directory from it.
|
|
72
|
-
*
|
|
73
|
-
* @param p
|
|
74
|
-
* @returns
|
|
71
|
+
* Normalize a file path by removing the current working directory from it.
|
|
72
|
+
*
|
|
73
|
+
* @param p
|
|
74
|
+
* @returns
|
|
75
75
|
*/
|
|
76
76
|
normalizePath = (p) => {
|
|
77
77
|
return p.replace(Arkstack.rootDir(), "");
|
|
78
78
|
};
|
|
79
79
|
/**
|
|
80
|
-
* Recursively merge defaultConfig with config from resora.config.js, giving
|
|
80
|
+
* Recursively merge defaultConfig with config from resora.config.js, giving
|
|
81
81
|
* precedence to resora.
|
|
82
82
|
*/
|
|
83
83
|
mergeConfig = () => {
|
package/dist/app.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as ArkstackConsoleApp } from "./app-
|
|
2
|
+
import { t as ArkstackConsoleApp } from "./app-CKobs7Pd.js";
|
|
3
3
|
import { config, discoverCommands, env, importFile, loadPrototypes, outputDir, rebuildOutput } from "@arkstack/common";
|
|
4
4
|
import { existsSync, realpathSync } from "node:fs";
|
|
5
5
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -205,11 +205,11 @@ var logo_default = String.raw`
|
|
|
205
205
|
|
|
206
206
|
//#endregion
|
|
207
207
|
//#region dist/index.js
|
|
208
|
-
/**
|
|
209
|
-
* A missing-module error from importing a stale/incomplete build artifact.
|
|
210
|
-
*
|
|
211
|
-
* @param error
|
|
212
|
-
* @returns
|
|
208
|
+
/**
|
|
209
|
+
* A missing-module error from importing a stale/incomplete build artifact.
|
|
210
|
+
*
|
|
211
|
+
* @param error
|
|
212
|
+
* @returns
|
|
213
213
|
*/
|
|
214
214
|
const isMissingModuleError = (error) => {
|
|
215
215
|
const code = error?.code;
|
|
@@ -239,8 +239,8 @@ const loadCoreApp = async () => {
|
|
|
239
239
|
};
|
|
240
240
|
/**
|
|
241
241
|
* Runs the console kernel, initializing the application and registering commands.
|
|
242
|
-
*
|
|
243
|
-
* @param options
|
|
242
|
+
*
|
|
243
|
+
* @param options
|
|
244
244
|
*/
|
|
245
245
|
const runConsoleKernel = async (options = {}) => {
|
|
246
246
|
loadPrototypes();
|
|
@@ -271,10 +271,10 @@ const runConsoleKernel = async (options = {}) => {
|
|
|
271
271
|
});
|
|
272
272
|
};
|
|
273
273
|
/**
|
|
274
|
-
* Determines if the current module is being executed as the entry
|
|
274
|
+
* Determines if the current module is being executed as the entry
|
|
275
275
|
* point of the application.
|
|
276
|
-
*
|
|
277
|
-
* @returns
|
|
276
|
+
*
|
|
277
|
+
* @returns
|
|
278
278
|
*/
|
|
279
279
|
const isEntrypointExecution = () => {
|
|
280
280
|
const argvEntry = process.argv[1];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkstack/console-slim",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Slim console module for Arkstack, providing the command-line runtime and console integration layer.",
|
|
6
6
|
"homepage": "https://arkstack.toneflix.net",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"@h3ravel/musket": "^2.2.13",
|
|
50
50
|
"chalk": "^5.6.2",
|
|
51
51
|
"resora": "^1.3.34",
|
|
52
|
-
"@arkstack/
|
|
53
|
-
"@arkstack/
|
|
52
|
+
"@arkstack/common": "^0.19.3",
|
|
53
|
+
"@arkstack/contract": "^0.19.3"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "tsdown",
|