Skip to content

Fork razzle into @plone/razzle#7542

Merged
sneridagh merged 34 commits intomainfrom
volto-razzle
Nov 19, 2025
Merged

Fork razzle into @plone/razzle#7542
sneridagh merged 34 commits intomainfrom
volto-razzle

Conversation

@wesleybl
Copy link
Member

@wesleybl wesleybl commented Oct 22, 2025

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 razzle

It also includes:


📚 Documentation preview 📚: https://volto--7542.org.readthedocs.build/

@wesleybl wesleybl marked this pull request as draft October 22, 2025 22:30
@wesleybl
Copy link
Member Author

@davisagli @sneridagh in this case do we need to fix the lint or can we ignore it?

Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

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

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.

@wesleybl
Copy link
Member Author

In my opinion we need to either apply the fixes

@davisagli fixed.

@wesleybl
Copy link
Member Author

@davisagli Is this considered a breaking change? Could we have this in Volto 18?

@davisagli
Copy link
Member

@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.

@wesleybl wesleybl marked this pull request as ready for review October 23, 2025 17:32
Copy link
Collaborator

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

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

@wesleybl wesleybl requested a review from stevepiercy October 23, 2025 21:16
Copy link
Collaborator

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

Docs LGTM!

Copy link
Member

@sneridagh sneridagh left a comment

Choose a reason for hiding this comment

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

looks already very good!

@wesleybl wesleybl requested a review from sneridagh October 29, 2025 17:46
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.
@wesleybl
Copy link
Member Author

@davisagli @sneridagh I think this is ready. Could you please take a look?

Co-authored-by: Steve Piercy <web@stevepiercy.com>
@sneridagh
Copy link
Member

Still undecided about the @volto namespace. We don't have any package with this name... I am wondering if we should just go with @plone namespace.

/cc @plone/volto-team

wesleybl and others added 2 commits November 17, 2025 12:30
Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>
Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>
@wesleybl
Copy link
Member Author

Still undecided about the @Volto namespace. We don't have any package with this name... I am wondering if we should just go with @plone namespace.

I don't see a problem in changing it to @plone

@sneridagh
Copy link
Member

@plone/volto-team I think this is ready, let's wait for tomorrow's meeting to approve it.

@github-project-automation github-project-automation bot moved this from In Progress to Approved in Plone Documentation Nov 18, 2025
@stevepiercy stevepiercy moved this to In Progress in Plone Documentation Nov 18, 2025
* main:
  Fixed types for SchemaEnhancers (#7627)
  Grammar fixes for #7615 (#7621)
@sneridagh sneridagh changed the title Add package @volto/razzle Fork razzle into @plone/razzle Nov 19, 2025
sneridagh and others added 2 commits November 19, 2025 10:27
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>
@sneridagh sneridagh merged commit 78ec373 into main Nov 19, 2025
83 checks passed
@sneridagh sneridagh deleted the volto-razzle branch November 19, 2025 10:03
@github-project-automation github-project-automation bot moved this from Approved to Done in Plone Documentation Nov 19, 2025
sneridagh added a commit that referenced this pull request Nov 19, 2025
* main:
  Fixed Basic select in components (#7632) (#7638)
  Fork `razzle` into `@plone/razzle` (#7542)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants