SuiteCommerce Advanced Source Directory Structure Overview
Understanding the SuiteCommerce Advanced source directory structure aids developers in managing files, modules, and deployments effectively.
The source directory for SuiteCommerce Advanced (SCA) versions 2019.1 and earlier organizes critical development files and modules necessary for effective application management. This structure facilitates the use of Gulp.js and npm for task automation and deployment processes.
Source Directory Overview
The source directory for SCA 2019.1 and earlier releases includes several folders:
1SuiteCommerce Advanced Version2 gulp3 Modules4 node_modules5 LocalDistribution6 DeployDistributionThe following table provides descriptions of these directories:
| File / Folder | Description |
|---|---|
| SuiteCommerce Advanced Version | This folder contains the workspace for the SuiteCommerce Advanced source code. Administrative files for npm and gulp commands are also found here. Version refers to the specific release (e.g., SuiteCommerce Advanced 2019.1). |
| gulp | Houses files required by Gulp.js; do not edit these files directly. |
| Modules | Contains source code for all modules used exclusively by SCA. |
| node_modules | Stores dependencies required by Node.js, created via the npm install command. |
| LocalDistribution | Output directory from running gulp local, containing files for the local server; do not edit these files directly. |
| DeployDistribution | Output directory from running gulp deploy, containing files for deployment to your NetSuite account; do not edit these files directly. |
| .nsdeploy | Details how Gulp.js connects to your NetSuite account upon deployment, created during the first gulp deploy command execution. |
| distro.json | Lists all modules used by the SCA application along with the distribution's name and version number. |
| gulpfile.js | Contains JavaScript code for Gulp.js; edit this file only to add new tasks. |
Important Notes
- Do not manually edit files in the
LocalDistributionorDeployDistributiondirectories. They are automatically managed by Gulp.js and should strictly remain untouched to ensure proper functionality. - Access these directories primarily for troubleshooting purposes.
Related Topics
- [SCA Build Process]
- [The distro.json and ns.package.json Files]
- [How Files Are Combined]
Frequently Asked Questions (4)
Can I manually edit files in the 'LocalDistribution' or 'DeployDistribution' directories?
Where should I add new tasks for Gulp.js?
What happens during the first 'gulp deploy' command execution?
What is the purpose of the 'Modules' directory in SuiteCommerce Advanced?
Was this article helpful?
More in Commerce
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
- Commerce Extensions in NetSuite 2026.1
Commerce Extensions in NetSuite 2026.1 enhance performance and user experience in eCommerce.
- Convert Multiple Transaction Line Items into Configured Items in
Enhance transaction processing in NetSuite by converting multiple line items into configured items with improved session handling.
- New SuiteCommerce Features in NetSuite 2026.1
New SuiteCommerce features in NetSuite 2026.1 enhance user experience and improve eCommerce efficiency.
