diff --git a/package.json b/package.json index 5b8dc71..0f698d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "webext-rpc", - "version": "1.0.3", + "version": "1.0.4", + "packageManager": "pnpm@9.5.0", "description": "A type-safe RPC for all webextension, client side code does not contain the actual called code, supports async generator functions", "type": "module", "publishConfig": { @@ -26,7 +27,7 @@ "build": "tsup src/index.ts src/utils/index.ts --clean --out-dir lib --dts --format esm,cjs,iife --global-name webextRPC", "test": "vitest", "buildWhithDemo": "pnpm run build && cd demo && pnpm install && pnpm run dev", - "publish:ci": "tsx scripts/release.ts" + "publish:ci": "tsx script/release.ts" }, "repository": { "type": "git", diff --git a/script/release.ts b/script/release.ts index 8a4e171..bc68348 100644 --- a/script/release.ts +++ b/script/release.ts @@ -2,7 +2,7 @@ import { $, cd } from 'zx' async function release() { await $`pnpm run build` - await $`pnpm publish` + await $`npm publish` } release()