fix(build): add ansi-256-colors type declarations and update build configuration
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* autocreated commitinfo by @pushrocks/commitinfo
|
||||
* autocreated commitinfo by @push.rocks/commitinfo
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/consolecolor',
|
||||
version: '2.0.2',
|
||||
description: 'colors for beautylog',
|
||||
};
|
||||
version: '2.0.4',
|
||||
description: 'A module for applying color styles to console output.'
|
||||
}
|
||||
|
||||
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
declare module 'ansi-256-colors' {
|
||||
export interface IAnsi256ColorSet {
|
||||
codes: string[];
|
||||
standard: string[];
|
||||
bright: string[];
|
||||
rgb: string[];
|
||||
grayscale: string[];
|
||||
getRgb(r: number, g: number, b: number): string;
|
||||
}
|
||||
|
||||
export const fg: IAnsi256ColorSet;
|
||||
export const bg: IAnsi256ColorSet;
|
||||
export const reset: string;
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
/// <reference path="./ansi-256-colors.d.ts" />
|
||||
|
||||
import * as ansiColors from 'ansi-256-colors';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user