From d4029004cc3609ba0c0dc8c0e2801395da9c9d80 Mon Sep 17 00:00:00 2001 From: Bailey Tincher Date: Wed, 28 Apr 2021 23:04:05 -0500 Subject: [PATCH] Fix packaging for type definitions --- client/.npmignore | 16 +++------------- client/package.json | 4 ++-- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/client/.npmignore b/client/.npmignore index e1e4568..0b9eb6e 100644 --- a/client/.npmignore +++ b/client/.npmignore @@ -1,18 +1,8 @@ -tests -coverage -jest.config.ts - -.github - *.md -.huskyrc.json -.lintstagedrc.json -.eslintignore -.eslintrc.json -.prettierignore -.prettierrc.json +webpack.config.d.ts yarn-error.log -src \ No newline at end of file +src +!dist/src \ No newline at end of file diff --git a/client/package.json b/client/package.json index 19fa1d2..725fce1 100644 --- a/client/package.json +++ b/client/package.json @@ -8,8 +8,8 @@ "colab", "Actually Colab" ], - "main": "dist/index.js", - "types": "dist/src/index.d.ts", + "main": "./dist/index.js", + "types": "./dist/src/index.d.ts", "repository": "https://github.com/actually-colab/editor", "author": "Bailey Tincher ", "license": "BUSL-1.1",