Repository navigation
Deps: vite-plus 1.x, for the security update of #38 - #45
Merged
Merged
Conversation
Dependabot's security update (#38) moves vite-plus from 0.2.3 to 1.x, a major version, and fails Check. This moves to 1.3.0, the version vite-template uses, with vite-plus and its Vite core on the same exact version. - vite-plus 1.x resolves lint ignore patterns from the root config, so the root's "packages/sitex/**" now also skipped the package's own check, which then found no files. The root lint covers packages/sitex instead, with the same rules it had, and the separate package check in the root check script goes. - The packageExtensions workaround for the native binding goes: since 1.0, the Vite core declares its platform bindings itself. - An empty changeset: dev tooling only, the peer range already allows 1.x and the package output stays the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for fulldev-sitex ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependabot's security update in #38 moves vite-plus from 0.2.3 to 1.1.0. That is a major version, and #38 fails Check. This PR does the upgrade with the changes 1.x needs, so #38 can be closed once this merges.
What changed
vitealias to@voidzero-dev/vite-plus-core) andpackages/sitexdevDependencies. They are pinned to the same exact version so vite-plus and its Vite core cannot drift apart.packages/sitexfrom the root config. vite-plus 1.x resolves lint ignore patterns from the rootvite.config.ts, andvp checkalways uses the root lint settings, also from a package directory (monorepo docs). So the root'spackages/sitex/**ignore also hid the package from its own check ("No files found to lint"). That pattern goes, so the rootvp checklints the package with the same rules it had. The separate@fulldotdev/sitex#checkin the rootcheckscript would now repeat that work, so it goes too. The package keeps its owncheckscript. The other ignore patterns stay.packageExtensionsworkaround goes. Since 1.0 the Vite core declares its native bindings itself, so it no longer needs vite-plus as a peer to find them.vite-plus: >=0.1.24already allows 1.x, and the built package matches the published 0.4.1 apart from bundler formatting, with the same exports. The empty changeset is there because CI's changeset check needs one whenpackages/sitex/package.jsonchanges.Verified
vp run checkpasses. It lints 65 files: the root's 39 and the package's 26, the same counts as before. Run before a build, it shows one existing warning (JsonValueinvirtual.d.ts), which main's CI shows too.vp run buildpasses: the package, the shadcn registry, the docs site and itstsc --noEmit.pnpm install --frozen-lockfilepasses the supply-chain checks, andchangeset status --since=origin/mainpasses.Created with Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.