From c757bf62fa9ac71bc59aed3de2cc76ac826eb38f Mon Sep 17 00:00:00 2001 From: Tyler Biethman Date: Fri, 15 Apr 2022 13:29:55 -0500 Subject: [PATCH] Adding Zach's changes to hopefully fix type failures --- cli/package.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cli/package.json b/cli/package.json index b1076a7cb1c1..b2aff077b46d 100644 --- a/cli/package.json +++ b/cli/package.json @@ -8,7 +8,7 @@ "prebuild": "yarn postinstall && node ./scripts/start-build.js", "build": "node ./scripts/build.js", "dtslint": "dtslint types", - "postinstall": "node ./scripts/post-install.js", + "postinstall": "patch-package && node ./scripts/post-install.js", "size": "t=\"cypress-v0.0.0.tgz\"; yarn pack --filename \"${t}\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";", "test": "yarn test-unit", "test-debug": "node --inspect-brk $(yarn bin mocha)", @@ -110,5 +110,10 @@ "engines": { "node": ">=12.0.0" }, - "types": "types" + "types": "types", + "workspaces": { + "nohoist": [ + "@types/*" + ] + } }