This a description of the workflow I use to be able to test fresh Volto code in a local Volto project:
- Basically I use yalc for this. https://github.com/whitecolor/yalc
- Install it with npm i yalc -g
- In your copy of Volto (git clone https://github.com/plone/voltoif you don't have one) run:yalc publish
- In your Volto project (created with create-volto-app), run: yalc add @plone/volto --no-pure
This will create a local copy of Volto in your project. If you need to "refresh" the copy, run yalc add @plone/volto --no-pure again.
The advantage of this method is that you can have a proper separate Volto, which you can use to push commits and Pull Requests to plone/volto, and you can test these changes in your local project.