fix(registry): merge registries from package.json and components.json (#11501)