ops: define cleanup script for cloudflare deployments #242
+183
−2
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.
This pull request, a digital cleanup crew armed with a rusty wrench and a cryptic script, descends upon the
projects/client
directory, leaving a trail of updated configurations and purged Cloudflare deployments in its wake. Observe, with a mix of curiosity and apprehension, the meticulous adjustments to Deno paths, the conjuring of a cleanup script, and the subtle yet impactful modifications to thepackage.json
file.Configuration updates (or, "The Pathfinding Expedition, Part III"):
.vscode/settings.json
file, a treasure map of developer preferences, undergoes a cartographic correction, itsdeno.disablePaths
setting now pointing towards theprojects/client/src
directory, like a compass needle guiding developers towards the true source of code.New Cloudflare cleanup script (or, "The Digital Grim Reaper"):
cleanup-cloudflare.ts
script materializes from the depths of the.scripts
directory, a digital grim reaper tasked with purging outdated Cloudflare deployments. This automated executioner, armed with functions for fetching and deleting deployments, promises to maintain order in the server's attic, ensuring that only the most recent 15 deployments remain, like trophies on a digital mantlepiece.Package updates (or, "The Script Summoner"):
package.json
file, a registry of project commands, welcomes a new addition: thecloudflare:cleanup
script, an incantation for summoning the Cloudflare cleanup script. This new command, a testament to our desire for automation and efficiency, empowers developers to unleash the digital grim reaper with a single command, purging outdated deployments and maintaining a clean and organized server environment.These changes, a testament to our ongoing struggle against digital clutter and our relentless pursuit of code hygiene, collectively enhance the project's maintainability and streamline the management of Cloudflare deployments. The updated Deno paths configuration ensures that developers can navigate the codebase with ease, while the new cleanup script automates the tedious task of purging outdated deployments. The result is a cleaner, more organized project, where outdated deployments are swiftly dispatched to the digital graveyard, and the server remains a haven of efficiency and order.
300 deployments deleted