From 1ae0e8b169ae56b5a01082a5d8f1ce9418d2b120 Mon Sep 17 00:00:00 2001 From: Ayo Date: Fri, 3 Apr 2026 23:08:46 +0200 Subject: [PATCH] chore: adjust lib scripts for build and release --- lib/package.json | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/package.json b/lib/package.json index b9ace2e..2f0152c 100644 --- a/lib/package.json +++ b/lib/package.json @@ -10,8 +10,7 @@ }, "scripts": { "publish": "npm publish", - "release": "bumpp && node ../scripts/release.js && publish", - "build:release": "npm run build:lib && npm run release" + "release": "bumpp && node ../scripts/release.js && publish" }, "main": "mnswpr.js", "exports": { diff --git a/package.json b/package.json index 9dcfac6..5034010 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "start": "vite app", "build:preview": "pnpm -F app run build:preview", "build:lib": "vite build lib --config vite-lib.config.js", - "release:lib": "pnpm run build:lib && pnpm -F @ayo-run/mnswpr release", + "release": "pnpm -F @ayo-run/mnswpr release", "prepare": "husky", "lint": "eslint .", "lint:fix": "eslint . --fix"