diff --git a/package.json b/package.json index 3ddb86bce..117ca9bb4 100644 --- a/package.json +++ b/package.json @@ -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",