Skip to content

Commit ddd2b76

Browse files
committed
сhore: update deps
1 parent f698f08 commit ddd2b76

File tree

6 files changed

+491
-477
lines changed

6 files changed

+491
-477
lines changed

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"hosted-git-info": "^2.7.1",
4646
"iconv-lite": "^0.4.24",
4747
"ini": "^1.3.5",
48-
"is-ci": "^1.2.1",
48+
"is-ci": "^2.0.0",
4949
"isbinaryfile": "^3.0.3",
5050
"js-yaml": "^3.12.0",
5151
"lazy-val": "^1.0.3",
@@ -69,28 +69,28 @@
6969
"yargs": "^12.0.5"
7070
},
7171
"devDependencies": {
72-
"@babel/core": "^7.1.6",
73-
"@babel/plugin-proposal-class-properties": "^7.1.0",
74-
"@babel/plugin-proposal-decorators": "^7.1.6",
75-
"@babel/plugin-proposal-do-expressions": "^7.0.0",
76-
"@babel/plugin-proposal-export-default-from": "^7.0.0",
77-
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
78-
"@babel/plugin-proposal-function-bind": "^7.0.0",
79-
"@babel/plugin-proposal-function-sent": "^7.1.0",
80-
"@babel/plugin-proposal-json-strings": "^7.0.0",
81-
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
82-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
83-
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
84-
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
85-
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
86-
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
87-
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
88-
"@babel/plugin-syntax-import-meta": "^7.0.0",
89-
"@babel/preset-env": "^7.1.6",
72+
"@babel/core": "^7.2.0",
73+
"@babel/plugin-proposal-class-properties": "^7.2.1",
74+
"@babel/plugin-proposal-decorators": "^7.2.0",
75+
"@babel/plugin-proposal-do-expressions": "^7.2.0",
76+
"@babel/plugin-proposal-export-default-from": "^7.2.0",
77+
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
78+
"@babel/plugin-proposal-function-bind": "^7.2.0",
79+
"@babel/plugin-proposal-function-sent": "^7.2.0",
80+
"@babel/plugin-proposal-json-strings": "^7.2.0",
81+
"@babel/plugin-proposal-logical-assignment-operators": "^7.2.0",
82+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.2.0",
83+
"@babel/plugin-proposal-numeric-separator": "^7.2.0",
84+
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
85+
"@babel/plugin-proposal-pipeline-operator": "^7.2.0",
86+
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
87+
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
88+
"@babel/plugin-syntax-import-meta": "^7.2.0",
89+
"@babel/preset-env": "^7.2.0",
9090
"@babel/preset-react": "^7.0.0",
9191
"@types/debug": "^0.0.31",
92-
"@types/ejs": "^2.6.0",
93-
"@types/ini": "^1.3.29",
92+
"@types/ejs": "^2.6.1",
93+
"@types/ini": "^1.3.30",
9494
"@types/jest": "^23.3.10",
9595
"@types/js-yaml": "^3.11.2",
9696
"@types/lodash.isequal": "^4.5.3",
@@ -116,7 +116,7 @@
116116
"ts-babel": "6.1.2",
117117
"ts-jsdoc": "^3.0.1",
118118
"tslint": "^5.11.0",
119-
"typescript": "~3.1.6",
119+
"typescript": "~3.2.2",
120120
"whitespace": "^2.1.0",
121121
"worker-farm": "^1.6.0"
122122
},

packages/app-builder-lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"electron-publish": "0.0.0-semantic-release",
5353
"fs-extra-p": "^7.0.0",
5454
"hosted-git-info": "^2.7.1",
55-
"is-ci": "^1.2.1",
55+
"is-ci": "^2.0.0",
5656
"isbinaryfile": "^3.0.3",
5757
"js-yaml": "^3.12.0",
5858
"read-config-file": "3.2.0",

packages/builder-util/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"app-builder-bin": "2.6.0",
1515
"temp-file": "^3.3.2",
1616
"fs-extra-p": "^7.0.0",
17-
"is-ci": "^1.2.1",
17+
"is-ci": "^2.0.0",
1818
"stat-mode": "^0.2.2",
1919
"bluebird-lst": "^1.0.6",
2020
"chalk": "^2.4.1",

packages/electron-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"builder-util-runtime": "0.0.0-semantic-release",
5252
"builder-util": "0.0.0-semantic-release",
5353
"fs-extra-p": "^7.0.0",
54-
"is-ci": "^1.2.1",
54+
"is-ci": "^2.0.0",
5555
"read-config-file": "3.2.0",
5656
"sanitize-filename": "^1.6.1",
5757
"update-notifier": "^2.5.0",

test/src/PublishManagerTest.ts

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { createTargets, Platform } from "electron-builder"
22
import { outputFile } from "fs-extra-p"
33
import * as path from "path"
4+
import { GithubOptions, GenericServerOptions, SpacesOptions } from "builder-util-runtime"
45
import { assertThat } from "./helpers/fileAssert"
56
import { app, checkDirContents } from "./helpers/packTester"
67

@@ -12,40 +13,45 @@ test.ifDevOrLinuxCi("generic, github and spaces", app({
1213
electronUpdaterCompatibility: ">=2.16",
1314
},
1415
publish: [
15-
{
16-
provider: "generic",
17-
url: "https://example.com/downloads"
18-
},
19-
{
20-
provider: "github",
21-
repo: "foo/foo"
22-
},
23-
{
24-
provider: "spaces",
25-
name: "mySpaceName",
26-
region: "nyc3"
27-
},
16+
genericPublisher("https://example.com/downloads"),
17+
githubPublisher("foo/foo"),
18+
spacesPublisher(),
2819
]
2920
},
3021
}))
3122

23+
function spacesPublisher(publishAutoUpdate: boolean = true): SpacesOptions {
24+
return {
25+
provider: "spaces",
26+
name: "mySpaceName",
27+
region: "nyc3",
28+
publishAutoUpdate,
29+
}
30+
}
31+
32+
function githubPublisher(repo: string): GithubOptions {
33+
return {
34+
provider: "github",
35+
repo,
36+
}
37+
}
38+
39+
function genericPublisher(url: string): GenericServerOptions {
40+
return {
41+
provider: "generic",
42+
url,
43+
}
44+
}
45+
3246
test.ifDevOrLinuxCi("github and spaces (publishAutoUpdate)", app({
3347
targets: Platform.LINUX.createTarget("AppImage"),
3448
config: {
3549
mac: {
3650
electronUpdaterCompatibility: ">=2.16",
3751
},
3852
publish: [
39-
{
40-
provider: "github",
41-
repo: "foo/foo"
42-
},
43-
{
44-
provider: "spaces",
45-
name: "mySpaceName",
46-
region: "nyc3",
47-
publishAutoUpdate: false
48-
},
53+
githubPublisher("foo/foo"),
54+
spacesPublisher(false),
4955
]
5056
},
5157
}))
@@ -59,11 +65,7 @@ test.ifAll("mac artifactName ", app({
5965
electronUpdaterCompatibility: ">=2.16",
6066
},
6167
publish: [
62-
{
63-
provider: "spaces",
64-
name: "mySpaceName",
65-
region: "nyc3"
66-
},
68+
spacesPublisher(),
6769
]
6870
},
6971
}, {

0 commit comments

Comments
 (0)