Skip to content

Commit 19a2b61

Browse files
chore(deps): take #26556's dev-dependency bumps, minus focus-scope and playwright (#27072)
<!-- claude-projects-attribution: {"github_login":"os-tesla"} --> _Requested by **Tesla** · [project thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoPj8AEeY2Kbt35GAb4BGUDJ)_ Supersedes #26556 (Dependabot's development-dependencies group, red on Test UI). ## 维护者速读 - **改了什么:** 把 Dependabot #26556 里的开发依赖升级在当前 main 上重做一遍(eslint、typescript-eslint、turbo、@types/node、vite-plugin-dts、react-router-dom 等),只动 devDependencies 和 lockfile。另外改了两处脚手架模板的版本号,并在 dependabot.yml 加了 ignore。 - **为什么改:** 常规工具链保鲜。#26556 原样合会出两个问题:一是让「弹窗里的查找下拉框无法搜索」那个补丁失效(focus-scope 补丁只认 1.1.16);二是 lockfile 里出现两份 react-router 和两份 playwright-core。所以这两个包这次不升。 - **风险与回滚:** 不改任何运行时代码,生产依赖一个没动。最大的风险是开发工具小版本的行为变化,CI 全量 65 项已经覆盖。回滚就是 revert 本 PR。 - **先看:** `.github/dependabot.yml` 新增的 ignore 和注释;`ui/packages/cli/src/utils/app-generator.ts`、`ui/packages/create-plugin/src/templates.ts` 各改一个版本号。 - **两分钟验证:** 在仓根跑 `pnpm install --frozen-lockfile`,再跑 `pnpm --dir ui run check:lockfile-integrity --base-ref origin/main`,应输出 `VERDICT clean`。 - **需要你做的:** 无。席位复核通过后经合并队列落地。 - **席位意见:** ACCEPT。focus-scope 和 playwright 留待手动升级,dependabot 不会再自动提出这两个包。 ## What changes Re-applies #26556's dev-dependency bumps on current `main`, minus two packages, with the repairs its red shards asked for: | | | |---|---| | taken | `@types/node` 26.6.5, `@typescript-eslint/parser` / `typescript-eslint` 8.72, `eslint` 10.13, `svelte` range ^5.57.2 (the root override keeps it on 5.57.1), `turbo` 2.11.10, `mysql2` 3.24.6, `pg` 8.23.1, `@testing-library/dom` 10.4.2, `@testing-library/user-event` 14.6.8, `axe-core` 4.14, `concurrently` 10.0.6, `eslint-plugin-react-refresh` 0.5.7, `globals` 17.13, `react-router-dom` 7.18 (resolves 7.18.5), `typedoc-plugin-markdown` 4.14, `vite-plugin-dts` 5.1, `react-grid-layout` 2.3, `@types/vscode` 1.140 | | held | `@radix-ui/react-focus-scope` (stays 1.1.16), `playwright` / `@playwright/test` (stay on their ranges, resolving 1.63.0) | - **focus-scope held.** `pnpm-workspace.yaml` patches `@radix-ui/react-focus-scope@1.1.16` exactly: the focus-trap race fix that keeps a lookup popover's search input focusable inside a Dialog. #26556's 1.3.1 ships unpatched, and `ui/packages/components/src/__tests__/dialog-popover-focus-scope.test.tsx` fails on it (Test UI 4/16 there). - **playwright held.** `service-print` and `dogfood` pin `playwright-core` 1.63.0 exactly, matched to the container's chromium build. Bumping the two ranges alone forks `playwright-core` into two copies, which `check:lockfile-integrity` (now in Type Check UI) refuses. - **Lockfile deduped.** The peer-resolved copies of `react-router-dom` (plugin-detail, plugin-designer), `mysql2` and `pg` stayed on the old versions after the relock. The second `react-router` copy is what nulled the router context in `RecordDetailView.recordOpenWaves-13010.test.tsx` (Test UI 15/16 there). `pnpm dedupe` removed only those old copies. - **Scaffold ranges follow the workspace** (Test UI 10/16 and 14/16 there): `@object-ui/cli`'s routed app declares `react-router-dom` `^7.18.4`, and `@object-ui/create-plugin`'s plugin declares `vite-plugin-dts` `^5.1.2`. Changeset `26556-scaffold-dev-ranges.md`, patch. - **`.github/dependabot.yml` ignores** focus-scope and the playwright trio, each with the reason and the by-hand route, so the next group PR does not bring them back. (`dependabot.yml` is not a governed surface; `.github/workflows/**` is untouched.) ## Why Routine dev-toolchain freshness, without the two bumps that would regress a patched production fix and fork the browser driver. ## Verification At head `bb513d428e`, on `main` 3230bdb: - `pnpm install --frozen-lockfile`: exit 0. - `pnpm --dir ui run check:lockfile-integrity --base-ref origin/main`: `VERDICT clean — no package gained a copy.` - The four tests that were red on #26556, run together from `ui/`: 4 files, 88 tests passed (`dialog-popover-focus-scope`, `RecordDetailView.recordOpenWaves-13010`, `create-plugin templates`, `cli app-generator`). Before the dedupe, `RecordDetailView.recordOpenWaves-13010` reproduced #26556's failure locally (`Cannot destructure property 'basename'`, two `react-router` copies). - The full suites run in CI on this PR. Clause-②: no Metadata-protocol: none ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (no schema change) - [x] 2. Every name I added uses the casing for its kind. - [x] 3. No formatter ran; `pnpm lint` passes. (CI) - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. (only its `@types/node` devDependency moved) - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L9qibwmEPoSR8apWBvbyFj --- _Generated by [Claude Code](https://claude.ai/code/session_01L9qibwmEPoSR8apWBvbyFj)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 76e90df commit 19a2b61

107 files changed

Lines changed: 933 additions & 990 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@object-ui/cli': patch
3+
'@object-ui/create-plugin': patch
4+
---
5+
6+
chore(scaffold): generated apps and plugins declare the dev ranges this repository now builds with
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
The workspace moved `react-router-dom` to `^7.18.4` and `vite-plugin-dts` to `^5.1.2`. A routed app scaffolded by `@object-ui/cli` now declares `react-router-dom` `^7.18.4`, and a plugin scaffolded by `@object-ui/create-plugin` now declares `vite-plugin-dts` `^5.1.2`, so a new project starts on the same versions the in-repo packages are tested on.

‎.github/dependabot.yml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,21 @@ updates:
1010
commit-message:
1111
prefix: "chore(deps)"
1212
include: "scope"
13+
ignore:
14+
# pnpm-workspace.yaml patches this package at one exact version (the
15+
# focus-trap race fix that keeps a lookup popover searchable inside a
16+
# Dialog). A bump leaves the new version unpatched, so move it by hand:
17+
# re-key the patch to the new version and run
18+
# ui/packages/components/src/__tests__/dialog-popover-focus-scope.test.tsx.
19+
- dependency-name: "@radix-ui/react-focus-scope"
20+
# playwright-core is pinned exact (service-print, dogfood) to the chromium
21+
# build the container image ships, and playwright / @playwright/test carry
22+
# their own playwright-core. Bumping only the two ranges forks
23+
# playwright-core into two copies, which check:lockfile-integrity refuses.
24+
# Move all three together, by hand, with the browser build.
25+
- dependency-name: "playwright"
26+
- dependency-name: "@playwright/test"
27+
- dependency-name: "playwright-core"
1328
groups:
1429
# Group all patch and minor updates together
1530
development-dependencies:

‎apps/docs/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@tailwindcss/postcss": "^4.3.3",
3131
"@types/mdx": "^2.0.14",
3232
"@types/negotiator": "^0.6.5",
33-
"@types/node": "^26.6.3",
33+
"@types/node": "^26.6.5",
3434
"@types/react": "^19.2.18",
3535
"@types/react-dom": "^19.2.4",
3636
"negotiator": "^1.1.0",

‎examples/embed-objectql/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@objectstack/spec": "workspace:*"
1616
},
1717
"devDependencies": {
18-
"@types/node": "^26.6.3",
18+
"@types/node": "^26.6.5",
1919
"typescript": "^6.0.3",
2020
"vitest": "^4.1.11"
2121
}

‎package.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,15 +218,15 @@
218218
"license": "Apache-2.0",
219219
"devDependencies": {
220220
"@changesets/cli": "^3.0.3",
221-
"@types/node": "^26.6.3",
222-
"@typescript-eslint/parser": "^8.70.1",
223-
"eslint": "^10.11.0",
221+
"@types/node": "^26.6.5",
222+
"@typescript-eslint/parser": "^8.72.0",
223+
"eslint": "^10.13.0",
224224
"github-slugger": "2.0.0",
225225
"semver": "^7.8.5",
226-
"svelte": "^5.57.1",
226+
"svelte": "^5.57.2",
227227
"tsup": "^8.5.1",
228228
"tsx": "^4.23.15",
229-
"turbo": "^2.11.5",
229+
"turbo": "^2.11.10",
230230
"typescript": "^6.0.3",
231231
"yaml": "^2.9.1"
232232
},

‎packages/apps/account/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@objectstack/spec": "workspace:*"
2929
},
3030
"devDependencies": {
31-
"@types/node": "^26.6.3",
31+
"@types/node": "^26.6.5",
3232
"tsup": "^8.5.1",
3333
"typescript": "^6.0.3",
3434
"vitest": "^4.1.11"

‎packages/apps/setup/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@objectstack/spec": "workspace:*"
2929
},
3030
"devDependencies": {
31-
"@types/node": "^26.6.3",
31+
"@types/node": "^26.6.5",
3232
"tsup": "^8.5.1",
3333
"typescript": "^6.0.3",
3434
"vitest": "^4.1.11"

‎packages/apps/studio/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@objectstack/spec": "workspace:*"
2929
},
3030
"devDependencies": {
31-
"@types/node": "^26.6.3",
31+
"@types/node": "^26.6.5",
3232
"tsup": "^8.5.1",
3333
"typescript": "^6.0.3",
3434
"vitest": "^4.1.11"

‎packages/cli/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
"@objectstack/driver-turso": "workspace:*",
137137
"@objectstack/plugin-dev": "workspace:*",
138138
"@types/better-sqlite3": "^7.6.13",
139-
"@types/node": "^26.6.3",
139+
"@types/node": "^26.6.5",
140140
"typescript": "^6.0.3",
141141
"vitest": "^4.1.11"
142142
},

‎packages/cloud-connection/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"devDependencies": {
3737
"@objectstack/lint": "workspace:*",
3838
"@objectstack/plugin-security": "workspace:*",
39-
"@types/node": "^26.6.3",
39+
"@types/node": "^26.6.5",
4040
"typescript": "^6.0.3",
4141
"vitest": "^4.1.11"
4242
},

0 commit comments

Comments
 (0)