Update repository fields in package.json - #1767
Merged
Merged
Conversation
JonasDov
requested review from
a team,
a-gagnon,
bsy-nicholasw,
eringram,
mdastous-bentley and
simnorm
as code owners
August 5, 2026 08:28
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates per-package repository metadata to follow npm’s recommended format for monorepos (using a single .git URL plus a directory field), and also includes a small change to the changeset release workflow.
Changes:
- Updated
repository.urltohttps://github.com/iTwin/viewer-components-react.gitand addedrepository.directoryfor several packages. - Added
repository.directoryentries for two archived packages (currently pointing at non-existentpackages/*paths). - Modified
.github/workflows/changeset-release.ymlNode setup inputs.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/measure-tools/package.json | Switches repository to .git URL + directory for npm-friendly monorepo metadata. |
| packages/map-layers/package.json | Same repository metadata normalization as above. |
| packages/geo-tools/package.json | Same repository metadata normalization as above. |
| archive/reports-config-widget/package.json | Adds directory, but currently points to a non-existent path (needs correction). |
| archive/one-click-lca-widget/package.json | Adds directory, but currently points to a non-existent path (needs correction). |
| .github/workflows/changeset-release.yml | Adjusts setup-node inputs; change is outside the stated PR scope. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
aruniverse
approved these changes
Aug 5, 2026
saskliutas
approved these changes
Aug 5, 2026
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.
Updated
repositoryfields to match npm docs: https://docs.npmjs.com/cli/v11/configuring-npm/package-json#repository:~:text=If%20the%20package.json%20for%20your%20package%20is%20not%20in%20the%20root%20directory%20(for%20example%20if%20it%20is%20part%20of%20a%20monorepo)%2C%20you%20can%20specify%20the%20directory%20in%20which%20it%20lives%3AAlso updated release pipeline to disable caching: https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow