From 620f70445ec074bfa5f30c6e7520c8bc7653cb14 Mon Sep 17 00:00:00 2001 From: Antoni Silvestrovic Date: Sat, 4 Nov 2023 21:04:12 +0200 Subject: [PATCH] Updated config --- packages/next/package.json | 4 ++-- packages/next/tsconfig.json | 3 +++ packages/react/package.json | 4 ++-- packages/react/tsconfig.json | 3 +++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/packages/next/package.json b/packages/next/package.json index 7d52545..c681a78 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -8,9 +8,9 @@ "scripts": { "build": "tsup src/index.ts --format cjs,esm --dts --external react --external next", "clean": "git clean -xdf .next .turbo node_modules", - "lint": "eslint .", + "lint": "eslint ./src", "dev": "tsup src/index.ts --format esm,cjs --watch --dts --external react --external next", - "typecheck": "tsc --noEmit", + "typecheck": "tsc", "with-env": "dotenv -e ../../.env --" }, "eslintConfig": { diff --git a/packages/next/tsconfig.json b/packages/next/tsconfig.json index d731786..383d9d1 100644 --- a/packages/next/tsconfig.json +++ b/packages/next/tsconfig.json @@ -1,5 +1,8 @@ { "extends": "@use-search-params-state/tsconfig/base.json", + "compilerOptions": { + "incremental": false + }, "include": ["."], "exclude": ["dist", "build", "node_modules"] } diff --git a/packages/react/package.json b/packages/react/package.json index c431c9b..7233183 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -12,8 +12,8 @@ "build": "tsup src/index.ts --format cjs,esm --dts --external react", "clean": "git clean -xdf .next .turbo node_modules", "dev": "tsup src/index.ts --format esm,cjs --watch --dts --external react", - "lint": "eslint .", - "typecheck": "tsc --noEmit", + "lint": "eslint ./src", + "typecheck": "tsc", "with-env": "dotenv -e ../../.env --" }, "dependencies": { diff --git a/packages/react/tsconfig.json b/packages/react/tsconfig.json index d731786..383d9d1 100644 --- a/packages/react/tsconfig.json +++ b/packages/react/tsconfig.json @@ -1,5 +1,8 @@ { "extends": "@use-search-params-state/tsconfig/base.json", + "compilerOptions": { + "incremental": false + }, "include": ["."], "exclude": ["dist", "build", "node_modules"] }