From 2b8c1e2d32d21cfbedfd548959cde2e47cd511dc Mon Sep 17 00:00:00 2001 From: Harvey Zack Date: Sun, 26 May 2024 19:53:13 +0800 Subject: [PATCH] chore: Update npmClient to use yarn instead of lerna bootstrap --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 376b76b0a..2bea6454a 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,11 @@ "version": "5.1.0", "type": "module", "description": "ArtPlayer.js is a modern and full featured HTML5 video player", + "workspaces": [ + "packages/*" + ], "scripts": { "build:all": "npm run build all && npm run build:i18n && npm run build:sw && npm run build:ts && npm run build:docs", - "bootstrap": "npx lerna bootstrap", "lint": "npx eslint packages/*/src", "build:sw": "node ./scripts/build-sw.js", "build:ts": "node ./scripts/build-ts.js", @@ -15,7 +17,8 @@ "dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js", "build": "npx cross-env NODE_ENV=production node ./scripts/build.js", "prettier": "npx prettier --write .", - "postinstall": "npm run bootstrap" + "postinstall": "npx lerna run prepare", + "bootstrap": "npx lerna link" }, "repository": { "type": "git",