From a74bf2cb6e54352d0ba821fbf187472bd9be0a08 Mon Sep 17 00:00:00 2001 From: Jonas Strassel Date: Fri, 1 Nov 2024 10:53:44 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=93=A2=20publish=20with=20public?= =?UTF-8?q?=20access?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apparently this is needed the first time one publishes a scoped package. --- package.json | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index de6c4bb..7429957 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "@bgd-labs/rpc-env", "version": "1.0.1", "private": false, + "publishConfig": { + "access": "public" + }, "scripts": { "build": "tsup", "test": "vitest", @@ -43,17 +46,11 @@ "vitest": "^2.1.3" }, "tsup": { - "entry": [ - "src/action.ts", - "src/lib.ts" - ], + "entry": ["src/action.ts", "src/lib.ts"], "splitting": false, "sourcemap": false, "clean": true, "dts": true, - "format": [ - "esm", - "cjs" - ] + "format": ["esm", "cjs"] } }