Newer Version Available

This content describes an older version of this product. View Latest

Configure Packages in the sfdx-project.json File

You include an entry in the Salesforce DX project configuration file for each package to specify its version details, dependencies, and org preferences.
Each package description includes these attributes.
1{
2    "path": "logic",
3    "id": "0HoB00000004CFuKAM",
4    "versionName": "v 1.2",
5    "versionDescription": "ver 1.2 - anc = 1.1",
6    "versionNumber": "1.2.0.NEXT",
7    "ancestorId": "05iB00000004CIeIAM",
8    "dependencies": [
9        {
10            "packageId": "0HoB00000004CFpKAM",
11            "versionNumber": "1.2.0.LATEST"
12        },
13        {
14            "packageId": "0HoB00000004CFkKAM",
15            "versionNumber": "1.2.0.LATEST"
16        }
17    ],            
18    "features": "MultiCurrency",
19    "orgPreferences": {
20        "enabled": [
21            "S1DesktopEnabled",
22            "Translation"
23        ],
24        "disabled": []
25    }
26}