@pnpm/core-loggers 8.0.3 → 9.0.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/LICENSE CHANGED
@@ -1,7 +1,7 @@
1
1
  The MIT License (MIT)
2
2
 
3
3
  Copyright (c) 2015-2016 Rico Sta. Cruz and other contributors
4
- Copyright (c) 2016-2022 Zoltan Kochan and other contributors
4
+ Copyright (c) 2016-2023 Zoltan Kochan and other contributors
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const contextLogger: import("@pnpm/logger").Logger<unknown>;
3
3
  export interface ContextMessage {
4
4
  currentLockfileExists: boolean;
@@ -1,4 +1,4 @@
1
- import { LogBase, Logger } from '@pnpm/logger';
1
+ import { type LogBase, type Logger } from '@pnpm/logger';
2
2
  export declare const deprecationLogger: Logger<DeprecationMessage>;
3
3
  export interface DeprecationMessage {
4
4
  pkgName: string;
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const executionTimeLogger: import("@pnpm/logger").Logger<unknown>;
3
3
  export interface ExecutionTimeMessage {
4
4
  startedAt: number;
@@ -1,4 +1,4 @@
1
- import { LogBase, Logger } from '@pnpm/logger';
1
+ import { type LogBase, type Logger } from '@pnpm/logger';
2
2
  export declare const fetchingProgressLogger: Logger<FetchingProgressMessage>;
3
3
  export type FetchingProgressMessage = {
4
4
  attempt: number;
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const hookLogger: import("@pnpm/logger").Logger<unknown>;
3
3
  export interface HookMessage {
4
4
  from: string;
package/lib/index.d.ts CHANGED
@@ -1,3 +1,3 @@
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';
1
+ import { type ContextLog, type DeprecationLog, type FetchingProgressLog, type ExecutionTimeLog, type HookLog, type InstallCheckLog, type LifecycleLog, type LinkLog, type PackageImportMethodLog, type PackageManifestLog, type PeerDependencyIssuesLog, type ProgressLog, type RegistryLog, type RequestRetryLog, type RootLog, type ScopeLog, type SkippedOptionalDependencyLog, type StageLog, type StatsLog, type SummaryLog, type UpdateCheckLog } from './all';
2
2
  export * from './all';
3
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;
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const installCheckLogger: import("@pnpm/logger").Logger<InstallCheckMessage>;
3
3
  export interface InstallCheckMessage {
4
4
  code: string;
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const lifecycleLogger: import("@pnpm/logger").Logger<LifecycleMessage>;
3
3
  export type LifecycleMessage = {
4
4
  depPath: string;
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const linkLogger: import("@pnpm/logger").Logger<LinkMessage>;
3
3
  export interface LinkMessage {
4
4
  target: string;
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const packageImportMethodLogger: import("@pnpm/logger").Logger<unknown>;
3
3
  export interface PackageImportMethodMessage {
4
4
  method: 'clone' | 'hardlink' | 'copy';
@@ -1,5 +1,5 @@
1
- import { LogBase } from '@pnpm/logger';
2
- import { ProjectManifest } from '@pnpm/types';
1
+ import { type LogBase } from '@pnpm/logger';
2
+ import { type ProjectManifest } from '@pnpm/types';
3
3
  export declare const packageManifestLogger: import("@pnpm/logger").Logger<PackageManifestMessage>;
4
4
  export type PackageManifestMessage = {
5
5
  prefix: string;
@@ -1,5 +1,5 @@
1
- import { LogBase, Logger } from '@pnpm/logger';
2
- import { PeerDependencyIssuesByProjects } from '@pnpm/types';
1
+ import { type LogBase, type Logger } from '@pnpm/logger';
2
+ import { type PeerDependencyIssuesByProjects } from '@pnpm/types';
3
3
  export declare const peerDependencyIssuesLogger: Logger<PeerDependencyIssuesMessage>;
4
4
  export interface PeerDependencyIssuesMessage {
5
5
  issuesByProjects: PeerDependencyIssuesByProjects;
@@ -1,4 +1,4 @@
1
- import { LogBase, Logger } from '@pnpm/logger';
1
+ import { type LogBase, type Logger } from '@pnpm/logger';
2
2
  export declare const progressLogger: Logger<ProgressMessage>;
3
3
  export type ProgressMessage = {
4
4
  packageId: string;
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export type RegistryLog = {
3
3
  name: 'pnpm:registry';
4
4
  } & LogBase & {
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const requestRetryLogger: import("@pnpm/logger").Logger<RequestRetryMessage>;
3
3
  export interface RequestRetryMessage {
4
4
  attempt: number;
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const rootLogger: import("@pnpm/logger").Logger<RootMessage>;
3
3
  export type DependencyType = 'prod' | 'dev' | 'optional';
4
4
  export type RootMessage = {
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const scopeLogger: import("@pnpm/logger").Logger<ScopeMessage>;
3
3
  export interface ScopeMessage {
4
4
  selected: number;
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const skippedOptionalDependencyLogger: import("@pnpm/logger").Logger<SkippedOptionalDependencyMessage>;
3
3
  export type SkippedOptionalDependencyLog = {
4
4
  name: 'pnpm:skipped-optional-dependency';
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const stageLogger: import("@pnpm/logger").Logger<StageMessage>;
3
3
  export interface StageMessage {
4
4
  prefix: string;
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const statsLogger: import("@pnpm/logger").Logger<StatsMessage>;
3
3
  export type StatsMessage = {
4
4
  prefix: string;
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const summaryLogger: import("@pnpm/logger").Logger<SummaryMessage>;
3
3
  export interface SummaryMessage {
4
4
  prefix: string;
@@ -1,4 +1,4 @@
1
- import { LogBase } from '@pnpm/logger';
1
+ import { type LogBase } from '@pnpm/logger';
2
2
  export declare const updateCheckLogger: import("@pnpm/logger").Logger<unknown>;
3
3
  export interface UpdateCheckMessage {
4
4
  currentVersion: string;
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.3",
4
+ "version": "9.0.0",
5
5
  "bugs": {
6
6
  "url": "https://github.com/pnpm/pnpm/issues"
7
7
  },
@@ -15,21 +15,21 @@
15
15
  "@pnpm/logger": "^5.0.0"
16
16
  },
17
17
  "devDependencies": {
18
- "@pnpm/core-loggers": "8.0.3"
18
+ "@pnpm/core-loggers": "9.0.0"
19
19
  },
20
20
  "directories": {
21
21
  "test": "test"
22
22
  },
23
23
  "keywords": [
24
- "pnpm7"
24
+ "pnpm8"
25
25
  ],
26
26
  "license": "MIT",
27
27
  "engines": {
28
- "node": ">=14.6"
28
+ "node": ">=16.14"
29
29
  },
30
30
  "repository": "https://github.com/pnpm/pnpm/blob/main/packages/core-loggers",
31
31
  "dependencies": {
32
- "@pnpm/types": "8.10.0"
32
+ "@pnpm/types": "9.0.0"
33
33
  },
34
34
  "homepage": "https://github.com/pnpm/pnpm/blob/main/packages/core-loggers#readme",
35
35
  "funding": "https://opencollective.com/pnpm",
@@ -39,7 +39,7 @@
39
39
  "scripts": {
40
40
  "start": "tsc --watch",
41
41
  "test": "pnpm run compile",
42
- "lint": "eslint src/**/*.ts",
42
+ "lint": "eslint \"src/**/*.ts\"",
43
43
  "compile": "tsc --build && pnpm run lint --fix"
44
44
  }
45
45
  }