Skip to content

Commit

Permalink
Merge pull request #2036 from bugsnag/bump-peer-deps
Browse files Browse the repository at this point in the history
bump peer dependencies for v8
  • Loading branch information
djskinner authored Nov 13, 2023
2 parents 82e2b73 + 4694295 commit 5ae47e5
Show file tree
Hide file tree
Showing 101 changed files with 135 additions and 121 deletions.
4 changes: 3 additions & 1 deletion bin/local-test-util
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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`,
Expand Down
10 changes: 5 additions & 5 deletions dockerfiles/Dockerfile.browser
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/Dockerfile.react-native-android-builder
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/Dockerfile.react-native-cli-android-builder
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/delivery-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/delivery-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/delivery-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/delivery-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/delivery-x-domain-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/delivery-xml-http-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/electron-network-status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/in-flight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
"zone.js": "^0.8.26"
},
"peerDependencies": {
"@bugsnag/js": "^7.0.0"
"@bugsnag/js": "^8.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-app-duration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-aws-lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"express": "^4.18.2"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-browser-context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-browser-device/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-browser-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-browser-session/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-client-ip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-console-breadcrumbs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-contextualize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-electron-app-breadcrumbs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-electron-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"bindings": "^1.5.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.9.2"
"@bugsnag/core": "^8"
},
"author": "Bugsnag",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-electron-client-state-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.9.2"
"@bugsnag/core": "^8"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"@types/bindings": "^1.5.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.9.2"
"@bugsnag/core": "^8"
}
}
4 changes: 2 additions & 2 deletions packages/plugin-electron-deliver-minidumps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-electron-device/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-electron-ipc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-electron-net-breadcrumbs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-electron-network-status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.9.2"
"@bugsnag/core": "^8"
},
"author": "Bugsnag",
"license": "MIT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-electron-preload-error/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-electron-process-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.9.2"
"@bugsnag/core": "^8"
},
"author": "Bugsnag",
"license": "MIT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.9.2"
"@bugsnag/core": "^8"
}
}
4 changes: 2 additions & 2 deletions packages/plugin-electron-renderer-event-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-electron-screen-breadcrumbs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-electron-session/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-inline-script-content/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-interaction-breadcrumbs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-intercept/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.0.0"
"@bugsnag/core": "^8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-internal-callback-marker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"@bugsnag/core": "^8.0.0-alpha.0"
},
"peerDependencies": {
"@bugsnag/core": "^7.9.2"
"@bugsnag/core": "^8"
}
}
Loading

0 comments on commit 5ae47e5

Please sign in to comment.