Closed wesleybl closed 6 months ago
Hi @wesleybl
The generator doesn't automatically include dotfiles when copying the template over.
The code that copies over the dotfiles is here:
So only the .github/workflows
.yarn/releases
and .gitignore
get copied over at the moment.
I'm afraid I don't know why it doesn't just copy the whole template including ignore files, I suspect it might not be possible to do it that way and all dotfiles will need to be manually added in index.js
@instification previously, all files were copied. but your commit removed this:
@wesleybl yeah my change seems to have stopped the other dotfiles coming through.
I have made a fix in #5724 which should resolve the issue
Describe the bug Although the template has several files that start with a dot, such as .dockerignore, .editorconfig, etc., only .gitignore is added.
To Reproduce Steps to reproduce the behavior:
Expected behavior All files that start with dot in the template must be in the generated addon
Software (please complete the following information):
Additional context It looks like
.gitignore
was added after @instification 's PR: https://github.com/plone/volto/pull/5258