From a96660968201a58af0790a556cb5004e756ad349 Mon Sep 17 00:00:00 2001 From: Wil Wilsman Date: Fri, 1 Apr 2022 18:38:00 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Remove=20relative=20path=20from?= =?UTF-8?q?=20package=20files=20(#858)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apparently paths with leading dots cause yarn and npm to not properly package files --- packages/cli-build/package.json | 2 +- packages/cli-command/package.json | 2 +- packages/cli-config/package.json | 2 +- packages/cli-exec/package.json | 2 +- packages/cli-snapshot/package.json | 2 +- packages/cli-upload/package.json | 2 +- packages/cli/package.json | 4 ++-- packages/client/package.json | 4 ++-- packages/config/package.json | 4 ++-- packages/core/package.json | 8 ++++---- packages/env/package.json | 2 +- packages/logger/package.json | 6 +++--- packages/sdk-utils/package.json | 8 ++++---- 13 files changed, 24 insertions(+), 24 deletions(-) diff --git a/packages/cli-build/package.json b/packages/cli-build/package.json index 224d1eedf..6d1775b3f 100644 --- a/packages/cli-build/package.json +++ b/packages/cli-build/package.json @@ -14,7 +14,7 @@ "node": ">=14" }, "files": [ - "./dist" + "dist" ], "main": "./dist/index.js", "type": "module", diff --git a/packages/cli-command/package.json b/packages/cli-command/package.json index e66965d09..634078d1e 100644 --- a/packages/cli-command/package.json +++ b/packages/cli-command/package.json @@ -11,7 +11,7 @@ "access": "public" }, "files": [ - "./dist" + "dist" ], "engines": { "node": ">=14" diff --git a/packages/cli-config/package.json b/packages/cli-config/package.json index e745c300c..52ee69651 100644 --- a/packages/cli-config/package.json +++ b/packages/cli-config/package.json @@ -14,7 +14,7 @@ "node": ">=14" }, "files": [ - "./dist" + "dist" ], "main": "./dist/index.js", "type": "module", diff --git a/packages/cli-exec/package.json b/packages/cli-exec/package.json index 3d1695dc1..5fd935e51 100644 --- a/packages/cli-exec/package.json +++ b/packages/cli-exec/package.json @@ -14,7 +14,7 @@ "node": ">=14" }, "files": [ - "./dist" + "dist" ], "main": "./dist/index.js", "type": "module", diff --git a/packages/cli-snapshot/package.json b/packages/cli-snapshot/package.json index 4b1fb6517..b3eeca860 100644 --- a/packages/cli-snapshot/package.json +++ b/packages/cli-snapshot/package.json @@ -14,7 +14,7 @@ "node": ">=14" }, "files": [ - "./dist" + "dist" ], "main": "./dist/index.js", "type": "module", diff --git a/packages/cli-upload/package.json b/packages/cli-upload/package.json index 428b82bb5..fa1723137 100644 --- a/packages/cli-upload/package.json +++ b/packages/cli-upload/package.json @@ -14,7 +14,7 @@ "node": ">=14" }, "files": [ - "./dist" + "dist" ], "main": "./dist/index.js", "type": "module", diff --git a/packages/cli/package.json b/packages/cli/package.json index 90113bd7e..29fd26873 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -11,8 +11,8 @@ "access": "public" }, "files": [ - "./bin", - "./dist" + "bin", + "dist" ], "engines": { "node": ">=14" diff --git a/packages/client/package.json b/packages/client/package.json index e83bede7f..f1a3e27c3 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -14,8 +14,8 @@ "node": ">=14" }, "files": [ - "./dist", - "./test/helpers.js" + "dist", + "test/helpers.js" ], "main": "./dist/index.js", "type": "module", diff --git a/packages/config/package.json b/packages/config/package.json index 6fdd28409..e75d14245 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -14,8 +14,8 @@ "node": ">=14" }, "files": [ - "./dist", - "./types/index.d.ts" + "dist", + "types/index.d.ts" ], "main": "./dist/index.js", "types": "./types/index.d.ts", diff --git a/packages/core/package.json b/packages/core/package.json index 511f30dfa..90088aba0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -14,10 +14,10 @@ "node": ">=14" }, "files": [ - "./dist", - "./post-install.js", - "./types/index.d.ts", - "./test/helpers/server.js" + "dist", + "post-install.js", + "types/index.d.ts", + "test/helpers/server.js" ], "main": "./dist/index.js", "types": "types/index.d.ts", diff --git a/packages/env/package.json b/packages/env/package.json index 01c14fb42..f9efecace 100644 --- a/packages/env/package.json +++ b/packages/env/package.json @@ -14,7 +14,7 @@ "node": ">=14" }, "files": [ - "./dist" + "dist" ], "main": "./dist/index.js", "type": "module", diff --git a/packages/logger/package.json b/packages/logger/package.json index 049546e20..e720f3a18 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -14,9 +14,9 @@ "node": ">=14" }, "files": [ - "./dist", - "./test/helpers.js", - "./test/client.js" + "dist", + "test/helpers.js", + "test/client.js" ], "main": "./dist/index.js", "browser": "./dist/bundle.js", diff --git a/packages/sdk-utils/package.json b/packages/sdk-utils/package.json index 8a3778e06..d4f4ca183 100644 --- a/packages/sdk-utils/package.json +++ b/packages/sdk-utils/package.json @@ -14,10 +14,10 @@ "node": ">=14" }, "files": [ - "./dist", - "./test/server.js", - "./test/client.js", - "./test/helpers.js" + "dist", + "test/server.js", + "test/client.js", + "test/helpers.js" ], "main": "./dist/index.js", "browser": "./dist/bundle.js",