Skip to content

Commit

Permalink
chore: avoid deleting untracked, non-generated files on npm run clean (
Browse files Browse the repository at this point in the history
…#9866)

**Related Issue:** N/A

## Summary

Prevents `git clean` from removing untracked, non-generated files/dirs
from `.gitignore` (e.g., `.idea` 😉)
  • Loading branch information
jcfranco authored and github-actions[bot] committed Jul 30, 2024
1 parent 1f2cfef commit 22ebe66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"postinstall": "patch-package",
"build": "turbo run build --log-order=stream",
"clean": "turbo run clean --log-order=stream && git clean -fdx",
"clean": "turbo run clean --log-order=stream && git clean -fd",
"lint": "concurrently \"npm:lint:*\" \"turbo run lint --log-order=stream\"",
"lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint \"{,documentation}/*.md\" --fix --dot --ignore-path .gitignore",
"lint:yml": "prettier --write \".github/**/*.yml\" >/dev/null",
Expand Down

0 comments on commit 22ebe66

Please sign in to comment.