You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(package-managers): resolve installed packages through the package manager
Add getInstalledPackagePath(packageName, fromDir) to the package manager
contract. The base implementation walks node_modules the way Node does;
a package manager with a different on-disk layout can override it.
Services whose call chains are already async now ask the package manager
where a package lives instead of resolving it themselves: plugins-service,
doctor short-import scan, versions-service, prepare-controller's runtime
package.json lookup, android-plugin-build-service's local gradle versions,
the preview command, test-init and PackageInstallationManager.
Sites reached only from synchronous code (getRuntimePackage in
project-data-service, the bundler executable lookup, the vitest and karma
readiness checks, the transitive walk in node-modules-dependencies-builder)
keep using the resolution helper directly.
0 commit comments