From 84f57601f5a93ade4e7dbe7fa7dd6753c1062c94 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Sun, 5 Sep 2021 11:51:59 +0100 Subject: [PATCH] Adds publishConfig --- lerna.json | 5 +++-- packages/core/package.json | 6 +----- packages/tldraw/package.json | 5 +---- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/lerna.json b/lerna.json index d80e8dea5..4ac081f06 100644 --- a/lerna.json +++ b/lerna.json @@ -2,8 +2,9 @@ "version": "0.0.71", "registry": "https://registry.npmjs.org/", "publishConfig": { - "access": "public" + "access": "public", + "directory": "dist" }, "npmClient": "yarn", "useWorkspaces": true -} +} \ No newline at end of file diff --git a/packages/core/package.json b/packages/core/package.json index a26b09f51..b5f6e4fe6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -11,10 +11,6 @@ }, "license": "MIT", "keywords": [], - "files": [ - "dist", - "dist/*" - ], "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -60,4 +56,4 @@ "react-use-gesture": "^9.1.3" }, "gitHead": "39b8751b65706ba1bfd3a03a01e4e676f56a54ea" -} +} \ No newline at end of file diff --git a/packages/tldraw/package.json b/packages/tldraw/package.json index 2e109875f..834bb7936 100644 --- a/packages/tldraw/package.json +++ b/packages/tldraw/package.json @@ -11,9 +11,6 @@ }, "license": "MIT", "keywords": [], - "files": [ - "dist" - ], "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -70,4 +67,4 @@ "rko": "^0.5.20" }, "gitHead": "39b8751b65706ba1bfd3a03a01e4e676f56a54ea" -} +} \ No newline at end of file