From fb2c3bc92f69e598e7b203049641733b480a0d77 Mon Sep 17 00:00:00 2001 From: Shinwoo PARK Date: Tue, 18 Mar 2025 21:27:23 +0900 Subject: [PATCH] chore: update npm publish commands in package.json Added `up:beta` script to publish with the beta tag and updated `up` script to use `yarn npm publish` instead of `yarn publish` for consistency with npm commands. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d5ae893..c23ad88 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "scripts": { "docs": "cp ./README.md ./dist/README.md", "build": "rimraf ./dist/lib && tsc --project tsconfig.build.json", - "up": "yarn docs && yarn build && yarn publish dist", + "up": "yarn docs && yarn build && yarn npm publish dist", + "up:beta": "yarn docs && yarn build && yarn npm publish dist --tag beta", "test": "ts-node ./src/test/index.ts" }, "packageManager": "yarn@4.7.0+sha512.5a0afa1d4c1d844b3447ee3319633797bcd6385d9a44be07993ae52ff4facabccafb4af5dcd1c2f9a94ac113e5e9ff56f6130431905884414229e284e37bb7c9"