Skip to content

Commit

Permalink
fix: 🐛 修复打包命令错误
Browse files Browse the repository at this point in the history
  • Loading branch information
shlroland committed May 3, 2022
1 parent e04ad5f commit 59950d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 59950d4

Please sign in to comment.