Change the logic that handles pinned dependencies to allow configs for specific builders to have higher precedence than the common configs.
This won't cause any problems, since the Typescript is currently the only common pinned dep and there are currently no builders trying to change its value either. You can see the current pinned dependencies config here.
What problem is this solving?
With the current logic it's impossible to allow other Typescript versions to be used in any builders. A new node builder major is being created (PR here) to upgrade TS and it needs this change to properly work.
How should this be manually tested?
First test the existing use cases:
Load the repo of an existing Node.js app.
Bump typescript to ^5.0.0 within the app's node/package.json.
Link the app with this version of the toolbelt.
Verify that the typescript version was fixed back to 3.9.7.
What is the purpose of this pull request?
Change the logic that handles pinned dependencies to allow configs for specific builders to have higher precedence than the common configs.
This won't cause any problems, since the Typescript is currently the only common pinned dep and there are currently no builders trying to change its value either. You can see the current pinned dependencies config here.
What problem is this solving?
With the current logic it's impossible to allow other Typescript versions to be used in any builders. A new node builder major is being created (PR here) to upgrade TS and it needs this change to properly work.
How should this be manually tested?
First test the existing use cases:
Afterwards, you can test with the new builder:
Screenshots or example usage
Types of changes
Chores checklist
CHANGELOG.md