Pin azure pipeline dependency versions #325
Merged
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.
[SC-70520]
Summary
In versions
> 6.0.599
the node_modules grew too large due to theazure-pipelines-tool-lib
depending on^4.1.0
ofazure-pipelines-task-lib
that ended up installing version4.9.1
that had more dependencies specificallydeasync
Because the versions of these packages isn't defined in the package.json and rather they are just installed in the pack script without a targeted version they end up just using the latest version.
Results
pack.ps1
to last known deployable versionsBefore version pin artifact size:
147.3 MB
After version pin artifact size:
33.7 MB