From 08fbcc7f3e29fb07e5a4ce27eeb890d3519c4ca1 Mon Sep 17 00:00:00 2001 From: Paul Tiedtke Date: Tue, 19 Mar 2024 03:06:55 +0100 Subject: [PATCH] fix: npm package missing exports and jsx not transformed --- src/index.ts | 4 ++++ tsconfig.json | 21 ++++++++++++++------- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/index.ts b/src/index.ts index daa60a2..d323e3f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,9 @@ export * from '@nextui-org/react'; export * from './components/color-input/ColorInput'; +export * from './components/color-selector/ColorSelector'; + export * from './fragments/shell/Shell'; export * from './fragments/sidebar/Sidebar'; + +export * from './hooks/breakpoints'; diff --git a/tsconfig.json b/tsconfig.json index 913ebc9..4dbb9b1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,15 +2,22 @@ "include": ["src/**/*"], "compilerOptions": { "rootDir": "src", - "target": "es6", - "module": "es6", "outDir": "dist", - "strict": true, - "esModuleInterop": true, "forceConsistentCasingInFileNames": true, - "jsx": "preserve", - "moduleResolution": "node", + "target": "esnext", + "module": "esnext", + "lib": ["dom", "esnext"], "declaration": true, + "sourceMap": true, + "moduleResolution": "node", "skipLibCheck": true, - } + "strict": true, + "isolatedModules": true, + "noFallthroughCasesInSwitch": true, + "jsx": "react-jsx", + "esModuleInterop": true, + "resolveJsonModule": true, + "allowSyntheticDefaultImports": true, + "downlevelIteration": true, + }, } \ No newline at end of file