MCPcopy
hub / github.com/electron/forge / readRawPackageJson

Function readRawPackageJson

packages/api/core/src/util/read-package-json.ts:9–10  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

7
8// eslint-disable-next-line @typescript-eslint/no-explicit-any
9export const readRawPackageJson = async (dir: string): Promise<any> =>
10 fs.readJson(path.resolve(dir, 'package.json'));
11
12// eslint-disable-next-line @typescript-eslint/no-explicit-any
13export const readMutatedPackageJson = async (

Callers 8

import.tsFile · 0.90
validateTemplateFunction · 0.90
initLinkFunction · 0.90
resolve-dir.tsFile · 0.90
forge-config.tsFile · 0.90
readMutatedPackageJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected