Skip to content

Commit b931f8c

Browse files
authored
chore: use workspace refs for workspace deps (#12018)
1 parent 1f17a79 commit b931f8c

File tree

11 files changed

+96
-158
lines changed

11 files changed

+96
-158
lines changed

packages/eslint-plugin/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@
5959
},
6060
"dependencies": {
6161
"@eslint-community/regexpp": "^4.12.2",
62-
"@typescript-eslint/scope-manager": "8.54.0",
63-
"@typescript-eslint/type-utils": "8.54.0",
64-
"@typescript-eslint/utils": "8.54.0",
65-
"@typescript-eslint/visitor-keys": "8.54.0",
62+
"@typescript-eslint/scope-manager": "workspace:*",
63+
"@typescript-eslint/type-utils": "workspace:*",
64+
"@typescript-eslint/utils": "workspace:*",
65+
"@typescript-eslint/visitor-keys": "workspace:*",
6666
"ignore": "^7.0.5",
6767
"natural-compare": "^1.4.0",
6868
"ts-api-utils": "^2.4.0"
@@ -92,7 +92,7 @@
9292
"vitest": "^3.2.4"
9393
},
9494
"peerDependencies": {
95-
"@typescript-eslint/parser": "^8.54.0",
95+
"@typescript-eslint/parser": "workspace:^",
9696
"eslint": "^8.57.0 || ^9.0.0",
9797
"typescript": ">=4.8.4 <6.0.0"
9898
},

packages/parser/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@
5151
"typescript": ">=4.8.4 <6.0.0"
5252
},
5353
"dependencies": {
54-
"@typescript-eslint/scope-manager": "8.54.0",
55-
"@typescript-eslint/types": "8.54.0",
56-
"@typescript-eslint/typescript-estree": "8.54.0",
57-
"@typescript-eslint/visitor-keys": "8.54.0",
54+
"@typescript-eslint/scope-manager": "workspace:*",
55+
"@typescript-eslint/types": "workspace:*",
56+
"@typescript-eslint/typescript-estree": "workspace:*",
57+
"@typescript-eslint/visitor-keys": "workspace:*",
5858
"debug": "^4.4.3"
5959
},
6060
"devDependencies": {

packages/rule-schema-to-typescript-types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"typecheck": "pnpm -w exec nx typecheck"
3333
},
3434
"dependencies": {
35-
"@typescript-eslint/type-utils": "8.54.0",
36-
"@typescript-eslint/utils": "8.54.0",
35+
"@typescript-eslint/type-utils": "workspace:*",
36+
"@typescript-eslint/utils": "workspace:*",
3737
"natural-compare": "^1.4.0"
3838
},
3939
"devDependencies": {

packages/rule-tester/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
},
4545
"//": "NOTE - AJV is out-of-date, but it's intentionally synced with ESLint - https://github.com/eslint/eslint/blob/ad9dd6a933fd098a0d99c6a9aa059850535c23ee/package.json#L70",
4646
"dependencies": {
47-
"@typescript-eslint/parser": "8.54.0",
48-
"@typescript-eslint/typescript-estree": "8.54.0",
49-
"@typescript-eslint/utils": "8.54.0",
47+
"@typescript-eslint/parser": "workspace:*",
48+
"@typescript-eslint/typescript-estree": "workspace:*",
49+
"@typescript-eslint/utils": "workspace:*",
5050
"ajv": "^6.12.6",
5151
"json-stable-stringify-without-jsonify": "^1.0.1",
5252
"lodash.merge": "4.6.2",

packages/scope-manager/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@
4747
"typecheck": "pnpm -w exec nx typecheck"
4848
},
4949
"dependencies": {
50-
"@typescript-eslint/types": "8.54.0",
51-
"@typescript-eslint/visitor-keys": "8.54.0"
50+
"@typescript-eslint/types": "workspace:*",
51+
"@typescript-eslint/visitor-keys": "workspace:*"
5252
},
5353
"devDependencies": {
54-
"@typescript-eslint/typescript-estree": "8.54.0",
54+
"@typescript-eslint/typescript-estree": "workspace:*",
5555
"@vitest/coverage-v8": "^3.2.4",
5656
"@vitest/pretty-format": "^3.2.4",
5757
"eslint": "*",

packages/type-utils/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
"typecheck": "pnpm -w exec nx typecheck"
4545
},
4646
"dependencies": {
47-
"@typescript-eslint/types": "8.54.0",
48-
"@typescript-eslint/typescript-estree": "8.54.0",
49-
"@typescript-eslint/utils": "8.54.0",
47+
"@typescript-eslint/types": "workspace:*",
48+
"@typescript-eslint/typescript-estree": "workspace:*",
49+
"@typescript-eslint/utils": "workspace:*",
5050
"debug": "^4.4.3",
5151
"ts-api-utils": "^2.4.0"
5252
},

packages/typescript-eslint/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
"typecheck": "pnpm -w exec nx typecheck"
5151
},
5252
"dependencies": {
53-
"@typescript-eslint/eslint-plugin": "8.54.0",
54-
"@typescript-eslint/parser": "8.54.0",
55-
"@typescript-eslint/typescript-estree": "8.54.0",
56-
"@typescript-eslint/utils": "8.54.0"
53+
"@typescript-eslint/eslint-plugin": "workspace:*",
54+
"@typescript-eslint/parser": "workspace:*",
55+
"@typescript-eslint/typescript-estree": "workspace:*",
56+
"@typescript-eslint/utils": "workspace:*"
5757
},
5858
"peerDependencies": {
5959
"eslint": "^8.57.0 || ^9.0.0",

packages/typescript-estree/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@
5252
"typecheck": "pnpm -w exec nx typecheck"
5353
},
5454
"dependencies": {
55-
"@typescript-eslint/project-service": "8.54.0",
56-
"@typescript-eslint/tsconfig-utils": "8.54.0",
57-
"@typescript-eslint/types": "8.54.0",
58-
"@typescript-eslint/visitor-keys": "8.54.0",
55+
"@typescript-eslint/project-service": "workspace:*",
56+
"@typescript-eslint/tsconfig-utils": "workspace:*",
57+
"@typescript-eslint/types": "workspace:*",
58+
"@typescript-eslint/visitor-keys": "workspace:*",
5959
"debug": "^4.4.3",
6060
"minimatch": "^9.0.5",
6161
"semver": "^7.7.3",

packages/utils/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
},
6363
"dependencies": {
6464
"@eslint-community/eslint-utils": "^4.9.1",
65-
"@typescript-eslint/scope-manager": "8.54.0",
66-
"@typescript-eslint/types": "8.54.0",
67-
"@typescript-eslint/typescript-estree": "8.54.0"
65+
"@typescript-eslint/scope-manager": "workspace:*",
66+
"@typescript-eslint/types": "workspace:*",
67+
"@typescript-eslint/typescript-estree": "workspace:*"
6868
},
6969
"peerDependencies": {
7070
"eslint": "^8.57.0 || ^9.0.0",

packages/visitor-keys/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"typecheck": "pnpm -w exec nx typecheck"
4646
},
4747
"dependencies": {
48-
"@typescript-eslint/types": "8.54.0",
48+
"@typescript-eslint/types": "workspace:*",
4949
"eslint-visitor-keys": "^4.2.1"
5050
},
5151
"devDependencies": {

0 commit comments

Comments
 (0)