From f0f3085bee9283ea88afa1e8773567dc6fd9b559 Mon Sep 17 00:00:00 2001 From: Robert Reinhard Date: Mon, 30 Sep 2024 16:22:49 -0700 Subject: [PATCH] Adding typecheck command --- package.json | 1 + packages/contentful/package.json | 3 ++- packages/next/package.json | 3 ++- packages/react/package.json | 3 ++- packages/sanity-next/package.json | 3 ++- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 36d4000..b92c825 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "scripts": { "build": "lerna run build", "test": "lerna run test --concurrency 1", + "typecheck": "lerna run typecheck", "prepare": "yarn build" }, "dependencies": {}, diff --git a/packages/contentful/package.json b/packages/contentful/package.json index c948507..3c125d5 100644 --- a/packages/contentful/package.json +++ b/packages/contentful/package.json @@ -12,7 +12,8 @@ ], "scripts": { "build": "vite build", - "test": "cypress run --component" + "test": "cypress run --component", + "typecheck": "tsc --noEmit" }, "dependencies": { "@react-visual/react": "^1.1.0" diff --git a/packages/next/package.json b/packages/next/package.json index 390deb5..021b043 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -12,7 +12,8 @@ ], "scripts": { "build": "vite build", - "test": "cypress run --component" + "test": "cypress run --component", + "typecheck": "tsc --noEmit" }, "dependencies": { "@react-visual/react": "^1.1.0" diff --git a/packages/react/package.json b/packages/react/package.json index 1fedac4..0acd33f 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -12,7 +12,8 @@ ], "scripts": { "build": "vite build", - "test": "cypress run --component" + "test": "cypress run --component", + "typecheck": "tsc --noEmit" }, "dependencies": { "@react-hook/media-query": "^1.1.1", diff --git a/packages/sanity-next/package.json b/packages/sanity-next/package.json index e867a10..38ffb55 100644 --- a/packages/sanity-next/package.json +++ b/packages/sanity-next/package.json @@ -12,7 +12,8 @@ ], "scripts": { "build": "vite build", - "test": "cypress run --component" + "test": "cypress run --component", + "typecheck": "tsc --noEmit" }, "dependencies": { "@react-visual/next": "^1.1.0",