Skip to content

Commit

Permalink
Merge branch 'master' into feat-electronDist-hook
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaietta authored Oct 6, 2024
2 parents ed00da2 + ae9221d commit bb1e0c4
Show file tree
Hide file tree
Showing 75 changed files with 1,576 additions and 1,661 deletions.
9 changes: 0 additions & 9 deletions .changeset/plenty-sheep-argue.md

This file was deleted.

20 changes: 20 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"mode": "pre",
"tag": "alpha",
"initialVersions": {
"app-builder-lib": "25.1.8",
"builder-util": "25.1.7",
"builder-util-runtime": "9.2.10",
"dmg-builder": "25.1.8",
"electron-builder": "25.1.8",
"electron-builder-squirrel-windows": "25.1.8",
"electron-forge-maker-appimage": "25.1.8",
"electron-forge-maker-nsis": "25.1.8",
"electron-forge-maker-nsis-web": "25.1.8",
"electron-forge-maker-snap": "25.1.8",
"electron-publish": "25.1.7",
"electron-updater": "6.3.9",
"@electron-builder/test": "0.0.0"
},
"changesets": []
}
6 changes: 6 additions & 0 deletions .changeset/yellow-snakes-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"app-builder-lib": minor
"electron-updater": minor
---

feat: Implement autoupdates for pacman
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

59 changes: 0 additions & 59 deletions .eslintrc.js

This file was deleted.

44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
# [](https://github.com/electron-userland/electron-builder/compare/v25.1.6...v) (2024-10-06)


### Bug Fixes

* check if the file already starts with a UTF-8 BOM ([#8551](https://github.com/electron-userland/electron-builder/issues/8551)) ([57cebf4](https://github.com/electron-userland/electron-builder/commit/57cebf4dd4c722456245286d2fd795f7a5fc862c))
* fix the main matcher patterns for !node_modules/@test/xxxx ([#8547](https://github.com/electron-userland/electron-builder/issues/8547)) ([7488456](https://github.com/electron-userland/electron-builder/commit/7488456309d80b88fbf99fb382752078dc8ddefa))
* pass in platform to electron-rebuild ([#8537](https://github.com/electron-userland/electron-builder/issues/8537)) ([2e84f01](https://github.com/electron-userland/electron-builder/commit/2e84f01351bcfb8f32df17c17bfeeeebb87a713f))
* Path does not end with the package name ([#8560](https://github.com/electron-userland/electron-builder/issues/8560)) ([4ff778e](https://github.com/electron-userland/electron-builder/commit/4ff778eefd9089b3b38b67156eb39e8cf57fdd83))
* **updater:** Unable to copy file for caching: ENOENT ([#8541](https://github.com/electron-userland/electron-builder/issues/8541)) ([b6d6ea9](https://github.com/electron-userland/electron-builder/commit/b6d6ea993fd3b368d28786c259bb50486aaac417))



# [](https://github.com/electron-userland/electron-builder/compare/v25.1.6...v) (2024-10-02)


### Bug Fixes

* check if the file already starts with a UTF-8 BOM ([#8551](https://github.com/electron-userland/electron-builder/issues/8551)) ([57cebf4](https://github.com/electron-userland/electron-builder/commit/57cebf4dd4c722456245286d2fd795f7a5fc862c))
* fix the main matcher patterns for !node_modules/@test/xxxx ([#8547](https://github.com/electron-userland/electron-builder/issues/8547)) ([7488456](https://github.com/electron-userland/electron-builder/commit/7488456309d80b88fbf99fb382752078dc8ddefa))
* pass in platform to electron-rebuild ([#8537](https://github.com/electron-userland/electron-builder/issues/8537)) ([2e84f01](https://github.com/electron-userland/electron-builder/commit/2e84f01351bcfb8f32df17c17bfeeeebb87a713f))
* **updater:** Unable to copy file for caching: ENOENT ([#8541](https://github.com/electron-userland/electron-builder/issues/8541)) ([b6d6ea9](https://github.com/electron-userland/electron-builder/commit/b6d6ea993fd3b368d28786c259bb50486aaac417))



# [](https://github.com/electron-userland/electron-builder/compare/v25.1.5...v) (2024-09-25)


### Bug Fixes

* add `CodeSigningAccountName` as required prop in Azure Signing Options ([#8533](https://github.com/electron-userland/electron-builder/issues/8533)) ([cc8c70f](https://github.com/electron-userland/electron-builder/commit/cc8c70f7af5ca53b4c07b8ee32f460eabd4f9c34)), closes [/github.com/electron-userland/electron-builder/issues/8276#issuecomment-2371920176](https://github.com//github.com/electron-userland/electron-builder/issues/8276/issues/issuecomment-2371920176)
* always produce Release .node builds ([#8531](https://github.com/electron-userland/electron-builder/issues/8531)) ([eaf274d](https://github.com/electron-userland/electron-builder/commit/eaf274d447d27d27a7ad663c5642a38d66f69917))



# [](https://github.com/electron-userland/electron-builder/compare/v25.1.4...v) (2024-09-23)


### Bug Fixes

* azure signing logic should not have logic flow dependent on custom signtool hook ([#8524](https://github.com/electron-userland/electron-builder/issues/8524)) ([62fd74d](https://github.com/electron-userland/electron-builder/commit/62fd74dcfa13a564706141d08e5d0dea11ecf33b))



# [](https://github.com/electron-userland/electron-builder/compare/v25.1.3...v) (2024-09-19)


Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ mkdocs-material = "*"
[dev-packages]

[requires]
python_version = "^3.8"
python_version = "3.8"
22 changes: 11 additions & 11 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 82 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import stylistic from "@stylistic/eslint-plugin";
import tsParser from "@typescript-eslint/parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [{
ignores: [
"**/*.d.ts",
"**/out",
// used for CLI
"**/main.js",
"packages/electron-builder/cli.js",
"packages/electron-builder/install-app-deps.js"
],
}, ...compat.extends(
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
), {
plugins: {
"@typescript-eslint": typescriptEslint,
"@stylistic": stylistic,
},

languageOptions: {
parser: tsParser,
ecmaVersion: 5,
sourceType: "script",

parserOptions: {
project: ["./packages/*/tsconfig.json"],
},
},

rules: {
"@typescript-eslint/no-require-imports": "off",
semi: "off",
"prettier/prettier": "warn",
"@typescript-eslint/prefer-promise-reject-errors": "off",

"@stylistic/member-delimiter-style": ["error", {
multiline: {
delimiter: "none",
},
}],

"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"no-constant-condition": "off",

"@typescript-eslint/no-unused-vars": ["warn", {
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
}],

"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/explicit-function-return-type": ["off", {}],
"@typescript-eslint/no-redundant-type-constituents": "off",
},
}];
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"//": "do not wrap into single quotes - windows doesn't unwrap arg in this case",
"compile": "tsc --build",
"lint": "eslint packages --ext .ts",
"lint": "eslint packages",
"lint-staged": "lint-staged",
"lint-deps": "node ./test/out/helpers/checkDeps.js",
"pretest": "pnpm lint-deps && pnpm lint",
Expand Down Expand Up @@ -48,22 +48,22 @@
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "7.24.8",
"@changesets/changelog-github": "0.4.7",
"@changesets/cli": "2.25.0",
"@changesets/cli": "2.27.8",
"@stylistic/eslint-plugin": "^2.8.0",
"@types/node": "^22.5.5",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"@types/node": "^22.7.4",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"conventional-changelog-cli": "5.0.0",
"eslint": "^8.56.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-prettier": "^5.2.1",
"fs-extra": "10.1.0",
"husky": "7.0.4",
"lint-staged": "15.2.7",
"prettier": "3.3.3",
"typedoc": "^0.26",
"typedoc-plugin-markdown": "^4.2.7",
"typescript": "^5.5",
"typedoc": "^0.26.7",
"typedoc-plugin-markdown": "^4.2.8",
"typescript": "^5.6.2",
"typescript-json-schema": "0.64.0"
},
"engines": {
Expand All @@ -73,7 +73,7 @@
"packageManager": "pnpm@9.4.0",
"pnpm": {
"patchedDependencies": {
"@changesets/cli@2.25.0": "patches/@changesets__cli@2.25.0.patch"
"@changesets/cli@2.27.8": "patches/@changesets__cli@2.27.8.patch"
}
}
}
Loading

0 comments on commit bb1e0c4

Please sign in to comment.