@arkstack/console-slim 0.12.5 → 0.12.7
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.d.ts +10 -0
- package/dist/index.d.ts +5 -0
- package/package.json +3 -3
package/dist/app.d.ts
CHANGED
|
@@ -19,7 +19,17 @@ declare class ArkstackConsoleApp<TCore extends Core> extends CliApp {
|
|
|
19
19
|
private readonly options;
|
|
20
20
|
constructor(core: TCore, options: ConsoleAppOptions);
|
|
21
21
|
makeController: (name: string, opts: any) => string;
|
|
22
|
+
/**
|
|
23
|
+
* Normalize a file path by removing the current working directory from it.
|
|
24
|
+
*
|
|
25
|
+
* @param p
|
|
26
|
+
* @returns
|
|
27
|
+
*/
|
|
22
28
|
normalizePath: (p: string) => string;
|
|
29
|
+
/**
|
|
30
|
+
* Recursively merge defaultConfig with config from resora.config.js, giving
|
|
31
|
+
* precedence to resora.
|
|
32
|
+
*/
|
|
23
33
|
mergeConfig: () => void;
|
|
24
34
|
}
|
|
25
35
|
//#endregion
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
interface RunConsoleOptions {
|
|
3
3
|
logo?: string;
|
|
4
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* Runs the console kernel, initializing the application and registering commands.
|
|
7
|
+
*
|
|
8
|
+
* @param options
|
|
9
|
+
*/
|
|
5
10
|
declare const runConsoleKernel: (options?: RunConsoleOptions) => Promise<void>;
|
|
6
11
|
//#endregion
|
|
7
12
|
export { RunConsoleOptions, runConsoleKernel };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkstack/console-slim",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.7",
|
|
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",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@h3ravel/musket": "^0.10.1",
|
|
49
49
|
"chalk": "^5.6.2",
|
|
50
50
|
"resora": "^1.3.6",
|
|
51
|
-
"@arkstack/
|
|
52
|
-
"@arkstack/
|
|
51
|
+
"@arkstack/common": "^0.12.7",
|
|
52
|
+
"@arkstack/contract": "^0.12.7"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "tsdown",
|