Closed tiberiuichim closed 3 years ago
This is how you can test the package:
npm install --global yo
yo create-volto-app bla --description "hello world" --addon one:x,y --addon two:z,t
for an example of how it worksTo reviewers: be aware that this is a completely new package (instead of @plone/create-volto-app
, it needs to be generator-create-volto-app
. Timo suggested that we might use a different repo for that package. Maybe even include it in the Volto code source, although this will imply that we make Volto a multi-package repo. In any case, to me, generator-volto
sounds nice, and it can include a yo volto:addon
template, for Volto addon templates.
@jenkins-plone-org please run jobs
I like this! Seems really interesting
Issues: gitignore file is not properly generated. package.json.tpl is not properly excluded.
I love it! I really think we should continue explore this.
@tiberiuichim can we make it a @plone repo? I already hacked around it a bit :)
@sneridagh Sure! Go ahead, fork it in plone.
@sneridagh Be aware that yeoman generators don't like namespaces (I think) if you want to run them with yo
Work continues in https://github.com/plone/generator-volto-app/
Benefits, some already implemented, some low-hanging fruit:
yarn.lock
file from that Volto releaseYou can pass multiple
--addon
options and it will list them in the generated package.json. For the future, I'll enhance this to also allow a mrs.developer file to be passed as an option.