build: move @mapquest/team to optionalDependencies
#2
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.
Moving internal tooling dependency to optionalDependencies to prevent installation failures for public users while maintaining internal development workflows.
Jira ticket number: N/A - Public GitHub contribution
Does this PR introduce a breaking change? No
Are all of the original requirements satisfied in this PR? Yes
What is the current behavior?
Currently, attempting to install iso-3166 from GitHub fails because npm/yarn try to fetch the @mapquest/team package from GitHub's package registry, which requires authentication. This prevents public users from being able to install and use the package.
Error message example:
What is the new behavior?
How to test
yarn add .
ornpm install .
in a clean directoryMotivation and context
The package is MIT licensed and publicly available on GitHub, but the current dependency structure prevents public users from installing it directly. This change maintains all internal tooling while making the package more accessible to the open source community.
Checklist