From 7ed1ed5003c60fb4b5801332c42ed5705e0f6cbe Mon Sep 17 00:00:00 2001 From: Benjamin Altpeter Date: Thu, 12 Dec 2024 13:47:53 +0000 Subject: [PATCH] Clear Parcel cache before publishing The Parcel cache tends to cause weird and hard-to-debug bugs. We definitely need to clear that before creating a package for release. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 28b7311..6310dc2 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "debug-adapter": "tsx scripts/debug-adapter.ts", "fix": "yarn eslint . --ignore-path .gitignore --ext .js,.jsx,.ts,.tsx --fix", "lint": "tsc && eslint . --ignore-path .gitignore --ext .js,.jsx,.ts,.tsx && git diff --check", - "prepack": "rm -rf dist && yarn build && yarn typedoc", + "prepack": "rm -rf .parcel-cache dist && yarn build && yarn typedoc", "test": "echo 'TODO: No tests specified yet.'", "watch": "parcel watch" },