Repository navigation
refactor: move aspect-definition and policy-config types below the aspects that use them - #10773
davidfirst wants to merge 5 commits into
Conversation
PR Summary by QodoMove aspect-loader and dependency-resolver contracts into leaf components
AI Description
Diagram
High-Level Assessment
Files changed (27)
|
Code Review by Qodo
1.
|
a9f0228 to
4234181
Compare
|
Code review by qodo was updated up to the latest commit 4234181 |
4234181 to
237b3ab
Compare
|
Code review by qodo was updated up to the latest commit 237b3ab |
237b3ab to
6fa4cbf
Compare
|
Code review by qodo was updated up to the latest commit 778ff9a |
|
Code review by qodo was updated up to the latest commit 6fa4cbf |
|
Code review by qodo was updated up to the latest commit 0235ac6 |
…sMeta, drop stray doc
|
Code review by qodo was updated up to the latest commit 52d337a |
Phase 3 of the circular-deps cleanup. Dissolves the
component/envs/dependency-resolver/aspect-loader/issuescycle group: 48 → 43 components in cycles, 168 → 156 edges. No new components.AspectDefinitionmoves fromaspect-loadertocomponent(which already returns it fromComponentFactory.resolveAspects);@teambit/aspect-loaderre-exports it.EnvPolicyConfigObject& co, the env.jsoncpolicyshape) move fromdependency-resolvertoenvs;@teambit/dependency-resolverre-exports them.EnvPluginandEnvJsoncDetectordrop theirimplements PluginDefinition/implements DependencyDetectorclauses, soenvsno longer importsaspect-loader/dependency-resolver(the shapes are still checked where those aspects register them).Component.getDependencies()/ComponentFactory.getDependencies()return aComponentDependencyListtype owned bycomponent;Component.getDependencies()is deprecated in favor ofDependencyResolverMain.getDependencies().ComponentMain.dependencyResolver(set by the dependency-resolver at load) is replaced byregisterPackageManifestFetcher(), the only thingbit show <package-name>needed from it.