From 2058df416e49ec676e422a527e3e057675678fbd Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Sat, 26 Dec 2020 22:07:25 +0800 Subject: [PATCH] Update ignores Ignore node_modules files under packages. --- .npmignore | 5 ++--- package.json | 4 ++-- tsconfig.json | 2 ++ 3 files changed, 6 insertions(+), 5 deletions(-) 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" ]