Remove unused preset-env dependencies#10916
Conversation
|
@alecslupu I'm not able to reproduce the error locally by following the instructions, but just seeing the changes (and specially the pipeline result 😄) it wouldn't hurt. I had just two doubts:
So, I understand that we could remove it altogether from our configuration if we update
|
|
FYI, I've removed the unfilled section from the PR template |
|
|
I confirm that if we upgrade the preset env and we remove that config entry, the compilation process is successful. |
34bc4db to
db1ab2e
Compare
ahukkanen
left a comment
There was a problem hiding this comment.
I tested this approach in another repository where we had the same issue and it seems to have fixed the problem.
Also, I can see that the pipeline is green in this PR so it should be fine to merge.
I would like to have some kind of guidance also for implementors and module developers facing this issue once we can release the next versions, as it will take some time from now as we just released. But I am unsure what would be the correct place for such documentation, a GitHub issue maybe?
Anyways, regarding this PR, everything seems to be fine.
|
@andreslucena I'll leave the final merge for you since you were already looking into this. Just to add some confirmation to the issue that this seems to be fixing the problem. |
Yes, a GH issue seems to be the place, probably referencing this PR |
Created #10918 explaining the workaround. Feel free to edit if it is not clear enough. |
* Remove unneeded dependency @babel/plugin-proposal-private-property-in-object * Remove unneeded dependency @babel/plugin-proposal-private-methods * Remove unneeded dependency @babel/plugin-proposal-class-properties
* feature/redesign: Remove unused preset-env dependencies (#10916)
…blies-details-page * feature/redesign: Redesign: amendments (#10765) Redesign: proposals (#10555) Remove unused preset-env dependencies (#10916) Feature/redesign components breadcrumb (#10441) Redesign: debates (#10653) Redesign: Remove reference to commentable in activity cell (#10816) Redesign: spinner (#10848) Redesign: omnipresent banner (#10847) Add redesign enable ENV variable to control the pipeline (#10610)
* feature/redesign: Redesign: amendments (#10765) Redesign: proposals (#10555) Remove unused preset-env dependencies (#10916) Feature/redesign components breadcrumb (#10441) Redesign: debates (#10653) Redesign: Remove reference to commentable in activity cell (#10816) Redesign: spinner (#10848) Redesign: omnipresent banner (#10847) Add redesign enable ENV variable to control the pipeline (#10610)
* feature/redesign: Redesign: amendments (#10765) Redesign: proposals (#10555) Remove unused preset-env dependencies (#10916) Feature/redesign components breadcrumb (#10441) Redesign: debates (#10653) Redesign: Remove reference to commentable in activity cell (#10816) Redesign: spinner (#10848) Redesign: omnipresent banner (#10847) Add redesign enable ENV variable to control the pipeline (#10610) Redesign: progress bar (#10638) Redesign: meeting cards (#10722) Redesign: pending login (#10699)
* feature/redesign: Redesign: amendments (#10765) Redesign: proposals (#10555) Remove unused preset-env dependencies (#10916) Feature/redesign components breadcrumb (#10441) Redesign: debates (#10653) Redesign: Remove reference to commentable in activity cell (#10816) Redesign: spinner (#10848) Redesign: omnipresent banner (#10847) Add redesign enable ENV variable to control the pipeline (#10610) Redesign: progress bar (#10638) Redesign: meeting cards (#10722) Redesign: pending login (#10699)
* Remove unneeded dependency @babel/plugin-proposal-private-property-in-object * Remove unneeded dependency @babel/plugin-proposal-private-methods * Remove unneeded dependency @babel/plugin-proposal-class-properties
|
@alecslupu should we backport this one to v0.26 too? |
Oh never mind, I see that we don't have this configuration there: https://github.com/decidim/decidim/blob/release/0.26-stable/babel.config.json |
🎩 What? Why?
While working on #10727 i have noticed the pipeline failed, due to some babel configuration as per below stacktrace:
Since @babel/preset-env has been updated to 7.22.0, it has removed the dependency to
@babel/plugin-proposal-private-property-in-object.Since I have added
@babel/plugin-proposal-private-property-in-object,@babel/plugin-proposal-private-methodsand@babel/plugin-proposal-class-propertiesback in #8670, and I do not remember why, i am removing it in the current PR.Testing
Make sure the pipeline is green.