@typescript-eslint/project-service 8.59.4-alpha.2 → 8.59.4-alpha.4

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.
@@ -8,7 +8,7 @@ function getParsedConfigFileFromTSServer(tsserver, defaultProject, throwOnFailur
8
8
  }
9
9
  catch (error) {
10
10
  if (throwOnFailure) {
11
- throw new Error(`Could not read Project Service default project '${defaultProject}': ${error.message}`);
11
+ throw new Error(`Could not read Project Service default project '${defaultProject}': ${error.message}`, { cause: error });
12
12
  }
13
13
  }
14
14
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/project-service",
3
- "version": "8.59.4-alpha.2",
3
+ "version": "8.59.4-alpha.4",
4
4
  "description": "Standalone TypeScript project service wrapper for linting.",
5
5
  "files": [
6
6
  "dist",
@@ -41,8 +41,8 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "debug": "^4.4.3",
44
- "@typescript-eslint/tsconfig-utils": "^8.59.4-alpha.2",
45
- "@typescript-eslint/types": "^8.59.4-alpha.2"
44
+ "@typescript-eslint/tsconfig-utils": "^8.59.4-alpha.4",
45
+ "@typescript-eslint/types": "^8.59.4-alpha.4"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@vitest/coverage-v8": "^4.0.18",
@@ -61,7 +61,12 @@
61
61
  "name": "project-service",
62
62
  "includedScripts": [
63
63
  "clean"
64
- ]
64
+ ],
65
+ "targets": {
66
+ "lint": {
67
+ "command": "eslint"
68
+ }
69
+ }
65
70
  },
66
71
  "scripts": {
67
72
  "//": "These package scripts are mostly here for convenience. Task running is handled by Nx at the root level.",