Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Dvolk20 patch 1 #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions config/project-scratch-def.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"orgName": "Company",
"edition": "Developer",
"orgPreferences" : {
"enabled": ["S1DesktopEnabled"]
"settings": {
"orgPreferenceSettings": {
"s1DesktopEnabled": true
}
}
}
}
5 changes: 4 additions & 1 deletion force-app/main/default/classes/DemoController.cls
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
public with sharing class DemoController {

private String appVersion = '1.0.0';

/**
* An empty constructor for the testing
*/
Expand All @@ -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;
}
}
10 changes: 8 additions & 2 deletions sfdx-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}