Open agilgur5 opened 1 month ago
Ah a build failure in the deps, same as the ones I dealt with heavily manually before ðŸ«
This one appears to be in the dep: https://github.com/iarna/wide-align/issues/63. Will resolve to a lower version instead of a higher one from the dedupe to get around it
Can you rebase?
Rebased.
Sorry, gotta ask for another rebase 😆
Rebased once more 😅
Equivalent to https://github.com/argoproj/argo-workflows/pull/11637 and PRs I've made in other repos
Motivation
Same as downstream et al, see https://github.com/atlassian/yarn-deduplicate#why-is-this-necessary Removes ~2.5k+ LoC from the
yarn.lock
by consolidating duplicated deps (and saves on disk, installation, network, dep issues, etc)In particular for this repo, all the dep removals and changes I've done for #569 #534 #567 etc have complicated
yarn.lock
diffs that I've manually reduced (sometimes a removal even causes an addition becauseyarn
just adds the latest version of the dep). This does it automatically and will ensure it doesn't happen again.I've wanted to do it for a while but it usually merge conflicts with any other dep changes so I kept deferring it and then forgetting it 😅 There should be a lot less of those after #537 though (dependabot also most certainly contributed to duped deps)
Modifications
add a
deduplicate
script that usesyarn-deduplicate
run
deduplicate
during UI CIrun
deduplicate
once and commit the resultsmove the
build
script to be in the equivalent place as thebuild-v2
script, afterstart
/start-v2
Verification
yarn deduplicate
does not cause another diffyarn start
is still broken until #567 is merged)