Skip to content

Commit 67b528f

Browse files
mimecuvaloclaude
andauthored
chore: resolve valid dependency peer warnings (tldraw#9303)
In order to quiet the valid peer-dependency warnings emitted during `yarn install`, this PR fixes the three cases where one of our own workspaces was genuinely missing or under-pinning a required dependency. The remaining install warnings (React 19 / Vite 8 peer-range lag in `next-mdx-remote-client`, `react-helmet-async`, `@clerk/clerk-react`, `vite-plugin-vue-devtools`, plus `mcp-app`'s unused `ai`/`rollup` peers and `mermaid`'s library-level `react-dom` peer) are upstream conservatism or transitively satisfied, and are intentionally left as-is. What changed: - Bump `oxlint-tsgolint` `^0.18.0` → `^0.23.0` so it satisfies `oxlint@1.66.0`'s `>=0.22.1` request. - Add `vitest` to `internal/config`, the non-optional peer of `vitest-canvas-mock`. - Add `expect-webdriverio` and its follow-on peer `@wdio/logger` to `apps/examples`, the non-optional peers of `@wdio/globals` (the rest of the wdio device-test stack was already present). ### Change type - [x] `other` ### Test plan 1. Run `yarn install`. 2. Confirm the `oxlint-tsgolint`, `config`/`vitest`, and `examples`/`expect-webdriverio` warnings no longer appear in post-resolution validation. ### Code changes | Section | LOC change | | -------------- | ---------- | | Apps | +2 / -0 | | Config/tooling | +62 / -35 | --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 536aeee commit 67b528f

6 files changed

Lines changed: 50 additions & 44 deletions

File tree

apps/dotcom/client/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["DOM", "DOM.Iterable", "ESNext"],
4+
"target": "esnext",
45
"allowJs": true,
56
"skipLibCheck": true,
67
"strict": true,
@@ -14,7 +15,6 @@
1415
"jsx": "preserve",
1516
"jsxImportSource": "react",
1617
"incremental": true,
17-
"downlevelIteration": true,
1818
"experimentalDecorators": true,
1919
"types": ["vitest/globals"]
2020
},

apps/examples/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,12 @@
8787
"@wdio/cli": "^9.0.0",
8888
"@wdio/globals": "^9.0.0",
8989
"@wdio/local-runner": "^9.0.0",
90+
"@wdio/logger": "^9.0.0",
9091
"@wdio/mocha-framework": "^9.0.0",
9192
"@wdio/spec-reporter": "^9.0.0",
9293
"@wdio/types": "^9.0.0",
9394
"dotenv": "^16.4.7",
95+
"expect-webdriverio": "^5.6.8",
9496
"remark": "^15.0.1",
9597
"remark-frontmatter": "^5.0.0",
9698
"remark-html": "^16.0.1",

internal/apps-script/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["DOM", "DOM.Iterable", "ESNext"],
4+
"target": "esnext",
45
"allowJs": true,
56
"skipLibCheck": true,
67
"strict": true,
@@ -13,7 +14,6 @@
1314
"isolatedModules": true,
1415
"jsx": "preserve",
1516
"incremental": true,
16-
"downlevelIteration": true,
1717
"plugins": [{ "name": "next" }]
1818
},
1919
"include": ["**/*.ts", "**/*.tsx"],

internal/config/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"@peculiar/webcrypto": "^1.5.0",
1010
"jest-matcher-utils": "^30.0.5",
1111
"lazyrepo": "0.0.0-alpha.27",
12+
"vitest": "^4.1.7",
1213
"vitest-canvas-mock": "^1.1.3"
1314
}
1415
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"open-cli": "^8.0.0",
126126
"oxfmt": "^0.41.0",
127127
"oxlint": "^1.66.0",
128-
"oxlint-tsgolint": "^0.18.0",
128+
"oxlint-tsgolint": "^0.23.0",
129129
"rimraf": "^4.4.1",
130130
"tsx": "^4.19.2",
131131
"typescript": "^5.8.3",

yarn.lock

Lines changed: 44 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -7538,44 +7538,44 @@ __metadata:
75387538
languageName: node
75397539
linkType: hard
75407540

7541-
"@oxlint-tsgolint/darwin-arm64@npm:0.18.1":
7542-
version: 0.18.1
7543-
resolution: "@oxlint-tsgolint/darwin-arm64@npm:0.18.1"
7541+
"@oxlint-tsgolint/darwin-arm64@npm:0.23.0":
7542+
version: 0.23.0
7543+
resolution: "@oxlint-tsgolint/darwin-arm64@npm:0.23.0"
75447544
conditions: os=darwin & cpu=arm64
75457545
languageName: node
75467546
linkType: hard
75477547

7548-
"@oxlint-tsgolint/darwin-x64@npm:0.18.1":
7549-
version: 0.18.1
7550-
resolution: "@oxlint-tsgolint/darwin-x64@npm:0.18.1"
7548+
"@oxlint-tsgolint/darwin-x64@npm:0.23.0":
7549+
version: 0.23.0
7550+
resolution: "@oxlint-tsgolint/darwin-x64@npm:0.23.0"
75517551
conditions: os=darwin & cpu=x64
75527552
languageName: node
75537553
linkType: hard
75547554

7555-
"@oxlint-tsgolint/linux-arm64@npm:0.18.1":
7556-
version: 0.18.1
7557-
resolution: "@oxlint-tsgolint/linux-arm64@npm:0.18.1"
7555+
"@oxlint-tsgolint/linux-arm64@npm:0.23.0":
7556+
version: 0.23.0
7557+
resolution: "@oxlint-tsgolint/linux-arm64@npm:0.23.0"
75587558
conditions: os=linux & cpu=arm64
75597559
languageName: node
75607560
linkType: hard
75617561

7562-
"@oxlint-tsgolint/linux-x64@npm:0.18.1":
7563-
version: 0.18.1
7564-
resolution: "@oxlint-tsgolint/linux-x64@npm:0.18.1"
7562+
"@oxlint-tsgolint/linux-x64@npm:0.23.0":
7563+
version: 0.23.0
7564+
resolution: "@oxlint-tsgolint/linux-x64@npm:0.23.0"
75657565
conditions: os=linux & cpu=x64
75667566
languageName: node
75677567
linkType: hard
75687568

7569-
"@oxlint-tsgolint/win32-arm64@npm:0.18.1":
7570-
version: 0.18.1
7571-
resolution: "@oxlint-tsgolint/win32-arm64@npm:0.18.1"
7569+
"@oxlint-tsgolint/win32-arm64@npm:0.23.0":
7570+
version: 0.23.0
7571+
resolution: "@oxlint-tsgolint/win32-arm64@npm:0.23.0"
75727572
conditions: os=win32 & cpu=arm64
75737573
languageName: node
75747574
linkType: hard
75757575

7576-
"@oxlint-tsgolint/win32-x64@npm:0.18.1":
7577-
version: 0.18.1
7578-
resolution: "@oxlint-tsgolint/win32-x64@npm:0.18.1"
7576+
"@oxlint-tsgolint/win32-x64@npm:0.23.0":
7577+
version: 0.23.0
7578+
resolution: "@oxlint-tsgolint/win32-x64@npm:0.23.0"
75797579
conditions: os=win32 & cpu=x64
75807580
languageName: node
75817581
linkType: hard
@@ -11966,7 +11966,7 @@ __metadata:
1196611966
open-cli: "npm:^8.0.0"
1196711967
oxfmt: "npm:^0.41.0"
1196811968
oxlint: "npm:^1.66.0"
11969-
oxlint-tsgolint: "npm:^0.18.0"
11969+
oxlint-tsgolint: "npm:^0.23.0"
1197011970
purgecss: "npm:^5.0.0"
1197111971
rimraf: "npm:^4.4.1"
1197211972
svgo: "npm:^3.3.3"
@@ -14237,7 +14237,7 @@ __metadata:
1423714237
languageName: node
1423814238
linkType: hard
1423914239

14240-
"@vitest/snapshot@npm:^4.0.16":
14240+
"@vitest/snapshot@npm:^4.1.7":
1424114241
version: 4.1.8
1424214242
resolution: "@vitest/snapshot@npm:4.1.8"
1424314243
dependencies:
@@ -14781,7 +14781,7 @@ __metadata:
1478114781
languageName: node
1478214782
linkType: hard
1478314783

14784-
"@wdio/logger@npm:9.18.0, @wdio/logger@npm:^9.18.0":
14784+
"@wdio/logger@npm:9.18.0, @wdio/logger@npm:^9.0.0, @wdio/logger@npm:^9.18.0":
1478514785
version: 9.18.0
1478614786
resolution: "@wdio/logger@npm:9.18.0"
1478714787
dependencies:
@@ -17325,6 +17325,7 @@ __metadata:
1732517325
"@peculiar/webcrypto": "npm:^1.5.0"
1732617326
jest-matcher-utils: "npm:^30.0.5"
1732717327
lazyrepo: "npm:0.0.0-alpha.27"
17328+
vitest: "npm:^4.1.7"
1732817329
vitest-canvas-mock: "npm:^1.1.3"
1732917330
languageName: unknown
1733017331
linkType: soft
@@ -19970,6 +19971,7 @@ __metadata:
1997019971
"@wdio/cli": "npm:^9.0.0"
1997119972
"@wdio/globals": "npm:^9.0.0"
1997219973
"@wdio/local-runner": "npm:^9.0.0"
19974+
"@wdio/logger": "npm:^9.0.0"
1997319975
"@wdio/mocha-framework": "npm:^9.0.0"
1997419976
"@wdio/spec-reporter": "npm:^9.0.0"
1997519977
"@wdio/types": "npm:^9.0.0"
@@ -19979,6 +19981,7 @@ __metadata:
1997919981
classnames: "npm:^2.5.1"
1998019982
d3-geo: "npm:^3.1.1"
1998119983
dotenv: "npm:^16.4.7"
19984+
expect-webdriverio: "npm:^5.6.8"
1998219985
lazyrepo: "npm:0.0.0-alpha.27"
1998319986
lodash: "npm:^4.17.21"
1998419987
mermaid: "npm:11.15.0"
@@ -20094,14 +20097,14 @@ __metadata:
2009420097
languageName: node
2009520098
linkType: hard
2009620099

20097-
"expect-webdriverio@npm:^5.6.5":
20098-
version: 5.6.7
20099-
resolution: "expect-webdriverio@npm:5.6.7"
20100+
"expect-webdriverio@npm:^5.6.5, expect-webdriverio@npm:^5.6.8":
20101+
version: 5.6.8
20102+
resolution: "expect-webdriverio@npm:5.6.8"
2010020103
dependencies:
20101-
"@vitest/snapshot": "npm:^4.0.16"
20104+
"@vitest/snapshot": "npm:^4.1.7"
2010220105
deep-eql: "npm:^5.0.2"
20103-
expect: "npm:^30.2.0"
20104-
jest-matcher-utils: "npm:^30.2.0"
20106+
expect: "npm:^30.4.1"
20107+
jest-matcher-utils: "npm:^30.4.1"
2010520108
peerDependencies:
2010620109
"@wdio/globals": ^9.0.0
2010720110
"@wdio/logger": ^9.0.0
@@ -20113,11 +20116,11 @@ __metadata:
2011320116
optional: false
2011420117
webdriverio:
2011520118
optional: false
20116-
checksum: 10/3caff66f83ae2df74bef143b23925269aae8f25bb1a0718ecc628027bb390876d0b2ea599c45ee337b1b7a115ff2df062fb7892937d98b81ff8395039cad7c62
20119+
checksum: 10/831591aca5b1fb419485be0daceb58bc97c17c16adfd5761cc92ec0f4271fc99b3ba6aaf0b5d7e5106ce5b4cdcfbac4e736f256f8fa004f4a41fd0f094835c26
2011720120
languageName: node
2011820121
linkType: hard
2011920122

20120-
"expect@npm:^30.2.0":
20123+
"expect@npm:^30.4.1":
2012120124
version: 30.4.1
2012220125
resolution: "expect@npm:30.4.1"
2012320126
dependencies:
@@ -22785,7 +22788,7 @@ __metadata:
2278522788
languageName: node
2278622789
linkType: hard
2278722790

22788-
"jest-matcher-utils@npm:30.4.1, jest-matcher-utils@npm:^30.0.5, jest-matcher-utils@npm:^30.2.0":
22791+
"jest-matcher-utils@npm:30.4.1, jest-matcher-utils@npm:^30.0.5, jest-matcher-utils@npm:^30.4.1":
2278922792
version: 30.4.1
2279022793
resolution: "jest-matcher-utils@npm:30.4.1"
2279122794
dependencies:
@@ -26643,16 +26646,16 @@ __metadata:
2664326646
languageName: node
2664426647
linkType: hard
2664526648

26646-
"oxlint-tsgolint@npm:^0.18.0":
26647-
version: 0.18.1
26648-
resolution: "oxlint-tsgolint@npm:0.18.1"
26649-
dependencies:
26650-
"@oxlint-tsgolint/darwin-arm64": "npm:0.18.1"
26651-
"@oxlint-tsgolint/darwin-x64": "npm:0.18.1"
26652-
"@oxlint-tsgolint/linux-arm64": "npm:0.18.1"
26653-
"@oxlint-tsgolint/linux-x64": "npm:0.18.1"
26654-
"@oxlint-tsgolint/win32-arm64": "npm:0.18.1"
26655-
"@oxlint-tsgolint/win32-x64": "npm:0.18.1"
26649+
"oxlint-tsgolint@npm:^0.23.0":
26650+
version: 0.23.0
26651+
resolution: "oxlint-tsgolint@npm:0.23.0"
26652+
dependencies:
26653+
"@oxlint-tsgolint/darwin-arm64": "npm:0.23.0"
26654+
"@oxlint-tsgolint/darwin-x64": "npm:0.23.0"
26655+
"@oxlint-tsgolint/linux-arm64": "npm:0.23.0"
26656+
"@oxlint-tsgolint/linux-x64": "npm:0.23.0"
26657+
"@oxlint-tsgolint/win32-arm64": "npm:0.23.0"
26658+
"@oxlint-tsgolint/win32-x64": "npm:0.23.0"
2665626659
dependenciesMeta:
2665726660
"@oxlint-tsgolint/darwin-arm64":
2665826661
optional: true
@@ -26668,7 +26671,7 @@ __metadata:
2666826671
optional: true
2666926672
bin:
2667026673
tsgolint: bin/tsgolint.js
26671-
checksum: 10/48a51f5d619b8a4a7b3eee5fff2b5ac6e2ed6cc06b825d13ee860cd870ea3221af1ca0874253cb908a64dbd85be717b5fa3503d2ec6cf0e211c3d81c0a93cd5c
26674+
checksum: 10/7f4d61fbdedbce703ac61278f060f4717e061afe5a5fadece5253fd50c333a676366bdd35895b2f464c5d5640bf2cd6b017b259fd1b5d777d154cd307aa3ba22
2667226675
languageName: node
2667326676
linkType: hard
2667426677

0 commit comments

Comments
 (0)