From c9a2ede1b75642fdf0de99c437bc6ead97ff22c5 Mon Sep 17 00:00:00 2001 From: Tom Power Date: Thu, 3 Nov 2022 08:05:00 +0000 Subject: [PATCH] fix: try to get build passing - add parcel --no-cache - ignore try catch type errors in tsconfig --- package.json | 2 +- src/tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8daee77..3b7f199 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "clean": "shx rm -rf dist ./.parcel-cache", "build.tsc": "tsc -p src/tsconfig.json", "dev": "tsc --watch -p src/tsconfig.json", - "build": "cross-env NODE_ENV=production parcel build --target main ./src/terminal.ts", + "build": "cross-env NODE_ENV=production parcel build --target main ./src/terminal.ts --no-cache", "build-commit": "npm run clean && build-commit -o dist", "prepare": "npm run build" }, diff --git a/src/tsconfig.json b/src/tsconfig.json index 147f71c..7de8202 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -26,7 +26,8 @@ "module": "commonjs", "moduleResolution": "node", "importHelpers": false, - "outDir": "../dist" + "outDir": "../dist", + "useUnknownInCatchVariables": false }, "compileOnSave": false }