Add bugs metadata to published packages#398
Open
tonghuaxingdsb wants to merge 2 commits into
Open
Conversation
yoannmoinet
requested changes
Jun 8, 2026
yoannmoinet
left a comment
Member
There was a problem hiding this comment.
Thanks for your contribution.
This should be done for all the published packages in the repository.
Not just vite.
Author
|
Thanks for the review. I updated the PR to add |
yoannmoinet
approved these changes
Jun 9, 2026
yoannmoinet
left a comment
Member
There was a problem hiding this comment.
Thanks for your contribution, this looks good.
Member
|
@tonghuaxingdsb you need to sign your commits, can't merge without it. |
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.
Summary
bugs.urlmetadata for all published packages in this repositoryCovered packages:
@datadog/esbuild-plugin@datadog/rollup-plugin@datadog/rspack-plugin@datadog/vite-plugin@datadog/webpack-pluginVerification
node -e "const fs=require('fs'); const path=require('path'); const dir='packages/published'; const out={}; for (const name of fs.readdirSync(dir)) { const file=path.join(dir,name,'package.json'); if (!fs.existsSync(file)) continue; const p=require('./'+file.replace(/\\/g,'/')); out[p.name]={homepage:p.homepage,bugs:p.bugs,repository:p.repository}; if(p.bugs?.url!=='https://github.com/DataDog/build-plugins/issues') process.exitCode=1; } console.log(JSON.stringify(out,null,2));"git diff --check