This commit is contained in:
muenzpraeger 2018-05-09 08:47:18 +02:00
Родитель 08dec81a6d
Коммит b4596956f7
7 изменённых файлов: 43 добавлений и 13 удалений

11
.editorconfig Normal file
Просмотреть файл

@ -0,0 +1,11 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.{json,yml}]
indent_size = 2

5
.forceignore Normal file
Просмотреть файл

@ -0,0 +1,5 @@
# List files or directories below to ignore them when running force:source:push, force:source:pull, and force:source:status
# More information: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm
#
package.xml

7
.gitignore поставляемый
Просмотреть файл

@ -3,11 +3,8 @@
.sfdx
.project
.salesforce
node_modules
.idea
.vscode
.idea
.tern-project
.settings
selenium-client-jars/
test/artifacts
.vscode
IlluminatedCloud/

Просмотреть файл

@ -1,6 +0,0 @@
scratch-org-def: config/project-scratch-def.json
assign-permset: true
permset-name: dreamhouse
run-apex-tests: false
delete-scratch-org: false
show-scratch-org-url: true

Просмотреть файл

@ -1,7 +1,9 @@
{
"orgName": "Dreamhouse",
"edition": "Developer",
"hasSampleData": "false",
"orgPreferences" : {
"enabled": ["S1DesktopEnabled"]
"enabled": ["S1DesktopEnabled"],
"disabled": ["S1EncryptedStoragePref2"]
}
}
}

8
prettier.config.js Normal file
Просмотреть файл

@ -0,0 +1,8 @@
const options = {
singleQuote: true,
tabWidth: 4,
trailingComma: 'all',
printWidth: 120,
};
module.exports = options;

13
scripts/orgInit.sh Normal file
Просмотреть файл

@ -0,0 +1,13 @@
#!/bin/bash
DURATION=7
if [ "$#" -eq 1 ]; then
DURATION=$1
fi
sfdx force:org:create -a dreamhouse -s -f config/project-scratch-def.json -f $DURATION
sfdx force:source:push
sfdx force:user:permset:assign -n dreamhouse
sfdx force:org:open -p /lightning/page/home
echo "Org is set up"