Added standard configurations
This commit is contained in:
Родитель
08dec81a6d
Коммит
b4596956f7
|
@ -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
|
|
@ -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
|
|
@ -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"]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
const options = {
|
||||
singleQuote: true,
|
||||
tabWidth: 4,
|
||||
trailingComma: 'all',
|
||||
printWidth: 120,
|
||||
};
|
||||
|
||||
module.exports = options;
|
|
@ -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"
|
Загрузка…
Ссылка в новой задаче