diff --git a/config/project-scratch-def.json b/config/project-scratch-def.json index 76764a4..6065823 100644 --- a/config/project-scratch-def.json +++ b/config/project-scratch-def.json @@ -1,7 +1,9 @@ { "orgName": "Company", "edition": "Developer", - "orgPreferences" : { - "enabled": ["S1DesktopEnabled"] + "settings": { + "orgPreferenceSettings": { + "s1DesktopEnabled": true + } } -} +} \ No newline at end of file diff --git a/force-app/main/default/classes/DemoController.cls b/force-app/main/default/classes/DemoController.cls index b90a42f..6ded922 100644 --- a/force-app/main/default/classes/DemoController.cls +++ b/force-app/main/default/classes/DemoController.cls @@ -1,4 +1,7 @@ public with sharing class DemoController { + + private String appVersion = '1.0.0'; + /** * An empty constructor for the testing */ @@ -8,6 +11,6 @@ public with sharing class DemoController { * Get the version of the SFDX demo app */ public String getAppVersion() { - return '1.0.0'; + return appVersion; } } diff --git a/sfdx-project.json b/sfdx-project.json index 02a98b9..f3cc6cb 100644 --- a/sfdx-project.json +++ b/sfdx-project.json @@ -2,10 +2,16 @@ "packageDirectories": [ { "path": "force-app", - "default": true + "default": true, + "package": "SamplePkg", + "versionName": "ver 0.1", + "versionNumber": "0.1.0.NEXT" } ], "namespace": "", "sfdcLoginUrl": "https://login.salesforce.com", - "sourceApiVersion": "43.0" + "sourceApiVersion": "43.0", + "packageAliases": { + "SamplePkg": "0Ho4P000000fxUCSAY" + } } \ No newline at end of file