Add lib to gitignore
See original GitHub issueIssue Description
A common pattern for npm modules is to add the lib(es5) directory to the .gitignore and add the src(es6) directory to the .npmignore. Babel is an example of this pattern that also uses lerna.
More information can be found in this article: http://jamesknelson.com/writing-npm-packages-with-es6-using-the-babel-6-cli/
Issue Type
- New Feature
- Enhancement
- Bug
- Other
Expected Behavior
- Update the .gitignore to no longer check in the lib directory.
- We can probably remove the prepush script after this is completed.
- Compile for travis CI tests
- Add script which compiles before publishing https://github.com/cerner/terra-core/issues/353
Current Behavior
lib
directory is included in version control
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
How to INCLUDE lib files inside [/Libs/x64/Release] folder in a ...
You would need to use: git add --force Libs. In order to add them in spite of the .gitignore. You can check at...
Read more >New gitignore config ignores lib folder · Issue #3106 - GitHub
In #3091 we updated our gitignore to a suggestion from gitignore.io Unfortunately, this includes *.jar and this makes git ignore our /lib ......
Read more >Git Ignore and .gitignore - W3Schools
Pattern Explanation/Matches Examples
# text comment Lines starting with # are ignored
name.file All files with the name.file /name.file /lib/name.file
*.file All files withe .file extention...
Read more >gitignore Documentation - Git
A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected; see the NOTES below...
Read more >Adding wwwroot\lib to .gitignore - CodeProject
I have a C# web application that is generating a lot of files in wwwroot\lib. This is causing a lot of changes to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I updated the checkboxes in the initial comment. We still need to do the following:
Resolved in #414