Skip to content

Commit a55bef0

Browse files
authored
chore: update semantic release to v22 (#30087)
* chore: update semantic-release from 19 to 22 to see what fails [run ci] * fix npm internal exit code test [run ci]
1 parent 15a2926 commit a55bef0

File tree

5 files changed

+1436
-911
lines changed

5 files changed

+1436
-911
lines changed

npm/puppeteer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"express": "4.19.2",
2828
"mocha": "^9.2.2",
2929
"rimraf": "^5.0.1",
30-
"semantic-release": "19.0.3",
30+
"semantic-release": "22.0.12",
3131
"sinon": "^13.0.1",
3232
"sinon-chai": "^3.7.0",
3333
"ts-node": "^10.9.2",

npm/webpack-preprocessor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"mocha": "^7.1.0",
4343
"mockery": "2.1.0",
4444
"proxyquire": "2.1.3",
45-
"semantic-release": "19.0.3",
45+
"semantic-release": "22.0.12",
4646
"sinon": "^9.0.0",
4747
"sinon-chai": "^3.5.0",
4848
"snap-shot-it": "7.9.2",

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"@octokit/auth-app": "6.0.3",
9595
"@octokit/core": "5.0.2",
9696
"@percy/cli": "1.27.4",
97-
"@semantic-release/changelog": "5.0.1",
97+
"@semantic-release/changelog": "6.0.3",
9898
"@semantic-release/git": "10.0.1",
9999
"@types/better-sqlite3": "^7.6.3",
100100
"@types/bluebird": "3.5.29",
@@ -189,7 +189,7 @@
189189
"print-arch": "1.0.0",
190190
"proxyquire": "2.1.3",
191191
"rimraf": "3.0.2",
192-
"semantic-release": "19.0.3",
192+
"semantic-release": "22.0.12",
193193
"semantic-release-monorepo": "7.0.3",
194194
"semver": "7.5.3",
195195
"shelljs": "0.8.5",
@@ -265,7 +265,6 @@
265265
"**/@types/enzyme": "3.10.5",
266266
"**/@types/react": "16.9.50",
267267
"**/jquery": "3.4.1",
268-
"**/nx-cloud/**/tar": "6.1.15",
269268
"**/pretty-format": "26.4.0",
270269
"**/sharp": "0.29.3",
271270
"**/socket.io-parser": "4.0.5",

packages/server/test/integration/cli_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ describe('CLI Interface', () => {
9999
/**
100100
* In certain versions of npm, code with an exit code of 10 (Internal Runtime Javascript Failure)
101101
* is ultimately displayed as an exit code of 1 (Uncaught Runtime Exception).
102-
* This seems to occur before Node 7 / NPM 4 and after Node 14/ NPM 7.
102+
* This seems to occur before Node 7 / NPM 4 and between Node 14/ NPM 7 and Node 16 / NPM 8.
103103
* Please see https://github.com/arzzen/all-exit-error-codes/blob/master/programming-languages/javascript/nodejs.md
104104
* for more details.
105105
*
106106
* @returns {boolean}
107107
*/
108108
const doesNpmObscureInternalExitCode = () => {
109-
return semver.lt(npmVersion, '4.0.0') || semver.gt(npmVersion, '6.0.0')
109+
return semver.lt(npmVersion, '4.0.0') || (semver.gt(npmVersion, '6.0.0') && semver.lt(npmVersion, '8.0.0'))
110110
}
111111

112112
beforeEach(() => {

0 commit comments

Comments
 (0)