Edit in GitHubLog an issue

Component types

Each component type has a different directory structure and different contents for composer.json.

The following table discusses the component types that Commerce Marketplace supports. The composer type column in the following table specifies the value of the type field you must add to composer.json for that type of component.

Friendly namecomposer.json typeDescription
MetapackagemetapackageTechnically, a Composer package type, not a Magento component type. A metapackage consists of only a composer.json file that specifies a list of components and their dependencies. For example, both Magento Open Source and Adobe Commerce are metapackages.
Modulemagento2-moduleCode that modifies application behavior. You can upload a single module to the Commerce Marketplace or your module can be dependent on some parent package.
Thememagento2-themeCode that modifies the look and feel of the storefront or Admin.
Language packagemagento2-languageTranslations for the storefront or Admin.
Librarymagento2-librarySupport for libraries located in lib/internal instead of in the vendor directory.
Componentmagento2-componentThe package formed of the files that must be located in root (.htaccess, etc). This includes dev/tests and setup as well for now.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.