@oclif/core 4.0.0-beta.5 → 4.0.0-beta.6

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.
@@ -277,7 +277,7 @@ class Plugin {
277
277
  throw this.addErrorScope(error, scope);
278
278
  }
279
279
  })))
280
- // eslint-disable-next-line unicorn/no-await-expression-member, unicorn/prefer-native-coercion-functions
280
+ // eslint-disable-next-line unicorn/prefer-native-coercion-functions
281
281
  .filter((f) => Boolean(f))
282
282
  .reduce((commands, [id, c]) => {
283
283
  commands[id] = c;
@@ -297,6 +297,8 @@ class Plugin {
297
297
  scope && `task: ${scope}`,
298
298
  `plugin: ${this.name}`,
299
299
  `root: ${this.root}`,
300
+ ...(err.code ? [`code: ${err.code}`] : []),
301
+ ...(err.message ? [`message: ${err.message}`] : []),
300
302
  'See more details with DEBUG=*',
301
303
  ]).join('\n');
302
304
  return err;
@@ -153,6 +153,7 @@ export declare namespace PJSON {
153
153
  debounce?: number;
154
154
  rollout?: number;
155
155
  };
156
+ disableNpmLookup?: boolean;
156
157
  node: {
157
158
  targets?: string[];
158
159
  version?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "4.0.0-beta.5",
4
+ "version": "4.0.0-beta.6",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {
@@ -47,8 +47,8 @@
47
47
  "commitlint": "^19",
48
48
  "cross-env": "^7.0.3",
49
49
  "eslint": "^8.57.0",
50
- "eslint-config-oclif": "^5.1.1",
51
- "eslint-config-oclif-typescript": "^3.1.4",
50
+ "eslint-config-oclif": "^5.2.0",
51
+ "eslint-config-oclif-typescript": "^3.1.7",
52
52
  "eslint-config-prettier": "^9.1.0",
53
53
  "husky": "^9",
54
54
  "lint-staged": "^15",