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

14 Коммитов

Автор SHA1 Сообщение Дата
David Sanders dee1970ade
build: drop unused .npmignore (#3296) 2023-08-16 17:33:58 -07:00
Erick Zhao 3ede27809c
fix(all): disallow throwing literals (`@typescript-eslint/no-throw-literal`) (#3086) 2022-11-22 14:39:39 -08:00
Keeley Hammond a2eadbcb18
feat: move create-electron-app into forge (#2988)
* feat: move create-electron-app into forge

* build: do stuff

* build: how dare we ignore this file

* chore: add README

* fix: name bin for cre correctly

* fix: disable eslint for CEA

* build: bust ci cache

* fix: set version to 74

* debug: remove windows-latest run

* debug: bump windows bolt 0.21.2 -> 0.24.10

* debug: pre-install cli

* debug: bolt to 0.22.4

* build: make stub electron-forge.js file in dist for windows build to work

* Revert "debug: bolt to 0.22.4"

This reverts commit 8d632438c2.

* Revert "debug: pre-install cli"

This reverts commit dcb2a66b7e.

* Revert "debug: bump windows bolt 0.21.2 -> 0.24.10"

This reverts commit 2458c60977.

* Revert "debug: remove windows-latest run"

This reverts commit 37847a2815.

* Revert "build: bust ci cache"

This reverts commit 4b35ffed2c.

* build: move stub folder to preinstall hook

* Reland: bump windows bolt 0.21.2 -> 0.24.10

* build: add shim script for windows, remove unneeded deps

* build: improve tools/maybe-shim-windows.js

Co-authored-by: Samuel Attard <sam@electronjs.org>

Co-authored-by: Samuel Attard <sattard@salesforce.com>
Co-authored-by: Samuel Attard <sam@electronjs.org>
2022-11-01 15:27:00 -07:00
Samuel Attard 8fa40d4a1e
build: add rule that enforces named exports over default exports (#3000) 2022-10-26 13:16:55 -07:00
Samuel Attard e404bf10b6
feat: add support for forge.config.ts et. al (#2993)
This brings in rechoir and interpret which allow arbitrary extensions / loaders for our forge config.

Notably this allows us to make forge.config.ts a thing (and thus generate type safe configurations).
2022-10-26 12:34:29 -07:00
Samuel Attard 247bcc8289
build: configure import/order eslint rule (#2997) 2022-10-26 10:37:16 -07:00
Calvin 412327a252
refactor: typescript projects & docs generation (#2804) 2022-05-03 10:29:31 -07:00
Mark Lee 1ca418ecc3
fix(cli): re-add shebang to electron-forge binary (#2671) 2022-01-09 23:40:28 -08:00
Mark Lee 0deb74b16a
refactor: use custom eslint config + prettier instead of airbnb config (#2520)
* chore: add test scripts
2021-09-12 10:44:30 -07:00
Mark Lee 0b631ed2e5
build(deps-dev): upgrade @typescript-eslint/{eslint-plugin,parser} to ^4.0.1 2020-09-06 18:47:25 -07:00
Mark Lee 3e5a64c030
refactor: create base template & test utils (#1351)
DRYs up the template code with a base template class (and new module
`@electron-forge/template-base`). The template tests were also moved
to their respective modules. As a result of that, a new module for test
utility functions (`@electron-forge/test-utils`) needed to be created as well.
2019-12-17 14:18:44 -08:00
Mark Lee d3fc077096
build: fix up eslint config for imports + typescript 2019-12-09 21:42:53 -08:00
Mark Lee ef0b663093
chore(deps-dev): upgrade to ESLint 6 and friends (#1104)
* chore(deps-dev): upgrade to ESLint 6 compatible packages
* chore: autofix a bunch of eslint warnings
* chore: fix lint/build warnings
* chore: switch from eslint-config-airbnb to eslint-config-airbnb-base
* chore: fix some async lint warnings
* chore(deps-dev): upgrade eslint and eslint-plugin-mocha
* refactor(plugin-webpack): fix the rest of the lint warnings
* chore(core): fix test
* test(core): fix forge-config tests
* chore(core): remove eslint ignore line
2019-08-26 08:12:22 -07:00
Mark Lee 7af36d5904 chore: replace tslint with eslint to lint mocha tests (#590)
* chore: re-add eslint to lint mocha tests

* Upgrade typescript-eslint-parser to ^22

* Update tools/ to conform to eslint-config-airbnb

* Fix some ESLint warnings for async-ora

* Fix ESLint warnings for types

* Fix ESLint warnings for web-multi-logger

* Fix ESLint warnings for cli

* Add eslint-config-airbnb & eslint-plugin-typescript

* Apparently you can't DRY up commander directives

* Use the new typescript-eslint scoped packages

* Explicitly adding the parser is no longer necessary

* Fix ESLint warnings for deb

* Fix ESLint warnings for rpm

* Fix ESLint warnings for snap

* Fix ESLint warnings for flatpak

* Fix ESLint warnings for maker-base

* Fix ESLint warnings for maker-zip

* Fix ESLint warnings for maker-pkg

* Fix ESLint warnings for maker-dmg

* Fix ESLint warnings for maker-squirrel

* Fix ESLint warnings for maker-wix

* Fix ESLint warnings for maker-appx

* Use no-unused-vars for Typescript as directed

* Fix ESLint warnings for core

* Fix ESLint warnings for publisher modules

* Fix ESLint warnings for plugin modules

* Fix ESLint warnings for installer modules

* Drop tslint

* Fix typings

* Remove unused import

* Ignore empty constructors

* Upgrade typescript-eslint packages

* Disable class-methods-use-this rule globally

* Remove bare eslint-disable-line directives

* Upgrade eslint & friends

* Fix linting errors

* Fix yarn.lock

* Stop making @types/webpack out of sync

* chore: drop @types/ora, typings are bundled

* Fix TypeScript errors

* Fix no-unresolved lint errors on Windows

* Ignore camelcase instances that are part of the GitHub API

* Ignore import/no-cycle rules

* Make SinonStub more specific

* Fix forgeConfigIsValidFilePath

* Reel it in
2019-03-21 17:46:24 -07:00