mirror of
https://github.com/coder/coder.git
synced 2025-07-29 10:35:52 +00:00
chore: Switch from npm to yarn in scripts/apidocgen
(#5575)
This commit is contained in:
committed by
GitHub
parent
a36cd0bd7b
commit
ebe1b56c08
@@ -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 \
|
||||
|
3369
scripts/apidocgen/package-lock.json
generated
3369
scripts/apidocgen/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
1270
scripts/apidocgen/yarn.lock
Normal file
1270
scripts/apidocgen/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user