SuiteCommerce Advanced (SCA) source code is being migrated to TypeScript in phases. TypeScript is an open source superset of JavaScript designed to optimize development efficiency.
The code migration to TypeScript is ongoing and includes changes such as:
- Changing filename extension from .js to .ts
- Transforming module system from Asynchronous Module Definition (AMD) to a TypeScript compatible (common JavaScript) system
- Implementing base class for Models
- Implementing base class for Collection
- Migrating Utils.ts
- Migrating Case.Model
- Migrating Case.Collection
The migration applies to core SuiteCommerce Advanced source code only and does not apply to Commerce theme and extension development. We can’t edit the SCA source code directly. We have to use SCA developer tools to override or extend existing SCA source code to create the custom functionality.
For customization, we need to import the required modules from the source.
To import the required dependencies, we need the corresponding files or packages in the workspace similar to the source code.
Source Code


We can’t directly use those modules.


So we have to add all the required files to the workspace for development. Based on the customization on the website, the size of the required modules in the file cabinet may increase. Since we have these limitations, we can’t migrate the SuiteCommerce extensions to TypeScript.