Skip to content

Commit

Permalink
chore(npm script): rename 'all:build' to 'build'
Browse files Browse the repository at this point in the history
  • Loading branch information
F-star committed Aug 4, 2024
1 parent 244cb71 commit 1f25a79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: build static files
# Treating warnings as errors because process.env.CI = true.
# 暂时不处理 eslint 的 warn,改成 false
run: pnpm run all:build
run: pnpm run build

# 部署到自己的服务器
- name: deploy file to server
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pnpm run dev
## Build

```sh
pnpm all:build
pnpm build
```

The target output folder is `packages/suika/build`.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"scripts": {
"dev": "run-p common:dev icons:dev components:dev geo:dev core:dev app:dev",
"all:build": "pnpm -r exec pnpm run build",
"build": "pnpm -r exec pnpm run build",
"app:dev": "pnpm --filter @suika/suika dev",
"app:build": "pnpm --filter @suika/suika build",
"storybook": "pnpm --filter @suika/components storybook",
Expand Down

0 comments on commit 1f25a79

Please sign in to comment.