Skip to content

docs(integrations): stop recommending Corepack for pnpm - #2716

Open
antonvishal wants to merge 1 commit into
browserbase:mainfrom
antonvishal:remove-corepack
Open

docs(integrations): stop recommending Corepack for pnpm#2716
antonvishal wants to merge 1 commit into
browserbase:mainfrom
antonvishal:remove-corepack

Conversation

@antonvishal

@antonvishal antonvishal commented Aug 14, 2026

Copy link
Copy Markdown
Screenshot 2026-08-14 at 10 09 40 PM

Summary

  • Replace corepack pnpm@11.10.0 with plain pnpm in the v4 integration docs (overview, Mastra, Eve, Vercel AI SDK, CrewAI).
  • Link the integrations overview to the official pnpm install docs.

pnpm now says not to install via Corepack (Node also stopped shipping Corepack from v25). We already pin pnpm@11.10.0 via devEngines.packageManager, and CI uses pnpm/action-setup, so the docs only used Corepack as a one-shot version pin.


Summary by cubic

Stop recommending Corepack for pnpm in v4 integration docs and switch commands to plain pnpm. This aligns with pnpm guidance and Node 25 removing Corepack while keeping our version pinning and CI setup intact.

Review notes

  • Replaced corepack pnpm@11.10.0 with pnpm in crewai.mdx, eve.mdx, mastra.mdx, vercel-ai-sdk.mdx, and overview.mdx.
  • Linked the overview to the official pnpm installation docs and kept the requirement at pnpm 11.10.0.
  • No code, build, or runtime changes; docs only.

Written for commit 2efa8a9. Summary will update on new commits.

Review in cubic

@antonvishal
antonvishal requested a review from a team as a code owner August 14, 2026 16:42
@changeset-bot

changeset-bot Bot commented Aug 14, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2efa8a9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 5 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant Dev as Developer
    participant Docs as Integration Docs
    participant Pnpm as pnpm CLI
    participant Turbo as Turbo Build
    participant Node as Node.js Runtime
    participant CI as CI Pipeline

    Note over Dev,CI: Integration Setup Flow (Docs Updated)

    Dev->>Docs: Follow integration guide (Overview, CrewAI, Mastra, etc.)
    Docs->>Dev: Clone Stagehand repo instructions

    Dev->>Pnpm: pnpm install --frozen-lockfile
    Note over Pnpm: Uses pinned pnpm@11.10.0<br/>via devEngines.packageManager

    alt Corepack available (Node < 25)
        Pnpm->>Pnpm: Falls back to Corepack if needed
    else Corepack unavailable (Node >= 25)
        Pnpm->>Pnpm: Uses standalone pnpm binary
    end

    Pnpm-->>Dev: Dependencies installed

    Dev->>Pnpm: pnpm exec turbo run build
    Pnpm->>Turbo: Execute turbo build
    Turbo->>Node: Build integration packages
    Node-->>Turbo: Build artifacts
    Turbo-->>Dev: Build complete

    Note over Dev,CI: Runtime Execution (Integration-Specific)

    Dev->>Pnpm: pnpm --dir packages/integrations/<name> start
    Pnpm->>Node: Launch integration process
    Node->>Node: Load Stagehand MCP server
    Note over Node: CrewAI, Mastra, Vercel AI SDK<br/>use shared TS facade MCP server

    CI->>Pnpm: pnpm/action-setup (CI only)
    CI->>Pnpm: pnpm install --frozen-lockfile
    Pnpm-->>CI: Dependencies ready
    CI->>Turbo: Run CI build checks
    Turbo-->>CI: Validation results
Loading

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant