electron-types 38.8.4 → 38.8.6

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
@@ -1,5 +1,8 @@
1
1
  # electron-types
2
2
 
3
+ [![npm version](https://badgen.net/npm/v/electron-types)](https://www.npmjs.com/package/electron-types)
4
+ [![npm downloads](https://badgen.net/npm/dt/electron-types)](https://www.npmjs.com/package/electron-types)
5
+
3
6
  TypeScript type definitions extracted from the [electron](https://www.electronjs.org/) package.
4
7
 
5
8
  ## Why?
@@ -11,11 +14,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
11
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)):
12
15
 
13
16
  ```bash
14
- npm install -D electron-types@38.8.4
17
+ npm install -D electron-types@38.8.6
15
18
  # or
16
- yarn add -D electron-types@38.8.4
19
+ yarn add -D electron-types@38.8.6
17
20
  # or
18
- pnpm add -D electron-types@38.8.4
21
+ pnpm add -D electron-types@38.8.6
19
22
  ```
20
23
 
21
24
  ## Usage
@@ -52,24 +55,27 @@ This package is automatically updated via CI:
52
55
 
53
56
  ## Development
54
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
+
55
61
  ```bash
56
62
  # Install dependencies
57
- yarn install
63
+ pnpm install
58
64
 
59
65
  # Extract types from latest electron
60
- yarn extract
66
+ pnpm extract
61
67
 
62
68
  # Extract types from a specific version
63
- yarn extract 39.2.7
69
+ pnpm extract 39.2.7
64
70
 
65
71
  # Build package for a specific version (extract + update version)
66
- yarn build 39.2.7
72
+ pnpm build 39.2.7
67
73
 
68
74
  # Test that types work correctly
69
- yarn test
75
+ pnpm test
70
76
 
71
77
  # Check if a new version needs to be published
72
- yarn check-versions
78
+ pnpm check-versions
73
79
  ```
74
80
 
75
81
  ## License
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 38.8.4
1
+ // Type definitions for Electron 38.8.6
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": "38.8.4",
3
- "extractedAt": "2026-02-25T00:50:04.940Z"
2
+ "electronVersion": "38.8.6",
3
+ "extractedAt": "2026-08-11T22:05:15.249Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "38.8.4",
3
+ "version": "38.8.6",
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
  }