Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scripts/api-generate-pages
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ shopt -s inherit_errexit

ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")"/../ && pwd -P)
SPEC_DIR="docs/api-reference/spec"
# @mintlify/scraping 4.0.922+ pulls @mintlify/common 1.0.1057, which bumped
# @mintlify/mdx to 4.0.1. That version declares peer deps on react, react-dom and
# @base-ui/react; npm 7+ tries to satisfy the peer graph and hangs indefinitely
# while resolving. openapi-file needs none of those peers, so skipping peer
# resolution keeps us on @latest instead of pinning a version that goes stale.
export NPM_CONFIG_LEGACY_PEER_DEPS=true

cd "${ROOT}"

Expand Down
Loading