chore: Update dependencies and add typecheck#121
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
📝 WalkthroughWalkthroughThis PR updates dependency and devDependency versions across the root, demo, and package-level package.json files, pins the vite override in pnpm-workspace.yaml to an exact version, adds typecheck scripts (including switching phone-mask-vue to vue-tsc), and applies cosmetic formatting changes to two script files with no logic changes. ChangesDependency and Tooling Maintenance
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Tools execution failed with the following error: Failed to run tools: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error) Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
|
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.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a42d2234a5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
This PR performs workspace-wide dependency maintenance and standardizes TypeScript validation by introducing a root pnpm typecheck command that runs each package’s typecheck script (with Nuxt and Vue typecheck scripts aligned to the intended tooling). It also constrains Vite to 8.0.x via ~8.0.16 to avoid known regressions with 8.1.x, and applies formatting adjustments in a couple of scripts.
Changes:
- Add a root
typecheckscript that runstypecheckacrosspackages/**recursively. - Update dependencies across the workspace (root tooling, demo, and framework packages), including Vue, Svelte, React plugin, and test/lint/format tooling.
- Pin Vite to the
8.0.xline via~8.0.16(root devDependency + pnpm override) and align Vue package typechecking tovue-tsc.
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/update-readme-benchmarks.mts | Formatting-only change in gzip overhead calculation guard. |
| pnpm-workspace.yaml | Constrains Vite override to ~8.0.16 to stay on 8.0.x. |
| packages/phone-mask/scripts/gen.mts | Formatting-only change to a union type declaration. |
| packages/phone-mask-vue/package.json | Switches typecheck to vue-tsc and bumps Vue / vue-tsc dev deps. |
| packages/phone-mask-svelte/package.json | Bumps Svelte-related dev dependencies. |
| packages/phone-mask-react/package.json | Bumps @vitejs/plugin-react. |
| packages/phone-mask-nuxt/package.json | Adds Nuxt package typecheck script and bumps Vue dev dep. |
| package.json | Adds root typecheck script and bumps root dev tooling dependencies; pins Vite to ~8.0.16. |
| demo/package.json | Bumps demo dependencies (Nuxt sitemap + Vue). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.



Description
What does this PR do?
pnpm typecheckcommand that runs package typechecks acrosspackages/**typecheckscript and switches the Vue package typecheck tovue-tsc8.0.xline to avoid the Vue SFC build regression seen with Vite8.1.xWhy is this change needed?
PhoneInput.vuewith 8.1.x vite versionType of Change
Testing
pnpm test:unitpnpm test:e2epnpm buildScreenshots (if applicable)
Checklist
Manual Coverage (Optional)
Maintainers only (
write/maintain/adminaccess): open the workflow, clickRun workflow, and setpr_numberto this PR number to post/update a coverage comment on this PRSummary by CodeRabbit
New Features
Bug Fixes
Refactor