From 29dbb47f8f1c420f1082bb4c120f33500b84f215 Mon Sep 17 00:00:00 2001 From: Graeme Fulton Date: Sun, 18 Aug 2024 03:27:41 +0100 Subject: [PATCH] media config for typr editor --- jsconfig.json | 3 --- switch-mode.sh | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/jsconfig.json b/jsconfig.json index 5e9d4523..0e1c43e6 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -10,9 +10,6 @@ ], "@/styles/*": [ "styles/*" - ], - "tiptypr": [ - "./prototypr-packages/tiptypr/src" ] } } diff --git a/switch-mode.sh b/switch-mode.sh index d35ac584..8f0ad900 100755 --- a/switch-mode.sh +++ b/switch-mode.sh @@ -149,6 +149,7 @@ switch_to_npm() { echo "prototypr-packages directory not found. Skipping package installation." fi + jq 'del(.compilerOptions.paths.tiptypr)' jsconfig.json > temp.json && mv temp.json jsconfig.json echo "Switched to npm packages mode."