From ef9c85c5a726a5a7becb1a1462788676131d3d96 Mon Sep 17 00:00:00 2001 From: VoigtS Date: Tue, 12 May 2026 11:08:05 +0200 Subject: [PATCH] update pnpm to 11.1.0 add renovate postUpgradeTask to generate msw mockServiceWorker --- .github/renovate.json | 8 ++++++++ package.json | 2 +- pnpm-workspace.yaml | 6 ++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 pnpm-workspace.yaml diff --git a/.github/renovate.json b/.github/renovate.json index d1948020..64fb681b 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -73,6 +73,14 @@ "schedule": [ "before 8am on Friday" ] + }, + { + "matchPackageNames": ["msw"], + "postUpgradeTasks": { + "commands": ["npx msw init ./public --save"], + "fileFilters": ["public/mockServiceWorker.js"], + "executionMode": "update" + } } ], "semanticCommits": "disabled" diff --git a/package.json b/package.json index 812235b3..221615fe 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@sapcc/limes-ui", "version": "1.17.0", - "packageManager": "pnpm@10.33.2", + "packageManager": "pnpm@11.1.0", "author": "VoigtS", "license": "Apache-2.0", "source": "src/index.js", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 00000000..0bd24589 --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,6 @@ +allowBuilds: + '@parcel/watcher': true + cypress: true + esbuild: true + msw: true + unrs-resolver: true