chore: Switch from npm to yarn in `scripts/apidocgen` (#5575)

This commit is contained in:
Mathias Fredriksson 2023-01-04 20:38:48 +02:00 committed by GitHub
parent a36cd0bd7b
commit ebe1b56c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1273 additions and 3372 deletions

View File

@ -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 \

File diff suppressed because it is too large Load Diff

1270
scripts/apidocgen/yarn.lock Normal file

File diff suppressed because it is too large Load Diff