plone / volto

React-based frontend for the Plone Content Management System
https://demo.plone.org/
MIT License
429 stars 573 forks source link

[DOCS or implicit] Contributing: Volto lives in a multipackage repo. Contributing to @plone/<not volto> needs `pnpm watch` #6004

Open ksuess opened 1 week ago

ksuess commented 1 week ago

https://6.docs.plone.org/volto/contributing/developing-core.html#start-the-backend-and-volto

Interested in the monorepo approach, i figured out that applying changes on the fly while developing in @plone/not_volto>, for example @plone/registry, needs pnpm watch (parcel watch) . I think this could be added to docs or even better: do this implicit in starting up dev Volto (pnpm start).

stevepiercy commented 1 week ago

We have this further down the page: https://6.docs.plone.org/volto/contributing/developing-core.html#run-commands-for-pnpm-workspaces.

I think it is assumed that developers know to look in package.json for pnpm shortcuts, then read that section of the documentation, and finally refer to pnpm documentation. That's not great, but it is low maintenance.

I'm not sure what to do for this, as I don't get deep into developing Volto.