From 0785c7f8f3288b8eedf67efae403c9157b79faf8 Mon Sep 17 00:00:00 2001 From: Mike Maietta Date: Thu, 27 Oct 2022 10:10:40 -0700 Subject: [PATCH] adding overrides to all subprojects in case it helps --- packages/app-builder-lib/package.json | 8 +++++++- packages/builder-util-runtime/package.json | 8 +++++++- packages/builder-util/package.json | 6 ++++++ packages/dmg-builder/package.json | 8 +++++++- packages/electron-builder-squirrel-windows/package.json | 8 +++++++- packages/electron-builder/package.json | 6 ++++++ packages/electron-forge-maker-appimage/package.json | 6 ++++++ packages/electron-forge-maker-nsis-web/package.json | 6 ++++++ packages/electron-forge-maker-nsis/package.json | 6 ++++++ packages/electron-forge-maker-snap/package.json | 6 ++++++ packages/electron-publish/package.json | 6 ++++++ packages/electron-updater/package.json | 6 ++++++ 12 files changed, 76 insertions(+), 4 deletions(-) diff --git a/packages/app-builder-lib/package.json b/packages/app-builder-lib/package.json index c8782fce95a..0bc5b77a69b 100644 --- a/packages/app-builder-lib/package.json +++ b/packages/app-builder-lib/package.json @@ -108,5 +108,11 @@ "electron-builder-squirrel-windows": "workspace:*" }, "//": "electron-builder-squirrel-windows and dmg-builder added as dev dep for tests (as otherwise `require` doesn't work using Yarn 2)", - "typings": "./out/index.d.ts" + "typings": "./out/index.d.ts", + "pnpm": { + "overrides": { + "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1", + "minimatch@<3.0.5": ">=3.0.5" + } + } } diff --git a/packages/builder-util-runtime/package.json b/packages/builder-util-runtime/package.json index cbb7e2a00d1..83821d71c98 100644 --- a/packages/builder-util-runtime/package.json +++ b/packages/builder-util-runtime/package.json @@ -25,5 +25,11 @@ "@types/debug": "4.1.7", "@types/sax": "1.2.3" }, - "types": "./out/index.d.ts" + "types": "./out/index.d.ts", + "pnpm": { + "overrides": { + "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1", + "minimatch@<3.0.5": ">=3.0.5" + } + } } diff --git a/packages/builder-util/package.json b/packages/builder-util/package.json index 9041c530d1f..89c4c4e305a 100644 --- a/packages/builder-util/package.json +++ b/packages/builder-util/package.json @@ -39,5 +39,11 @@ "@types/is-ci": "3.0.0", "@types/js-yaml": "4.0.3", "@types/source-map-support": "0.5.4" + }, + "pnpm": { + "overrides": { + "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1", + "minimatch@<3.0.5": ">=3.0.5" + } } } diff --git a/packages/dmg-builder/package.json b/packages/dmg-builder/package.json index 256d6e59730..19cb123df30 100644 --- a/packages/dmg-builder/package.json +++ b/packages/dmg-builder/package.json @@ -32,5 +32,11 @@ "@types/js-yaml": "4.0.3", "temp-file": "3.4.0" }, - "typings": "./out/dmg.d.ts" + "typings": "./out/dmg.d.ts", + "pnpm": { + "overrides": { + "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1", + "minimatch@<3.0.5": ">=3.0.5" + } + } } diff --git a/packages/electron-builder-squirrel-windows/package.json b/packages/electron-builder-squirrel-windows/package.json index e597edf6443..0914f971b85 100644 --- a/packages/electron-builder-squirrel-windows/package.json +++ b/packages/electron-builder-squirrel-windows/package.json @@ -27,5 +27,11 @@ "optionalDependencies": { "7zip-bin": "~5.1.1" }, - "types": "./out/SquirrelWindowsTarget.d.ts" + "types": "./out/SquirrelWindowsTarget.d.ts", + "pnpm": { + "overrides": { + "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1", + "minimatch@<3.0.5": ">=3.0.5" + } + } } diff --git a/packages/electron-builder/package.json b/packages/electron-builder/package.json index 19824978ad8..8a6a1ae6d38 100644 --- a/packages/electron-builder/package.json +++ b/packages/electron-builder/package.json @@ -70,5 +70,11 @@ "typings": "./out/index.d.ts", "publishConfig": { "tag": "next" + }, + "pnpm": { + "overrides": { + "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1", + "minimatch@<3.0.5": ">=3.0.5" + } } } diff --git a/packages/electron-forge-maker-appimage/package.json b/packages/electron-forge-maker-appimage/package.json index e62349c8f2e..2a15b5a15cb 100644 --- a/packages/electron-forge-maker-appimage/package.json +++ b/packages/electron-forge-maker-appimage/package.json @@ -16,5 +16,11 @@ ], "dependencies": { "app-builder-lib": "workspace:*" + }, + "pnpm": { + "overrides": { + "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1", + "minimatch@<3.0.5": ">=3.0.5" + } } } diff --git a/packages/electron-forge-maker-nsis-web/package.json b/packages/electron-forge-maker-nsis-web/package.json index c3774154f98..e746b77b803 100644 --- a/packages/electron-forge-maker-nsis-web/package.json +++ b/packages/electron-forge-maker-nsis-web/package.json @@ -16,5 +16,11 @@ ], "dependencies": { "app-builder-lib": "workspace:*" + }, + "pnpm": { + "overrides": { + "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1", + "minimatch@<3.0.5": ">=3.0.5" + } } } diff --git a/packages/electron-forge-maker-nsis/package.json b/packages/electron-forge-maker-nsis/package.json index 6004fe352cd..56dda540894 100644 --- a/packages/electron-forge-maker-nsis/package.json +++ b/packages/electron-forge-maker-nsis/package.json @@ -16,5 +16,11 @@ ], "dependencies": { "app-builder-lib": "workspace:*" + }, + "pnpm": { + "overrides": { + "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1", + "minimatch@<3.0.5": ">=3.0.5" + } } } diff --git a/packages/electron-forge-maker-snap/package.json b/packages/electron-forge-maker-snap/package.json index 191d19a09b7..7bfa3598d58 100644 --- a/packages/electron-forge-maker-snap/package.json +++ b/packages/electron-forge-maker-snap/package.json @@ -16,5 +16,11 @@ ], "dependencies": { "app-builder-lib": "workspace:*" + }, + "pnpm": { + "overrides": { + "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1", + "minimatch@<3.0.5": ">=3.0.5" + } } } diff --git a/packages/electron-publish/package.json b/packages/electron-publish/package.json index cc5ba6a36b9..3c058e0dcc4 100644 --- a/packages/electron-publish/package.json +++ b/packages/electron-publish/package.json @@ -26,5 +26,11 @@ "typings": "./out/publisher.d.ts", "devDependencies": { "@types/mime": "2.0.3" + }, + "pnpm": { + "overrides": { + "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1", + "minimatch@<3.0.5": ">=3.0.5" + } } } diff --git a/packages/electron-updater/package.json b/packages/electron-updater/package.json index 2a753d739db..f20f1f15e8d 100644 --- a/packages/electron-updater/package.json +++ b/packages/electron-updater/package.json @@ -35,5 +35,11 @@ "typings": "./out/main.d.ts", "publishConfig": { "tag": "next" + }, + "pnpm": { + "overrides": { + "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1", + "minimatch@<3.0.5": ">=3.0.5" + } } }