Currently the generator checks if package.json exists and prompts (sub-)generator choices accordingly.
So theme/plugin can only be generated on initialization.
But the generator templates will change and we need a posibility to regenerate the project and merge the new changes into the existing.
somethings to consider:
Need to get all the values from the project itself. not from prompts.
Need some init property. because currently it will check for package.json exists.
...
on update:
check if branch is up to date
create new branch, switch to branch
reinstall stuff
option: all files or by type/dir,
prompt diff and overwrite, skip or merge new files in current project
Currently the generator checks if
package.json
exists and prompts (sub-)generator choices accordingly. Sotheme
/plugin
can only be generated on initialization.But the generator templates will change and we need a posibility to regenerate the project and merge the new changes into the existing.
somethings to consider:
init
property. because currently it will check forpackage.json
exists.on update: