Skip to content

Commit

Permalink
fix(electron-updater): electron-updater v1.14.* throws cannot find mo…
Browse files Browse the repository at this point in the history
…dule 'debug'

Close #1521
  • Loading branch information
develar committed May 4, 2017
1 parent 002a714 commit 78d9b33
Show file tree
Hide file tree
Showing 6 changed files with 163 additions and 26 deletions.
6 changes: 3 additions & 3 deletions docs/Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ You can use [file macros](#file-macros) in the `from` and `to` fields as well.
* [`.WinBuildOptions`](#WinBuildOptions) ⇐ <code>[PlatformSpecificBuildOptions](electron-builder-core#PlatformSpecificBuildOptions)</code>
* [.Packager](#Packager) ⇐ <code>[BuildInfo](#BuildInfo)</code>
* [`.build(rawOptions)`](#module_electron-builder.build) ⇒ <code>Promise&lt;Array&lt;string&gt;&gt;</code>
* [`.buildForge(appDir, options)`](#module_electron-builder.buildForge) ⇒ <code>Promise&lt;Array&lt;string&gt;&gt;</code>
* [`.buildForge(forgeOptions, options)`](#module_electron-builder.buildForge) ⇒ <code>Promise&lt;Array&lt;string&gt;&gt;</code>
* [`.createTargets(platforms, type, arch)`](#module_electron-builder.createTargets) ⇒ <code>Map&lt;[Platform](electron-builder-core#Platform) \| Map&lt;[Arch](electron-builder-core#Arch) \| Array&lt;string&gt;&gt;&gt;</code>

<a name="AfterPackContext"></a>
Expand Down Expand Up @@ -651,12 +651,12 @@ Windows Specific Options ([win](#Config-win)).

<a name="module_electron-builder.buildForge"></a>

### `electron-builder.buildForge(appDir, options)` ⇒ <code>Promise&lt;Array&lt;string&gt;&gt;</code>
### `electron-builder.buildForge(forgeOptions, options)` ⇒ <code>Promise&lt;Array&lt;string&gt;&gt;</code>
**Kind**: method of [<code>electron-builder</code>](#module_electron-builder)

| Param | Type |
| --- | --- |
| appDir | <code>string</code> |
| forgeOptions | <code>[ForgeOptions](electron-builder#ForgeOptions)</code> |
| options | <code>[CliOptions](#CliOptions)</code> |

<a name="module_electron-builder.createTargets"></a>
Expand Down
15 changes: 15 additions & 0 deletions docs/api/electron-builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Developer API only. See [[Options]] for user documentation.
<dd></dd>
<dt><a href="#module_electron-builder/out/fileTransformer">electron-builder/out/fileTransformer</a></dt>
<dd></dd>
<dt><a href="#module_electron-builder/out/forge/forge-maker">electron-builder/out/forge/forge-maker</a></dt>
<dd></dd>
<dt><a href="#module_electron-builder/out/linuxPackager">electron-builder/out/linuxPackager</a></dt>
<dd></dd>
<dt><a href="#module_electron-builder/out/macPackager">electron-builder/out/macPackager</a></dt>
Expand Down Expand Up @@ -605,6 +607,19 @@ Developer API only. See [[Options]] for user documentation.
| --- | --- |
| info | <code>[BuildInfo](Options#BuildInfo)</code> |

<a name="module_electron-builder/out/forge/forge-maker"></a>

## electron-builder/out/forge/forge-maker
<a name="ForgeOptions"></a>

### `ForgeOptions`
**Kind**: interface of [<code>electron-builder/out/forge/forge-maker</code>](#module_electron-builder/out/forge/forge-maker)
**Properties**

| Name | Type |
| --- | --- |
| **dir**| <code>string</code> |

<a name="module_electron-builder/out/linuxPackager"></a>

## electron-builder/out/linuxPackager
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"update-notifier": "^2.1.0",
"uuid-1345": "^0.99.6",
"xelement": "^1.0.14",
"yargs": "^7.1.0"
"yargs": "^8.0.1"
},
"devDependencies": {
"@types/electron": "^1.4.37",
Expand Down Expand Up @@ -90,7 +90,7 @@
"path-sort": "^0.1.0",
"source-map-support": "^0.4.15",
"ts-babel": "^3.0.0",
"tslint": "^5.1.0",
"tslint": "^5.2.0",
"typescript": "^2.3.2",
"whitespace": "^2.1.0",
"xml2js": "^0.4.17"
Expand Down
2 changes: 1 addition & 1 deletion packages/electron-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"semver": "^5.3.0",
"update-notifier": "^2.1.0",
"uuid-1345": "^0.99.6",
"yargs": "^7.1.0"
"yargs": "^8.0.1"
},
"typings": "./out/electron-builder.d.ts",
"publishConfig": {
Expand Down
3 changes: 2 additions & 1 deletion packages/electron-updater/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"source-map-support": "^0.4.15",
"electron-builder-http": "~0.0.0-semantic-release",
"electron-is-dev": "^0.1.2",
"xelement": "^1.0.14"
"xelement": "^1.0.14",
"debug": "^2.6.6"
},
"typings": "./out/electron-updater.d.ts"
}
Loading

0 comments on commit 78d9b33

Please sign in to comment.