From 7ce8aedf1a5d970c1326df6635a0ae064bb21039 Mon Sep 17 00:00:00 2001 From: David Knaack Date: Fri, 10 Jul 2026 14:54:49 +0200 Subject: [PATCH 1/2] chore: Try to fix dependabot pnpm 11 handling --- .github/actions/setup/action.yml | 7 +------ .github/workflows/api-docs.yml | 2 +- .github/workflows/auto-dependabot-fix.yml | 2 +- .github/workflows/auto-lint.yml | 2 +- .github/workflows/build.yml | 14 +++++++------- .github/workflows/bump.yml | 2 +- .github/workflows/downloads.yml | 2 +- .github/workflows/memory-tests.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/tests-windows.yml | 2 +- .github/workflows/typedoc.yml | 2 +- package.json | 7 +++++++ 12 files changed, 24 insertions(+), 22 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 1f9e9bc09f..be4866aa1a 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -8,9 +8,6 @@ inputs: description: 'The registry URL to use for npm packages. Defaults to the SAP Artifactory mirror when npm-token is provided, otherwise npmjs.' registry-token: description: 'The auth token for the npm registry' - pnpm-version: - description: 'PNPM version' - default: '11' pnpm-install-args: description: 'Arguments to pass to pnpm install' default: '--frozen-lockfile' @@ -43,9 +40,7 @@ runs: token: ${{ inputs.token }} persist-credentials: ${{ inputs.persist-credentials }} - name: Setup pnpm - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0 - with: - version: ${{ inputs.pnpm-version }} + uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9 - name: Resolve registry URL id: resolve-registry-url env: diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml index c03eeeb096..fd412537d7 100644 --- a/.github/workflows/api-docs.yml +++ b/.github/workflows/api-docs.yml @@ -29,7 +29,7 @@ jobs: contents: read runs-on: ubuntu-latest steps: - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }} diff --git a/.github/workflows/auto-dependabot-fix.yml b/.github/workflows/auto-dependabot-fix.yml index 74e36b8b6c..a62cd72724 100644 --- a/.github/workflows/auto-dependabot-fix.yml +++ b/.github/workflows/auto-dependabot-fix.yml @@ -20,7 +20,7 @@ jobs: owner: SAP repositories: cloud-sdk-js permission-contents: write - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: ref: ${{ github.event.pull_request.head.ref }} token: ${{ steps.app-token.outputs.token }} diff --git a/.github/workflows/auto-lint.yml b/.github/workflows/auto-lint.yml index 6a130b1b3d..1f4d66cc56 100644 --- a/.github/workflows/auto-lint.yml +++ b/.github/workflows/auto-lint.yml @@ -20,7 +20,7 @@ jobs: owner: SAP repositories: cloud-sdk-js permission-contents: write - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: ref: ${{ github.event.pull_request.head.ref }} token: ${{ steps.app-token.outputs.token }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d7c06f511..ee762ece9a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,7 @@ jobs: matrix: node-version: [22, 24] steps: - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: node-version: ${{ matrix.node-version }} registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }} @@ -68,7 +68,7 @@ jobs: permissions: contents: read steps: - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }} - name: REUSE Compliance Check @@ -111,7 +111,7 @@ jobs: permissions: contents: read steps: - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: registry-url: 'https://registry.npmjs.org' skip-build: 'true' @@ -122,7 +122,7 @@ jobs: permissions: contents: read steps: - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }} - run: pnpm run test:e2e @@ -164,7 +164,7 @@ jobs: REF_NAME: ${{ github.ref_name }} REF: ${{ github.ref }} steps: - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }} - name: Check if latest commit is within 24 hrs @@ -194,7 +194,7 @@ jobs: contents: read id-token: write steps: - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: persist-credentials: true node-version: 24 # Will install npm 11 needed for trusted publishing @@ -217,7 +217,7 @@ jobs: permissions: contents: write steps: - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }} - name: Get Changelog diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 69c17e9b14..6f08903c93 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -25,7 +25,7 @@ jobs: owner: SAP repositories: cloud-sdk-js permission-contents: write - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: token: ${{ steps.app-token.outputs.token }} ref: 'main' diff --git a/.github/workflows/downloads.yml b/.github/workflows/downloads.yml index 1f4b52cb92..1243e8aa3f 100644 --- a/.github/workflows/downloads.yml +++ b/.github/workflows/downloads.yml @@ -13,7 +13,7 @@ jobs: permissions: contents: read steps: - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }} - name: Download Stats diff --git a/.github/workflows/memory-tests.yml b/.github/workflows/memory-tests.yml index ea6b861ebf..e0ff2aba71 100644 --- a/.github/workflows/memory-tests.yml +++ b/.github/workflows/memory-tests.yml @@ -13,7 +13,7 @@ jobs: permissions: contents: read steps: - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }} - name: start e2e tests server diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 53626a1a82..d31ee12298 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: repositories: cloud-sdk permission-contents: write permission-pull-requests: write - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: ref: 'main' persist-credentials: true diff --git a/.github/workflows/tests-windows.yml b/.github/workflows/tests-windows.yml index 1506063913..d75f348393 100644 --- a/.github/workflows/tests-windows.yml +++ b/.github/workflows/tests-windows.yml @@ -16,7 +16,7 @@ jobs: permissions: contents: read steps: - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }} - run: pnpm run test:unit diff --git a/.github/workflows/typedoc.yml b/.github/workflows/typedoc.yml index 3970b80c43..a5180631a1 100644 --- a/.github/workflows/typedoc.yml +++ b/.github/workflows/typedoc.yml @@ -16,7 +16,7 @@ jobs: permissions: contents: read steps: - - uses: sap/cloud-sdk-js/.github/actions/setup@main + - uses: sap/cloud-sdk-js/.github/actions/setup@davidkna-sap_pnpm-fix-dbot with: registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }} - run: pnpm run doc diff --git a/package.json b/package.json index 85ceb7f347..b55d76b6ba 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,13 @@ "tsd": { "directory": "test-packages/type-tests/test-new" }, + "devEngines": { + "packageManager": { + "name": "pnpm", + "version": "^11.0", + "onFail": "warn" + } + }, "scripts": { "postinstall": "pnpm run compile", "compile": "turbo run compile", From 3795468700cdcbe82e61b67028826131626d42c7 Mon Sep 17 00:00:00 2001 From: "sap-cloud-sdk-bot[bot]" <274190970+sap-cloud-sdk-bot[bot]@users.noreply.github.com> Date: Fri, 10 Jul 2026 12:57:16 +0000 Subject: [PATCH 2/2] Changes from lint:fix --- pnpm-lock.yaml | 199 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 199 insertions(+) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f44dba792a..9b12380cec 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,3 +1,202 @@ +--- +lockfileVersion: '9.0' + +importers: + + .: + configDependencies: {} + packageManagerDependencies: + '@pnpm/exe': + specifier: 11.10.0 + version: 11.10.0 + pnpm: + specifier: 11.10.0 + version: 11.10.0 + +packages: + + '@pnpm/exe@11.10.0': + resolution: {integrity: sha512-mrmfi2C7LpZkyq0voKKye6MzrK8/K7tYQRiSB/jqOiwnFtQxxcA3xGTY9cEsrGpNl2ClPecQofLuj+BO8AIsxw==} + hasBin: true + + '@pnpm/linux-arm64@11.10.0': + resolution: {integrity: sha512-NbvDeUfs0SJuli9OPvgVvmnlbo2DvJ861XGXKrzgLu5AuTnLDLXgbZEEUd8mJ5I0YNrqOVXSWVfWEqiAazWzPA==} + cpu: [arm64] + os: [linux] + + '@pnpm/linux-x64@11.10.0': + resolution: {integrity: sha512-kdgb8BXZ/3XQ0x2cOmgLmsij7+SUIqd1bcV6OZhdGzQiDrOY6FAPrR+Y2Bp+NjrrhjzMHVm5pZrrmdeC67ymSQ==} + cpu: [x64] + os: [linux] + + '@pnpm/linuxstatic-arm64@11.10.0': + resolution: {integrity: sha512-JE1WrSyKGvqGQgWzqrMXn//ehedpiRax3hi1oP+v6mhvcnlJD1lpfXsjSfIFl9weTWC5KVtFbxSNKbKWfP+v6g==} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@pnpm/linuxstatic-x64@11.10.0': + resolution: {integrity: sha512-1TBZVRkWb78GnsusIfVgwz20MOOW0fyehW+qLL3MxE9vT0IedNWsAhe3KWXgEvtC4M7NtMt55uQQJm+1egwBkA==} + cpu: [x64] + os: [linux] + libc: [musl] + + '@pnpm/macos-arm64@11.10.0': + resolution: {integrity: sha512-94AVpPixBqyNT6SHYvIKFb1bfaHR5vxBzZsiFJahNSlGkgyPrgzmcqDiloZ/Jl+zxJd8L5PU1ddP0Q9PZnRqlA==} + cpu: [arm64] + os: [darwin] + + '@pnpm/win-arm64@11.10.0': + resolution: {integrity: sha512-g2Ymnq+LgVyZaWsGBQSlpIcBCOOxyLky2UX+kTwGiIXnj6k/xXqZR0ZJLuxeiGNh/CVmhftOqokpyJNzyj8kng==} + cpu: [arm64] + os: [win32] + + '@pnpm/win-x64@11.10.0': + resolution: {integrity: sha512-kCHYZudUEBjrEchgnJUnNHCdvLXpUZun2z0rMAeP5DymsaXwEVvVzGj220iR/NyhgDocJUmgtTKtwL/ejL785Q==} + cpu: [x64] + os: [win32] + + '@reflink/reflink-darwin-arm64@0.1.19': + resolution: {integrity: sha512-ruy44Lpepdk1FqDz38vExBY/PVUsjxZA+chd9wozjUH9JjuDT/HEaQYA6wYN9mf041l0yLVar6BCZuWABJvHSA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + + '@reflink/reflink-darwin-x64@0.1.19': + resolution: {integrity: sha512-By85MSWrMZa+c26TcnAy8SDk0sTUkYlNnwknSchkhHpGXOtjNDUOxJE9oByBnGbeuIE1PiQsxDG3Ud+IVV9yuA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + + '@reflink/reflink-linux-arm64-gnu@0.1.19': + resolution: {integrity: sha512-7P+er8+rP9iNeN+bfmccM4hTAaLP6PQJPKWSA4iSk2bNvo6KU6RyPgYeHxXmzNKzPVRcypZQTpFgstHam6maVg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@reflink/reflink-linux-arm64-musl@0.1.19': + resolution: {integrity: sha512-37iO/Dp6m5DDaC2sf3zPtx/hl9FV3Xze4xoYidrxxS9bgP3S8ALroxRK6xBG/1TtfXKTvolvp+IjrUU6ujIGmA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@reflink/reflink-linux-x64-gnu@0.1.19': + resolution: {integrity: sha512-jbI8jvuYCaA3MVUdu8vLoLAFqC+iNMpiSuLbxlAgg7x3K5bsS8nOpTRnkLF7vISJ+rVR8W+7ThXlXlUQ93ulkw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@reflink/reflink-linux-x64-musl@0.1.19': + resolution: {integrity: sha512-e9FBWDe+lv7QKAwtKOt6A2W/fyy/aEEfr0g6j/hWzvQcrzHCsz07BNQYlNOjTfeytrtLU7k449H1PI95jA4OjQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + libc: [musl] + + '@reflink/reflink-win32-arm64-msvc@0.1.19': + resolution: {integrity: sha512-09PxnVIQcd+UOn4WAW73WU6PXL7DwGS6wPlkMhMg2zlHHG65F3vHepOw06HFCq+N42qkaNAc8AKIabWvtk6cIQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + + '@reflink/reflink-win32-x64-msvc@0.1.19': + resolution: {integrity: sha512-E//yT4ni2SyhwP8JRjVGWr3cbnhWDiPLgnQ66qqaanjjnMiu3O/2tjCPQXlcGc/DEYofpDc9fvhv6tALQsMV9w==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + + '@reflink/reflink@0.1.19': + resolution: {integrity: sha512-DmCG8GzysnCZ15bres3N5AHCmwBwYgp0As6xjhQ47rAUTUXxJiK+lLUxaGsX3hd/30qUpVElh05PbGuxRPgJwA==} + engines: {node: '>= 10'} + + detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} + engines: {node: '>=8'} + + pnpm@11.10.0: + resolution: {integrity: sha512-C3+LmAYAMZBMAX46QesYehbUDuuCm5XE+MsDaBdh/Eq1PdIZEVubRH9NzhoFohR2RGHn03AzkqnzL5URzoyGyA==} + engines: {node: '>=22.13'} + hasBin: true + +snapshots: + + '@pnpm/exe@11.10.0': + dependencies: + '@reflink/reflink': 0.1.19 + detect-libc: 2.1.2 + optionalDependencies: + '@pnpm/linux-arm64': 11.10.0 + '@pnpm/linux-x64': 11.10.0 + '@pnpm/linuxstatic-arm64': 11.10.0 + '@pnpm/linuxstatic-x64': 11.10.0 + '@pnpm/macos-arm64': 11.10.0 + '@pnpm/win-arm64': 11.10.0 + '@pnpm/win-x64': 11.10.0 + + '@pnpm/linux-arm64@11.10.0': + optional: true + + '@pnpm/linux-x64@11.10.0': + optional: true + + '@pnpm/linuxstatic-arm64@11.10.0': + optional: true + + '@pnpm/linuxstatic-x64@11.10.0': + optional: true + + '@pnpm/macos-arm64@11.10.0': + optional: true + + '@pnpm/win-arm64@11.10.0': + optional: true + + '@pnpm/win-x64@11.10.0': + optional: true + + '@reflink/reflink-darwin-arm64@0.1.19': + optional: true + + '@reflink/reflink-darwin-x64@0.1.19': + optional: true + + '@reflink/reflink-linux-arm64-gnu@0.1.19': + optional: true + + '@reflink/reflink-linux-arm64-musl@0.1.19': + optional: true + + '@reflink/reflink-linux-x64-gnu@0.1.19': + optional: true + + '@reflink/reflink-linux-x64-musl@0.1.19': + optional: true + + '@reflink/reflink-win32-arm64-msvc@0.1.19': + optional: true + + '@reflink/reflink-win32-x64-msvc@0.1.19': + optional: true + + '@reflink/reflink@0.1.19': + optionalDependencies: + '@reflink/reflink-darwin-arm64': 0.1.19 + '@reflink/reflink-darwin-x64': 0.1.19 + '@reflink/reflink-linux-arm64-gnu': 0.1.19 + '@reflink/reflink-linux-arm64-musl': 0.1.19 + '@reflink/reflink-linux-x64-gnu': 0.1.19 + '@reflink/reflink-linux-x64-musl': 0.1.19 + '@reflink/reflink-win32-arm64-msvc': 0.1.19 + '@reflink/reflink-win32-x64-msvc': 0.1.19 + + detect-libc@2.1.2: {} + + pnpm@11.10.0: {} + +--- lockfileVersion: '9.0' settings: