From 64b15df86daa31afa391482977779dc8100cc604 Mon Sep 17 00:00:00 2001 From: Brett Weissbart Date: Mon, 2 Dec 2019 11:50:58 -0500 Subject: [PATCH] chore: add error message if user runs tsc on top level (#944) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 39f8a28060..dacd2e8fde 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,8 @@ "ship:compile-android": "lerna run --stream --scope @brandingbrand/pirateship compile-android", "ship:compile-web": "lerna run --stream --scope @brandingbrand/pirateship compile-web", "build:docs": "typedoc --tsconfig ./tsconfig/tsconfig.docs.json", - "docs": "run-s build:docs build:storybook" + "docs": "run-s build:docs build:storybook", + "tsc": "echo 'Cannot run tsc from top level of monorepo; run \"yarn prepare\" instead' && exit 1" }, "devDependencies": { "@babel/core": "^7.4.5",