diff --git a/bin/local-test-util b/bin/local-test-util index fd4573c730..051f515c67 100755 --- a/bin/local-test-util +++ b/bin/local-test-util @@ -138,7 +138,8 @@ async function installNotifiers (notifier) { await ex(`npm`, [ `install`, `--no-package-lock`, - `--no-save` + `--no-save`, + `--legacy-peer-deps` ].concat(notifier ? [ `../../../../bugsnag-${notifier}-${require(`../packages/${notifier}/package.json`).version}.tgz` @@ -161,6 +162,7 @@ async function installNgNotifier (notifier) { `install`, `--no-package-lock`, `--no-save`, + `--legacy-peer-deps`, `../../../../../../bugsnag-browser-${require('../packages/browser/package.json').version}.tgz`, `../../../../../../bugsnag-js-${require('../packages/js/package.json').version}.tgz`, `../../../../../../bugsnag-node-${require('../packages/node/package.json').version}.tgz`, diff --git a/dockerfiles/Dockerfile.browser b/dockerfiles/Dockerfile.browser index d8cdc6737e..109ae81a03 100644 --- a/dockerfiles/Dockerfile.browser +++ b/dockerfiles/Dockerfile.browser @@ -26,12 +26,12 @@ RUN npm pack --verbose packages/web-worker/ COPY test/browser/features test/browser/features WORKDIR /app/test/browser/features/fixtures -RUN npm install --no-package-lock --no-save ../../../../bugsnag-browser-*.tgz -RUN npm install --no-package-lock --no-save ../../../../bugsnag-plugin-react-*.tgz -RUN npm install --no-package-lock --no-save ../../../../bugsnag-plugin-vue-*.tgz -RUN npm install --no-package-lock --no-save ../../../../bugsnag-web-worker-*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps ../../../../bugsnag-browser-*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps ../../../../bugsnag-plugin-react-*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps ../../../../bugsnag-plugin-vue-*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps ../../../../bugsnag-web-worker-*.tgz WORKDIR plugin_angular/ng -RUN npm install --no-package-lock --no-save \ +RUN npm install --no-package-lock --no-save --legacy-peer-deps \ ../../../../../../bugsnag-plugin-angular-*.tgz \ ../../../../../../bugsnag-node-*.tgz \ ../../../../../../bugsnag-browser-*.tgz \ diff --git a/dockerfiles/Dockerfile.react-native-android-builder b/dockerfiles/Dockerfile.react-native-android-builder index c26546a07f..ab6f3498f7 100644 --- a/dockerfiles/Dockerfile.react-native-android-builder +++ b/dockerfiles/Dockerfile.react-native-android-builder @@ -14,6 +14,7 @@ ARG REG_NPM_EMAIL RUN echo "_auth=$REG_BASIC_CREDENTIAL" >> ~/.npmrc RUN echo "email=$REG_NPM_EMAIL" >> ~/.npmrc RUN echo "always-auth=true" >> ~/.npmrc +RUN echo "legacy-peer-deps=true" >> ~/.npmrc # gradle / artifactory auth ARG MAVEN_REPO_URL diff --git a/dockerfiles/Dockerfile.react-native-cli-android-builder b/dockerfiles/Dockerfile.react-native-cli-android-builder index 7ef762d2f4..2e2d5bf055 100644 --- a/dockerfiles/Dockerfile.react-native-cli-android-builder +++ b/dockerfiles/Dockerfile.react-native-cli-android-builder @@ -22,6 +22,7 @@ RUN echo "registry=$REGISTRY_URL" >> ~/.npmrc RUN echo "_auth=$REG_BASIC_CREDENTIAL" >> ~/.npmrc RUN echo "email=$REG_NPM_EMAIL" >> ~/.npmrc RUN echo "always-auth=true" >> ~/.npmrc +RUN echo "legacy-peer-deps=true" >> ~/.npmrc # Now copy in all the files needed to build COPY .git .git diff --git a/packages/browser/package.json b/packages/browser/package.json index 322844eb3a..3aec0c67c9 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -30,7 +30,6 @@ "author": "Bugsnag", "license": "MIT", "devDependencies": { - "@bugsnag/core": "^7.0.1", "@bugsnag/delivery-x-domain-request": "^8.0.0-alpha.0", "@bugsnag/delivery-xml-http-request": "^8.0.0-alpha.0", "@bugsnag/plugin-app-duration": "^8.0.0-alpha.0", diff --git a/packages/delivery-electron/package.json b/packages/delivery-electron/package.json index 1bed05a5b6..3cebdcb00b 100644 --- a/packages/delivery-electron/package.json +++ b/packages/delivery-electron/package.json @@ -22,7 +22,7 @@ "@bugsnag/plugin-electron-client-state-manager": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2", - "@bugsnag/electron-network-status": "^7.10.0" + "@bugsnag/core": "^8", + "@bugsnag/electron-network-status": "^8.0.0" } } diff --git a/packages/delivery-fetch/package.json b/packages/delivery-fetch/package.json index 2ff9882a37..66e440508c 100644 --- a/packages/delivery-fetch/package.json +++ b/packages/delivery-fetch/package.json @@ -17,6 +17,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/delivery-node/package.json b/packages/delivery-node/package.json index 940bb4e525..69836498be 100644 --- a/packages/delivery-node/package.json +++ b/packages/delivery-node/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/delivery-react-native/package.json b/packages/delivery-react-native/package.json index 98978556e1..d458d40091 100644 --- a/packages/delivery-react-native/package.json +++ b/packages/delivery-react-native/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/delivery-x-domain-request/package.json b/packages/delivery-x-domain-request/package.json index d1042279c8..c37a0d1173 100644 --- a/packages/delivery-x-domain-request/package.json +++ b/packages/delivery-x-domain-request/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/delivery-xml-http-request/package.json b/packages/delivery-xml-http-request/package.json index f30f42ae14..12c6fa77a6 100644 --- a/packages/delivery-xml-http-request/package.json +++ b/packages/delivery-xml-http-request/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/electron-network-status/package.json b/packages/electron-network-status/package.json index 91ec3c3189..6408da9248 100644 --- a/packages/electron-network-status/package.json +++ b/packages/electron-network-status/package.json @@ -11,7 +11,7 @@ "@bugsnag/plugin-electron-client-state-manager": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.10.0" + "@bugsnag/core": "^8" }, "repository": { "type": "git", diff --git a/packages/in-flight/package.json b/packages/in-flight/package.json index f2e45bba99..69e3e1f28a 100644 --- a/packages/in-flight/package.json +++ b/packages/in-flight/package.json @@ -25,6 +25,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-angular/package.json b/packages/plugin-angular/package.json index f22be461a5..7725461bf5 100644 --- a/packages/plugin-angular/package.json +++ b/packages/plugin-angular/package.json @@ -40,6 +40,6 @@ "zone.js": "^0.8.26" }, "peerDependencies": { - "@bugsnag/js": "^7.0.0" + "@bugsnag/js": "^8.0.0" } } diff --git a/packages/plugin-app-duration/package.json b/packages/plugin-app-duration/package.json index 724b26d09a..a3e0db971d 100644 --- a/packages/plugin-app-duration/package.json +++ b/packages/plugin-app-duration/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-aws-lambda/package.json b/packages/plugin-aws-lambda/package.json index 5aa348b670..1b448b6466 100644 --- a/packages/plugin-aws-lambda/package.json +++ b/packages/plugin-aws-lambda/package.json @@ -33,6 +33,6 @@ "express": "^4.18.2" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-browser-context/package.json b/packages/plugin-browser-context/package.json index 015f8bb30f..6a1e1cb7f6 100644 --- a/packages/plugin-browser-context/package.json +++ b/packages/plugin-browser-context/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-browser-device/package.json b/packages/plugin-browser-device/package.json index 5874c563a1..a089392f1e 100644 --- a/packages/plugin-browser-device/package.json +++ b/packages/plugin-browser-device/package.json @@ -23,6 +23,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-browser-request/package.json b/packages/plugin-browser-request/package.json index e688d2a140..f2d4a8802f 100644 --- a/packages/plugin-browser-request/package.json +++ b/packages/plugin-browser-request/package.json @@ -21,6 +21,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-browser-session/package.json b/packages/plugin-browser-session/package.json index 5abbfefa6d..b4aeefe7ce 100644 --- a/packages/plugin-browser-session/package.json +++ b/packages/plugin-browser-session/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-client-ip/package.json b/packages/plugin-client-ip/package.json index ab5dee63cc..4177a02bb2 100644 --- a/packages/plugin-client-ip/package.json +++ b/packages/plugin-client-ip/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-console-breadcrumbs/package.json b/packages/plugin-console-breadcrumbs/package.json index d4c68bcefd..86668bb68a 100644 --- a/packages/plugin-console-breadcrumbs/package.json +++ b/packages/plugin-console-breadcrumbs/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-contextualize/package.json b/packages/plugin-contextualize/package.json index 28d97d0085..cf3893c235 100644 --- a/packages/plugin-contextualize/package.json +++ b/packages/plugin-contextualize/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-electron-app-breadcrumbs/package.json b/packages/plugin-electron-app-breadcrumbs/package.json index 28281d1e97..e33e93a93e 100644 --- a/packages/plugin-electron-app-breadcrumbs/package.json +++ b/packages/plugin-electron-app-breadcrumbs/package.json @@ -21,7 +21,7 @@ "@bugsnag/electron-test-helpers": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/plugin-electron-app/package.json b/packages/plugin-electron-app/package.json index 801f75c60b..436086be0c 100644 --- a/packages/plugin-electron-app/package.json +++ b/packages/plugin-electron-app/package.json @@ -32,7 +32,7 @@ "bindings": "^1.5.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/plugin-electron-client-state-manager/package.json b/packages/plugin-electron-client-state-manager/package.json index 1694103efe..83b204e42e 100644 --- a/packages/plugin-electron-client-state-manager/package.json +++ b/packages/plugin-electron-client-state-manager/package.json @@ -22,6 +22,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-electron-client-state-persistence/package.json b/packages/plugin-electron-client-state-persistence/package.json index fc90b3b1b0..313b0c0d0c 100644 --- a/packages/plugin-electron-client-state-persistence/package.json +++ b/packages/plugin-electron-client-state-persistence/package.json @@ -44,6 +44,6 @@ "@types/bindings": "^1.5.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-electron-deliver-minidumps/package.json b/packages/plugin-electron-deliver-minidumps/package.json index 2f3224b71f..ed1ba6cefe 100644 --- a/packages/plugin-electron-deliver-minidumps/package.json +++ b/packages/plugin-electron-deliver-minidumps/package.json @@ -26,8 +26,8 @@ "@bugsnag/electron-network-status": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2", - "@bugsnag/electron-network-status": "^7.10.0" + "@bugsnag/core": "^8", + "@bugsnag/electron-network-status": "^8.0.0" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/plugin-electron-device/package.json b/packages/plugin-electron-device/package.json index 6b510390c5..5eb038f6b8 100644 --- a/packages/plugin-electron-device/package.json +++ b/packages/plugin-electron-device/package.json @@ -18,7 +18,7 @@ "@bugsnag/electron-test-helpers": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/plugin-electron-ipc/package.json b/packages/plugin-electron-ipc/package.json index a143b29e6b..1640d71016 100644 --- a/packages/plugin-electron-ipc/package.json +++ b/packages/plugin-electron-ipc/package.json @@ -19,7 +19,7 @@ "dist/preload.bundle.js" ], "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" }, "devDependencies": { "@bugsnag/core": "^8.0.0-alpha.0", diff --git a/packages/plugin-electron-net-breadcrumbs/package.json b/packages/plugin-electron-net-breadcrumbs/package.json index 6b5fc10b5e..a0a28562de 100644 --- a/packages/plugin-electron-net-breadcrumbs/package.json +++ b/packages/plugin-electron-net-breadcrumbs/package.json @@ -18,7 +18,7 @@ "@bugsnag/electron-test-helpers": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/plugin-electron-network-status/package.json b/packages/plugin-electron-network-status/package.json index fad6295399..93da130adc 100644 --- a/packages/plugin-electron-network-status/package.json +++ b/packages/plugin-electron-network-status/package.json @@ -17,7 +17,7 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/plugin-electron-power-monitor-breadcrumbs/package.json b/packages/plugin-electron-power-monitor-breadcrumbs/package.json index 1124b52363..88168b8250 100644 --- a/packages/plugin-electron-power-monitor-breadcrumbs/package.json +++ b/packages/plugin-electron-power-monitor-breadcrumbs/package.json @@ -18,7 +18,7 @@ "@bugsnag/electron-test-helpers": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/plugin-electron-preload-error/package.json b/packages/plugin-electron-preload-error/package.json index a62725677f..42e8fe62e8 100644 --- a/packages/plugin-electron-preload-error/package.json +++ b/packages/plugin-electron-preload-error/package.json @@ -19,7 +19,7 @@ "@bugsnag/electron-test-helpers": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/plugin-electron-process-info/package.json b/packages/plugin-electron-process-info/package.json index 4cb586a29d..c8a7a8df0a 100644 --- a/packages/plugin-electron-process-info/package.json +++ b/packages/plugin-electron-process-info/package.json @@ -17,7 +17,7 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/plugin-electron-renderer-client-state-updates/package.json b/packages/plugin-electron-renderer-client-state-updates/package.json index 263feef707..657c55073c 100644 --- a/packages/plugin-electron-renderer-client-state-updates/package.json +++ b/packages/plugin-electron-renderer-client-state-updates/package.json @@ -22,6 +22,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-electron-renderer-event-data/package.json b/packages/plugin-electron-renderer-event-data/package.json index 92a88df927..a8050d5bff 100644 --- a/packages/plugin-electron-renderer-event-data/package.json +++ b/packages/plugin-electron-renderer-event-data/package.json @@ -24,7 +24,7 @@ "@bugsnag/plugin-electron-renderer-strip-project-root": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2", - "@bugsnag/plugin-electron-renderer-strip-project-root": "^7.10.0-alpha.1" + "@bugsnag/core": "^8", + "@bugsnag/plugin-electron-renderer-strip-project-root": "^8.0.0" } } diff --git a/packages/plugin-electron-screen-breadcrumbs/package.json b/packages/plugin-electron-screen-breadcrumbs/package.json index 2d408093e2..a2a4f7c9d3 100644 --- a/packages/plugin-electron-screen-breadcrumbs/package.json +++ b/packages/plugin-electron-screen-breadcrumbs/package.json @@ -18,7 +18,7 @@ "@bugsnag/electron-test-helpers": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/plugin-electron-session/package.json b/packages/plugin-electron-session/package.json index 9bcb03317e..bb23eeb397 100644 --- a/packages/plugin-electron-session/package.json +++ b/packages/plugin-electron-session/package.json @@ -21,7 +21,7 @@ "@bugsnag/electron-test-helpers": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" }, "author": "Bugsnag", "license": "MIT" diff --git a/packages/plugin-express/package.json b/packages/plugin-express/package.json index aa992e4d0a..9476c3deb8 100644 --- a/packages/plugin-express/package.json +++ b/packages/plugin-express/package.json @@ -24,7 +24,7 @@ "author": "Bugsnag", "license": "MIT", "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" }, "devDependencies": { "@bugsnag/core": "^8.0.0-alpha.0", diff --git a/packages/plugin-inline-script-content/package.json b/packages/plugin-inline-script-content/package.json index 533dedddb3..e107fde8b4 100644 --- a/packages/plugin-inline-script-content/package.json +++ b/packages/plugin-inline-script-content/package.json @@ -21,6 +21,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-interaction-breadcrumbs/package.json b/packages/plugin-interaction-breadcrumbs/package.json index 6407e2444f..defdd6bbcc 100644 --- a/packages/plugin-interaction-breadcrumbs/package.json +++ b/packages/plugin-interaction-breadcrumbs/package.json @@ -21,6 +21,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-intercept/package.json b/packages/plugin-intercept/package.json index aa6a84aee3..61049d06f2 100644 --- a/packages/plugin-intercept/package.json +++ b/packages/plugin-intercept/package.json @@ -21,6 +21,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-internal-callback-marker/package.json b/packages/plugin-internal-callback-marker/package.json index 14e01acabb..8b7c6289cd 100644 --- a/packages/plugin-internal-callback-marker/package.json +++ b/packages/plugin-internal-callback-marker/package.json @@ -21,6 +21,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.9.2" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-koa/package.json b/packages/plugin-koa/package.json index ccb5ee6bf8..7f43642cca 100644 --- a/packages/plugin-koa/package.json +++ b/packages/plugin-koa/package.json @@ -24,7 +24,7 @@ "author": "Bugsnag", "license": "MIT", "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" }, "devDependencies": { "@bugsnag/core": "^8.0.0-alpha.0", diff --git a/packages/plugin-navigation-breadcrumbs/package.json b/packages/plugin-navigation-breadcrumbs/package.json index a4973ab360..8325ea41e5 100644 --- a/packages/plugin-navigation-breadcrumbs/package.json +++ b/packages/plugin-navigation-breadcrumbs/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-network-breadcrumbs/package.json b/packages/plugin-network-breadcrumbs/package.json index 65e97e60dd..ab25bff74e 100644 --- a/packages/plugin-network-breadcrumbs/package.json +++ b/packages/plugin-network-breadcrumbs/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-node-device/package.json b/packages/plugin-node-device/package.json index 6d756f016e..989b80105e 100644 --- a/packages/plugin-node-device/package.json +++ b/packages/plugin-node-device/package.json @@ -21,6 +21,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-node-in-project/package.json b/packages/plugin-node-in-project/package.json index c97a78f3fa..654e60e6dc 100644 --- a/packages/plugin-node-in-project/package.json +++ b/packages/plugin-node-in-project/package.json @@ -21,6 +21,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-node-surrounding-code/package.json b/packages/plugin-node-surrounding-code/package.json index 04f99cb50e..7be1a98ceb 100644 --- a/packages/plugin-node-surrounding-code/package.json +++ b/packages/plugin-node-surrounding-code/package.json @@ -25,6 +25,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-node-uncaught-exception/package.json b/packages/plugin-node-uncaught-exception/package.json index c88e3ba2f5..54e9e22adb 100644 --- a/packages/plugin-node-uncaught-exception/package.json +++ b/packages/plugin-node-uncaught-exception/package.json @@ -21,6 +21,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-node-unhandled-rejection/package.json b/packages/plugin-node-unhandled-rejection/package.json index ba6c81672f..25d1a7ff13 100644 --- a/packages/plugin-node-unhandled-rejection/package.json +++ b/packages/plugin-node-unhandled-rejection/package.json @@ -21,6 +21,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-react-native-client-sync/package.json b/packages/plugin-react-native-client-sync/package.json index a61e36340f..f5b6ceaf9d 100644 --- a/packages/plugin-react-native-client-sync/package.json +++ b/packages/plugin-react-native-client-sync/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-react-native-event-sync/package.json b/packages/plugin-react-native-event-sync/package.json index 214c6cb1a7..e3f10318e6 100644 --- a/packages/plugin-react-native-event-sync/package.json +++ b/packages/plugin-react-native-event-sync/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-react-native-global-error-handler/package.json b/packages/plugin-react-native-global-error-handler/package.json index 31a0f3d8f3..ecd8df0751 100644 --- a/packages/plugin-react-native-global-error-handler/package.json +++ b/packages/plugin-react-native-global-error-handler/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-react-native-hermes/package.json b/packages/plugin-react-native-hermes/package.json index 1ad0390758..fb94e23ce2 100644 --- a/packages/plugin-react-native-hermes/package.json +++ b/packages/plugin-react-native-hermes/package.json @@ -21,6 +21,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-react-native-navigation/package.json b/packages/plugin-react-native-navigation/package.json index 2e979b490b..d7033db21e 100644 --- a/packages/plugin-react-native-navigation/package.json +++ b/packages/plugin-react-native-navigation/package.json @@ -24,7 +24,7 @@ "react-native-navigation": "^7.0.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0", + "@bugsnag/core": "^8", "react-native-navigation": "2 - 7" }, "peerDependenciesMeta": { diff --git a/packages/plugin-react-native-orientation-breadcrumbs/package.json b/packages/plugin-react-native-orientation-breadcrumbs/package.json index bedf6a01e8..18cd19770f 100644 --- a/packages/plugin-react-native-orientation-breadcrumbs/package.json +++ b/packages/plugin-react-native-orientation-breadcrumbs/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-react-native-session/package.json b/packages/plugin-react-native-session/package.json index 2c9e82d01f..a860d23b7b 100644 --- a/packages/plugin-react-native-session/package.json +++ b/packages/plugin-react-native-session/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-react-native-unhandled-rejection/package.json b/packages/plugin-react-native-unhandled-rejection/package.json index 5f4b2a9da1..76d92a6642 100644 --- a/packages/plugin-react-native-unhandled-rejection/package.json +++ b/packages/plugin-react-native-unhandled-rejection/package.json @@ -21,6 +21,6 @@ "promise": "^8.0.2" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-react-navigation/package.json b/packages/plugin-react-navigation/package.json index df51124988..753e763f9a 100644 --- a/packages/plugin-react-navigation/package.json +++ b/packages/plugin-react-navigation/package.json @@ -31,7 +31,7 @@ "react-test-renderer": "^16.13.1" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0", + "@bugsnag/core": "^8", "@react-navigation/native": "^5.0 || ^6.0" }, "peerDependenciesMeta": { diff --git a/packages/plugin-react/package.json b/packages/plugin-react/package.json index 883220d12f..3a5aa4edb2 100644 --- a/packages/plugin-react/package.json +++ b/packages/plugin-react/package.json @@ -27,7 +27,7 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" }, "peerDependenciesMeta": { "@bugsnag/core": { diff --git a/packages/plugin-restify/package.json b/packages/plugin-restify/package.json index 0768a019df..4ee5182589 100644 --- a/packages/plugin-restify/package.json +++ b/packages/plugin-restify/package.json @@ -24,7 +24,7 @@ "author": "Bugsnag", "license": "MIT", "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" }, "devDependencies": { "@bugsnag/core": "^8.0.0-alpha.0", diff --git a/packages/plugin-server-session/package.json b/packages/plugin-server-session/package.json index 90e30d7e06..ec6c0b5c11 100644 --- a/packages/plugin-server-session/package.json +++ b/packages/plugin-server-session/package.json @@ -23,6 +23,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-simple-throttle/package.json b/packages/plugin-simple-throttle/package.json index ad8d759de1..43b2e4248b 100644 --- a/packages/plugin-simple-throttle/package.json +++ b/packages/plugin-simple-throttle/package.json @@ -21,6 +21,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-stackframe-path-normaliser/package.json b/packages/plugin-stackframe-path-normaliser/package.json index 70749677b6..a25c3781bb 100644 --- a/packages/plugin-stackframe-path-normaliser/package.json +++ b/packages/plugin-stackframe-path-normaliser/package.json @@ -14,7 +14,7 @@ "author": "Bugsnag", "license": "MIT", "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" }, "devDependencies": { "@bugsnag/core": "^8.0.0-alpha.0" diff --git a/packages/plugin-strip-project-root/package.json b/packages/plugin-strip-project-root/package.json index 3ce8d74832..12a9b50a82 100644 --- a/packages/plugin-strip-project-root/package.json +++ b/packages/plugin-strip-project-root/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-strip-query-string/package.json b/packages/plugin-strip-query-string/package.json index 918c2d4b10..bfea8f8dfb 100644 --- a/packages/plugin-strip-query-string/package.json +++ b/packages/plugin-strip-query-string/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-vue/package.json b/packages/plugin-vue/package.json index 7b62252895..1a63e854a8 100644 --- a/packages/plugin-vue/package.json +++ b/packages/plugin-vue/package.json @@ -27,7 +27,7 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" }, "peerDependenciesMeta": { "@bugsnag/core": { diff --git a/packages/plugin-window-onerror/package.json b/packages/plugin-window-onerror/package.json index 3ac244a9f4..5fc7796863 100644 --- a/packages/plugin-window-onerror/package.json +++ b/packages/plugin-window-onerror/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/packages/plugin-window-unhandled-rejection/package.json b/packages/plugin-window-unhandled-rejection/package.json index b2731fb1a9..090ded8d51 100644 --- a/packages/plugin-window-unhandled-rejection/package.json +++ b/packages/plugin-window-unhandled-rejection/package.json @@ -20,6 +20,6 @@ "@bugsnag/core": "^8.0.0-alpha.0" }, "peerDependencies": { - "@bugsnag/core": "^7.0.0" + "@bugsnag/core": "^8" } } diff --git a/scripts/react-native-cli-helper.js b/scripts/react-native-cli-helper.js index 85547a01ca..f968e7a7fb 100644 --- a/scripts/react-native-cli-helper.js +++ b/scripts/react-native-cli-helper.js @@ -26,7 +26,7 @@ module.exports = { common.run('npm install', true) // Install and run the CLI - const installCommand = `npm install @bugsnag/react-native-cli@${version}` + const installCommand = `npm install @bugsnag/react-native-cli@${version} --legacy-peer-deps` common.run(installCommand, true) // Use Expect to run the init command interactively @@ -79,7 +79,7 @@ module.exports = { common.run('npm install', true) // Install and run the CLI - const installCommand = `npm install @bugsnag/react-native-cli@${version}` + const installCommand = `npm install @bugsnag/react-native-cli@${version} --legacy-peer-deps` common.run(installCommand, true) // Use Expect to run the init command interactively diff --git a/scripts/react-native-helper.js b/scripts/react-native-helper.js index bad6179a1a..063a5dc24a 100644 --- a/scripts/react-native-helper.js +++ b/scripts/react-native-helper.js @@ -35,7 +35,7 @@ module.exports = { common.run(`npm install --registry ${registryUrl}`, true) // Install notifier - const command = `npm install @bugsnag/react-native@${version} --registry ${registryUrl}` + const command = `npm install @bugsnag/react-native@${version} --registry ${registryUrl} --legacy-peer-deps` common.run(command, true) // Install any required secondary files @@ -97,7 +97,7 @@ module.exports = { // Install notifier console.log(`Installing notifier: ${version}`) - const command = `npm install @bugsnag/react-native@${version} --registry ${registryUrl}` + const command = `npm install @bugsnag/react-native@${version} --registry ${registryUrl} --legacy-peer-deps` common.run(command, true) // Install any required secondary files diff --git a/test/node/features/fixtures/cause/Dockerfile b/test/node/features/fixtures/cause/Dockerfile index 718d7275c7..7a02012012 100644 --- a/test/node/features/fixtures/cause/Dockerfile +++ b/test/node/features/fixtures/cause/Dockerfile @@ -8,4 +8,4 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz diff --git a/test/node/features/fixtures/connect/Dockerfile b/test/node/features/fixtures/connect/Dockerfile index 6588bbffb3..87ab58df11 100644 --- a/test/node/features/fixtures/connect/Dockerfile +++ b/test/node/features/fixtures/connect/Dockerfile @@ -8,7 +8,7 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz bugsnag-plugin-express*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz bugsnag-plugin-express*.tgz ENV NODE_ENV production CMD node scenarios/app diff --git a/test/node/features/fixtures/contextualize/Dockerfile b/test/node/features/fixtures/contextualize/Dockerfile index 718d7275c7..7a02012012 100644 --- a/test/node/features/fixtures/contextualize/Dockerfile +++ b/test/node/features/fixtures/contextualize/Dockerfile @@ -8,4 +8,4 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz diff --git a/test/node/features/fixtures/express/Dockerfile b/test/node/features/fixtures/express/Dockerfile index 6588bbffb3..87ab58df11 100644 --- a/test/node/features/fixtures/express/Dockerfile +++ b/test/node/features/fixtures/express/Dockerfile @@ -8,7 +8,7 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz bugsnag-plugin-express*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz bugsnag-plugin-express*.tgz ENV NODE_ENV production CMD node scenarios/app diff --git a/test/node/features/fixtures/handled/Dockerfile b/test/node/features/fixtures/handled/Dockerfile index 718d7275c7..7a02012012 100644 --- a/test/node/features/fixtures/handled/Dockerfile +++ b/test/node/features/fixtures/handled/Dockerfile @@ -8,4 +8,4 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz diff --git a/test/node/features/fixtures/koa-1x/Dockerfile b/test/node/features/fixtures/koa-1x/Dockerfile index bf89686059..5bbc1c9faf 100644 --- a/test/node/features/fixtures/koa-1x/Dockerfile +++ b/test/node/features/fixtures/koa-1x/Dockerfile @@ -8,7 +8,7 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz bugsnag-plugin-koa*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz bugsnag-plugin-koa*.tgz ENV NODE_ENV production CMD node scenarios/app diff --git a/test/node/features/fixtures/koa/Dockerfile b/test/node/features/fixtures/koa/Dockerfile index bf89686059..5bbc1c9faf 100644 --- a/test/node/features/fixtures/koa/Dockerfile +++ b/test/node/features/fixtures/koa/Dockerfile @@ -8,7 +8,7 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz bugsnag-plugin-koa*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz bugsnag-plugin-koa*.tgz ENV NODE_ENV production CMD node scenarios/app diff --git a/test/node/features/fixtures/project_root/Dockerfile b/test/node/features/fixtures/project_root/Dockerfile index 718d7275c7..7a02012012 100644 --- a/test/node/features/fixtures/project_root/Dockerfile +++ b/test/node/features/fixtures/project_root/Dockerfile @@ -8,4 +8,4 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz diff --git a/test/node/features/fixtures/proxy/Dockerfile b/test/node/features/fixtures/proxy/Dockerfile index 718d7275c7..7a02012012 100644 --- a/test/node/features/fixtures/proxy/Dockerfile +++ b/test/node/features/fixtures/proxy/Dockerfile @@ -8,4 +8,4 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz diff --git a/test/node/features/fixtures/restify/Dockerfile b/test/node/features/fixtures/restify/Dockerfile index 73c4b81565..6a179c2709 100644 --- a/test/node/features/fixtures/restify/Dockerfile +++ b/test/node/features/fixtures/restify/Dockerfile @@ -8,7 +8,7 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz bugsnag-plugin-restify*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz bugsnag-plugin-restify*.tgz ENV NODE_ENV production CMD node scenarios/app diff --git a/test/node/features/fixtures/sessions/Dockerfile b/test/node/features/fixtures/sessions/Dockerfile index 718d7275c7..7a02012012 100644 --- a/test/node/features/fixtures/sessions/Dockerfile +++ b/test/node/features/fixtures/sessions/Dockerfile @@ -8,4 +8,4 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz diff --git a/test/node/features/fixtures/surrounding_code/Dockerfile b/test/node/features/fixtures/surrounding_code/Dockerfile index 718d7275c7..7a02012012 100644 --- a/test/node/features/fixtures/surrounding_code/Dockerfile +++ b/test/node/features/fixtures/surrounding_code/Dockerfile @@ -8,4 +8,4 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz diff --git a/test/node/features/fixtures/unhandled/Dockerfile b/test/node/features/fixtures/unhandled/Dockerfile index 718d7275c7..7a02012012 100644 --- a/test/node/features/fixtures/unhandled/Dockerfile +++ b/test/node/features/fixtures/unhandled/Dockerfile @@ -8,4 +8,4 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz diff --git a/test/node/features/fixtures/webpack/Dockerfile b/test/node/features/fixtures/webpack/Dockerfile index 5215beed9a..cbe002f091 100644 --- a/test/node/features/fixtures/webpack/Dockerfile +++ b/test/node/features/fixtures/webpack/Dockerfile @@ -8,5 +8,5 @@ RUN npm install COPY . ./ -RUN npm install --no-package-lock --no-save bugsnag-node*.tgz +RUN npm install --no-package-lock --no-save --legacy-peer-deps bugsnag-node*.tgz RUN npm run build diff --git a/test/react-native-cli/features/fixtures/Dockerfile b/test/react-native-cli/features/fixtures/Dockerfile index 58bda9e0bf..43fd0afb29 100644 --- a/test/react-native-cli/features/fixtures/Dockerfile +++ b/test/react-native-cli/features/fixtures/Dockerfile @@ -9,6 +9,6 @@ COPY . /app WORKDIR /app -RUN npm i -g bugsnag-react-native-cli-*.tgz +RUN npm i -g bugsnag-react-native-cli-*.tgz --legacy-peer-deps ENTRYPOINT ["/bin/sh"] diff --git a/test/react-native-cli/features/fixtures/rn0_60/.npmrc b/test/react-native-cli/features/fixtures/rn0_60/.npmrc new file mode 100644 index 0000000000..e9ee3cb4d0 --- /dev/null +++ b/test/react-native-cli/features/fixtures/rn0_60/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true \ No newline at end of file diff --git a/test/react-native-cli/features/fixtures/rn0_61/.npmrc b/test/react-native-cli/features/fixtures/rn0_61/.npmrc new file mode 100644 index 0000000000..e9ee3cb4d0 --- /dev/null +++ b/test/react-native-cli/features/fixtures/rn0_61/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true \ No newline at end of file diff --git a/test/react-native-cli/features/fixtures/rn0_62/.npmrc b/test/react-native-cli/features/fixtures/rn0_62/.npmrc new file mode 100644 index 0000000000..e9ee3cb4d0 --- /dev/null +++ b/test/react-native-cli/features/fixtures/rn0_62/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true \ No newline at end of file diff --git a/test/react-native-cli/features/fixtures/rn0_63/.npmrc b/test/react-native-cli/features/fixtures/rn0_63/.npmrc new file mode 100644 index 0000000000..e9ee3cb4d0 --- /dev/null +++ b/test/react-native-cli/features/fixtures/rn0_63/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true \ No newline at end of file diff --git a/test/react-native-cli/features/fixtures/rn0_63_expo_ejected/.npmrc b/test/react-native-cli/features/fixtures/rn0_63_expo_ejected/.npmrc new file mode 100644 index 0000000000..e9ee3cb4d0 --- /dev/null +++ b/test/react-native-cli/features/fixtures/rn0_63_expo_ejected/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true \ No newline at end of file diff --git a/test/react-native-cli/features/fixtures/rn0_64/.npmrc b/test/react-native-cli/features/fixtures/rn0_64/.npmrc new file mode 100644 index 0000000000..e9ee3cb4d0 --- /dev/null +++ b/test/react-native-cli/features/fixtures/rn0_64/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true \ No newline at end of file diff --git a/test/react-native-cli/features/fixtures/rn0_65/.npmrc b/test/react-native-cli/features/fixtures/rn0_65/.npmrc new file mode 100644 index 0000000000..e9ee3cb4d0 --- /dev/null +++ b/test/react-native-cli/features/fixtures/rn0_65/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true \ No newline at end of file diff --git a/test/react-native-cli/features/fixtures/rn0_66/.npmrc b/test/react-native-cli/features/fixtures/rn0_66/.npmrc new file mode 100644 index 0000000000..e9ee3cb4d0 --- /dev/null +++ b/test/react-native-cli/features/fixtures/rn0_66/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true \ No newline at end of file diff --git a/test/react-native-cli/features/fixtures/rn0_67/.npmrc b/test/react-native-cli/features/fixtures/rn0_67/.npmrc new file mode 100644 index 0000000000..e9ee3cb4d0 --- /dev/null +++ b/test/react-native-cli/features/fixtures/rn0_67/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true \ No newline at end of file diff --git a/test/react-native-cli/features/fixtures/rn0_67_hermes/.npmrc b/test/react-native-cli/features/fixtures/rn0_67_hermes/.npmrc new file mode 100644 index 0000000000..e9ee3cb4d0 --- /dev/null +++ b/test/react-native-cli/features/fixtures/rn0_67_hermes/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true \ No newline at end of file diff --git a/test/react-native-cli/features/fixtures/rn0_69/.npmrc b/test/react-native-cli/features/fixtures/rn0_69/.npmrc new file mode 100644 index 0000000000..e9ee3cb4d0 --- /dev/null +++ b/test/react-native-cli/features/fixtures/rn0_69/.npmrc @@ -0,0 +1 @@ +legacy-peer-deps=true \ No newline at end of file diff --git a/test/react-native/features/fixtures/app/react_native_navigation_js/install.sh b/test/react-native/features/fixtures/app/react_native_navigation_js/install.sh index a4e9997506..76eff4af19 100755 --- a/test/react-native/features/fixtures/app/react_native_navigation_js/install.sh +++ b/test/react-native/features/fixtures/app/react_native_navigation_js/install.sh @@ -1,13 +1,13 @@ #!/bin/bash -npm i @bugsnag/plugin-react-native-navigation@$BUGSNAG_VERSION --registry=$REGISTRY_URL +npm i @bugsnag/plugin-react-native-navigation@$BUGSNAG_VERSION --legacy-peer-deps --registry=$REGISTRY_URL if [ "$REACT_NATIVE_VERSION" == "rn0.60" ]; then - npm i react-native-navigation@7.0.0 + npm i react-native-navigation@7.0.0 --legacy-peer-deps elif [ "$REACT_NATIVE_VERSION" == "rn0.66" ]; then - npm i react-native-navigation@7.29.1 + npm i react-native-navigation@7.29.1 --legacy-peer-deps else - npm i react-native-navigation@^7.30.0 + npm i react-native-navigation@^7.30.0 --legacy-peer-deps fi npx rnn-link diff --git a/test/react-native/features/fixtures/app/react_navigation_js/install.sh b/test/react-native/features/fixtures/app/react_navigation_js/install.sh index 268187a3f5..8fa08348cc 100755 --- a/test/react-native/features/fixtures/app/react_navigation_js/install.sh +++ b/test/react-native/features/fixtures/app/react_navigation_js/install.sh @@ -1,29 +1,29 @@ -npm install @bugsnag/plugin-react-navigation@$BUGSNAG_VERSION --registry=$REGISTRY_URL +npm install @bugsnag/plugin-react-navigation@$BUGSNAG_VERSION --legacy-peer-deps --registry=$REGISTRY_URL if [ "$REACT_NATIVE_VERSION" = "rn0.60" ]; then - npm install @react-native-community/masked-view@^0.1 --registry=$REGISTRY_URL - npm install @react-navigation/native@^5.9 --registry=$REGISTRY_URL - npm install @react-navigation/stack@^5.14 --registry=$REGISTRY_URL - npm install react-native-gesture-handler@^1.10 --registry=$REGISTRY_URL - npm install react-native-reanimated@^1.13 --registry=$REGISTRY_URL - npm install react-native-safe-area-context@^3.1 --registry=$REGISTRY_URL - npm install react-native-screens@^2.18 --registry=$REGISTRY_URL + npm install @react-native-community/masked-view@^0.1 --legacy-peer-deps --registry=$REGISTRY_URL + npm install @react-navigation/native@^5.9 --legacy-peer-deps --registry=$REGISTRY_URL + npm install @react-navigation/stack@^5.14 --legacy-peer-deps --registry=$REGISTRY_URL + npm install react-native-gesture-handler@^1.10 --legacy-peer-deps --registry=$REGISTRY_URL + npm install react-native-reanimated@^1.13 --legacy-peer-deps --registry=$REGISTRY_URL + npm install react-native-safe-area-context@^3.1 --legacy-peer-deps --registry=$REGISTRY_URL + npm install react-native-screens@^2.18 --legacy-peer-deps --registry=$REGISTRY_URL elif [ "$REACT_NATIVE_VERSION" = "rn0.66" ] || [ "$REACT_NATIVE_VERSION" = "rn0.67" ] || [ "$REACT_NATIVE_VERSION" = "rn0.68-hermes" ]; then - npm install @react-native-community/masked-view@^0.1 --registry=$REGISTRY_URL - npm install @react-navigation/native@^6.0 --registry=$REGISTRY_URL - npm install @react-navigation/stack@^6.0 --registry=$REGISTRY_URL + npm install @react-native-community/masked-view@^0.1 --legacy-peer-deps --registry=$REGISTRY_URL + npm install @react-navigation/native@^6.0 --legacy-peer-deps --registry=$REGISTRY_URL + npm install @react-navigation/stack@^6.0 --legacy-peer-deps --registry=$REGISTRY_URL # gesture-handler locked to avoid Kotlin version conflicts, see "Important changes" at: # https://github.com/software-mansion/react-native-gesture-handler/releases/tag/2.7.0 - npm install react-native-gesture-handler@2.6.2 --registry=$REGISTRY_URL - npm install react-native-reanimated@^1.13 --registry=$REGISTRY_URL - npm install react-native-safe-area-context@3.3 --registry=$REGISTRY_URL - npm install react-native-screens@3.10 --registry=$REGISTRY_URL + npm install react-native-gesture-handler@2.6.2 --legacy-peer-deps --registry=$REGISTRY_URL + npm install react-native-reanimated@^1.13 --legacy-peer-deps --registry=$REGISTRY_URL + npm install react-native-safe-area-context@3.3 --legacy-peer-deps --registry=$REGISTRY_URL + npm install react-native-screens@3.10 --legacy-peer-deps --registry=$REGISTRY_URL else - npm install @react-native-community/masked-view@^0.1 --registry=$REGISTRY_URL - npm install @react-navigation/native@^6.0 --registry=$REGISTRY_URL - npm install @react-navigation/stack@^6.0 --registry=$REGISTRY_URL - npm install react-native-gesture-handler@^2.2 --registry=$REGISTRY_URL - npm install react-native-reanimated@^1.13 --registry=$REGISTRY_URL - npm install react-native-safe-area-context@3.3 --registry=$REGISTRY_URL - npm install react-native-screens@3.10 --registry=$REGISTRY_URL + npm install @react-native-community/masked-view@^0.1 --legacy-peer-deps --registry=$REGISTRY_URL + npm install @react-navigation/native@^6.0 --legacy-peer-deps --registry=$REGISTRY_URL + npm install @react-navigation/stack@^6.0 --legacy-peer-deps --registry=$REGISTRY_URL + npm install react-native-gesture-handler@^2.2 --legacy-peer-deps --registry=$REGISTRY_URL + npm install react-native-reanimated@^1.13 --legacy-peer-deps --registry=$REGISTRY_URL + npm install react-native-safe-area-context@3.3 --legacy-peer-deps --registry=$REGISTRY_URL + npm install react-native-screens@3.10 --legacy-peer-deps --registry=$REGISTRY_URL fi