@pnpm/cli.commands 1000.0.0 → 1100.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/lib/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export { createCompletionServer } from './completion/completionServer.js';
2
2
  export * as generateCompletion from './completion/generateCompletion.js';
3
- export { doctor } from './doctor/index.js';
package/lib/index.js CHANGED
@@ -1,4 +1,3 @@
1
1
  export { createCompletionServer } from './completion/completionServer.js';
2
2
  export * as generateCompletion from './completion/generateCompletion.js';
3
- export { doctor } from './doctor/index.js';
4
3
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/cli.commands",
3
- "version": "1000.0.0",
3
+ "version": "1100.0.0",
4
4
  "description": "Commands for pnpm CLI",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -29,23 +29,23 @@
29
29
  "ramda": "npm:@pnpm/ramda@0.28.1",
30
30
  "render-help": "^2.0.0",
31
31
  "split-cmd": "^1.1.0",
32
- "@pnpm/cli.command": "^1000.0.0",
33
- "@pnpm/cli.utils": "^1001.2.8",
34
- "@pnpm/error": "^1000.0.5",
35
- "@pnpm/config.reader": "1004.4.2",
36
- "@pnpm/cli.parse-cli-args": "^1000.1.4",
37
- "@pnpm/workspace.root-finder": "^1000.1.3",
38
- "@pnpm/workspace.projects-reader": "^1000.0.43",
39
- "@pnpm/workspace.workspace-manifest-reader": "^1000.2.5"
32
+ "@pnpm/cli.command": "^1100.0.0",
33
+ "@pnpm/cli.parse-cli-args": "^1100.0.0",
34
+ "@pnpm/config.reader": "1100.0.0",
35
+ "@pnpm/cli.utils": "^1100.0.0",
36
+ "@pnpm/workspace.projects-reader": "^1100.0.0",
37
+ "@pnpm/error": "^1100.0.0",
38
+ "@pnpm/workspace.workspace-manifest-reader": "^1100.0.0",
39
+ "@pnpm/workspace.root-finder": "^1100.0.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@pnpm/logger": ">=1001.0.0 <1002.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@jest/globals": "30.0.5",
46
- "@types/ramda": "0.29.12",
47
- "@pnpm/cli.commands": "1000.0.0",
48
- "@pnpm/logger": "1001.0.1"
45
+ "@jest/globals": "30.3.0",
46
+ "@types/ramda": "0.31.1",
47
+ "@pnpm/cli.commands": "1100.0.0",
48
+ "@pnpm/logger": "1100.0.0"
49
49
  },
50
50
  "engines": {
51
51
  "node": ">=22.13"
@@ -55,8 +55,8 @@
55
55
  },
56
56
  "scripts": {
57
57
  "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
58
- "_test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest",
59
- "test": "pnpm run compile && pnpm run _test",
60
- "compile": "tsgo --build && pnpm run lint --fix"
58
+ "test": "pn compile && pn .test",
59
+ "compile": "tsgo --build && pn lint --fix",
60
+ ".test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest"
61
61
  }
62
62
  }
@@ -1,7 +0,0 @@
1
- import type { Config } from '@pnpm/config.reader';
2
- export declare const rcOptionsTypes: typeof cliOptionsTypes;
3
- export declare function cliOptionsTypes(): Record<string, unknown>;
4
- export declare const shorthands: {};
5
- export declare const commandNames: string[];
6
- export declare function help(): string;
7
- export declare function handler(opts: Pick<Config, 'failedToLoadBuiltInConfig'>): Promise<void>;
@@ -1,27 +0,0 @@
1
- import { docsUrl } from '@pnpm/cli.utils';
2
- import { logger } from '@pnpm/logger';
3
- import { renderHelp } from 'render-help';
4
- export const rcOptionsTypes = cliOptionsTypes;
5
- export function cliOptionsTypes() {
6
- return {};
7
- }
8
- export const shorthands = {};
9
- export const commandNames = ['doctor'];
10
- export function help() {
11
- return renderHelp({
12
- description: 'Checks for known common issues.',
13
- url: docsUrl('doctor'),
14
- usages: ['pnpm doctor [options]'],
15
- });
16
- }
17
- export async function handler(opts) {
18
- const { failedToLoadBuiltInConfig } = opts;
19
- if (failedToLoadBuiltInConfig) {
20
- // If true, means loading npm builtin config failed. Then there may have a prefix error, related: https://github.com/pnpm/pnpm/issues/5404
21
- logger.warn({
22
- message: 'Load npm builtin configs failed. If the prefix builtin config does not work, you can use "pnpm config list" to show builtin configs. And then use "pnpm config --global set <key> <value>" to migrate configs from builtin to global.',
23
- prefix: process.cwd(),
24
- });
25
- }
26
- }
27
- //# sourceMappingURL=doctor.js.map
@@ -1,2 +0,0 @@
1
- import * as doctor from './doctor.js';
2
- export { doctor };
@@ -1,3 +0,0 @@
1
- import * as doctor from './doctor.js';
2
- export { doctor };
3
- //# sourceMappingURL=index.js.map