@terai/logger 0.0.10 → 0.0.13
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/index.cjs +6 -0
- package/dist/index.cjs.map +1 -0
- package/dist/{logger.d.mts → index.d.cts} +17 -15
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +28 -2
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +18 -6
- package/dist/chunk-HH7ZIRTH.mjs +0 -566
- package/dist/chunk-HH7ZIRTH.mjs.map +0 -1
- package/dist/chunk-QYYJHLXI.js +0 -574
- package/dist/chunk-QYYJHLXI.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -12
- package/dist/index.js.map +0 -1
- package/dist/logger.d.ts +0 -26
- package/dist/logger.js +0 -12
- package/dist/logger.js.map +0 -1
- package/dist/logger.mjs +0 -3
- package/dist/logger.mjs.map +0 -1
package/dist/logger.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as chalk from 'chalk';
|
|
2
|
-
|
|
3
|
-
declare function log(message: string): boolean;
|
|
4
|
-
declare function warn(prefix: string, text?: string | string[]): void;
|
|
5
|
-
declare function debug(prefix: string, text?: string | string[]): void;
|
|
6
|
-
declare function info(prefix: string, text?: string | string[]): void;
|
|
7
|
-
declare function success(text: string): void;
|
|
8
|
-
declare function error(prefix: string, text?: string | string[]): void;
|
|
9
|
-
declare function heading(heading: string, description?: string): boolean;
|
|
10
|
-
declare const logger: {
|
|
11
|
-
colors: chalk.ChalkInstance;
|
|
12
|
-
log: typeof log;
|
|
13
|
-
heading: typeof heading;
|
|
14
|
-
debug: typeof debug;
|
|
15
|
-
info: typeof info;
|
|
16
|
-
warn: typeof warn;
|
|
17
|
-
success: typeof success;
|
|
18
|
-
error: typeof error;
|
|
19
|
-
time: {
|
|
20
|
-
success: () => (msg: string) => void;
|
|
21
|
-
info: () => (msg: string) => void;
|
|
22
|
-
debug: () => (msg: string) => void;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export { logger };
|
package/dist/logger.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkQYYJHLXI_js = require('./chunk-QYYJHLXI.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "logger", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () { return chunkQYYJHLXI_js.logger; }
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=logger.js.map
|
|
12
|
-
//# sourceMappingURL=logger.js.map
|
package/dist/logger.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"logger.js"}
|
package/dist/logger.mjs
DELETED
package/dist/logger.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"logger.mjs"}
|