MCPcopy Index your code
hub / github.com/electron/forge / import

Method import

packages/api/core/src/api/index.ts:20–22  ·  view source on GitHub ↗

* Attempt to import a given module directory to the Electron Forge standard. * * * Sets up `git` and the correct NPM dependencies * * Adds a template forge config to `package.json`

(opts: ImportOptions)

Source from the content-addressed store, hash-verified

18 * * Adds a template forge config to `package.json`
19 */
20 import(opts: ImportOptions): Promise<void> {
21 return _import(opts);
22 }
23
24 /**
25 * Initialize a new Electron Forge template project in the given directory.

Calls

no outgoing calls

Tested by

no test coverage detected