Skip to content

Commit

Permalink
feat: Add clean:all script to remove unnecessary directories
Browse files Browse the repository at this point in the history
This commit adds a new script, clean:all, to the package.json file. The clean:all script uses the find command to locate and remove specific directories such as 'node_modules', '.next', '.turbo', 'dist', and '.cache'. This script helps to clean up the project by removing unnecessary directories.
  • Loading branch information
EdSDR committed Oct 7, 2024
1 parent 1975913 commit d13c5ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"build": "turbo run build",
"clean": "git clean -xdf node_modules",
"clean:workspaces": "turbo run clean",
"clean:all": "find . -type d \\( -name 'node_modules' -o -name '.next' -o -name '.turbo' -o -name 'dist' -o -name '.cache' \\) -prune -exec rm -rf '{}' +",
"db:push": "turbo -F @commune-ts/db push",
"db:studio": "turbo -F @commune-ts/db studio",
"dev": "turbo watch dev",
Expand Down

0 comments on commit d13c5ca

Please sign in to comment.