MCPcopy
hub / github.com/emberjs/ember.js / findFromProject

Function findFromProject

rollup.config.mjs:253–259  ·  view source on GitHub ↗
(...names)

Source from the content-addressed store, hash-verified

251}
252
253function findFromProject(...names) {
254 let current = packageCache.get(packageCache.appRoot);
255 for (let name of names) {
256 current = packageCache.resolve(name, current);
257 }
258 return current;
259}
260
261function entrypoint(pkg, which) {
262 let module = pkg.packageJSON[which];

Callers 2

hiddenDependenciesFunction · 0.85
walkGlimmerDepsFunction · 0.85

Calls 2

getMethod · 0.65
resolveMethod · 0.45

Tested by

no test coverage detected