-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #144 from amtrack/fix/sf-plugin-style
fix: use sf plugin style
- Loading branch information
Showing
40 changed files
with
2,354 additions
and
2,545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
force-app/main/default/reports/unfiled$public/PublicAccountsClassicReport.report-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Report xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<columns> | ||
<field>USERS.NAME</field> | ||
</columns> | ||
<columns> | ||
<field>ACCOUNT.NAME</field> | ||
</columns> | ||
<columns> | ||
<field>TYPE</field> | ||
</columns> | ||
<columns> | ||
<field>RATING</field> | ||
</columns> | ||
<columns> | ||
<field>DUE_DATE</field> | ||
</columns> | ||
<columns> | ||
<field>LAST_UPDATE</field> | ||
</columns> | ||
<columns> | ||
<field>ADDRESS1_STATE</field> | ||
</columns> | ||
<format>Tabular</format> | ||
<name>FooAccountsClassicReport</name> | ||
<params> | ||
<name>co</name> | ||
<value>1</value> | ||
</params> | ||
<reportType>AccountList</reportType> | ||
<scope>user</scope> | ||
<showDetails>true</showDetails> | ||
<showGrandTotal>true</showGrandTotal> | ||
<showSubTotals>true</showSubTotals> | ||
<timeFrameFilter> | ||
<dateColumn>CREATED_DATE</dateColumn> | ||
<interval>INTERVAL_CUSTOM</interval> | ||
<startDate>2020-11-11</startDate> | ||
</timeFrameFilter> | ||
</Report> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const salesforcePrettierConfig = require("@salesforce/prettier-config"); | ||
|
||
module.exports = { | ||
...salesforcePrettierConfig, | ||
singleQuote: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
{ | ||
"extends": [ | ||
"config:base", | ||
":semanticCommits" | ||
] | ||
"extends": ["config:base", ":semanticCommits"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
set -eo pipefail | ||
|
||
CLI_NAME="$(basename "${BASH_SOURCE[0]}")" | ||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
REPO_NAME="$(basename "$(dirname "${DIR}")")" | ||
DEFAULT_ALIAS="${REPO_NAME}-dev" | ||
|
||
_help() { | ||
echo "${CLI_NAME}." | ||
echo "" | ||
echo "> Setup an environment for development." | ||
echo "" | ||
echo "Usage:" | ||
echo " ${CLI_NAME} [-a SETALIAS]" | ||
echo "" | ||
echo "Options:" | ||
echo " -h --help show help" | ||
echo " -a --setalias SETALIAS set an alias for for the created scratch org (default: ${DEFAULT_ALIAS})" | ||
echo "" | ||
echo "Examples:" | ||
echo " View this help text" | ||
echo " $ ${CLI_NAME} -h" | ||
echo "" | ||
echo " Spin up and configure a scratch org" | ||
echo " $ ${CLI_NAME}" | ||
echo "" | ||
echo " Spin up and configure a scratch org with the given alias (one alphanumerical word, may contain '-_')" | ||
echo " $ ${CLI_NAME} -a myfeature" | ||
} | ||
|
||
_main() { | ||
alias="${alias:-${DEFAULT_ALIAS}}" | ||
# shellcheck disable=SC2068 | ||
sfdx force:org:create -f config/project-scratch-def.json \ | ||
-a "$alias" \ | ||
-s \ | ||
description="${alias}" ${POSITIONAL_ARGS[@]} | ||
sfdx force:source:push -u "$alias" | ||
} | ||
|
||
if [[ "$0" == "${BASH_SOURCE[0]}" ]]; then | ||
set -eo pipefail | ||
POSITIONAL_ARGS=() | ||
while [[ "$#" -gt 0 ]]; do case $1 in | ||
-h|--help) _help; exit 0;; | ||
-a|--setalias) alias="$2"; shift 2;; | ||
*) POSITIONAL_ARGS+=("$1"); shift;; | ||
esac; done | ||
_main "${POSITIONAL_ARGS[@]}" | ||
fi | ||
sf org create scratch -f config/project-scratch-def.json \ | ||
-a sfdx-plugin-package-xml-dev \ | ||
-d | ||
sf project deploy start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.