Skip to content

Commit a2b4988

Browse files
JeanMechethePunderWoman
authored andcommitted
build: replace docs script with adev (angular#62944)
`pnpm docs` is a dedicated command to open a package docs. PR Close angular#62944
1 parent c34fdd9 commit a2b4988

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

adev/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pnpm
2121

2222
# Build and run local dev server
2323
# NOTE: Initial build will take some time
24-
pnpm docs
24+
pnpm adev
2525
```
2626

2727
If you are having issues with the docs building, see the [FAQs](#faqs) section.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"devtools:build:firefox:release": "pnpm run -s devtools:build:firefox --jobs 4",
4242
"devtools:test": "bazelisk test --//devtools/projects/shell-browser/src:flag_browser=chrome -- //devtools/...",
4343
"devtools:test:unit": "bazelisk test -- //devtools/...",
44-
"docs": "[[ -n $CI ]] && echo 'Cannot run this pnpm script on CI' && exit 1 || pnpm ibazel run //adev:build.serve",
45-
"docs:build": "[[ -n $CI ]] && echo 'Cannot run this pnpm script on CI' && exit 1 || pnpm bazel build //adev:build",
44+
"adev": "[[ -n $CI ]] && echo 'Cannot run this pnpm script on CI' && exit 1 || pnpm ibazel run //adev:build.serve",
45+
"adev:build": "[[ -n $CI ]] && echo 'Cannot run this pnpm script on CI' && exit 1 || pnpm bazel build //adev:build",
4646
"benchmarks": "tsx --tsconfig=scripts/tsconfig.json scripts/benchmarks/index.mts",
4747
"diff-release-package": "tsx --tsconfig=scripts/tsconfig.json scripts/diff-release-package.mts"
4848
},

0 commit comments

Comments
 (0)