Skip to content

chore: Use pnpm 11 catalogs to force certain dependencies on common v… - #2129

Open
davidkna-sap wants to merge 1 commit into
mainfrom
davidkna-sap/catalog-pnpm11
Open

chore: Use pnpm 11 catalogs to force certain dependencies on common v…#2129
davidkna-sap wants to merge 1 commit into
mainfrom
davidkna-sap/catalog-pnpm11

Conversation

@davidkna-sap

@davidkna-sap davidkna-sap commented Aug 6, 2026

Copy link
Copy Markdown
Member

Context

Closes SAP/ai-sdk-js-backlog#ISSUENUMBER.

…ersion

Approach for setting the actual PNPM version TBD.

What this PR does and why it is needed

@davidkna-sap
davidkna-sap marked this pull request as ready for review August 6, 2026 13:53
@hyperspace-pr-bot

Copy link
Copy Markdown
Contributor

Summary

The following content is AI-generated and provides a summary of the pull request:


chore: Use pnpm 11 catalogs to centralize common dependency versions

What this PR does and why it is needed

This PR introduces pnpm 11 catalog support to centralize and enforce consistent versions of shared dependencies across all packages in the monorepo.

Dependency version centralization via pnpm-workspace.yaml catalog:

A catalog: section has been added to pnpm-workspace.yaml, defining canonical versions for:

  • @sap-cloud-sdk/* packages (connectivity, http-client, openapi, util, etc.) → ^4.8.0
  • @langchain/core^1.2.4
  • @langchain/langgraph^1.4.8
  • zod^4.4.3

All package.json files across the monorepo (packages/*, sample-code, tests/*) have been updated to reference "catalog:" instead of pinned or range version strings for these shared dependencies. This ensures version consistency and makes future upgrades a single-point change.

CI workflows updated to use pnpm-version: 11:

All GitHub Actions workflows that invoke the sap/cloud-sdk-js/.github/actions/setup action now explicitly pass pnpm-version: 11, enabling catalog support in CI. Affected workflows include:

  • build.yml, e2e-tests.yml, smoke-tests.yml, spec-update.yaml
  • bump.yml, publish-release.yml, publish-canary.yml, draft-release.yml
  • auto-fix-lint.yml, auto-gen.yml, pnpm-update.yml, fosstars.yml, issue-reply.yml, api-docs.yml

In fosstars.yml, the hardcoded PNPM_VERSION: 11.13.0 env variable has also been replaced with a dynamic pnpm --version call, keeping the OWASP container in sync with the installed pnpm version automatically.


  • 🔄 Regenerate and Update Summary
  • ✏️ Insert as PR Description (deletes this comment)
  • 🗑️ Delete comment
PR Bot Information

Version: 1.29.18

  • Correlation ID: 30442a70-919e-11f1-8443-3eb5f17c7fc1
  • Output Template: Repository PR Template
  • LLM: anthropic--claude-4.6-sonnet
  • Event Trigger: pull_request.ready_for_review
  • Summary Prompt: Default Prompt
  • File Content Strategy: Full file content

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant