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

Update webpack-cli to 4.10 #383

Merged
merged 1 commit into from
Jun 11, 2023
Merged

Conversation

robmosca
Copy link

@robmosca robmosca commented Jun 10, 2023

Fix for the problem described in issue #382

NOTE: When running the GitHub actions I had problems with the test step. The problem was that I was using a different version of pnpm on my local. I downgraded to the version previously used in the GitHub actions and could reproduce the problem. With that version of pnpm (6.29.1) my lock file was unstable and it changed when running tests. Also, the tests kept failing. By upgrading pnpm to the latest version (8.6.1) the tests run fine. Due to the update, I had to slightly adjust the commands in the GitHub workflow and add a dev dependency that was missing in the single-spa-welcome app. With these minor changes and adjustments, the GitHub actions workflow runs successfully in my local.

@changeset-bot
Copy link

changeset-bot bot commented Jun 10, 2023

🦋 Changeset detected

Latest commit: 9e99f85

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
generator-single-spa Patch
single-spa-welcome Patch
create-single-spa Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@robmosca robmosca changed the title Update webpack-cli to 4.10.x Update webpack-cli to 4.10 Jun 10, 2023
Copy link
Contributor

@TheMcMurder TheMcMurder left a comment

Choose a reason for hiding this comment

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

Do we want to also make this change in the other packages?

Edit: actually I think this is all of them. Thanks

@@ -30,6 +30,7 @@
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/eslint-parser": "^7.15.0",
Copy link
Author

@robmosca robmosca Jun 11, 2023

Choose a reason for hiding this comment

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

This is required here:

"parser": "@babel/eslint-parser"

I guess this was working before due to the different way the old version of pnpm was hoisting packages...? 🤷🏽‍♂️

@TheMcMurder TheMcMurder merged commit b3ed702 into single-spa:main Jun 11, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants