Skip to content

feat(vite-plugin-angular): add Vite Plugin Registry compatibility#2314

Merged
brandonroberts merged 1 commit into
betafrom
feat/2175-vite-registry-compat
Apr 21, 2026
Merged

feat(vite-plugin-angular): add Vite Plugin Registry compatibility#2314
brandonroberts merged 1 commit into
betafrom
feat/2175-vite-registry-compat

Conversation

@brandonroberts

Copy link
Copy Markdown
Member

PR Checklist

Closes #2175

Affected scope

  • Primary scope: vite-plugin-angular
  • Secondary scopes: none

Recommended merge strategy for maintainer [optional]

  • Squash merge
  • Rebase merge
  • Other

What is the new behavior?

  • Adds vite as an optional peer dependency (^6.0.0 || ^7.0.0 || ^8.0.0) so the Vite Plugin Registry can detect supported Vite versions
  • Adds compatiblePackages metadata declaring compatibility with Vite 6/7/8, Rollup 4, and Rolldown 1
  • Adds Vite Plugin Registry badge to both the root README and the package README

Test plan

  • nx format:check
  • pnpm build
  • pnpm test
  • Manual verification
  • Verify listing on registry.vite.dev after next publish

Does this PR introduce a breaking change?

  • No

Other information

Metadata-only change — no runtime behavior changes.

🤖 Generated with Claude Code

Closes #2175

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented Apr 21, 2026

Copy link
Copy Markdown

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit 9ba2cf9
🔍 Latest deploy log https://app.netlify.com/projects/analog-blog/deploys/69e774ce0b80b10007efb6fc
😎 Deploy Preview https://deploy-preview-2314--analog-blog.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.

@netlify

netlify Bot commented Apr 21, 2026

Copy link
Copy Markdown

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit 9ba2cf9
🔍 Latest deploy log https://app.netlify.com/projects/analog-docs/deploys/69e774ce61eb420008296575
😎 Deploy Preview https://deploy-preview-2314--analog-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.

@netlify

netlify Bot commented Apr 21, 2026

Copy link
Copy Markdown

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit 9ba2cf9
🔍 Latest deploy log https://app.netlify.com/projects/analog-app/deploys/69e774d0343ca80008696e5e
😎 Deploy Preview https://deploy-preview-2314--analog-app.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.

@coderabbitai

coderabbitai Bot commented Apr 21, 2026

Copy link
Copy Markdown

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b3f889f5-71da-439e-9ece-4353978cc01f

📥 Commits

Reviewing files that changed from the base of the PR and between dd1cd59 and 9ba2cf9.

⛔ Files ignored due to path filters (1)
  • README.md is excluded by none and included by none
📒 Files selected for processing (2)
  • packages/vite-plugin-angular/README.md
  • packages/vite-plugin-angular/package.json

📝 Walkthrough

Walkthrough

The PR adds Vite Plugin Registry compatibility metadata to the vite-plugin-angular package. It declares vite as an optional peer dependency supporting versions ^6.0.0 through ^8.0.0, introduces a compatiblePackages field documenting compatibility for vite, rollup, and rolldown with their respective version ranges, and adds a registry compatibility badge to the README.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

The changes consist of metadata additions to package.json and a documentation badge addition across two files. All modifications are declarative and follow established patterns. Review focus should be validating that the declared version ranges (vite ^6.0.0–^8.0.0, rollup ^4.0.0, rolldown ^1.0.0) accurately reflect the plugin's actual compatibility, confirming the compatiblePackages metadata structure aligns with Vite Plugin Registry schema, and ensuring no unintended side effects to existing peer dependency declarations.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed Title follows Conventional Commit style with supported scope and accurately describes the main change: adding Vite Plugin Registry compatibility metadata.
Description check ✅ Passed Description clearly outlines the changes (peer dependency, compatiblePackages metadata, badge addition) and their purpose, with proper context about issue closure and metadata-only nature.
Linked Issues check ✅ Passed All four objectives from issue #2175 are addressed: vite peer dependency with optional flag, compatiblePackages metadata with schemaVersion and version ranges, README badge for Vite compatibility, and post-publish verification checklist.
Out of Scope Changes check ✅ Passed Changes are precisely scoped to vite-plugin-angular package.json (peer dependency and metadata) and README (badge), with no unrelated modifications or expanding scope.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added scope:docs Documentation changes scope:vite-plugin-angular Changes in @analogjs/vite-plugin-angular labels Apr 21, 2026
@brandonroberts brandonroberts merged commit c3444d1 into beta Apr 21, 2026
15 of 20 checks passed
@brandonroberts brandonroberts deleted the feat/2175-vite-registry-compat branch April 21, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:docs Documentation changes scope:vite-plugin-angular Changes in @analogjs/vite-plugin-angular

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(vite-plugin-angular): add Vite Plugin Registry compatibility

1 participant