Tags: electron/rebuild
Tags
feat!: bump `engines` requirement to Node 22 (#1167) BREAKING CHANGE: bumps required Node.js version to >=22.12.0. ESM-only. * update to follow latest recommendations * remove unused `nodeGypPath` field from `Rebuilder` * fix tests * remove default export * update Node version in `release.yml` * move ESLint config out of `package.json` * update `typescript` version * rename `compile` script to `build` * update imports * replace `fs-extra` with `graceful-fs` * update `@typescript-eslint/` deps to fix lint * esm: update imports * esm: replace `__dirname` with `import.meta.dirname` * esm: `require` is no longer required * replace `ts-node` with `tsx` to fix tests * docs: provide both CJS and ESM examples * update deps and examples * use `util.promisify` for `graceful-fs` methods * ci: add documentation build on release (#1184) * build: format docs.yml --------- Co-authored-by: Erick Zhao <erick@hotmail.ca> Co-authored-by: Keeley Hammond <khammond@slack-corp.com> Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
fix: runtime error after removing pnpm module (#1181) When removing a pnpm module, pnpm might leave a dangling symbolic link to the folder that no longer exists. In this case `realpath` call will fail with ENOENT and fail the build that could otherwise continue without issues.
fix: enforce extraModules to be a set of strings (#888) * fix: usage of this.prodDeps as a Set<string> For some reason TypeScript is AOK with stuffing `Set` objects with random keys. This is problematic as this is not how `Set` are supposed to be used (like a plain JavaScript object map). Fix the logic to respect the `-w/--which-module` CLI argument. * simplify tests * test: add simple, fast test --------- Co-authored-by: Mark Lee <electronjs@lazymalevolence.com> Co-authored-by: Erick Zhao <erick@hotmail.ca>
feat: Change node-gyp to @electron/node-gyp (#1157) * fix: Change node-gyp to @electron/node-gyp * fix: node-gyp has native promises now * Move to a github version (temporarily) * fix: Optional chaining * test: Update the tests to ffi-napi * fix: Use better-sqlite3 instead * test: Nevermind, go with a simple module * test: We're testing on one fewer module * test: Use farmhash for clang testing
fix: use 'target_arch' for node-pre-gyp (#1115) * fix: use 'target_arch' for node-pre-gyp * fix: use both arch and target_arch * fix: overwrite binary architecture * chore: add read-binary-file-arch * feat: redownload binary only if arch differs * fix: make node 12 compatible * fix: flip flop between ia32/x64 on windows not arm64 --------- Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
PreviousNext