I wonder whether or not my Git should track the files in the /typings
folder.
This folder is created by running typings install
(I guess), and seems to be automatically created when running npm install
. See https://github.com/typings/typings
Since it is generated content I believe we should not track it, but I'd like to have some feedback about it. Thanks!
You should think of typings folder as node_modules folder for TypeScript, therefore it shouldn't be checked in. If you want to simplify your build, add
{
"scripts" : {
"postinstall": "typings install"
}
}
to your package.json file then typings install will run automatically when your run npm install. Don't forget to check in your typings.json though.
Since it is generated content I believe we should not track it, but I'd like to have some feedback about it.
I always check it in. Until it's a part of npm
, that is what I do. Also helps me overcome bad definition files and chug along with my project. (e.g. Change type imported from typings definition)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With