Skip to content

Chore/remove unused deps - #3008

Closed
SuperDJ wants to merge 4 commits into
vuejs:mainfrom
SuperDJ:chore/remove-unused-deps
Closed

SuperDJ wants to merge 4 commits into
vuejs:mainfrom
SuperDJ:chore/remove-unused-deps

Conversation

@SuperDJ

@SuperDJ SuperDJ commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Builds on #3007

  • remove jsdom-global (unused)
  • replace husky with simple-git-hooks: the husky v4-style config was ignored by husky 9 and no .husky directory existed, so the pre-commit hook never ran. Hooks are installed by the prepare script; the simple-git-hooks postinstall script stays blocked via allowBuilds.
  • replace lint-staged with nano-staged (0 dependencies), same config

SuperDJ and others added 4 commits November 10, 2026 10:46
- vue, @vue/* 3.5.45, vitest and @vitest/coverage-v8 5.1.0
- oxfmt 0.77.0, oxlint 1.92.0, vite 8.3.6 (newer releases still within
  pnpm's minimumReleaseAge window)
- vue-component-type-helpers ^3.3.14, js-beautify ^2.0.3
- refresh lockfile within existing ranges, fixing advisories in
  picomatch, @babel/core and browserslist

jsdom stays on 30.x: jsdom 31 returns empty computed styles for
disconnected elements, which breaks isVisible() for detached mounts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- remove jsdom-global (unused)
- replace husky with simple-git-hooks: the husky v4-style config was
  ignored by husky 9 and no .husky directory existed, so the pre-commit
  hook never ran. Hooks are installed by the prepare script; the
  simple-git-hooks postinstall script stays blocked via allowBuilds.
- replace lint-staged with nano-staged (0 dependencies), same config

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- remove jsdom-global (unused)
- replace husky with simple-git-hooks: the husky v4-style config was
  ignored by husky 9 and no .husky directory existed, so the pre-commit
  hook never ran. Hooks are installed by the prepare script; the
  simple-git-hooks postinstall script stays blocked via allowBuilds.
- replace lint-staged with nano-staged (0 dependencies), same config

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Superseded by the rebase onto chore/deps-refresh (vuejs#3007); tree unchanged.
@netlify

netlify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vue-test-utils-docs ready!

Name Link
🔨 Latest commit cf6e73b
🔍 Latest deploy log https://app.netlify.com/projects/vue-test-utils-docs/deploys/6af2ec5424d4485d3f525a91
😎 Deploy Preview https://deploy-preview-3008--vue-test-utils-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@SuperDJ SuperDJ mentioned this pull request Nov 10, 2026
@cexbrayat

Copy link
Copy Markdown
Member

Thanks for spotting that the old Husky configuration no longer installs the pre-commit hook!

Could we fix the existing Husky setup rather than replace both Husky and lint-staged? Reducing dependencies is useful, but these tools are already established in the project and much more widely used. Updating the hook configuration seems like a smaller change that addresses the actual problem without also changing how staged files are handled.

Removing the unused jsdom-global dependency makes sense independently. Can you open dedicated PRs for that? Thanks

@cexbrayat cexbrayat closed this Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants