chore: update remaining major dev dependencies (vue-i18n 11, TS 6, pinia 4, vue-router 5, stylelint 17, and more)#13756
chore: update remaining major dev dependencies (vue-i18n 11, TS 6, pinia 4, vue-router 5, stylelint 17, and more)#13756DrJKL wants to merge 12 commits into
Conversation
📝 WalkthroughWalkthroughThe changes update active-locale translation checks, staged linting behavior, Stylelint syntax configuration, workspace dependency versions, and several UI/runtime typing and fallback behaviors. ChangesLocale and maintenance updates
Estimated code review effort: 3 (Moderate) | ~20 minutes Suggested reviewers: Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 inconclusive)
✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
🌐 Website E2ETip All tests passed.
|
🎨 Storybook: ✅ Built — View Storybook🎭 Playwright: ✅ 1715 passed, 0 failed · 1 flaky📊 Browser Reports
📦 Bundle: 7.91 MB gzip 🟢 -2.59 kBDetailsSummary
Category Glance App Entry Points — 47.3 kB (baseline 47.3 kB) • ⚪ 0 BMain entry bundles and manifests
Status: 1 added / 1 removed Graph Workspace — 1.25 MB (baseline 1.25 MB) • ⚪ 0 BGraph editor runtime, canvas, workflow orchestration
Status: 1 added / 1 removed Views & Navigation — 109 kB (baseline 109 kB) • ⚪ 0 BTop-level views, pages, and routed surfaces
Status: 14 added / 14 removed Panels & Settings — 550 kB (baseline 550 kB) • 🔴 +8 BConfiguration panels, inspectors, and settings screens
Status: 12 added / 12 removed / 14 unchanged User & Accounts — 29.1 kB (baseline 29.1 kB) • ⚪ 0 BAuthentication, profile, and account management bundles
Status: 9 added / 9 removed / 1 unchanged Editors & Dialogs — 121 kB (baseline 121 kB) • ⚪ 0 BModals, dialogs, drawers, and in-app editors
Status: 6 added / 6 removed UI Components — 56.8 kB (baseline 56.8 kB) • ⚪ 0 BReusable component library chunks
Status: 13 added / 13 removed Data & Services — 270 kB (baseline 270 kB) • ⚪ 0 BStores, services, APIs, and repositories
Status: 16 added / 16 removed Utilities & Hooks — 3.4 MB (baseline 3.4 MB) • ⚪ 0 BHelpers, composables, and utility bundles
Status: 26 added / 26 removed / 10 unchanged Vendor & Third-Party — 15.7 MB (baseline 15.7 MB) • 🟢 -17.6 kBExternal libraries and shared vendor chunks
Status: 7 added / 7 removed / 9 unchanged Other — 11.9 MB (baseline 11.9 MB) • 🔴 +58 BBundles that do not match a named category
Status: 107 added / 107 removed / 56 unchanged ⚡ Performance
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## main #13756 +/- ##
========================================
Coverage 78.34% 78.34%
========================================
Files 1683 1683
Lines 105780 105781 +1
Branches 37404 38070 +666
========================================
+ Hits 82877 82878 +1
+ Misses 22313 22306 -7
- Partials 590 597 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Two-major jump 9.14 -> 11.4.6. App is pure composition API (legacy: false, no $tc/v-t), so no code changes required.
vue-i18n 11's te() consults the fallback locale, which defeated the catalog's raw-API-copy fallback for locales missing a key.
vue-i18n 11 returns the default message verbatim, so t(key, '') renders an empty command cell for commands without a label or translation (v9 fell back to the key text). Default to command.id so the row stays visible and clickable.
TypeScript 7 (native/tsgo) is blocked: vue-tsc crashes on the v7 package layout (ERR_PACKAGE_PATH_NOT_EXPORTED) and typescript-eslint caps its peer range at <6.1.0. 6.0.3 is the last JS-based major and passes the whole toolchain. Cast typegpu's vendored GPUDevice to @webgpu/types' GPUDevice where they disagree on adapterInfo.subgroupMaxSize optionality.
- useCoreCommands.test: build the setting-store mock with fromPartial; pinia 4's Store type gained required internal fields (_p, _hotUpdate, _hmrPayload) that a hand-rolled satisfies mock would have to fake - useChart: hold the Chart instance in a shallowRef; deep-unwrapping chart.js's generics now exceeds TS instantiation depth, and a class instance updated via chart.update() should not be deeply reactive
No code changes required: typecheck, router/view tests, composables sweep (1598 tests), and production build all green.
- selector-max-type now counts type selectors inside :deep(); the WhatsNewPopup markdown selector gets an inline exception (generated content has no class hooks) - migrate deprecated typesSyntax rule option to root languageOptions
Test-environment and type-definition majors; no code changes required. @types/node 25.x matches the repo's node >=25 <26 engines pin.
…s majors unplugin-vue-components 30 -> 32, unplugin-icons 22 -> 23, vite-plugin-dts 4 -> 5. Both the app build and the types bundle (vite.types.config.mts, which exercises unplugin-dts) pass.
vue-i18n 11's te() consults the fallback locale, which broke every raw-fallback path built on the exported te (error catalog raw API copy, st/stRaw custom-node strings, sidebar titles). Wrap the export to preserve the v9 active-locale semantics instead of patching call sites, so existing @/i18n test mocks keep working.
Also fix lint-staged: exclude pnpm-lock.yaml from the oxfmt task — oxfmt's ignore rules drop it and 0.59 errors on zero targets, which made every lockfile-only commit fail the pre-commit hook.
71df03b to
975787b
Compare
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Summary
Follow-up to #13733: all remaining major-version dev-dependency updates in one branch, rebased onto main. Combines the stacked PRs #13737, #13749, #13750, #13752, #13754, and #13755, which this PR supersedes.
Changes
tenow defaults to the active locale (v11 consults the fallback locale, breaking raw-fallback paths; regression test included), and keybinding rows fall back tocommand.id(v11 returnst(key, '')'s empty default verbatim where v9 showed the key).@webgpu/types. TypeScript 7 (tsgo) is blocked:vue-tsccrashes on the v7 package layout and typescript-eslint caps its peer at<6.1.0.fromPartial(Store type gained required internals);useChartholds its Chart instance in ashallowRef(deep-unwrapping chart.js generics now exceeds TS instantiation depth, and a class instance shouldn't be deeply reactive).selector-max-typenow counts inside:deep()— one inline exception for generated-markdown styling; deprecatedtypesSyntaxoption migrated tolanguageOptions.node >=25 <26engines pin.pnpm-lock.yaml).Review Focus
src/i18n.tste wrapper,KeybindingPanel.vue) — the only runtime-visible changes; everything else is types/config.🤖 Generated with Claude Code