@stacksjs/cli 0.40.0 → 0.41.1

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/README.md CHANGED
@@ -4,10 +4,10 @@ The simple way to build beautiful CLIs.
4
4
 
5
5
  ## ☘️ Features
6
6
 
7
- - [x] Easily create beautiful CLI apps
8
- - [x] Lightweight, beautiful and user-friendly interactive prompts
9
- - [x] Elegant terminal spinners
10
- - [x] Helper methods to run commands
7
+ - 🎨 Easily create beautiful CLI apps
8
+ - ⚡️ Lightweight, user-friendly, interactive prompts
9
+ - 🚦 Elegant terminal spinners
10
+ - ⛑️ Helper methods to run commands
11
11
 
12
12
  ## 🤖 Usage
13
13
 
@@ -71,7 +71,7 @@ You may now run the command via:
71
71
  esno command.ts
72
72
  ```
73
73
 
74
- To view a more detailed example, check out the [Stacks Runtime](../runtime/).
74
+ To view a more detailed example, check out [Buddy](../../buddy/).
75
75
 
76
76
  _You may also use any of the following CLI utilities:_
77
77
 
@@ -1,4 +1,4 @@
1
- import type { CommandResult } from 'stacks';
1
+ import type { CommandResult } from 'framework/buddy/src';
2
2
  /**
3
3
  * Install an npm package.
4
4
  *
@@ -26,7 +26,7 @@ export async function runCommands(commands, options) {
26
26
  results.push(result);
27
27
  if (result.isErr()) {
28
28
  if (spinner)
29
- spinner.fail(`Failed to run command "${command}" with message: ${result.error.message}`);
29
+ spinner.fail("Failed to run command.");
30
30
  results.push(result);
31
31
  break;
32
32
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/cli",
3
3
  "type": "module",
4
- "version": "0.40.0",
4
+ "version": "0.41.1",
5
5
  "packageManager": "pnpm@7.16.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.40.0",
49
- "@stacksjs/path": "0.40.0",
50
- "@stacksjs/types": "0.40.0",
51
- "@stacksjs/x-ray": "0.40.0",
48
+ "@stacksjs/config": "0.41.1",
49
+ "@stacksjs/path": "0.41.1",
50
+ "@stacksjs/types": "0.41.1",
51
+ "@stacksjs/x-ray": "0.41.1",
52
52
  "cac": "^6.7.14",
53
53
  "execa": "^6.1.0",
54
54
  "ora": "^6.1.2",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "devDependencies": {
58
58
  "esno": "^0.16.3",
59
- "mkdist": "^0.4.0"
59
+ "mkdist": "^1.0.0"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "mkdist -d",