Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nuxi): Add .data Directory Cleanup to nuxi cleanup Command #735

Open
nexoscreator opened this issue Feb 11, 2025 · 0 comments
Open

Comments

@nexoscreator
Copy link

The npx nuxi cleanup command removes commonly generated files and caches, such as:

  • .nuxt (build files)
  • .output (server output files)
  • node_modules/.vite (Vite cache)
  • node_modules/.cache (other build caches)

However, it does not remove the .data directory, which stores Nitro-generated data files and Nuxt Content v3 data (e.g., contents.sqlite), it should be safe to remove during cleanup.

  • Update nuxi cleanup to remove the .data directory by default.
  • Add an optional flag (--keep-data) for those who want to retain it.

This would help keep projects clean, free of outdated files, and more....

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

No branches or pull requests

1 participant