MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / getWorkspacePackageNames

Function getWorkspacePackageNames

scripts/dependency-hash-key.js:65–71  ·  view source on GitHub ↗
(workspacePackages)

Source from the content-addressed store, hash-verified

63}
64
65function getWorkspacePackageNames(workspacePackages) {
66 return workspacePackages.map(workspace => {
67 const packageJsonPath = path.join(process.cwd(), workspace, 'package.json');
68 const packageJson = require(packageJsonPath);
69 return packageJson.name;
70 });
71}
72
73outputDependencyCacheKey();

Callers 1

outputDependencyCacheKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected