mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: Switch from npm to yarn in scripts/apidocgen (#5575)
This commit is contained in:
@@ -27,12 +27,12 @@ go run github.com/swaggo/swag/cmd/swag@v1.8.6 init \
|
||||
popd
|
||||
|
||||
pushd "${APIDOCGEN_DIR}"
|
||||
npm ci
|
||||
yarn
|
||||
|
||||
# Make sure that widdershins is installed correctly.
|
||||
npm exec -- widdershins --version
|
||||
yarn exec -- widdershins --version
|
||||
# Render the Markdown file.
|
||||
npm exec -- widdershins \
|
||||
yarn exec -- widdershins \
|
||||
--user_templates "./markdown-template" \
|
||||
--search false \
|
||||
--omitHeader true \
|
||||
|
||||
Generated
-3369
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user