Граф коммитов

3166 Коммитов

Автор SHA1 Сообщение Дата
Tanishq Kancharla e1427155d4
fix(maker-dmg): remove extraneous properties from `MakerDMGConfig` (#3761)
* make appPath optional

* cleanup types more

* revert yarn.lock changes

* fix test

* fix test

---------

Co-authored-by: Erick Zhao <erick@hotmail.ca>
2024-11-30 06:39:39 +00:00
Keeley Hammond 37a66f2a42
v7.6.0 2024-11-26 14:40:37 -08:00
Leo Wang(草鞋没号) c9a6247132
fix(plugin-vite): merge Vite `build.lib` config (#3721) 2024-11-20 22:24:51 +00:00
dependabot[bot] 73e819019f
build(deps): bump cross-spawn from 7.0.3 to 7.0.5 (#3762)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.5.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.5)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 00:21:01 +00:00
JHartman5 2b6da59a0a
feat(publisher-s3): allow ACL omission (#3728)
* feat(publisher-s3): allow ACL omission

This allows the caller to omit the ACL from the upload request, per
Amazon's recommendation of using bucket owner-enforced permissions.

* Update packages/publisher/s3/src/Config.ts

Updates the documentation for the `omitAcl` option per the pull request review

Co-authored-by: Felix Rieseberg <fr@makenotion.com>

---------

Co-authored-by: Felix Rieseberg <fr@makenotion.com>
2024-11-12 18:27:36 +00:00
Leo Wang(草鞋没号) f94793641a
fix(vite-template): fix vite template start failed after package (#3713)
* fix(vite-template): use import instead require for start failed after package

* chore(vite-template): remove forge.env.d.ts from js template

* chore(vite-template): remove electron-squirrel-startup type define
2024-11-12 18:23:42 +00:00
Samuel Attard a2d704e684
feat: add preStart hook and port existing startLogic impls (#3720)
* feat: add preStart hook and port existing startLogic impls

* spec: update tests
2024-11-12 18:17:37 +00:00
dependabot[bot] cbb64160bd
build(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7 (#3745)
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.6...v2.0.7)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 04:25:15 +00:00
dependabot[bot] 09ca523203
build(deps): bump actions/setup-node from 4.0.4 to 4.1.0 (#3748)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](0a44ba7841...39370e3970)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 04:25:02 +00:00
dependabot[bot] 32e4d1980c
build(deps): bump dsanders11/project-actions from 1.3.0 to 1.4.0 (#3749)
Bumps [dsanders11/project-actions](https://github.com/dsanders11/project-actions) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/dsanders11/project-actions/releases)
- [Changelog](https://github.com/dsanders11/project-actions/blob/main/.releaserc.json)
- [Commits](eb760c4889...438b25e007)

---
updated-dependencies:
- dependency-name: dsanders11/project-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 03:26:42 +00:00
electron-roller[bot] a202c959eb
chore: bump electronjs/node to 2.3.1 (main) (#3746)
chore: bump electronjs/node in .circleci/config.yml to 2.3.1

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2024-11-02 02:59:06 +00:00
dependabot[bot] 45a2204e8e
build(deps): bump actions/checkout from 4.2.0 to 4.2.2 (#3747)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](d632683dd7...11bd71901b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 02:48:49 +00:00
David Sanders ab3e11d1d8
ci: use larger Linux resource class for slow tests (#3750) 2024-11-02 01:43:54 +00:00
dependabot[bot] 4e7517c11f
build(deps): bump actions/setup-node from 4.0.3 to 4.0.4 (#3724)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](1e60f620b9...0a44ba7841)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-18 16:37:28 +00:00
李帅西 3ad7485270
build(plugin-vite): add declare file to npm (#3735) 2024-10-18 16:36:28 +00:00
dependabot[bot] 36efda8044
build(deps): bump actions/checkout from 4.1.7 to 4.2.0 (#3723)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](692973e3d9...d632683dd7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-17 20:32:50 +00:00
Samuel Attard 7574b36490
fix: log correct directory when hook moves artifacts (#3730) 2024-10-08 21:40:00 +00:00
Felix Rieseberg d6187adcb5
fix: Bump @electron/rebuild to ^3.7.0 (#3732)
chore: Bump @electron/rebuild to ^3.7.0
2024-10-08 19:52:26 +00:00
Erick Zhao 1193d150b8
build(deps): upgrade syncpack@11 (#3716) 2024-09-24 16:09:26 +00:00
dependabot[bot] 0bca4289b8
build(deps): bump rollup from 4.21.3 to 4.22.4 (#3718)
Bumps [rollup](https://github.com/rollup/rollup) from 4.21.3 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.21.3...v4.22.4)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-24 05:17:44 +00:00
Erick Zhao 420458bd2e
fix(plugin-vite): avoid TS5055 (#3711) 2024-09-21 05:41:39 +00:00
Keeley Hammond 5941a9a067
v7.5.0 2024-09-20 11:47:54 -07:00
Keeley Hammond 3b1f849c1d
docs: mark plugin-vite as experimental (#3710) 2024-09-20 11:43:21 -07:00
Leo Wang(草鞋没号) 83fa9cf7b7
feat(plugin-vite): better logic (#3583)
* refactor(plugin-vite): better \`node_modules\` collect strategy

* refactor(plugin-vite): move vite config from template to plugin

* feat(plugin-vite): load built in vite config

* fix(plugin-vite): return `undefined` avoid `packagerConfig.ignore` logic BUG

* chore(plugin-vite): remove `process` reference

* feat(plugin-vite): remove copy `dependencies` to built App

* chore(plugin-vite): update config

* chore(plugin-vite): test add `vite.base.config.ts`

* fix(template-vite): remove vite.base.config.ts

* chore(plugin-vite): cleanup code style

* fix(plugin-vite): necessary forge config options

* chore(plugin-vite): update test

---------

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
2024-09-19 23:53:02 +00:00
Rob Koch a29dd65b58
feat(publisher-gcs): only include provided upload options (#3576)
* Separate config properties out and only include provided upload options

* exclamation point

* run prettier

---------

Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: George Xu <33054982+georgexu99@users.noreply.github.com>
2024-09-19 22:41:18 +00:00
Erick Zhao 04945d5002
chore(publisher-s3): update aws-sdk deps (#3708)
* chore(publisher-s3): update aws-sdk deps

* fast-xml-parser bump
2024-09-19 22:12:41 +00:00
SpacingBat3 cc0d7d6268
feat(core): support ESM Forge module loading (#3582)
* refactor(core): try...catch dynamicImport

This ensures calling dynamicImport will rather result in
rejected promise than in unhandled exception.

* feat(core): support ESM module packages

Replace some require() calls with dynamicImport() to support loading
makers/publishers/plugins etc. that are ESM makers

* fix(core): limit path resolving in helper

Avoid resolving path to file url in dynamicImport to support importing
modules by identifiers.

* fix(core): re-order dynamicImportMaybe methods

Try require first, then import, to avoid .default property for CJS.

* fix(core) fix tests in core

* refactor(core): merge import error messages

Merge error messages for imports to easier debug potential failures.

* refactor(core): improve tests

Rename require-search test to import-search
and improve testing the promise rejection.

Co-authored-by: Erick Zhao <erick@hotmail.ca>

* generic refactors

* fix(core): Move plugins init to promise.

This should fix regression caused by
bd6ea70473790e5436c20a9ea5bf851782e59e03.

---------

Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
Co-authored-by: Erik Moura <erikian@erikian.dev>
Co-authored-by: George Xu <33054982+georgexu99@users.noreply.github.com>
2024-09-19 21:52:07 +00:00
Erick Zhao f4c3834114
build(deps): upgrade `path-to-regexp` (#3707) 2024-09-19 21:47:00 +00:00
Erick Zhao fd1e3d0e14
build(deps): lerna@7 (#3706) 2024-09-19 21:46:30 +00:00
Martin Elend 2c081eabca
feat(core): adding register/unregisterForgeConfigForDirectory to utils (#3626) 2024-09-19 21:43:36 +00:00
Erick Zhao ca6b211953
chore: add `.nvmrc` for developers (#3704) 2024-09-19 21:25:35 +00:00
Erick Zhao 4527e42433
build(deps): upgrade electron-winstaller (#3705) 2024-09-19 12:41:00 -07:00
Erick Zhao 8f7bf645f0
build(deps): upgrade lockfile deps for audit (#3703) 2024-09-19 11:39:41 -07:00
dependabot[bot] d6d436aa0c
build(deps): bump webpack from 5.89.0 to 5.94.0 (#3678)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2024-09-19 11:00:43 -07:00
dependabot[bot] 8660008ce4
build(deps): bump vite from 5.0.13 to 5.2.14 (#3700)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 10:16:56 -07:00
Dallas Fraser 25893fcbd3
feat(maker-wix): Expose the property associateExtensions (#3674)
See here for documentation https://js.electronforge.io/classes/_electron_forge_maker_wix.InternalOptions.MSICreator.html#associateExtensions
2024-09-19 09:48:59 -07:00
electron-roller[bot] 321c72d296
chore: bump electronjs/node to 2.3.0 (main) (#3596)
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Erik Moura <erikian@erikian.dev>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2024-09-18 17:59:28 -07:00
rahul-sachdeva22 3c2a19b134
feat(plugin-webpack): support for dev server custom headers (#3653)
Co-authored-by: Kevin Cui <bh@bugs.cc>
2024-09-17 11:23:54 -07:00
dependabot[bot] 9716565f37
build(deps): bump express from 4.19.2 to 4.20.0 (#3693)
Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.20.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 13:54:19 -07:00
Felix Rieseberg 6009884619
fix: Bump @electron/packager to ^18.3.5 (#3692) 2024-09-11 13:18:42 -07:00
Tobias Artz d47343126b
feat: Adding optional metadata config to gcs publisher (#3682)
* Update PublisherGCS.ts

Adding optional metadata config
This will allow setting GCS metadata such as cacheControl

* Update Config.ts

* running lint

* Convert metadata to metadataGenerator function to generate more granular metadata
2024-09-03 11:53:45 -07:00
dependabot[bot] 1b8c720494
build(deps): bump dsanders11/github-app-commit-action from 1.4.0 to 1.5.0 (#3681)
build(deps): bump dsanders11/github-app-commit-action

Bumps [dsanders11/github-app-commit-action](https://github.com/dsanders11/github-app-commit-action) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/dsanders11/github-app-commit-action/releases)
- [Changelog](https://github.com/dsanders11/github-app-commit-action/blob/main/.releaserc.json)
- [Commits](48d2ff8c1a...43de6da2f4)

---
updated-dependencies:
- dependency-name: dsanders11/github-app-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 21:23:39 -07:00
dependabot[bot] 1b2f6f19ac
build(deps): bump axios from 1.6.1 to 1.7.6 (#3680)
Bumps [axios](https://github.com/axios/axios) from 1.6.1 to 1.7.6.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.1...v1.7.6)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 20:56:02 -04:00
dependabot[bot] 343d983912
build(deps): bump micromatch from 4.0.5 to 4.0.8 (#3679)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 14:36:31 -04:00
dependabot[bot] 6c32c69685
build(deps): bump vite from 5.0.12 to 5.0.13 (#3559)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.12 to 5.0.13.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.13/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.13/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2024-08-01 23:13:25 -07:00
dependabot[bot] 0c06617a2a
build(deps): bump actions/setup-node from 4.0.2 to 4.0.3 (#3667)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](60edb5dd54...1e60f620b9)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 15:40:28 -07:00
Erick Zhao f77671d0cc
fix(hooks): allow mutating hooks to have a `void` return (#3655) 2024-07-16 08:30:54 -07:00
Hyunseung Jeon (aru@channel.io) f0dd217248
fix(plugin-webpack): protocol recognizes webpack's `devServer` setting (#3650) 2024-07-09 14:56:29 -04:00
Erick Zhao 875ee54902
build: upgrade `electron-installer-dmg@5` (#3649) 2024-07-09 14:07:29 -04:00
Erick Zhao 3daacd3b7e
build: upgrade `@electron/osx-sign` to latest (#3651)
Fixes #3605
2024-07-09 11:08:36 -04:00