From 59950d450cc69e2f2ac64e948d8fd71695d20395 Mon Sep 17 00:00:00 2001 From: shlroland Date: Tue, 3 May 2022 15:10:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D=E6=89=93?= =?UTF-8?q?=E5=8C=85=E5=91=BD=E4=BB=A4=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- scripts/build.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 scripts/build.sh diff --git a/package.json b/package.json index 47601e17..a860fb3d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "description": "前端lint工具大集合", "main": "index.js", "scripts": { - "build": "pnpm run build --stream --parallel --filter {packages}", + "build": "./scripts/build.sh", "dev": "pnpm run dev --stream --parallel --filter {packages}", "fix:lint": "eslint packages --ext .ts --fix", "fix:prettier": "prettier \"packages/**/*.ts\" --write", diff --git a/scripts/build.sh b/scripts/build.sh new file mode 100755 index 00000000..27865568 --- /dev/null +++ b/scripts/build.sh @@ -0,0 +1,3 @@ +pnpm --filter \!"@shlroland/create-lint-config-cli" --filter \!"@shlroland/lint-config-cli" --filter \!"@shlroland/lint-config" build +pnpm --filter "@shlroland/lint-config-cli" build +pnpm --filter "@shlroland/create-lint-config-cli" build \ No newline at end of file