diff --git a/package.json b/package.json index b926afc80..321fdd1ed 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "build": "lerna exec --scope @uiw/* -- tsbb build \"src/*.{ts,tsx}\" --use-babel --cjs cjs", "start": "lerna exec --scope website -- npm run start", "doc": "lerna exec --scope website -- npm run build", + "type-check": "lerna exec \"tsc --noEmit\" --scope @uiw/* --stream", "test": "tsbb test --env=jsdom", "coverage": "tsbb test --coverage --bail", "prepare": "husky install", diff --git a/packages/color-alpha/tsconfig.json b/packages/color-alpha/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-alpha/tsconfig.json +++ b/packages/color-alpha/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-block/tsconfig.json b/packages/color-block/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-block/tsconfig.json +++ b/packages/color-block/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-chrome/tsconfig.json b/packages/color-chrome/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-chrome/tsconfig.json +++ b/packages/color-chrome/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-circle/tsconfig.json b/packages/color-circle/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-circle/tsconfig.json +++ b/packages/color-circle/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-colorful/tsconfig.json b/packages/color-colorful/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-colorful/tsconfig.json +++ b/packages/color-colorful/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-compact/tsconfig.json b/packages/color-compact/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-compact/tsconfig.json +++ b/packages/color-compact/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-convert/tsconfig.json b/packages/color-convert/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-convert/tsconfig.json +++ b/packages/color-convert/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-editable-input-hsla/tsconfig.json b/packages/color-editable-input-hsla/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-editable-input-hsla/tsconfig.json +++ b/packages/color-editable-input-hsla/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-editable-input-rgba/tsconfig.json b/packages/color-editable-input-rgba/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-editable-input-rgba/tsconfig.json +++ b/packages/color-editable-input-rgba/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-editable-input/tsconfig.json b/packages/color-editable-input/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-editable-input/tsconfig.json +++ b/packages/color-editable-input/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-github/tsconfig.json b/packages/color-github/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-github/tsconfig.json +++ b/packages/color-github/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-hue/tsconfig.json b/packages/color-hue/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-hue/tsconfig.json +++ b/packages/color-hue/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-material/tsconfig.json b/packages/color-material/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-material/tsconfig.json +++ b/packages/color-material/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-name/tsconfig.json b/packages/color-name/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-name/tsconfig.json +++ b/packages/color-name/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-saturation/tsconfig.json b/packages/color-saturation/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-saturation/tsconfig.json +++ b/packages/color-saturation/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-shade-slider/tsconfig.json b/packages/color-shade-slider/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-shade-slider/tsconfig.json +++ b/packages/color-shade-slider/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-sketch/tsconfig.json b/packages/color-sketch/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-sketch/tsconfig.json +++ b/packages/color-sketch/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-slider/tsconfig.json b/packages/color-slider/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-slider/tsconfig.json +++ b/packages/color-slider/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-swatch/tsconfig.json b/packages/color-swatch/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-swatch/tsconfig.json +++ b/packages/color-swatch/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color-wheel/tsconfig.json b/packages/color-wheel/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/color-wheel/tsconfig.json +++ b/packages/color-wheel/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/color/tsconfig.json b/packages/color/tsconfig.json index b6fdbabd1..baffa7af3 100644 --- a/packages/color/tsconfig.json +++ b/packages/color/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src", ".kktrc.ts"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } } diff --git a/packages/drag-event-interactive/tsconfig.json b/packages/drag-event-interactive/tsconfig.json index e27302c76..127528e05 100644 --- a/packages/drag-event-interactive/tsconfig.json +++ b/packages/drag-event-interactive/tsconfig.json @@ -3,7 +3,6 @@ "include": ["./src"], "compilerOptions": { "outDir": "./cjs", - "emitDeclarationOnly": true, "noEmit": false } }