@stacksjs/cli 0.51.0 → 0.52.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.
package/README.md CHANGED
@@ -68,7 +68,7 @@ command.parse() // parse the command
68
68
  You may now run the command via:
69
69
 
70
70
  ```bash
71
- esno command.ts
71
+ tsx command.ts
72
72
  ```
73
73
 
74
74
  To view a more detailed example, check out [Buddy](../../buddy/).
@@ -98,7 +98,7 @@ pnpm test
98
98
 
99
99
  Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
100
100
 
101
- ## 💪🏼 Contributing
101
+ ## 🚜 Contributing
102
102
 
103
103
  Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
104
104
 
package/dist/index.d.ts CHANGED
@@ -1,8 +1,117 @@
1
- export * from './actions';
2
- export * from './command';
3
- export * from './console';
4
- export * from './helpers';
5
- export * from './run';
6
- export * from './spinner';
7
- export * from './utilities';
1
+ import * as _stacksjs_types from '@stacksjs/types';
2
+ import { CommandReturnValue, IntroOptions, OutroOptions, CliOptions, ResultAsync, CommandResult } from '@stacksjs/types';
8
3
  export { ExitCode } from '@stacksjs/types';
4
+ export { cac as command } from 'cac';
5
+ export { execaCommand as spawn } from 'execa';
6
+ import ora from 'ora';
7
+ export { ansi256Bg, bgBlack, bgBlue, bgCyan, bgGray, bgGreen, bgLightBlue, bgLightCyan, bgLightGray, bgLightGreen, bgLightMagenta, bgLightRed, bgLightYellow, bgMagenta, bgRed, bgWhite, bgYellow, black, blue, bold, cyan, dim, gray, green, hidden, inverse, italic, lightBlue, lightCyan, lightGray, lightGreen, lightMagenta, lightRed, lightYellow, link, magenta, red, reset, strikethrough, underline, white, yellow } from 'kolorist';
8
+ export { log } from '@stacksjs/logging';
9
+
10
+ /**
11
+ * Install an npm package.
12
+ *
13
+ * @param pkg - The package name to install.
14
+ * @returns The result of the install.
15
+ */
16
+ declare function installPackage(pkg: string): Promise<CommandReturnValue>;
17
+ /**
18
+ * Install a Stack into your project.
19
+ *
20
+ * @param pkg - The Stack name to install.
21
+ * @returns The result of the install.
22
+ */
23
+ declare function installStack(name: string): Promise<CommandReturnValue>;
24
+
25
+ declare const prompt: <T extends {
26
+ type?: "text" | undefined;
27
+ default?: string | undefined;
28
+ placeholder?: string | undefined;
29
+ initial?: string | undefined;
30
+ } | {
31
+ type: "confirm";
32
+ initial?: boolean | undefined;
33
+ } | {
34
+ type: "select";
35
+ initial?: string | undefined;
36
+ options: (string | {
37
+ label: string;
38
+ value: string;
39
+ hint?: string | undefined;
40
+ })[];
41
+ } | {
42
+ type: "multiselect";
43
+ initial?: string | undefined;
44
+ options: string[] | {
45
+ label: string;
46
+ value: string;
47
+ hint?: string | undefined;
48
+ }[];
49
+ required?: boolean | undefined;
50
+ }>(message: string, opts?: T | undefined) => Promise<T extends {
51
+ type?: "text" | undefined;
52
+ default?: string | undefined;
53
+ placeholder?: string | undefined;
54
+ initial?: string | undefined;
55
+ } ? string : T extends {
56
+ type: "confirm";
57
+ initial?: boolean | undefined;
58
+ } ? boolean : string[]>;
59
+
60
+ /**
61
+ * Prints the intro message.
62
+ */
63
+ declare function intro(command: string, options?: IntroOptions): Promise<number | undefined>;
64
+ /**
65
+ * Prints the outro message.
66
+ */
67
+ declare function outro(text: string, options: OutroOptions, error?: Error | string): void;
68
+ declare function startSpinner(text?: string): _stacksjs_types.SpinnerOptions;
69
+
70
+ interface ParsedArgv {
71
+ args: ReadonlyArray<string>;
72
+ options: {
73
+ [k: string]: string | boolean | number;
74
+ };
75
+ }
76
+ declare function parseArgv(argv?: ReadonlyArray<string>): ParsedArgv;
77
+ declare function parseOptions(argv?: ReadonlyArray<string>): {
78
+ [k: string]: string | boolean | number;
79
+ };
80
+ declare function parseArgs(argv?: ReadonlyArray<string>): ReadonlyArray<string>;
81
+
82
+ /**
83
+ * Execute a command.
84
+ *
85
+ * @param command The command to execute.
86
+ * @param options The options to pass to the command.
87
+ * @param errorMsg The name of the error to throw if the command fails.
88
+ * @returns The result of the command.
89
+ */
90
+ declare function exec(command: string, options?: CliOptions): ResultAsync<CommandReturnValue, Error>;
91
+ /**
92
+ * Execute a command and return result.
93
+ *
94
+ * @param command The command to execute.
95
+ * @returns The result of the command.
96
+ */
97
+ declare function execSync(command: string): string;
98
+ /**
99
+ * Run a command the Stacks way.
100
+ *
101
+ * @param command The command to run.
102
+ * @param options The options to pass to the command.
103
+ * @returns The result of the command.
104
+ */
105
+ declare function runCommand(command: string, options?: CliOptions): Promise<ResultAsync<CommandReturnValue, Error>>;
106
+ /**
107
+ * Run many commands—the Stacks way.
108
+ *
109
+ * @param commands The command to run.
110
+ * @param options The options to pass to the command.
111
+ * @returns The result of the command.
112
+ */
113
+ declare function runCommands(commands: string[], options?: CliOptions): Promise<CommandResult | CommandResult[]>;
114
+
115
+ declare const spinner: typeof ora;
116
+
117
+ export { exec, execSync, installPackage, installStack, intro, outro, parseArgs, parseArgv, parseOptions, prompt, runCommand, runCommands, spinner, startSpinner };
package/dist/index.mjs CHANGED
@@ -1,8 +1,193 @@
1
- export * from "./actions/index.mjs";
2
- export * from "./command.mjs";
3
- export * from "./console.mjs";
4
- export * from "./helpers.mjs";
5
- export * from "./run.mjs";
6
- export * from "./spinner.mjs";
7
- export * from "./utilities.mjs";
8
- export { ExitCode } from "@stacksjs/types";
1
+ import { installPackage as installPackage$1 } from '@antfu/install-pkg';
2
+ export { cac as command } from 'cac';
3
+ import { execaCommand } from 'execa';
4
+ export { execaCommand as spawn } from 'execa';
5
+ import { log } from '@stacksjs/logging';
6
+ export { log } from '@stacksjs/logging';
7
+ import { frameworkVersion, determineDebugLevel } from '@stacksjs/utils';
8
+ import ora from 'ora';
9
+ import { cyan, bold, dim, bgCyan, italic, red, green } from 'kolorist';
10
+ export { ansi256Bg, bgBlack, bgBlue, bgCyan, bgGray, bgGreen, bgLightBlue, bgLightCyan, bgLightGray, bgLightGreen, bgLightMagenta, bgLightRed, bgLightYellow, bgMagenta, bgRed, bgWhite, bgYellow, black, blue, bold, cyan, dim, gray, green, hidden, inverse, italic, lightBlue, lightCyan, lightGray, lightGreen, lightMagenta, lightRed, lightYellow, link, magenta, red, reset, strikethrough, underline, white, yellow } from 'kolorist';
11
+ import { execSync as execSync$1 } from 'node:child_process';
12
+ import { ExitCode } from '@stacksjs/types';
13
+ export { ExitCode } from '@stacksjs/types';
14
+ import { projectPath } from '@stacksjs/path';
15
+ import { ResultAsync, err } from '@stacksjs/error-handling';
16
+
17
+ async function installPackage(pkg) {
18
+ return await installPackage$1(pkg, { silent: true });
19
+ }
20
+ async function installStack(name) {
21
+ return await installPackage$1(`@stacksjs/${name}`, { silent: true });
22
+ }
23
+
24
+ const prompt = log.prompt;
25
+
26
+ const spinner = ora;
27
+
28
+ async function intro(command, options) {
29
+ const version = await frameworkVersion();
30
+ console.log();
31
+ console.log(cyan(bold("Stacks CLI")) + dim(` v${version}`));
32
+ console.log();
33
+ log.info(`Preparing to run the ${bgCyan(italic(bold(` ${command} `)))} command.`);
34
+ if (options?.showPerformance === false)
35
+ return;
36
+ return performance.now();
37
+ }
38
+ function outro(text, options, error) {
39
+ if (options.isError) {
40
+ if (error)
41
+ log.error(error);
42
+ } else {
43
+ log.success(text);
44
+ }
45
+ if (options.startTime) {
46
+ let time = performance.now() - options.startTime;
47
+ if (options.useSeconds) {
48
+ time = time / 1e3;
49
+ time = Math.round(time * 100) / 100;
50
+ }
51
+ if (options.isError)
52
+ log.error(red(`in ${time}${options.useSeconds ? "s" : "ms"}`));
53
+ else
54
+ log.success(green(`Done in ${time}${options.useSeconds ? "s" : "ms"}`));
55
+ }
56
+ }
57
+ function startSpinner(text) {
58
+ if (!text)
59
+ text = "Executing...";
60
+ const spin = spinner({
61
+ text
62
+ }).start();
63
+ setTimeout(() => {
64
+ spin.text = italic("This may take a few moments...");
65
+ spin.spinner = "clock";
66
+ }, 7500);
67
+ return spin;
68
+ }
69
+
70
+ function isLongOption(arg) {
71
+ return arg.startsWith("--");
72
+ }
73
+ function isShortOption(arg) {
74
+ return arg.startsWith("-") && !isLongOption(arg);
75
+ }
76
+ function parseValue(value) {
77
+ if (value === "true")
78
+ return true;
79
+ if (value === "false")
80
+ return false;
81
+ const numberValue = parseFloat(value);
82
+ if (!isNaN(numberValue))
83
+ return numberValue;
84
+ return value.replace(/"/g, "");
85
+ }
86
+ function parseLongOption(arg, argv, index, options) {
87
+ const [key, value] = arg.slice(2).split("=");
88
+ if (value !== void 0) {
89
+ options[key] = parseValue(value);
90
+ } else if (index + 1 < argv.length && !argv[index + 1].startsWith("-")) {
91
+ options[key] = argv[index + 1];
92
+ index++;
93
+ } else {
94
+ options[key] = true;
95
+ }
96
+ return index;
97
+ }
98
+ function parseShortOption(arg, argv, index, options) {
99
+ const [key, value] = arg.slice(1).split("=");
100
+ if (value !== void 0) {
101
+ for (let j = 0; j < key.length; j++)
102
+ options[key[j]] = parseValue(value);
103
+ } else {
104
+ for (let j = 0; j < key.length; j++) {
105
+ if (index + 1 < argv.length && j === key.length - 1 && !argv[index + 1].startsWith("-")) {
106
+ options[key[j]] = parseValue(argv[index + 1]);
107
+ index++;
108
+ } else {
109
+ options[key[j]] = true;
110
+ }
111
+ }
112
+ }
113
+ return index;
114
+ }
115
+ function parseArgv(argv) {
116
+ if (argv === void 0)
117
+ argv = process.argv.slice(2);
118
+ const args = [];
119
+ const options = {};
120
+ for (let i = 0; i < argv.length; i++) {
121
+ const arg = argv[i];
122
+ if (isLongOption(arg))
123
+ i = parseLongOption(arg, argv, i, options);
124
+ else if (isShortOption(arg))
125
+ i = parseShortOption(arg, argv, i, options);
126
+ else
127
+ args.push(arg);
128
+ }
129
+ return { args, options };
130
+ }
131
+ function parseOptions(argv) {
132
+ if (argv === void 0)
133
+ argv = process.argv.slice(2);
134
+ return parseArgv(argv).options;
135
+ }
136
+ function parseArgs(argv) {
137
+ if (argv === void 0)
138
+ argv = process.argv.slice(2);
139
+ return parseArgv(argv).args;
140
+ }
141
+
142
+ function exec(command, options) {
143
+ const cwd = options?.cwd || projectPath();
144
+ const stdio = determineDebugLevel(options) ? "inherit" : "ignore";
145
+ const shell = options?.shell || false;
146
+ return ResultAsync.fromPromise(
147
+ execaCommand(command, { stdio, cwd, shell }),
148
+ () => new Error(`Failed to run command: ${italic(command)}`)
149
+ );
150
+ }
151
+ function execSync(command) {
152
+ return execSync$1(command, { encoding: "utf-8" });
153
+ }
154
+ async function runCommand(command, options) {
155
+ console.log("runCommand", command, options);
156
+ return await exec(command, options);
157
+ }
158
+ async function runCommands(commands, options) {
159
+ console.log("runCommands", commands, options);
160
+ const results = [];
161
+ const numberOfCommands = commands.length;
162
+ if (!numberOfCommands) {
163
+ log.error(new Error("No commands were specified"));
164
+ process.exit();
165
+ }
166
+ const spinner = determineSpinner(options);
167
+ console.log("spinner", spinner);
168
+ for (const command of commands) {
169
+ const result = await runCommand(command, options);
170
+ if (result.isOk()) {
171
+ results.push(result);
172
+ } else if (result.isErr()) {
173
+ if (spinner) {
174
+ err(result.error);
175
+ process.exit(ExitCode.FatalError);
176
+ }
177
+ results.push(result);
178
+ break;
179
+ }
180
+ }
181
+ if (spinner)
182
+ spinner.stop();
183
+ if (numberOfCommands === 1)
184
+ return results[0];
185
+ return results;
186
+ }
187
+ function determineSpinner(options) {
188
+ if (!determineDebugLevel(options))
189
+ return startSpinner(options?.spinnerText);
190
+ return void 0;
191
+ }
192
+
193
+ export { exec, execSync, installPackage, installStack, intro, outro, parseArgs, parseArgv, parseOptions, prompt, runCommand, runCommands, spinner, startSpinner };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/cli",
3
3
  "type": "module",
4
- "version": "0.51.0",
5
- "packageManager": "pnpm@7.26.3",
4
+ "version": "0.52.0",
5
+ "packageManager": "pnpm@8.5.1",
6
6
  "description": "The simple way to create beautiful CLIs.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -29,6 +29,12 @@
29
29
  "ez-spawn",
30
30
  "stacks"
31
31
  ],
32
+ "exports": {
33
+ ".": {
34
+ "types": "./dist/index.d.ts",
35
+ "import": "./dist/index.mjs"
36
+ }
37
+ },
32
38
  "main": "dist/index.mjs",
33
39
  "module": "dist/index.mjs",
34
40
  "types": "dist/index.d.ts",
@@ -39,31 +45,27 @@
39
45
  "dist",
40
46
  "README.md"
41
47
  ],
42
- "engines": {
43
- "node": ">=v18.14.0",
44
- "pnpm": ">=7.26.3"
45
- },
46
48
  "peerDependencies": {
47
49
  "@antfu/install-pkg": "^0.1.1",
48
50
  "cac": "^6.7.14",
49
- "execa": "^6.1.0",
50
- "ora": "^6.1.2",
51
- "prompts": "^2.4.2",
52
- "@stacksjs/config": "0.51.0",
53
- "@stacksjs/error-handling": "0.51.0",
54
- "@stacksjs/logging": "0.51.0",
55
- "@stacksjs/path": "0.51.0",
56
- "@stacksjs/types": "0.51.0",
57
- "@stacksjs/utils": "0.51.0"
51
+ "execa": "^7.1.1",
52
+ "ora": "^6.3.1",
53
+ "@stacksjs/config": "0.52.0",
54
+ "@stacksjs/error-handling": "0.52.0",
55
+ "@stacksjs/logging": "0.52.0",
56
+ "@stacksjs/path": "0.52.0",
57
+ "@stacksjs/types": "0.52.0",
58
+ "@stacksjs/utils": "0.52.0"
59
+ },
60
+ "dependencies": {
61
+ "kolorist": "1.8.0"
58
62
  },
59
63
  "devDependencies": {
60
- "esno": "^0.16.3",
61
- "mkdist": "^1.1.0",
62
- "@stacksjs/testing": "0.51.0"
64
+ "@stacksjs/development": "0.52.0"
63
65
  },
64
66
  "scripts": {
65
- "build": "mkdist -d",
66
- "dev": "mkdist -d",
67
+ "build": "unbuild",
68
+ "dev": "unbuild --stub",
67
69
  "typecheck": "tsc --noEmit"
68
70
  }
69
71
  }
@@ -1 +0,0 @@
1
- export * from './install';
@@ -1 +0,0 @@
1
- export * from "./install.mjs";
@@ -1,15 +0,0 @@
1
- import type { CommandResult } from '@stacksjs/types';
2
- /**
3
- * Install an npm package.
4
- *
5
- * @param pkg - The package name to install.
6
- * @returns The result of the install.
7
- */
8
- export declare function installPackage(pkg: string): Promise<CommandResult<string>>;
9
- /**
10
- * Install a Stack into your project.
11
- *
12
- * @param pkg - The Stack name to install.
13
- * @returns The result of the install.
14
- */
15
- export declare function installStack(name: string): Promise<CommandResult<string>>;
@@ -1,7 +0,0 @@
1
- import { installPackage as installPkg } from "@antfu/install-pkg";
2
- export async function installPackage(pkg) {
3
- return await installPkg(pkg, { silent: true });
4
- }
5
- export async function installStack(name) {
6
- return await installPkg(`@stacksjs/${name}`, { silent: true });
7
- }
package/dist/command.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import { execaCommand } from 'execa';
2
- declare const spawn: typeof execaCommand;
3
- declare const command: (name?: string | undefined) => import("cac").CAC;
4
- export { spawn, command };
package/dist/command.mjs DELETED
@@ -1,5 +0,0 @@
1
- import cac from "cac";
2
- import { execaCommand } from "execa";
3
- const spawn = execaCommand;
4
- const command = cac;
5
- export { spawn, command };
package/dist/console.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import { log } from '@stacksjs/logging';
2
- declare const prompts: any;
3
- export { log, prompts };
package/dist/console.mjs DELETED
@@ -1,4 +0,0 @@
1
- import { log } from "@stacksjs/logging";
2
- import Prompts from "prompts";
3
- const { prompts } = Prompts;
4
- export { log, prompts };
package/dist/helpers.d.ts DELETED
@@ -1,10 +0,0 @@
1
- import type { IntroOptions, OutroOptions } from '@stacksjs/types';
2
- /**
3
- * Prints the intro message.
4
- */
5
- export declare function intro(command: string, options?: IntroOptions): Promise<number | undefined>;
6
- /**
7
- * Prints the outro message.
8
- */
9
- export declare function outro(text: string, options: OutroOptions, error?: Error | string): void;
10
- export declare function startSpinner(text?: string): import("ora").Ora;
package/dist/helpers.mjs DELETED
@@ -1,45 +0,0 @@
1
- import { frameworkVersion } from "@stacksjs/utils";
2
- import { log } from "./console.mjs";
3
- import { spinner } from "./spinner.mjs";
4
- import { bgCyan, bold, cyan, dim, green, italic, red } from "./utilities.mjs";
5
- export async function intro(command, options) {
6
- const version = await frameworkVersion();
7
- console.log();
8
- console.log(cyan(bold("Stacks CLI")) + dim(` v${version}`));
9
- console.log();
10
- log.info(`Preparing to run the ${bgCyan(italic(bold(` ${command} `)))} command.`);
11
- if (options?.showPerformance === false)
12
- return;
13
- return performance.now();
14
- }
15
- export function outro(text, options, error) {
16
- if (options.isError) {
17
- if (error)
18
- log.error(error);
19
- } else {
20
- log.success(text);
21
- }
22
- if (options.startTime) {
23
- let time = performance.now() - options.startTime;
24
- if (options.useSeconds) {
25
- time = time / 1e3;
26
- time = Math.round(time * 100) / 100;
27
- }
28
- if (options.isError)
29
- log.error(red(`in ${time}${options.useSeconds ? "s" : "ms"}`));
30
- else
31
- log.success(green(`Done in ${time}${options.useSeconds ? "s" : "ms"}`));
32
- }
33
- }
34
- export function startSpinner(text) {
35
- if (!text)
36
- text = "Executing...";
37
- const spin = spinner({
38
- text
39
- }).start();
40
- setTimeout(() => {
41
- spin.text = italic("This may take a few moments...");
42
- spin.spinner = "clock";
43
- }, 7500);
44
- return spin;
45
- }
package/dist/run.d.ts DELETED
@@ -1,28 +0,0 @@
1
- import type { CliOptions, CommandResult, Result } from '@stacksjs/types';
2
- import type { Err } from '@stacksjs/error-handling';
3
- import { ResultAsync } from '@stacksjs/error-handling';
4
- /**
5
- * Execute a command.
6
- *
7
- * @param command The command to execute.
8
- * @param options The options to pass to the command.
9
- * @param errorMsg The name of the error to throw if the command fails.
10
- * @returns The result of the command.
11
- */
12
- export declare function exec(command: string, options?: CliOptions): ResultAsync<CommandResult<string>, Error>;
13
- /**
14
- * Run a command the Stacks way.
15
- *
16
- * @param command The command to run.
17
- * @param options The options to pass to the command.
18
- * @returns The result of the command.
19
- */
20
- export declare function runCommand(command: string, options?: CliOptions): Promise<Result<CommandResult<string>, Error>>;
21
- /**
22
- * Run many commands—the Stacks way.
23
- *
24
- * @param commands The command to run.
25
- * @param options The options to pass to the command.
26
- * @returns The result of the command.
27
- */
28
- export declare function runCommands(commands: string[], options?: CliOptions): Promise<Result<CommandResult<string>, Error>[] | Result<CommandResult<string>, Error> | Err<CommandResult<string>, string>>;
package/dist/run.mjs DELETED
@@ -1,49 +0,0 @@
1
- import { determineDebugMode } from "@stacksjs/config";
2
- import { ResultAsync, err } from "@stacksjs/error-handling";
3
- import { projectPath } from "@stacksjs/path";
4
- import { spawn } from "./command.mjs";
5
- import { startSpinner } from "./helpers.mjs";
6
- import { italic } from "./index.mjs";
7
- export function exec(command, options) {
8
- const cwd = options?.cwd || projectPath();
9
- const stdio = determineDebugMode(options) ? "inherit" : "ignore";
10
- const shell = options?.shell || false;
11
- return ResultAsync.fromPromise(
12
- spawn(command, { stdio, cwd, shell }),
13
- () => new Error(`Failed to run command: ${italic(command)}`)
14
- );
15
- }
16
- export async function runCommand(command, options) {
17
- return await exec(command, options);
18
- }
19
- export async function runCommands(commands, options) {
20
- const results = [];
21
- const numberOfCommands = commands.length;
22
- if (!numberOfCommands)
23
- return err("No commands were specified");
24
- const spinner = determineSpinner(options);
25
- for (const command of commands) {
26
- const result = await runCommand(command, options);
27
- if (result?.isOk())
28
- results.push(result);
29
- if (result?.isErr()) {
30
- if (spinner) {
31
- spinner.fail("Failed to run command.");
32
- err(result.error);
33
- process.exit();
34
- }
35
- results.push(result);
36
- break;
37
- }
38
- }
39
- if (spinner)
40
- spinner.stop();
41
- if (numberOfCommands === 1)
42
- return results[0];
43
- return results;
44
- }
45
- function determineSpinner(options) {
46
- if (!determineDebugMode(options))
47
- return startSpinner(options?.spinnerText);
48
- return void 0;
49
- }
package/dist/spinner.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import ora from 'ora';
2
- export declare const spinner: typeof ora;
package/dist/spinner.mjs DELETED
@@ -1,2 +0,0 @@
1
- import ora from "ora";
2
- export const spinner = ora;
@@ -1 +0,0 @@
1
- export { ansi256Bg, bgBlack, bgBlue, bgCyan, bgGray, bgGreen, bgLightBlue, bgLightCyan, bgLightGray, bgLightGreen, bgLightMagenta, bgLightRed, bgLightYellow, bgMagenta, bgRed, bgWhite, bgYellow, black, blue, bold, cyan, dim, gray, green, hidden, inverse, italic, lightBlue, lightCyan, lightGray, lightGreen, lightMagenta, lightRed, lightYellow, link, magenta, red, reset, strikethrough, underline, white, yellow } from 'kolorist';
@@ -1 +0,0 @@
1
- export { ansi256Bg, bgBlack, bgBlue, bgCyan, bgGray, bgGreen, bgLightBlue, bgLightCyan, bgLightGray, bgLightGreen, bgLightMagenta, bgLightRed, bgLightYellow, bgMagenta, bgRed, bgWhite, bgYellow, black, blue, bold, cyan, dim, gray, green, hidden, inverse, italic, lightBlue, lightCyan, lightGray, lightGreen, lightMagenta, lightRed, lightYellow, link, magenta, red, reset, strikethrough, underline, white, yellow } from "kolorist";