@pnpm/core-loggers 7.0.7 → 7.1.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/lib/all.d.ts +1 -0
- package/lib/all.js +1 -0
- package/lib/all.js.map +1 -1
- package/lib/executionTimeLogger.d.ts +9 -0
- package/lib/executionTimeLogger.js +9 -0
- package/lib/executionTimeLogger.js.map +1 -0
- package/lib/index.d.ts +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +3 -4
package/lib/all.d.ts
CHANGED
package/lib/all.js
CHANGED
|
@@ -35,4 +35,5 @@ __exportStar(require("./stageLogger"), exports);
|
|
|
35
35
|
__exportStar(require("./statsLogger"), exports);
|
|
36
36
|
__exportStar(require("./summaryLogger"), exports);
|
|
37
37
|
__exportStar(require("./updateCheckLogger"), exports);
|
|
38
|
+
__exportStar(require("./executionTimeLogger"), exports);
|
|
38
39
|
//# sourceMappingURL=all.js.map
|
package/lib/all.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all.js","sourceRoot":"","sources":["../src/all.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA+B;AAC/B,sDAAmC;AACnC,2DAAwC;AACxC,+CAA4B;AAC5B,uDAAoC;AACpC,oDAAiC;AACjC,+CAA4B;AAC5B,8DAA2C;AAC3C,0DAAuC;AACvC,yDAAsC;AACtC,mDAAgC;AAChC,mDAAgC;AAChC,kDAA+B;AAC/B,uDAAoC;AACpC,+CAA4B;AAC5B,gDAA6B;AAC7B,oEAAiD;AACjD,gDAA6B;AAC7B,gDAA6B;AAC7B,kDAA+B;AAC/B,sDAAmC"}
|
|
1
|
+
{"version":3,"file":"all.js","sourceRoot":"","sources":["../src/all.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA+B;AAC/B,sDAAmC;AACnC,2DAAwC;AACxC,+CAA4B;AAC5B,uDAAoC;AACpC,oDAAiC;AACjC,+CAA4B;AAC5B,8DAA2C;AAC3C,0DAAuC;AACvC,yDAAsC;AACtC,mDAAgC;AAChC,mDAAgC;AAChC,kDAA+B;AAC/B,uDAAoC;AACpC,+CAA4B;AAC5B,gDAA6B;AAC7B,oEAAiD;AACjD,gDAA6B;AAC7B,gDAA6B;AAC7B,kDAA+B;AAC/B,sDAAmC;AACnC,wDAAqC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LogBase } from '@pnpm/logger';
|
|
2
|
+
export declare const executionTimeLogger: import("@pnpm/logger").Logger<unknown>;
|
|
3
|
+
export interface ExecutionTimeMessage {
|
|
4
|
+
startedAt: number;
|
|
5
|
+
endedAt: number;
|
|
6
|
+
}
|
|
7
|
+
export declare type ExecutionTimeLog = {
|
|
8
|
+
name: 'pnpm:execution-time';
|
|
9
|
+
} & LogBase & ExecutionTimeMessage;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.executionTimeLogger = void 0;
|
|
7
|
+
const logger_1 = __importDefault(require("@pnpm/logger"));
|
|
8
|
+
exports.executionTimeLogger = (0, logger_1.default)('execution-time');
|
|
9
|
+
//# sourceMappingURL=executionTimeLogger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executionTimeLogger.js","sourceRoot":"","sources":["../src/executionTimeLogger.ts"],"names":[],"mappings":";;;;;;AAAA,0DAEqB;AAER,QAAA,mBAAmB,GAAG,IAAA,gBAAU,EAAC,gBAAgB,CAAC,CAAA"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ContextLog, DeprecationLog, FetchingProgressLog, HookLog, InstallCheckLog, LifecycleLog, LinkLog, PackageImportMethodLog, PackageManifestLog, PeerDependencyIssuesLog, ProgressLog, RegistryLog, RequestRetryLog, RootLog, ScopeLog, SkippedOptionalDependencyLog, StageLog, StatsLog, SummaryLog, UpdateCheckLog } from './all';
|
|
1
|
+
import { ContextLog, DeprecationLog, FetchingProgressLog, ExecutionTimeLog, HookLog, InstallCheckLog, LifecycleLog, LinkLog, PackageImportMethodLog, PackageManifestLog, PeerDependencyIssuesLog, ProgressLog, RegistryLog, RequestRetryLog, RootLog, ScopeLog, SkippedOptionalDependencyLog, StageLog, StatsLog, SummaryLog, UpdateCheckLog } from './all';
|
|
2
2
|
export * from './all';
|
|
3
|
-
export declare type Log = ContextLog | DeprecationLog | FetchingProgressLog | HookLog | InstallCheckLog | LifecycleLog | LinkLog | PackageManifestLog | PackageImportMethodLog | PeerDependencyIssuesLog | ProgressLog | RegistryLog | RequestRetryLog | RootLog | ScopeLog | SkippedOptionalDependencyLog | StageLog | StatsLog | SummaryLog | UpdateCheckLog;
|
|
3
|
+
export declare type Log = ContextLog | DeprecationLog | FetchingProgressLog | ExecutionTimeLog | HookLog | InstallCheckLog | LifecycleLog | LinkLog | PackageManifestLog | PackageImportMethodLog | PeerDependencyIssuesLog | ProgressLog | RegistryLog | RequestRetryLog | RootLog | ScopeLog | SkippedOptionalDependencyLog | StageLog | StatsLog | SummaryLog | UpdateCheckLog;
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAwBA,wCAAqB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/core-loggers",
|
|
3
3
|
"description": "Core loggers of pnpm",
|
|
4
|
-
"version": "7.0
|
|
4
|
+
"version": "7.1.0",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/pnpm/pnpm/issues"
|
|
7
7
|
},
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
"@pnpm/logger": "^4.0.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@pnpm/core-loggers": "7.0
|
|
19
|
-
"@pnpm/logger": "^4.0.0"
|
|
18
|
+
"@pnpm/core-loggers": "7.1.0"
|
|
20
19
|
},
|
|
21
20
|
"directories": {
|
|
22
21
|
"test": "test"
|
|
@@ -30,7 +29,7 @@
|
|
|
30
29
|
},
|
|
31
30
|
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/core-loggers",
|
|
32
31
|
"dependencies": {
|
|
33
|
-
"@pnpm/types": "8.
|
|
32
|
+
"@pnpm/types": "8.7.0"
|
|
34
33
|
},
|
|
35
34
|
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/core-loggers#readme",
|
|
36
35
|
"funding": "https://opencollective.com/pnpm",
|