chore: cleanup orphaned files and configs #3442
Merged
+0
−15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What maintenance tasks does this perform? Explain your changes.
I noticed we have a
netlify.tomlfile and it's also listed in the.distignore, but we no longer deploy to Netlify (the docs site used to exist on Netlify, but was never cleaned up). I did a quick audit and found a few other orphaned files and entries that should be cleaned up.Files deleted:
netlify.toml- Docs site isn't on Netlify anymore, no references in codebase.codeclimate.yml- No references found anywhereCleaned up
.distignore:Removed entries for files that don't actually exist:
.babel.config.cjs- Babel is handled by@wordpress/scripts.gitattributes- File doesn't exist (used to be used before deploying to WordPress.org).github_changelog_generator- File doesn't exist (intended to use, but went with customrelease.ymlworkflow)jest.config.js- Jest is handled by@wordpress/scriptsnetlify.toml- Now deleted (used to deploy docs to Netlify).codeclimate.yml- Now deleted (used to use the GitHub app but no longer do)Maintenance Changes
Files Modified:
netlify.toml- Deleted (used to deploy docs to Netlify, but no longer do).codeclimate.yml- Deleted (used to use the GitHub App, but no longer do).distignore- Removed 6 orphaned entriesThis just makes the repo a bit cleaner and less confusing. No one needs to wonder why files are listed in
.distignorethat don't exist.Testing Strategy
Verified:
composer run zipstill works (and installing/executing the plugin from that .zip still works).distignore: All remaining entries point to existing files/directoriesImpact Assessment
There should be no impact on WPGraphQL functionality - this is just cleanup. No functional / breaking changes.