Distro file in SCA

Location of Distro file based on SCA version

  • In 2020.1 release and later >>
    • the file is located within the SC_xxx/Advanced directory within your root source directory.
    • For example: SC_20.1/Advanced
  • 2019.2 >>
    • the file is located within the *_Live/Advanced/ directory within your root source directory.
    • For example: SC_19.2_Live/Advanced/
  • 2019.1 and earlier >>
    • this file is located within the top level of the SCA directory.

Purposes

  • Defines the modules that are included in SCA.
  • Specifies additional configuration information.

Distro.json file contains the following parameters:

  • name: specifies the name of the application. By default this value is SuiteCommerce Advanced <version>.
  • version: specifies the application version.
  • modules: lists the modules SCA uses. Each module is listed on a separate line and uses the following format:"<module_name>": "<module_version>"By default the SCA modules are listed in alphabetical order because there are no dependencies between modules. However, when customizing SCA, your modules may have dependencies on other modules. When dependencies exist, you must ensure that any required modules are listed before other modules.
  • taskConfig: defines the gulp tasks required by the build process. In general, you do not need to edit these tasks.
  • copy: specifies the source and target paths when copying files to the Distribution directory.

Leave a comment

Your email address will not be published. Required fields are marked *