app-builder-lib 25.1.7 → 26.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"filter.js","sourceRoot":"","sources":["../../src/util/filter.ts"],"names":[],"mappings":";;AAOA,4BAaC;AA6BD,oCAWC;AAzDD,6BAA4B;AAC5B,wDAAyD;AAEzD,gBAAgB;AAChB,SAAgB,QAAQ,CAAC,OAAkB;IACzC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;IACvB,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACnB,OAAO,IAAI,CAAA;IACb,CAAC;IAED,KAAK,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QACvB,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;YAC1B,OAAO,IAAI,CAAA;QACb,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AAED,6JAA6J;AAC7J,SAAS,cAAc,CAAC,CAAS;IAC/B,OAAO,CAAC,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAA;AAClE,CAAC;AAED,SAAS,eAAe,CAAC,IAAY,EAAE,eAAuB;IAC5D,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE,CAAC;QACtC,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,sCAAoB,CAAC,CAAA;QAChD,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC;YACd,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,kBAAkB,eAAe,EAAE,CAAC,CAAA;QAC7D,CAAC;aAAM,CAAC;YACN,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,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K,OAAO,CAAC,MAAM,EAAE,CAAC;YAC7B,SAAQ;QACV,CAAC;QAED,qEAAqE;QACrE,oMAAoM;QACpM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;IACpE,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC","sourcesContent":["import { Filter } from \"builder-util\"\nimport { Stats } from \"fs-extra\"\nimport { Minimatch } from \"minimatch\"\nimport * as path from \"path\"\nimport { NODE_MODULES_PATTERN } from \"../fileTransformer\"\n\n/** @internal */\nexport function hasMagic(pattern: Minimatch) {\n const set = pattern.set\n if (set.length > 1) {\n return true\n }\n\n for (const i of set[0]) {\n if (typeof i !== \"string\") {\n return true\n }\n }\n\n return false\n}\n\n// sometimes, destination may not contain path separator in the end (path to folder), but the src does. So let's ensure paths have path separators in the end\nfunction ensureEndSlash(s: string) {\n return s.length === 0 || s.endsWith(path.sep) ? s : s + path.sep\n}\n\nfunction getRelativePath(file: string, srcWithEndSlash: string) {\n if (!file.startsWith(srcWithEndSlash)) {\n const index = file.indexOf(NODE_MODULES_PATTERN)\n if (index < 0) {\n throw new Error(`${file} must be under ${srcWithEndSlash}`)\n } else {\n return file.substring(index + 1 /* leading slash */)\n }\n }\n\n let relative = file.substring(srcWithEndSlash.length)\n if (path.sep === \"\\\\\") {\n if (relative.startsWith(\"\\\\\")) {\n // windows problem: double backslash, the above substring call removes root path with a single slash, so here can me some leftovers\n relative = relative.substring(1)\n }\n relative = relative.replace(/\\\\/g, \"/\")\n }\n return relative\n}\n\n/** @internal */\nexport function createFilter(src: string, patterns: Array<Minimatch>, excludePatterns?: Array<Minimatch> | null): Filter {\n const srcWithEndSlash = ensureEndSlash(src)\n return (file, stat) => {\n if (src === file) {\n return true\n }\n\n const relative = getRelativePath(file, srcWithEndSlash)\n // https://github.com/electron-userland/electron-builder/issues/867\n return minimatchAll(relative, patterns, stat) && (excludePatterns == null || stat.isDirectory() || !minimatchAll(relative, excludePatterns, stat))\n }\n}\n\n// https://github.com/joshwnj/minimatch-all/blob/master/index.js\nfunction minimatchAll(path: string, patterns: Array<Minimatch>, stat: Stats): boolean {\n let match = false\n for (const pattern of patterns) {\n // If we've got a match, only re-test for exclusions.\n // if we don't have a match, only re-test for inclusions.\n if (match !== pattern.negate) {\n continue\n }\n\n // partial match — pattern: foo/bar.txt path: foo — we must allow foo\n // use it only for non-negate patterns: const m = new Minimatch(\"!node_modules/@(electron-download|electron)/**/*\", {dot: true }); m.match(\"node_modules\", true) will return false, but must be true\n match = pattern.match(path, stat.isDirectory() && !pattern.negate)\n }\n return match\n}\n"]}
1
+ {"version":3,"file":"filter.js","sourceRoot":"","sources":["../../src/util/filter.ts"],"names":[],"mappings":";;AAOA,4BAaC;AA6BD,oCAmBC;AAjED,6BAA4B;AAC5B,wDAAyD;AAEzD,gBAAgB;AAChB,SAAgB,QAAQ,CAAC,OAAkB;IACzC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;IACvB,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACnB,OAAO,IAAI,CAAA;IACb,CAAC;IAED,KAAK,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QACvB,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;YAC1B,OAAO,IAAI,CAAA;QACb,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AAED,6JAA6J;AAC7J,SAAS,cAAc,CAAC,CAAS;IAC/B,OAAO,CAAC,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAA;AAClE,CAAC;AAED,SAAS,eAAe,CAAC,IAAY,EAAE,eAAuB;IAC5D,IAAI,CAAC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E,CAAC;YAC9C,QAAQ,IAAI,GAAG,CAAA;QACjB,CAAC;QAED,mEAAmE;QACnE,OAAO,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,eAAe,IAAI,IAAI,IAAI,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,eAAe,EAAE,IAAI,CAAC,CAAC,CAAA;IACpJ,CAAC,CAAA;AACH,CAAC;AAED,gEAAgE;AAChE,SAAS,YAAY,CAAC,IAAY,EAAE,QAA0B,EAAE,IAAW;IACzE,IAAI,KAAK,GAAG,KAAK,CAAA;IACjB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC/B,qDAAqD;QACrD,yDAAyD;QACzD,IAAI,KAAK,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC;YAC7B,SAAQ;QACV,CAAC;QAED,qEAAqE;QACrE,oMAAoM;QACpM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;IACpE,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC","sourcesContent":["import { Filter } from \"builder-util\"\nimport { Stats } from \"fs-extra\"\nimport { Minimatch } from \"minimatch\"\nimport * as path from \"path\"\nimport { NODE_MODULES_PATTERN } from \"../fileTransformer\"\n\n/** @internal */\nexport function hasMagic(pattern: Minimatch) {\n const set = pattern.set\n if (set.length > 1) {\n return true\n }\n\n for (const i of set[0]) {\n if (typeof i !== \"string\") {\n return true\n }\n }\n\n return false\n}\n\n// sometimes, destination may not contain path separator in the end (path to folder), but the src does. So let's ensure paths have path separators in the end\nfunction ensureEndSlash(s: string) {\n return s.length === 0 || s.endsWith(path.sep) ? s : s + path.sep\n}\n\nfunction getRelativePath(file: string, srcWithEndSlash: string) {\n if (!file.startsWith(srcWithEndSlash)) {\n const index = file.indexOf(NODE_MODULES_PATTERN)\n if (index < 0) {\n throw new Error(`${file} must be under ${srcWithEndSlash}`)\n } else {\n return file.substring(index + 1 /* leading slash */)\n }\n }\n\n let relative = file.substring(srcWithEndSlash.length)\n if (path.sep === \"\\\\\") {\n if (relative.startsWith(\"\\\\\")) {\n // windows problem: double backslash, the above substring call removes root path with a single slash, so here can me some leftovers\n relative = relative.substring(1)\n }\n relative = relative.replace(/\\\\/g, \"/\")\n }\n return relative\n}\n\n/** @internal */\nexport function createFilter(src: string, patterns: Array<Minimatch>, excludePatterns?: Array<Minimatch> | null): Filter {\n const srcWithEndSlash = ensureEndSlash(src)\n return (file, stat) => {\n if (src === file) {\n return true\n }\n\n let relative = getRelativePath(file, srcWithEndSlash)\n\n // filter the root node_modules, but not a subnode_modules (like /appDir/others/foo/node_modules/blah)\n if (relative === \"node_modules\") {\n return false\n } else if (relative.endsWith(\"/node_modules\")) {\n relative += \"/\"\n }\n\n // https://github.com/electron-userland/electron-builder/issues/867\n return minimatchAll(relative, patterns, stat) && (excludePatterns == null || stat.isDirectory() || !minimatchAll(relative, excludePatterns, stat))\n }\n}\n\n// https://github.com/joshwnj/minimatch-all/blob/master/index.js\nfunction minimatchAll(path: string, patterns: Array<Minimatch>, stat: Stats): boolean {\n let match = false\n for (const pattern of patterns) {\n // If we've got a match, only re-test for exclusions.\n // if we don't have a match, only re-test for inclusions.\n if (match !== pattern.negate) {\n continue\n }\n\n // partial match — pattern: foo/bar.txt path: foo — we must allow foo\n // use it only for non-negate patterns: const m = new Minimatch(\"!node_modules/@(electron-download|electron)/**/*\", {dot: true }); m.match(\"node_modules\", true) will return false, but must be true\n match = pattern.match(path, stat.isDirectory() && !pattern.negate)\n }\n return match\n}\n"]}
package/out/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const PACKAGE_VERSION = "25.1.7";
1
+ export declare const PACKAGE_VERSION = "26.0.0-alpha.0";
package/out/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PACKAGE_VERSION = void 0;
4
- exports.PACKAGE_VERSION = "25.1.7";
4
+ exports.PACKAGE_VERSION = "26.0.0-alpha.0";
5
5
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG,QAAQ,CAAA","sourcesContent":["export const PACKAGE_VERSION = \"25.1.7\"\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG,gBAAgB,CAAA","sourcesContent":["export const PACKAGE_VERSION = \"26.0.0-alpha.0\"\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "app-builder-lib",
3
3
  "description": "electron-builder lib",
4
- "version": "25.1.7",
4
+ "version": "26.0.0-alpha.0",
5
5
  "main": "out/index.js",
6
6
  "files": [
7
7
  "out",
@@ -75,9 +75,9 @@
75
75
  "semver": "^7.3.8",
76
76
  "tar": "^6.1.12",
77
77
  "temp-file": "^3.4.0",
78
- "builder-util": "25.1.7",
79
- "electron-publish": "25.1.7",
80
- "builder-util-runtime": "9.2.10"
78
+ "builder-util": "26.0.0-alpha.0",
79
+ "builder-util-runtime": "9.2.10",
80
+ "electron-publish": "26.0.0-alpha.0"
81
81
  },
82
82
  "///": "babel in devDependencies for proton tests",
83
83
  "devDependencies": {
@@ -108,12 +108,12 @@
108
108
  "@types/semver": "7.3.8",
109
109
  "@types/tar": "^6.1.3",
110
110
  "toml": "^3.0.0",
111
- "dmg-builder": "25.1.7",
112
- "electron-builder-squirrel-windows": "25.1.7"
111
+ "dmg-builder": "26.0.0-alpha.0",
112
+ "electron-builder-squirrel-windows": "26.0.0-alpha.0"
113
113
  },
114
114
  "peerDependencies": {
115
- "dmg-builder": "25.1.7",
116
- "electron-builder-squirrel-windows": "25.1.7"
115
+ "dmg-builder": "26.0.0-alpha.0",
116
+ "electron-builder-squirrel-windows": "26.0.0-alpha.0"
117
117
  },
118
118
  "//": "electron-builder-squirrel-windows and dmg-builder added as dev dep for tests (as otherwise `require` doesn't work using Yarn 2)",
119
119
  "typings": "./out/index.d.ts"
package/scheme.json CHANGED
@@ -58,7 +58,15 @@
58
58
  ]
59
59
  },
60
60
  "desktop": {
61
- "description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files) entries (name to value)."
61
+ "anyOf": [
62
+ {
63
+ "$ref": "#/definitions/LinuxDesktopFile"
64
+ },
65
+ {
66
+ "type": "null"
67
+ }
68
+ ],
69
+ "description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files)"
62
70
  },
63
71
  "executableArgs": {
64
72
  "anyOf": [
@@ -576,7 +584,15 @@
576
584
  ]
577
585
  },
578
586
  "desktop": {
579
- "description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files) entries (name to value)."
587
+ "anyOf": [
588
+ {
589
+ "$ref": "#/definitions/LinuxDesktopFile"
590
+ },
591
+ {
592
+ "type": "null"
593
+ }
594
+ ],
595
+ "description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files)"
580
596
  },
581
597
  "executableArgs": {
582
598
  "anyOf": [
@@ -1111,7 +1127,15 @@
1111
1127
  ]
1112
1128
  },
1113
1129
  "desktop": {
1114
- "description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files) entries (name to value)."
1130
+ "anyOf": [
1131
+ {
1132
+ "$ref": "#/definitions/LinuxDesktopFile"
1133
+ },
1134
+ {
1135
+ "type": "null"
1136
+ }
1137
+ ],
1138
+ "description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files)"
1115
1139
  },
1116
1140
  "executableArgs": {
1117
1141
  "anyOf": [
@@ -1645,7 +1669,15 @@
1645
1669
  ]
1646
1670
  },
1647
1671
  "desktop": {
1648
- "description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files) entries (name to value)."
1672
+ "anyOf": [
1673
+ {
1674
+ "$ref": "#/definitions/LinuxDesktopFile"
1675
+ },
1676
+ {
1677
+ "type": "null"
1678
+ }
1679
+ ],
1680
+ "description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files)"
1649
1681
  },
1650
1682
  "detectUpdateChannel": {
1651
1683
  "default": true,
@@ -1941,6 +1973,35 @@
1941
1973
  },
1942
1974
  "type": "object"
1943
1975
  },
1976
+ "LinuxDesktopFile": {
1977
+ "additionalProperties": false,
1978
+ "description": "Example Spec: https://specifications.freedesktop.org/desktop-entry-spec/latest/example.html",
1979
+ "properties": {
1980
+ "desktopActions": {
1981
+ "anyOf": [
1982
+ {
1983
+ "typeof": "function"
1984
+ },
1985
+ {
1986
+ "type": "null"
1987
+ }
1988
+ ],
1989
+ "description": "`[Desktop Actions <ActionName>]` metadata entries (name to value).\n\nConfig Example:\n```js\ndesktopActions: {\n NewWindow: {\n Name: 'New Window',\n Exec: 'app --new-window',\n }\n}\n```"
1990
+ },
1991
+ "entry": {
1992
+ "anyOf": [
1993
+ {
1994
+ "typeof": "function"
1995
+ },
1996
+ {
1997
+ "type": "null"
1998
+ }
1999
+ ],
2000
+ "description": "`[Desktop Entry]` metadata entries (name to value). Overwrites default values calculated by electron-builder"
2001
+ }
2002
+ },
2003
+ "type": "object"
2004
+ },
1944
2005
  "LinuxTargetSpecificOptions": {
1945
2006
  "additionalProperties": false,
1946
2007
  "properties": {
@@ -2010,7 +2071,15 @@
2010
2071
  ]
2011
2072
  },
2012
2073
  "desktop": {
2013
- "description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files) entries (name to value)."
2074
+ "anyOf": [
2075
+ {
2076
+ "$ref": "#/definitions/LinuxDesktopFile"
2077
+ },
2078
+ {
2079
+ "type": "null"
2080
+ }
2081
+ ],
2082
+ "description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files)"
2014
2083
  },
2015
2084
  "executableArgs": {
2016
2085
  "anyOf": [
@@ -5463,7 +5532,15 @@
5463
5532
  ]
5464
5533
  },
5465
5534
  "desktop": {
5466
- "description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files) entries (name to value)."
5535
+ "anyOf": [
5536
+ {
5537
+ "$ref": "#/definitions/LinuxDesktopFile"
5538
+ },
5539
+ {
5540
+ "type": "null"
5541
+ }
5542
+ ],
5543
+ "description": "The [Desktop file](https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files)"
5467
5544
  },
5468
5545
  "environment": {
5469
5546
  "anyOf": [
@@ -6709,7 +6786,7 @@
6709
6786
  ]
6710
6787
  }
6711
6788
  ],
6712
- "description": "Appx manifest created on disk - not packed into .appx package yet."
6789
+ "description": "The function (or path to file or module id) to be run after Appx manifest created on disk - not packed into .appx package yet."
6713
6790
  },
6714
6791
  "artifactBuildCompleted": {
6715
6792
  "anyOf": [
@@ -6934,10 +7011,13 @@
6934
7011
  "typeof": "function"
6935
7012
  },
6936
7013
  {
6937
- "type": "string"
7014
+ "type": [
7015
+ "null",
7016
+ "string"
7017
+ ]
6938
7018
  }
6939
7019
  ],
6940
- "description": "Returns the path to custom Electron build (e.g. `~/electron/out/R`). Zip files must follow the pattern `electron-v${version}-${platformName}-${arch}.zip`, otherwise it will be assumed to be an unpacked Electron app directory"
7020
+ "description": "The function (or path to file or module id) to be run when staging the electron artifact environment.\nReturns the path to custom Electron build (e.g. `~/electron/out/R`) or folder of electron zips. Zip files must follow the pattern `electron-v${version}-${platformName}-${arch}.zip`, otherwise it will be assumed to be an unpacked Electron app directory"
6941
7021
  },
6942
7022
  "electronDownload": {
6943
7023
  "$ref": "#/definitions/ElectronDownloadOptions",
@@ -7142,11 +7222,6 @@
7142
7222
  "description": "Whether to include PDB files.",
7143
7223
  "type": "boolean"
7144
7224
  },
7145
- "includeSubNodeModules": {
7146
- "default": false,
7147
- "description": "Whether to include *all* of the submodules node_modules directories",
7148
- "type": "boolean"
7149
- },
7150
7225
  "launchUiVersion": {
7151
7226
  "description": "*libui-based frameworks only* The version of LaunchUI you are packaging for. Applicable for Windows only. Defaults to version suitable for used framework version.",
7152
7227
  "type": [
@@ -7221,7 +7296,7 @@
7221
7296
  ]
7222
7297
  }
7223
7298
  ],
7224
- "description": "MSI project created on disk - not packed into .msi package yet."
7299
+ "description": "The function (or path to file or module id) to be run after MSI project created on disk - not packed into .msi package yet."
7225
7300
  },
7226
7301
  "msiWrapped": {
7227
7302
  "anyOf": [