From f5e2c066a2bf00c7da6e9229812be54853881f73 Mon Sep 17 00:00:00 2001 From: wendraw <252798869@qq.com> Date: Fri, 1 Nov 2024 16:12:36 +0800 Subject: [PATCH 1/2] chore: replace prepublishOnly with prepare scripts to auto build @webav/av-cliper and @webav/internal-utils --- packages/av-cliper/package.json | 2 +- packages/internal-utils/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/av-cliper/package.json b/packages/av-cliper/package.json index 755b64fc..22610ff9 100644 --- a/packages/av-cliper/package.json +++ b/packages/av-cliper/package.json @@ -34,7 +34,7 @@ "build:dev": "vite build --watch", "build:api": "typedoc src/index.ts --out ../../doc-site/public/_api/av-cliper", "build:api:watch": "typedoc src/index.ts --out ../../doc-site/public/_api/av-cliper --watch", - "prepublishOnly": "pnpm build" + "prepare": "pnpm build" }, "files": [ "dist" diff --git a/packages/internal-utils/package.json b/packages/internal-utils/package.json index fd92373b..9d2ae611 100644 --- a/packages/internal-utils/package.json +++ b/packages/internal-utils/package.json @@ -19,7 +19,7 @@ "ci:test": "vitest run", "build": "vite build", "build:dev": "vite build --watch", - "prepublishOnly": "pnpm build" + "prepare": "pnpm build" }, "dependencies": { "@webav/mp4box.js": "0.5.4-fenghen" From b17826923b62e28db385238f05ed2c6a3eaf54f4 Mon Sep 17 00:00:00 2001 From: wendraw <252798869@qq.com> Date: Fri, 1 Nov 2024 16:14:26 +0800 Subject: [PATCH 2/2] chore: add changeset --- .changeset/spicy-lamps-tell.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/spicy-lamps-tell.md diff --git a/.changeset/spicy-lamps-tell.md b/.changeset/spicy-lamps-tell.md new file mode 100644 index 00000000..d8b31e2c --- /dev/null +++ b/.changeset/spicy-lamps-tell.md @@ -0,0 +1,6 @@ +--- +'@webav/internal-utils': patch +'@webav/av-cliper': patch +--- + +chore: replace prepublishOnly with prepare scripts to auto build @webav/av-cliper and @webav/internal-utils