electron / electron/electron

[Feature Request]: Provide instruction and script about how to use a local electron source as npm installation.

Open
#42,276 1 comment 0 reactions 0 assignees View on GitHub
enhancement :sparkles:
Dominant language
C++
Stars
123k
Forks
17.5k
Avg merge
14h 22m
Merged PRs (30d)
873

Description

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

I'm developing electron and I added new types and made change to signatures. The feature I develop need a test project to debug, and I would like to use the latest generated electron.d.ts for types. But it seems no current method for packing a npm package locally to a folder.

### Proposed Solution

Provide a command to output a npm package folder ready for install locally with latest electron.d.ts

### Alternatives Considered

Nope.

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.