Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.gitignore not being copied by extension creator #3

Open
davwheat opened this issue Aug 9, 2021 · 1 comment
Open

.gitignore not being copied by extension creator #3

davwheat opened this issue Aug 9, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@davwheat
Copy link
Member

davwheat commented Aug 9, 2021

The /.gitignore file from the extension boilerplate doesn't get copied to the created extension, leading node_modules to be added to git.

This is because npm removes .gitignore files when publishing packages, meaning that even when globOptions.dot is true when calling copyTpl, the file won't be copied.

The recommended solution appears to be to rename the files to something else, such as gitignore and renaming them to .gitignore after copying them.

@davwheat davwheat added the bug Something isn't working label Aug 9, 2021
@SychO9
Copy link
Member

SychO9 commented Aug 9, 2021

darn 😬

@xchl xchl mentioned this issue Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants