Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/getsentry/sentry-javascript
/ readPackageJson
Function
readPackageJson
scripts/bump-version.test.ts:17–19 ·
view source on GitHub ↗
(dir: string)
Source
from the content-addressed store, hash-verified
15
}
16
17
function
readPackageJson(dir: string): Record<string, any> {
18
return
JSON.parse(fs.readFileSync(path.join(dir,
'package.json'
),
'utf-8'
));
19
}
20
21
function
setupFixture({
22
workspaces,
Callers
1
bump-version.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected