mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-21 23:23:43 +00:00
Migrate docs to language-prefixed app routes and split content into zh/en trees, including translated English navigation and pages. Made-with: Cursor
45 lines
770 B
Plaintext
45 lines
770 B
Plaintext
---
|
|
title: Available Scripts
|
|
description: Common pnpm scripts and usage in this monorepo
|
|
---
|
|
|
|
# Available Scripts
|
|
|
|
## Workspace-Level
|
|
|
|
```bash
|
|
pnpm install
|
|
pnpm -r build
|
|
pnpm -r lint
|
|
pnpm -r test
|
|
```
|
|
|
|
## docs (`apps/docs`)
|
|
|
|
```bash
|
|
pnpm --filter ./apps/docs dev
|
|
pnpm --filter ./apps/docs build
|
|
pnpm --filter ./apps/docs start
|
|
```
|
|
|
|
## basic (`apps/basic`)
|
|
|
|
```bash
|
|
pnpm --filter ./apps/basic dev
|
|
pnpm --filter ./apps/basic build
|
|
pnpm --filter ./apps/basic preview
|
|
```
|
|
|
|
## with-lingui (`apps/with-lingui`)
|
|
|
|
```bash
|
|
pnpm --filter ./apps/with-lingui dev
|
|
pnpm --filter ./apps/with-lingui build
|
|
pnpm --filter ./apps/with-lingui preview
|
|
```
|
|
|
|
## Notes
|
|
|
|
- Use `--filter` to scope commands to a single app.
|
|
- Run commands at the repository root for consistent workspace behavior.
|