Conversation
|
@davisagli @sneridagh in this case do we need to fix the lint or can we ignore it? |
davisagli
left a comment
There was a problem hiding this comment.
in this case do we need to fix the lint or can we ignore it?
In my opinion we need to either apply the fixes, or change the lint configuration for this package so the existing code doesn't fail the checks.
@davisagli fixed. |
|
@davisagli Is this considered a breaking change? Could we have this in Volto 18? |
|
@wesleybl It's definitely a breaking change, since it requires updating babel.js and the storybook script. I wouldn't try to push it for Volto 18 unless something is actively broken with the existing razzle package. |
stevepiercy
left a comment
There was a problem hiding this comment.
Mostly just formatting and MyST markup stuff. Otherwise LGTM! Let's make sure it builds correctly in the PR preview at https://volto--7542.org.readthedocs.build/7542/upgrade-guide/index.html#replace-razzle-with-volto-razzle-fork
It's a fork of Razzle. Razzle is no longer maintained. So with this fork, we can update versions of packages with vulnerabilities.
7917169 to
0ab9358
Compare
This will probably not be necessary, especially if the project uses cookieplone.
When using pnpm 9, and having mini-css-extract-plugin as a peerDependencie, it causes an error in the Volto build:
Error: You forgot to add 'mini-css-extract-plugin' plugin
The cookieplone job still uses pnpm 9. Therefore, we cannot have it as a peerDependencie for now.
|
@davisagli @sneridagh I think this is ready. Could you please take a look? |
Co-authored-by: Steve Piercy <web@stevepiercy.com>
|
Still undecided about the /cc @plone/volto-team |
Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>
Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>
|
@plone/volto-team I think this is ready, let's wait for tomorrow's meeting to approve it. |
Co-authored-by: Wesley Barroso Lopes <wesleybl@gmail.com> Co-authored-by: Steve Piercy <web@stevepiercy.com>
Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com> Co-authored-by: Steve Piercy <web@stevepiercy.com>
It's a fork of Razzle. Razzle is no longer maintained. So with this fork, we can update versions of packages with vulnerabilities.
I used the master branch of
razzleIt also includes:
babel-razzle-presetinto@plone/babel-razzle-preset#7619📚 Documentation preview 📚: https://volto--7542.org.readthedocs.build/