From 36f9913a55cd604ad739336361495fa7ca942c59 Mon Sep 17 00:00:00 2001 From: Konstantin Wohlwend Date: Thu, 25 Jun 2026 11:01:44 -0700 Subject: [PATCH] Update clean script to include nex-development-environment folder --- apps/dashboard/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/package.json b/apps/dashboard/package.json index 3e57365e6..8fffa9731 100644 --- a/apps/dashboard/package.json +++ b/apps/dashboard/package.json @@ -4,7 +4,7 @@ "repository": "https://github.com/hexclave/hexclave", "private": true, "scripts": { - "clean": "rimraf .next && rimraf node_modules", + "clean": "rimraf .next .next-development-environment node_modules", "typecheck": "tsc --noEmit", "with-env": "dotenv -c development --", "with-env:prod": "dotenv -c --", @@ -12,7 +12,7 @@ "dev:rde-production": "node scripts/dev-rde-production.mjs", "bundle-type-definitions": "tsx scripts/bundle-type-definitions.ts", "bundle-type-definitions:watch": "tsx watch --clear-screen=false scripts/bundle-type-definitions.ts", - "build": "pnpm run bundle-type-definitions && next build", + "build": "rimraf .next/types .next/dev/types .next-development-environment/types .next-development-environment/dev/types && pnpm run bundle-type-definitions && next build", "build:rde-standalone": "NEXT_CONFIG_OUTPUT=standalone STACK_NEXT_CONFIG_DISABLE_TYPESCRIPT=true pnpm run build", "docker-build": "pnpm run bundle-type-definitions && next build --experimental-build-mode compile", "analyze-bundle": "next experimental-analyze",