Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,16 @@
"test": "jest"
},
"dependencies": {
"@lwc/engine-dom": "6.6.5",
"@lwc/engine-server": "6.6.5",
"@lwc/compiler": "7.0.0",
"@lwc/engine-dom": "7.0.0",
"@lwc/engine-server": "7.0.0",
"@lwc/jest-preset": "16.0.0",
"@lwc/jest-resolver": "16.0.0",
"@lwc/jest-serializer": "16.0.0",
"@lwc/jest-transformer": "16.0.0",
"@lwc/module-resolver": "6.6.5",
"@lwc/synthetic-shadow": "6.6.5",
"@lwc/wire-service": "6.6.5",
"@lwc/module-resolver": "7.0.0",
"@lwc/synthetic-shadow": "7.0.0",
"@lwc/wire-service": "7.0.0",
"@salesforce/wire-service-jest-util": "4.1.4",
"fast-glob": "^3.3.2",
"jest": "29.7.0",
Expand Down
21 changes: 11 additions & 10 deletions scripts/upgrade-lwc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
LWC_VERSION=$1
LWC_TEST_VERSION=$2

yarn upgrade @lwc/compiler@$LWC_VERSION
yarn upgrade @lwc/engine-dom@$LWC_VERSION
yarn upgrade @lwc/module-resolver@$LWC_VERSION
yarn upgrade @lwc/wire-service@$LWC_VERSION
yarn upgrade @lwc/synthetic-shadow@$LWC_VERSION

yarn upgrade @lwc/jest-resolver@$LWC_TEST_VERSION
yarn upgrade @lwc/jest-serializer@$LWC_TEST_VERSION
yarn upgrade @lwc/jest-transformer@$LWC_TEST_VERSION
yarn upgrade @lwc/jest-preset@$LWC_TEST_VERSION
yarn upgrade \
@lwc/compiler@$LWC_VERSION \
@lwc/engine-dom@$LWC_VERSION \
@lwc/engine-server@$LWC_VERSION \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note this addition! It seems to have been added as a dep after this file was created, but never added here.

@lwc/module-resolver@$LWC_VERSION \
@lwc/wire-service@$LWC_VERSION \
@lwc/synthetic-shadow@$LWC_VERSION \
@lwc/jest-resolver@$LWC_TEST_VERSION \
@lwc/jest-serializer@$LWC_TEST_VERSION \
@lwc/jest-transformer@$LWC_TEST_VERSION \
@lwc/jest-preset@$LWC_TEST_VERSION \
Loading
Loading