Proposal: .gitignore dist/
See original GitHub issueHaving the dist/
directory in Git makes pull requests unnecessarily confusing and unwieldy.
I’m guessing that 98% of users are using WebMidi from the npm package. I propose:
- Remove the
dist/
directory from the Git repository - as the first commit - Then add
dist/
to the.gitignore
file - as the second commit
Then you’d have a workflow where the dist/
directory gets built locally before testing and/or publishing to npm. But there wouldn’t be a lot of diff craziness in pull requests or commits.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
.gitignore dist folder · Issue #114 · marklogic-community/slush ...
As a developer, I generally do not commit the dist folder. It's built every run. Is there any reason to exclude it from...
Read more >Gitignore ignore /dist directory? Why? - sage - Roots Discourse
So my question and where i get confused is, when i push my changes to the production server the /dist folder is ignored...
Read more >How To Set Up .gitignore for Your JavaScript Project
.gitignore is a file that lets you describe name patterns of what Git should ... Ignore all files with the exe extension *.exe...
Read more >How can I ignore dist folder in .gitignore file? - Stack Overflow
gitignore just prevent untracked files from being added. To stop tracking you have to remove it from Git index git rm -r --cached...
Read more >ligo-proposal-tool - .gitignore - LIGO GitLab
LIGO proposal tool - Swiss army knife for exploring detectability and sky localization performance of GW detector networks and noise configurations.
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 Free
Top 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
Hello, I want to help for this issue !
I’ve already forked the project and made some modifications.
dist
to.gitignore
package.json
.Now for the releases (to use manually with .zip), I think we could rewrite current script in
scripts/release/release.js
to, instead of commit the dist folder, release thedist
folder to GitHub Releases.Thanks to @Vexcited and his work on PR https://github.com/djipco/webmidi/pull/254, this has been implemented. I had to create a few releases to nail down all the details but it seems stable now.
P.S. Users who want to download the library manually can still go to the latest release page.