salesforce / sfdx-lwc-jest

Run Jest against LWC components in SFDX workspace environment
MIT License
162 stars 81 forks source link

fix(scripts): why do many upgrade when one upgrade do trick? #377

Closed wjhsf closed 1 month ago

wjhsf commented 2 months ago

Running 9 yarn upgrade commands takes 45 seconds on my machine, 36 if the packages are already at the target version.

Running 1 yarn upgrade commands takes 15 seconds on my machine, 12 if the packages are already at the target version.

nolanlawson commented 2 months ago

Technically this is a breaking change, since we're bumping lwc to v7. But that's fine.

Eventually we should do #349 which would resolve that problem.

wjhsf commented 1 month ago

Technically this is a breaking change, since we're bumping lwc to v7. But that's fine.

I wasn't planning on doing a v7 bump; that must've snuck in there when I was testing the script.