Skip to content

Commit

Permalink
Merge pull request #899 from WestpacGEL/feature/nuke-next
Browse files Browse the repository at this point in the history
added: next:nuke to nuke command (deletes .next folder)
  • Loading branch information
jaortiz authored Oct 1, 2024
2 parents 2b8906a + 464bef6 commit 7cba736
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
"lint": "turbo run lint --no-daemon",
"lint:fix": "turbo run lint:fix --no-daemon",
"new:package": "node ./helpers/create-package/index.js",
"nuke": "pnpm nuke:node_modules && pnpm nuke:dist",
"nuke": "pnpm nuke:node_modules && pnpm nuke:dist && pnpm nuke:next",
"nuke:node_modules": "find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \\;",
"nuke:dist": "find . -name 'dist' -type d -prune -print -exec rm -rf '{}' \\;",
"nuke:next": "find . -name '.next' -type d -prune -print -exec rm -rf '{}' \\;",
"prepare": "husky install",
"test": "turbo run test --filter=./packages/* --no-daemon",
"ci:build": "pnpm install --frozen-lockfile && pnpm format && pnpm build && pnpm lint && pnpm check-types && pnpm test",
Expand Down

0 comments on commit 7cba736

Please sign in to comment.