electron-types 42.8.0 → 42.8.1

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.
package/README.md CHANGED
@@ -14,11 +14,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
14
14
  Since this package only provides TypeScript types, install it as a dev dependency. **Install the version that matches your Electron version** (see [Version Matching](#version-matching)):
15
15
 
16
16
  ```bash
17
- npm install -D electron-types@42.8.0
17
+ npm install -D electron-types@42.8.1
18
18
  # or
19
- yarn add -D electron-types@42.8.0
19
+ yarn add -D electron-types@42.8.1
20
20
  # or
21
- pnpm add -D electron-types@42.8.0
21
+ pnpm add -D electron-types@42.8.1
22
22
  ```
23
23
 
24
24
  ## Usage
@@ -55,24 +55,27 @@ This package is automatically updated via CI:
55
55
 
56
56
  ## Development
57
57
 
58
+ Local development requires Node.js 22.13+ for pnpm 11. Enable Corepack once with
59
+ `corepack enable` if pnpm is not already available.
60
+
58
61
  ```bash
59
62
  # Install dependencies
60
- yarn install
63
+ pnpm install
61
64
 
62
65
  # Extract types from latest electron
63
- yarn extract
66
+ pnpm extract
64
67
 
65
68
  # Extract types from a specific version
66
- yarn extract 39.2.7
69
+ pnpm extract 39.2.7
67
70
 
68
71
  # Build package for a specific version (extract + update version)
69
- yarn build 39.2.7
72
+ pnpm build 39.2.7
70
73
 
71
74
  # Test that types work correctly
72
- yarn test
75
+ pnpm test
73
76
 
74
77
  # Check if a new version needs to be published
75
- yarn check-versions
78
+ pnpm check-versions
76
79
  ```
77
80
 
78
81
  ## License
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 42.8.0
1
+ // Type definitions for Electron 42.8.1
2
2
  // Project: http://electronjs.org/
3
3
  // Definitions by: The Electron Team <https://github.com/electron/electron>
4
4
  // Definitions: https://github.com/electron/typescript-definitions
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "42.8.0",
3
- "extractedAt": "2026-07-28T19:43:56.815Z"
2
+ "electronVersion": "42.8.1",
3
+ "extractedAt": "2026-08-04T19:46:39.373Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "42.8.0",
3
+ "version": "42.8.1",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",
@@ -38,7 +38,7 @@
38
38
  "typescript": "^5.0.0",
39
39
  "vitest": "^4.0.16"
40
40
  },
41
- "packageManager": "yarn@4.12.0",
41
+ "packageManager": "pnpm@11.18.0",
42
42
  "engines": {
43
43
  "node": ">=18.0.0"
44
44
  }