@stacksjs/cli 0.38.1 → 0.38.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.
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import type { CommandResult } from 'stacks';
|
|
1
2
|
/**
|
|
2
3
|
* Install an npm package.
|
|
3
4
|
*
|
|
4
5
|
* @param pkg - The package name to install.
|
|
5
6
|
* @returns The result of the install.
|
|
6
7
|
*/
|
|
7
|
-
export declare function installPackage(pkg: string): Promise<
|
|
8
|
+
export declare function installPackage(pkg: string): Promise<CommandResult<string>>;
|
|
8
9
|
/**
|
|
9
10
|
* Install a Stack into your project.
|
|
10
11
|
*
|
|
11
12
|
* @param pkg - The Stack name to install.
|
|
12
13
|
* @returns The result of the install.
|
|
13
14
|
*/
|
|
14
|
-
export declare function installStack(name: string): Promise<
|
|
15
|
+
export declare function installStack(name: string): Promise<CommandResult<string>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.38.
|
|
4
|
+
"version": "0.38.3",
|
|
5
5
|
"packageManager": "pnpm@7.15.0",
|
|
6
6
|
"description": "The simple way to create beautiful CLIs.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@antfu/install-pkg": "^0.1.1",
|
|
48
|
-
"@stacksjs/config": "0.38.
|
|
49
|
-
"@stacksjs/logging": "0.38.
|
|
50
|
-
"@stacksjs/path": "0.38.
|
|
51
|
-
"@stacksjs/types": "0.38.
|
|
48
|
+
"@stacksjs/config": "0.38.3",
|
|
49
|
+
"@stacksjs/logging": "0.38.3",
|
|
50
|
+
"@stacksjs/path": "0.38.3",
|
|
51
|
+
"@stacksjs/types": "0.38.3",
|
|
52
52
|
"cac": "^6.7.14",
|
|
53
53
|
"execa": "^6.1.0",
|
|
54
54
|
"ora": "^6.1.2",
|