@pnpm/core-loggers 8.0.1 → 8.0.3
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/contextLogger.d.ts +1 -1
- package/lib/deprecationLogger.d.ts +1 -1
- package/lib/executionTimeLogger.d.ts +1 -1
- package/lib/fetchingProgressLogger.d.ts +2 -2
- package/lib/hookLogger.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/installCheckLogger.d.ts +1 -1
- package/lib/lifecycleLogger.d.ts +2 -2
- package/lib/linkLogger.d.ts +1 -1
- package/lib/packageImportMethodLogger.d.ts +1 -1
- package/lib/packageManifestLogger.d.ts +2 -2
- package/lib/peerDependencyIssues.d.ts +1 -1
- package/lib/progressLogger.d.ts +2 -2
- package/lib/registryLogger.d.ts +1 -1
- package/lib/requestRetryLogger.d.ts +1 -1
- package/lib/rootLogger.d.ts +3 -3
- package/lib/scopeLogger.d.ts +1 -1
- package/lib/skippedOptionalDependencyLogger.d.ts +2 -2
- package/lib/stageLogger.d.ts +1 -1
- package/lib/statsLogger.d.ts +2 -2
- package/lib/summaryLogger.d.ts +1 -1
- package/lib/updateCheckLogger.d.ts +1 -1
- package/package.json +3 -3
package/lib/contextLogger.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LogBase, Logger } from '@pnpm/logger';
|
|
2
2
|
export declare const fetchingProgressLogger: Logger<FetchingProgressMessage>;
|
|
3
|
-
export
|
|
3
|
+
export type FetchingProgressMessage = {
|
|
4
4
|
attempt: number;
|
|
5
5
|
packageId: string;
|
|
6
6
|
size: number | null;
|
|
@@ -10,6 +10,6 @@ export declare type FetchingProgressMessage = {
|
|
|
10
10
|
packageId: string;
|
|
11
11
|
status: 'in_progress';
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type FetchingProgressLog = {
|
|
14
14
|
name: 'pnpm:fetching-progress';
|
|
15
15
|
} & LogBase & FetchingProgressMessage;
|
package/lib/hookLogger.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
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
|
|
3
|
+
export 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/lifecycleLogger.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LogBase } from '@pnpm/logger';
|
|
2
2
|
export declare const lifecycleLogger: import("@pnpm/logger").Logger<LifecycleMessage>;
|
|
3
|
-
export
|
|
3
|
+
export type LifecycleMessage = {
|
|
4
4
|
depPath: string;
|
|
5
5
|
stage: string;
|
|
6
6
|
wd: string;
|
|
@@ -14,6 +14,6 @@ export declare type LifecycleMessage = {
|
|
|
14
14
|
script: string;
|
|
15
15
|
optional: boolean;
|
|
16
16
|
});
|
|
17
|
-
export
|
|
17
|
+
export type LifecycleLog = {
|
|
18
18
|
name: 'pnpm:lifecycle';
|
|
19
19
|
} & LogBase & LifecycleMessage;
|
package/lib/linkLogger.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ export declare const packageImportMethodLogger: import("@pnpm/logger").Logger<un
|
|
|
3
3
|
export interface PackageImportMethodMessage {
|
|
4
4
|
method: 'clone' | 'hardlink' | 'copy';
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export type PackageImportMethodLog = {
|
|
7
7
|
name: 'pnpm:package-import-method';
|
|
8
8
|
} & LogBase & PackageImportMethodMessage;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { LogBase } from '@pnpm/logger';
|
|
2
2
|
import { ProjectManifest } from '@pnpm/types';
|
|
3
3
|
export declare const packageManifestLogger: import("@pnpm/logger").Logger<PackageManifestMessage>;
|
|
4
|
-
export
|
|
4
|
+
export type PackageManifestMessage = {
|
|
5
5
|
prefix: string;
|
|
6
6
|
} & ({
|
|
7
7
|
initial: ProjectManifest;
|
|
8
8
|
} | {
|
|
9
9
|
updated: ProjectManifest;
|
|
10
10
|
});
|
|
11
|
-
export
|
|
11
|
+
export type PackageManifestLog = {
|
|
12
12
|
name: 'pnpm:package-manifest';
|
|
13
13
|
} & LogBase & PackageManifestMessage;
|
|
@@ -4,6 +4,6 @@ export declare const peerDependencyIssuesLogger: Logger<PeerDependencyIssuesMess
|
|
|
4
4
|
export interface PeerDependencyIssuesMessage {
|
|
5
5
|
issuesByProjects: PeerDependencyIssuesByProjects;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type PeerDependencyIssuesLog = {
|
|
8
8
|
name: 'pnpm:peer-dependency-issues';
|
|
9
9
|
} & LogBase & PeerDependencyIssuesMessage;
|
package/lib/progressLogger.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LogBase, Logger } from '@pnpm/logger';
|
|
2
2
|
export declare const progressLogger: Logger<ProgressMessage>;
|
|
3
|
-
export
|
|
3
|
+
export type ProgressMessage = {
|
|
4
4
|
packageId: string;
|
|
5
5
|
requester: string;
|
|
6
6
|
status: 'fetched' | 'found_in_store' | 'resolved';
|
|
@@ -10,6 +10,6 @@ export declare type ProgressMessage = {
|
|
|
10
10
|
requester: string;
|
|
11
11
|
to: string;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type ProgressLog = {
|
|
14
14
|
name: 'pnpm:progress';
|
|
15
15
|
} & LogBase & ProgressMessage;
|
package/lib/registryLogger.d.ts
CHANGED
package/lib/rootLogger.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LogBase } from '@pnpm/logger';
|
|
2
2
|
export declare const rootLogger: import("@pnpm/logger").Logger<RootMessage>;
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type DependencyType = 'prod' | 'dev' | 'optional';
|
|
4
|
+
export type RootMessage = {
|
|
5
5
|
prefix: string;
|
|
6
6
|
} & ({
|
|
7
7
|
added: {
|
|
@@ -20,6 +20,6 @@ export declare type RootMessage = {
|
|
|
20
20
|
dependencyType?: DependencyType;
|
|
21
21
|
};
|
|
22
22
|
});
|
|
23
|
-
export
|
|
23
|
+
export type RootLog = {
|
|
24
24
|
name: 'pnpm:root';
|
|
25
25
|
} & LogBase & RootMessage;
|
package/lib/scopeLogger.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LogBase } from '@pnpm/logger';
|
|
2
2
|
export declare const skippedOptionalDependencyLogger: import("@pnpm/logger").Logger<SkippedOptionalDependencyMessage>;
|
|
3
|
-
export
|
|
3
|
+
export type SkippedOptionalDependencyLog = {
|
|
4
4
|
name: 'pnpm:skipped-optional-dependency';
|
|
5
5
|
} & LogBase & SkippedOptionalDependencyMessage;
|
|
6
|
-
export
|
|
6
|
+
export type SkippedOptionalDependencyMessage = {
|
|
7
7
|
details?: string;
|
|
8
8
|
parents?: Array<{
|
|
9
9
|
id: string;
|
package/lib/stageLogger.d.ts
CHANGED
package/lib/statsLogger.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LogBase } from '@pnpm/logger';
|
|
2
2
|
export declare const statsLogger: import("@pnpm/logger").Logger<StatsMessage>;
|
|
3
|
-
export
|
|
3
|
+
export type StatsMessage = {
|
|
4
4
|
prefix: string;
|
|
5
5
|
} & ({
|
|
6
6
|
added: number;
|
|
7
7
|
} | {
|
|
8
8
|
removed: number;
|
|
9
9
|
});
|
|
10
|
-
export
|
|
10
|
+
export type StatsLog = {
|
|
11
11
|
name: 'pnpm:stats';
|
|
12
12
|
} & LogBase & StatsMessage;
|
package/lib/summaryLogger.d.ts
CHANGED
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": "8.0.
|
|
4
|
+
"version": "8.0.3",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/pnpm/pnpm/issues"
|
|
7
7
|
},
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@pnpm/logger": "^5.0.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@pnpm/core-loggers": "8.0.
|
|
18
|
+
"@pnpm/core-loggers": "8.0.3"
|
|
19
19
|
},
|
|
20
20
|
"directories": {
|
|
21
21
|
"test": "test"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/core-loggers",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@pnpm/types": "8.
|
|
32
|
+
"@pnpm/types": "8.10.0"
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/core-loggers#readme",
|
|
35
35
|
"funding": "https://opencollective.com/pnpm",
|