You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a template that contains a .gitignore in the root/ folder. After I run the grunt-init scaffolding, this file turns into a .npmignore file. Is this done intentionally? Possibly a way to turn this off?
Otherwise, I guess I will have to run script to rename it back.
The text was updated successfully, but these errors were encountered:
I have already found the reason. I (and @redonkulus, probably) use our own templates and publish them in npm. npm publish rewrites all .gitignore files into .npmignore files. When getting the package back from npm. the file is thus named .npmignore..
So, this should probably be in the entry in some FAQ: If you have template with .gitignore and upload it to npm, rename the file to, say, gitgnore-file and add a rule to rename.json.
I have a template that contains a .gitignore in the root/ folder. After I run the grunt-init scaffolding, this file turns into a .npmignore file. Is this done intentionally? Possibly a way to turn this off?
Otherwise, I guess I will have to run script to rename it back.
The text was updated successfully, but these errors were encountered: