app-builder-lib 26.0.12 → 26.0.14

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.
Files changed (69) hide show
  1. package/out/asar/asarUtil.js +137 -143
  2. package/out/asar/asarUtil.js.map +1 -1
  3. package/out/asar/integrity.d.ts +0 -3
  4. package/out/asar/integrity.js +0 -60
  5. package/out/asar/integrity.js.map +1 -1
  6. package/out/codeSign/macCodeSign.js +3 -2
  7. package/out/codeSign/macCodeSign.js.map +1 -1
  8. package/out/codeSign/windowsSignAzureManager.js +1 -1
  9. package/out/codeSign/windowsSignAzureManager.js.map +1 -1
  10. package/out/configuration.d.ts +11 -0
  11. package/out/configuration.js.map +1 -1
  12. package/out/core.d.ts +2 -1
  13. package/out/core.js +5 -2
  14. package/out/core.js.map +1 -1
  15. package/out/macPackager.d.ts +2 -1
  16. package/out/macPackager.js +22 -3
  17. package/out/macPackager.js.map +1 -1
  18. package/out/node-module-collector/nodeModulesCollector.d.ts +4 -7
  19. package/out/node-module-collector/nodeModulesCollector.js +7 -79
  20. package/out/node-module-collector/nodeModulesCollector.js.map +1 -1
  21. package/out/node-module-collector/npmNodeModulesCollector.d.ts +3 -3
  22. package/out/node-module-collector/npmNodeModulesCollector.js +29 -42
  23. package/out/node-module-collector/npmNodeModulesCollector.js.map +1 -1
  24. package/out/node-module-collector/pnpmNodeModulesCollector.d.ts +3 -3
  25. package/out/node-module-collector/pnpmNodeModulesCollector.js +37 -43
  26. package/out/node-module-collector/pnpmNodeModulesCollector.js.map +1 -1
  27. package/out/node-module-collector/types.d.ts +1 -3
  28. package/out/node-module-collector/types.js.map +1 -1
  29. package/out/options/macOptions.d.ts +2 -0
  30. package/out/options/macOptions.js.map +1 -1
  31. package/out/packager.js +28 -2
  32. package/out/packager.js.map +1 -1
  33. package/out/platformPackager.d.ts +0 -1
  34. package/out/platformPackager.js +0 -9
  35. package/out/platformPackager.js.map +1 -1
  36. package/out/targets/AppxTarget.d.ts +1 -0
  37. package/out/targets/AppxTarget.js +13 -10
  38. package/out/targets/AppxTarget.js.map +1 -1
  39. package/out/targets/ArchiveTarget.js +46 -43
  40. package/out/targets/ArchiveTarget.js.map +1 -1
  41. package/out/targets/FpmTarget.d.ts +2 -0
  42. package/out/targets/FpmTarget.js +44 -8
  43. package/out/targets/FpmTarget.js.map +1 -1
  44. package/out/targets/MsiWrappedTarget.js +2 -1
  45. package/out/targets/MsiWrappedTarget.js.map +1 -1
  46. package/out/targets/nsis/Defines.d.ts +1 -2
  47. package/out/targets/nsis/Defines.js.map +1 -1
  48. package/out/targets/nsis/NsisTarget.js +40 -33
  49. package/out/targets/nsis/NsisTarget.js.map +1 -1
  50. package/out/targets/nsis/nsisOptions.d.ts +24 -1
  51. package/out/targets/nsis/nsisOptions.js.map +1 -1
  52. package/out/targets/nsis/nsisUtil.d.ts +1 -0
  53. package/out/targets/nsis/nsisUtil.js +11 -1
  54. package/out/targets/nsis/nsisUtil.js.map +1 -1
  55. package/out/targets/pkg.js +7 -1
  56. package/out/targets/pkg.js.map +1 -1
  57. package/out/targets/tools.d.ts +1 -0
  58. package/out/targets/tools.js +22 -0
  59. package/out/targets/tools.js.map +1 -1
  60. package/out/util/appFileCopier.js +10 -1
  61. package/out/util/appFileCopier.js.map +1 -1
  62. package/out/util/yarn.d.ts +5 -1
  63. package/out/util/yarn.js +7 -9
  64. package/out/util/yarn.js.map +1 -1
  65. package/out/version.d.ts +1 -1
  66. package/out/version.js +1 -1
  67. package/out/version.js.map +1 -1
  68. package/package.json +12 -12
  69. package/scheme.json +90 -4
package/scheme.json CHANGED
@@ -428,6 +428,20 @@
428
428
  ],
429
429
  "type": "object"
430
430
  },
431
+ "Concurrency": {
432
+ "additionalProperties": false,
433
+ "properties": {
434
+ "jobs": {
435
+ "default": 1,
436
+ "description": "The maximum number of concurrent jobs to run.",
437
+ "type": "number"
438
+ }
439
+ },
440
+ "required": [
441
+ "jobs"
442
+ ],
443
+ "type": "object"
444
+ },
431
445
  "CustomNsisBinary": {
432
446
  "additionalProperties": false,
433
447
  "properties": {
@@ -446,7 +460,7 @@
446
460
  ]
447
461
  },
448
462
  "url": {
449
- "default": "https://github.com/electron-userland/electron-builder-binaries/releases/download",
463
+ "default": "https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.4.1/nsis-3.0.4.1.7z",
450
464
  "type": [
451
465
  "null",
452
466
  "string"
@@ -465,6 +479,29 @@
465
479
  ],
466
480
  "type": "object"
467
481
  },
482
+ "CustomNsisResources": {
483
+ "additionalProperties": false,
484
+ "properties": {
485
+ "checksum": {
486
+ "default": "Dqd6g+2buwwvoG1Vyf6BHR1b+25QMmPcwZx40atOT57gH27rkjOei1L0JTldxZu4NFoEmW4kJgZ3DlSWVON3+Q==",
487
+ "type": "string"
488
+ },
489
+ "url": {
490
+ "default": "https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-resources-3.4.1/nsis-resources-3.4.1.7z",
491
+ "type": "string"
492
+ },
493
+ "version": {
494
+ "default": "3.4.1",
495
+ "type": "string"
496
+ }
497
+ },
498
+ "required": [
499
+ "checksum",
500
+ "url",
501
+ "version"
502
+ ],
503
+ "type": "object"
504
+ },
468
505
  "CustomPublishOptions": {
469
506
  "additionalProperties": {},
470
507
  "properties": {
@@ -2688,7 +2725,7 @@
2688
2725
  ]
2689
2726
  },
2690
2727
  "identity": {
2691
- "description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](./code-signing.md) instead of specifying this option.\nMAS installer identity is specified in the [mas](./mas.md).",
2728
+ "description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](./code-signing.md) instead of specifying this option.\nMAS installer identity is specified in the [mas](./mas.md).\n\nSet to `-` to use an ad-hoc identity for signing. Set to `null` to skip signing entirely.",
2692
2729
  "type": [
2693
2730
  "null",
2694
2731
  "string"
@@ -3320,7 +3357,7 @@
3320
3357
  ]
3321
3358
  },
3322
3359
  "identity": {
3323
- "description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](./code-signing.md) instead of specifying this option.\nMAS installer identity is specified in the [mas](./mas.md).",
3360
+ "description": "The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](./code-signing.md) instead of specifying this option.\nMAS installer identity is specified in the [mas](./mas.md).\n\nSet to `-` to use an ad-hoc identity for signing. Set to `null` to skip signing entirely.",
3324
3361
  "type": [
3325
3362
  "null",
3326
3363
  "string"
@@ -3900,6 +3937,17 @@
3900
3937
  ],
3901
3938
  "description": "Allows you to provide your own `makensis`, such as one with support for debug logging via LogSet and LogText. (Logging also requires option `debugLogging = true`)"
3902
3939
  },
3940
+ "customNsisResources": {
3941
+ "anyOf": [
3942
+ {
3943
+ "$ref": "#/definitions/CustomNsisResources"
3944
+ },
3945
+ {
3946
+ "type": "null"
3947
+ }
3948
+ ],
3949
+ "description": "Allows you to provide your own `nsis-resources`"
3950
+ },
3903
3951
  "deleteAppDataOnUninstall": {
3904
3952
  "default": false,
3905
3953
  "description": "*one-click installer only.* Whether to delete app data on uninstall.",
@@ -4206,6 +4254,17 @@
4206
4254
  ],
4207
4255
  "description": "Allows you to provide your own `makensis`, such as one with support for debug logging via LogSet and LogText. (Logging also requires option `debugLogging = true`)"
4208
4256
  },
4257
+ "customNsisResources": {
4258
+ "anyOf": [
4259
+ {
4260
+ "$ref": "#/definitions/CustomNsisResources"
4261
+ },
4262
+ {
4263
+ "type": "null"
4264
+ }
4265
+ ],
4266
+ "description": "Allows you to provide your own `nsis-resources`"
4267
+ },
4209
4268
  "deleteAppDataOnUninstall": {
4210
4269
  "default": false,
4211
4270
  "description": "*one-click installer only.* Whether to delete app data on uninstall.",
@@ -5150,6 +5209,11 @@
5150
5209
  "string"
5151
5210
  ]
5152
5211
  },
5212
+ "buildUniversalInstaller": {
5213
+ "default": true,
5214
+ "description": "Disable building an universal installer of the archs specified in the target configuration",
5215
+ "type": "boolean"
5216
+ },
5153
5217
  "customNsisBinary": {
5154
5218
  "anyOf": [
5155
5219
  {
@@ -5161,6 +5225,17 @@
5161
5225
  ],
5162
5226
  "description": "Allows you to provide your own `makensis`, such as one with support for debug logging via LogSet and LogText. (Logging also requires option `debugLogging = true`)"
5163
5227
  },
5228
+ "customNsisResources": {
5229
+ "anyOf": [
5230
+ {
5231
+ "$ref": "#/definitions/CustomNsisResources"
5232
+ },
5233
+ {
5234
+ "type": "null"
5235
+ }
5236
+ ],
5237
+ "description": "Allows you to provide your own `nsis-resources`"
5238
+ },
5164
5239
  "guid": {
5165
5240
  "description": "See [GUID vs Application Name](./nsis.md#guid-vs-application-name).",
5166
5241
  "type": [
@@ -5326,7 +5401,7 @@
5326
5401
  },
5327
5402
  "S3Options": {
5328
5403
  "additionalProperties": false,
5329
- "description": "[Amazon S3](https://aws.amazon.com/s3/) options.\nAWS credentials are required, please see [getting your credentials](http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/getting-your-credentials.html).\nDefine `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` [environment variables](http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-environment.html).\nOr in the [~/.aws/credentials](http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-shared.html).\n\nExample configuration:\n\n```json\n{\n\"build\":\n \"publish\": {\n \"provider\": \"s3\",\n \"bucket\": \"bucket-name\"\n }\n}\n}\n```",
5404
+ "description": "[Amazon S3](https://aws.amazon.com/s3/) options.\nAWS credentials are required, please see [getting your credentials](http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/getting-your-credentials.html).\nTo set credentials define `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` [environment variables](http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-environment.html) directly,\nor use [~/.aws/credentials](http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-shared.html) file,\nor use [~/.aws/config](https://docs.aws.amazon.com/sdkref/latest/guide/file-format.html) file. For the last method to work you will also need to define `AWS_SDK_LOAD_CONFIG=1` environment variable.\n\nExample configuration:\n\n```json\n{\n\"build\":\n \"publish\": {\n \"provider\": \"s3\",\n \"bucket\": \"bucket-name\"\n }\n}\n}\n```",
5330
5405
  "properties": {
5331
5406
  "accelerate": {
5332
5407
  "description": "If set to true, this will enable the s3 accelerated endpoint\nThese endpoints have a particular format of:\n ${bucketname}.s3-accelerate.amazonaws.com",
@@ -6924,6 +6999,17 @@
6924
6999
  "default": "normal",
6925
7000
  "description": "The compression level. If you want to rapidly test build, `store` can reduce build time significantly. `maximum` doesn't lead to noticeable size difference, but increase build time."
6926
7001
  },
7002
+ "concurrency": {
7003
+ "anyOf": [
7004
+ {
7005
+ "$ref": "#/definitions/Concurrency"
7006
+ },
7007
+ {
7008
+ "type": "null"
7009
+ }
7010
+ ],
7011
+ "description": "[Experimental] Configuration for concurrent builds."
7012
+ },
6927
7013
  "copyright": {
6928
7014
  "default": "Copyright © year ${author}",
6929
7015
  "description": "The human-readable copyright line for the app.",