Repository navigation
fix(vimeo): Stop declaring a package that ships no plugin content - #4410
Merged
Merged
Conversation
vimeoPlugin() set packageName to @sentry/junior-vimeo. Core then resolves that package and requires plugin.yaml, migrations/, plugins/, or skills/, but the package ships only dist/, so junior check fails in every app that registers it. Nothing else reads packageName for a code-only plugin. The new plugin-package-content check fails when a package's factory declares its own packageName and the package publishes no plugin content. Co-Authored-By: David Cramer <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
1 screenshot change — 1 changed · 0 added · 0 removed Review screenshots in Frameshift
|
dcramer
approved these changes
Nov 26, 2026
This branch was successfully deployed
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.
In 0.316.0, an app that registers
vimeoPlugin()failsjunior checkwithPlugin package "@sentry/junior-vimeo" was configured but does not contain plugin content. getsentry/junior-prod#783 hits it.vimeoPlugin()setspackageName: "@sentry/junior-vimeo". Core adds that name to the plugin catalog packages, and package discovery requiresplugin.yaml,migrations/,plugins/, orskills/in the package. The Vimeo package ships onlydist/. For an inline manifest, core readspackageNameonly to find that packaged content, so a code-only plugin doesn't need it. This removes it from the Vimeo registration.A new
plugin-package-contentrepo check fails when a package's factory declares its ownpackageNamebut the package'sfilespublishes none of those entries. It runs with the otherscripts/check.mjschecks in lint.via @dcramer.
--
View Session [Sentry]