Skip to content

small advices for all projects in TypeScript#1

Open
ardiadrianadri wants to merge 6 commits intocarlospalacin:masterfrom
ardiadrianadri:master
Open

small advices for all projects in TypeScript#1
ardiadrianadri wants to merge 6 commits intocarlospalacin:masterfrom
ardiadrianadri:master

Conversation

@ardiadrianadri
Copy link

1- The map and js files are files generated by the compilation task. You should configure your .gitignore to avoid to commit them

2- If you use bower, don't forget to add the bower_component folder to your .gitignore. The bower dependencies can be download from the bower repository. It is no need to add them in git

3- If you want to share your projects with other configure the npm task in the right way. Npm install should install all the dependencies (npm, bower, typings, etc...) and npm start should start the app. In this case you've forgotten to add the bower install after the npm install

4- When you share you code don't add clases and libraries that are not used. It makes your code more difficult to understand

5- When you share you code, the best practice, is to write all your literals in english to make your app understandable for the great majority of the community.

And that's all. The rest is nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant