From 550a90e18a48944c4e0923f0ef0c0ed31bb3a837 Mon Sep 17 00:00:00 2001 From: matijagaspar Date: Thu, 21 Nov 2024 13:41:44 +0100 Subject: [PATCH] fix: jsdelivr potential fix --- packages/client/package.json | 2 -- scripts/versions.mjs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/client/package.json b/packages/client/package.json index 32648f8..de61055 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -9,12 +9,10 @@ "types": "./dist/index.d.ts", "runkitExampleFilename": "./example/runkit.js", "exports": { - ".": { "types": "./dist/index.d.ts", "browser": "./dist/index.global.js", "require": "./dist/index.cjs", "import": "./dist/index.js" - } }, "scripts": { "watch": "tsup --config tsup.lib.js --watch src", diff --git a/scripts/versions.mjs b/scripts/versions.mjs index bc76805..614b7c1 100644 --- a/scripts/versions.mjs +++ b/scripts/versions.mjs @@ -73,7 +73,7 @@ async function main() { console.log(`\x1b[32mCommitting changes and creating a tag (pushing is left to you) ...\x1b[0m`) await git.commit( 'chore: Version bump', - packages.map(({path:p}) => `${p.replace(/\\/g,'/')}/package.json`), + [...packages.map(({path:p}) => `${p.replace(/\\/g,'/')}/package.json`), 'package.json'], { '--no-verify': true }, )