app-builder-lib
Advanced tools
Comparing version 25.0.0-alpha.4 to 25.0.0-alpha.5
@@ -126,3 +126,3 @@ import { Arch } from "builder-util"; | ||
* Use `legacy` app-builder binary for installing native dependencies, or `@electron/rebuild` in `sequential` or `parallel` compilation modes. | ||
* @default legacy | ||
* @default sequential | ||
*/ | ||
@@ -129,0 +129,0 @@ readonly nativeRebuilder?: "legacy" | "sequential" | "parallel" | null; |
@@ -152,3 +152,3 @@ "use strict"; | ||
}; | ||
if ([undefined, null, "legacy"].includes(config.nativeRebuilder)) { | ||
if (config.nativeRebuilder === "legacy") { | ||
const env = getGypEnv(options.frameworkInfo, configuration.platform, configuration.arch, options.buildFromSource === true); | ||
@@ -172,3 +172,3 @@ return (0, appBuilder_1.executeAppBuilderAndWriteJson)(["rebuild-node-modules"], configuration, { env, cwd: appDir }); | ||
projectRootPath: await (0, search_module_1.getProjectRootPath)(appDir), | ||
mode: config.nativeRebuilder, | ||
mode: config.nativeRebuilder || "sequential", | ||
}; | ||
@@ -175,0 +175,0 @@ if (buildFromSource) { |
@@ -1,1 +0,1 @@ | ||
export declare const PACKAGE_VERSION = "25.0.0-alpha.4"; | ||
export declare const PACKAGE_VERSION = "25.0.0-alpha.5"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PACKAGE_VERSION = void 0; | ||
exports.PACKAGE_VERSION = "25.0.0-alpha.4"; | ||
exports.PACKAGE_VERSION = "25.0.0-alpha.5"; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "app-builder-lib", | ||
"description": "electron-builder lib", | ||
"version": "25.0.0-alpha.4", | ||
"version": "25.0.0-alpha.5", | ||
"main": "out/index.js", | ||
@@ -106,8 +106,8 @@ "files": [ | ||
"@types/tar": "^6.1.3", | ||
"dmg-builder": "25.0.0-alpha.4", | ||
"electron-builder-squirrel-windows": "25.0.0-alpha.4" | ||
"dmg-builder": "25.0.0-alpha.5", | ||
"electron-builder-squirrel-windows": "25.0.0-alpha.5" | ||
}, | ||
"peerDependencies": { | ||
"dmg-builder": "25.0.0-alpha.4", | ||
"electron-builder-squirrel-windows": "25.0.0-alpha.4" | ||
"dmg-builder": "25.0.0-alpha.5", | ||
"electron-builder-squirrel-windows": "25.0.0-alpha.5" | ||
}, | ||
@@ -114,0 +114,0 @@ "//": "electron-builder-squirrel-windows and dmg-builder added as dev dep for tests (as otherwise `require` doesn't work using Yarn 2)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
2975975