diff --git a/.npmignore b/.npmignore index 30ba8a2..82dd9fb 100644 --- a/.npmignore +++ b/.npmignore @@ -1,13 +1,10 @@ -.docz/ coverage/ -lib/ plop/ utilities/ .env .env.example .editorconfig .prettierrc -doczrc.js jest.config.js jest.setup.ts plopfile.js @@ -16,3 +13,5 @@ tsconfig.json yarn.lock **/*.test.d.ts *.log +packages/ +.idea/ diff --git a/package.json b/package.json index 976a845..f081b37 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "@tesseract-design/react-common", - "version": "0.2.2", + "version": "0.2.3", "description": "Common front-end components for Web using the Tesseract design system, written in React.", "directories": { "lib": "dist" }, "main": "dist/index.js", - "types": "dist/lib/index.d.ts", + "types": "dist/packages/react-common/src/index.d.ts", "repository": "https://code.modal.sh/tesseract-design/react-common.git", "author": "TheoryOfNekomata ", "license": "MIT", diff --git a/tsconfig.json b/tsconfig.json index f0d0e24..8480b00 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -26,6 +26,8 @@ "node_modules", "**/*.test.ts", "**/*.test.tsx", + "packages/react-common-docs/**/*.ts", + "packages/react-common-docs/**/*.tsx", "utilities/**/*", "jest.setup.ts" ]