🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
refactor: add nuke command (#1400)
Max Deichmannc1190d70dab1
diff --git a/package.json b/package.jsonindex 1e18ae49e6..b658c595b1 100644--- a/package.json+++ b/package.json@@ -6,6 +6,7 @@"infra:dev:down": "docker-compose -f ./docker-compose.dev.yml down","dev": "npm run dev --prefix worker/ & npm run dev --prefix web/","postinstall": "cd worker && npm install && cd ../web && npm install",+ "nuke": "bash ./scripts/nuke.sh","dx": "dotenv -e .env -- npm i && npm run infra:dev:up && cd web && npm run db:reset && npm run db:seed:examples && cd .. && npm run dev"},"author": "",diff --git a/scripts/nuke.sh b/scripts/nuke.shnew file mode 100644index 0000000000..9469dbc5b9--- /dev/null+++ b/scripts/nuke.sh@@ -0,0 +1,9 @@++# used to nuke the dev environment for engineers++find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \;+find . -name '.next' -type d -prune -print -exec rm -rf '{}' \;+find . -iname "bin" -type d -prune -print -exec rm -rf '{}' \;+find . -iname "dist" -type d -prune -print -exec rm -rf '{}' \;+find . -iname "out" -type d -prune -print -exec rm -rf '{}' \;+find . -iname ".turbo" -type d -prune -print -exec rm -rf '{}' \;\ No newline at end of file