Skip to content

Conversation

sinking-point
Copy link

Closes #984 .

Rather than check for an existing .gitignore before creating one, I opted to use create_new and check the error. This makes it atomic - it'll probably never matter, but hey.


Make sure these boxes are checked! 📦✅

  • [✅] You have the latest version of rustfmt installed
$ rustup component add rustfmt
  • [✅] You ran cargo fmt on the code base before submitting
  • [✅] You reference which issue is being closed in the PR text

✨✨ 😄 Thanks so much for contributing to wasm-pack! 😄 ✨✨

@andrewhamon
Copy link

andrewhamon commented Feb 21, 2025

This is much needed in a monorepo. We want to check some files (like d.ts) so that typescript can function as normal without needing to depend on a rust toolchain.

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.

Don't overwrite an existing .gitignore file
2 participants