Skip to content

Commit f0cb15d

Browse files
committed
chore: update deps
1 parent d5d21da commit f0cb15d

File tree

15 files changed

+2375
-2520
lines changed

15 files changed

+2375
-2520
lines changed

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- deps-{{ checksum "yarn.lock" }}
1212
- restore_cache:
1313
keys:
14-
- v-7.1.2-electron
14+
- v-7.1.10-electron
1515
- run:
1616
command: yarn --frozen-lockfile
1717
- run:
@@ -23,7 +23,7 @@ jobs:
2323
- run:
2424
command: node ./test/out/helpers/downloadElectron.js
2525
- save_cache:
26-
key: v-7.1.2-electron
26+
key: v-7.1.10-electron
2727
paths:
2828
- ~/.cache/electron
2929

@@ -34,14 +34,15 @@ jobs:
3434
environment:
3535
JEST_JUNIT_OUTPUT: ./test-reports/test.xml
3636
TZ: Europe/Berlin
37+
DEBUG: electron-builder
3738
steps:
3839
- checkout
3940
- restore_cache:
4041
keys:
4142
- deps-{{ checksum "yarn.lock" }}
4243
- restore_cache:
4344
keys:
44-
- v-7.1.2-electron
45+
- v-7.1.10-electron
4546
# because in the build job we use circleci docker image and circleci restores cache to original user home
4647
- run:
4748
command: |

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@types/debug": "^4.1.5",
3636
"@types/is-ci": "^2.0.0",
3737
"@types/semver": "^6.2.0",
38-
"app-builder-bin": "3.5.1",
38+
"app-builder-bin": "3.5.2",
3939
"archiver": "^3.1.1",
4040
"async-exit-hook": "^2.0.1",
4141
"bluebird-lst": "^1.0.9",
@@ -88,33 +88,34 @@
8888
"@babel/plugin-syntax-import-meta": "^7.8.3",
8989
"@babel/preset-env": "^7.8.3",
9090
"@babel/preset-react": "^7.8.3",
91+
"@jest/core": "^25.1.0",
9192
"@types/ejs": "^3.0.0",
9293
"@types/fs-extra": "^8.0.1",
9394
"@types/ini": "^1.3.30",
94-
"@types/jest": "^24.9.0",
95-
"@types/js-yaml": "^3.12.1",
95+
"@types/jest": "^24.9.1",
96+
"@types/js-yaml": "^3.12.2",
9697
"@types/lodash.isequal": "^4.5.5",
9798
"@types/node-emoji": "^1.8.1",
98-
"@types/sax": "^1.2.0",
99-
"@types/source-map-support": "^0.5.0",
99+
"@types/sax": "^1.2.1",
100+
"@types/source-map-support": "^0.5.1",
100101
"@types/stat-mode": "^0.2.0",
101-
"@types/yargs": "^15.0.0",
102+
"@types/yargs": "^15.0.1",
102103
"babel-core": "^7.0.0-bridge.0",
103-
"babel-preset-jest": "^24.9.0",
104+
"babel-preset-jest": "^25.1.0",
104105
"babel-preset-ts-node8": "~4.0.0",
105106
"convert-source-map": "^1.7.0",
106107
"decompress-zip": "^0.3.1",
107108
"depcheck": "^0.9.1",
108109
"electron-builder-tslint-config": "^1.1.0",
109110
"globby": "^11.0.0",
110-
"jest-cli": "^24.9.0",
111+
"jest-cli": "^25.1.0",
111112
"jest-junit": "^10.0.0",
112113
"jsdoc-to-markdown": "^5.0.3",
113114
"path-sort": "^0.1.0",
114115
"sumchecker": "^3.0.1",
115116
"ts-babel": "6.1.7",
116117
"ts-jsdoc": "^3.1.1",
117-
"tslint": "^5.20.1",
118+
"tslint": "^6.0.0",
118119
"typescript": "~3.7.5",
119120
"whitespace": "^2.1.0",
120121
"worker-farm": "^1.7.0"

packages/app-builder-lib/src/electron/electronVersion.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,14 @@ export async function computeElectronVersion(projectDir: string, projectMetadata
7878
try {
7979
const releaseInfo = JSON.parse((await httpExecutor.request({
8080
hostname: "github.com",
81-
path: `/electron/${dependency?.name === "electron-nightly" ? "nightlies" : "electron"}/releases/latest`,
81+
path: `/electron/${dependency.name === "electron-nightly" ? "nightlies" : "electron"}/releases/latest`,
8282
headers: {
8383
accept: "application/json",
8484
},
8585
}))!!)
86-
return (releaseInfo.tag_name.startsWith("v")) ? releaseInfo.tag_name.substring(1) : releaseInfo.tag_name
86+
const version = (releaseInfo.tag_name.startsWith("v")) ? releaseInfo.tag_name.substring(1) : releaseInfo.tag_name
87+
log.info({version}, `resolve ${dependency.name}@${dependency.version}`)
88+
return version
8789
}
8890
catch (e) {
8991
log.warn(e)

packages/app-builder-lib/src/targets/pkg.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export class PkgTarget extends Target {
167167
// now build the package
168168
const args = [
169169
"--root", rootPath,
170-
"--identifier", this.packager.appInfo.id,
170+
// "--identifier", this.packager.appInfo.id,
171171
"--component-plist", propertyListOutputFile,
172172
]
173173

packages/builder-util/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"out"
1212
],
1313
"dependencies": {
14-
"app-builder-bin": "3.5.1",
14+
"app-builder-bin": "3.5.2",
1515
"temp-file": "^3.3.6",
1616
"fs-extra": "^8.1.0",
1717
"is-ci": "^2.0.0",

test/fixtures/test-app-build-sub/electron-builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
electronVersion: 7.1.2
1+
electronVersion: 7.1.10
22
appId: org.electron-builder.testApp
33
compression: store
44
npmRebuild: false

test/fixtures/test-app-one/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"author": "Foo Bar <[email protected]>",
99
"license": "MIT",
1010
"build": {
11-
"electronVersion": "7.1.2",
11+
"electronVersion": "7.1.10",
1212
"appId": "org.electron-builder.testApp",
1313
"compression": "store",
1414
"npmRebuild": false,

test/fixtures/test-app-yarn-several-workspace/packages/test-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "Foo Bar <[email protected]>",
88
"license": "MIT",
99
"build": {
10-
"electronVersion": "7.1.2",
10+
"electronVersion": "7.1.10",
1111
"appId": "org.electron-builder.testApp",
1212
"compression": "store",
1313
"npmRebuild": false,

test/fixtures/test-app-yarn-workspace-version-conflict/packages/test-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "Foo Bar <[email protected]>",
88
"license": "MIT",
99
"build": {
10-
"electronVersion": "7.1.2",
10+
"electronVersion": "7.1.10",
1111
"appId": "org.electron-builder.testApp",
1212
"compression": "store",
1313
"npmRebuild": false,

test/fixtures/test-app-yarn-workspace/packages/test-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "Foo Bar <[email protected]>",
88
"license": "MIT",
99
"build": {
10-
"electronVersion": "7.1.2",
10+
"electronVersion": "7.1.10",
1111
"appId": "org.electron-builder.testApp",
1212
"compression": "store",
1313
"npmRebuild": false,

0 commit comments

Comments
 (0)