From d1403caac2d8c03e40769b4cedf14d4cee2402c2 Mon Sep 17 00:00:00 2001 From: Mike Olson Date: Mon, 16 Oct 2023 11:54:47 -0500 Subject: [PATCH] Regenerated for v59 project --- .eslintignore | 16 ++++++++++++++++ .gitignore | 7 ++++++- .husky/pre-commit | 4 ++++ .prettierignore | 10 ++++++++++ .prettierrc | 13 +++++++++++++ .vscode/extensions.json | 9 +++++++++ .vscode/launch.json | 16 ++++++++++++++++ .vscode/settings.json | 7 +++++++ README.md | 0 config/project-scratch-def.json | 2 +- scripts/apex/hello.apex | 4 ++-- sfdx-project.json | 2 +- 12 files changed, 85 insertions(+), 5 deletions(-) create mode 100644 .eslintignore mode change 100755 => 100644 .gitignore create mode 100755 .husky/pre-commit create mode 100755 .prettierignore create mode 100755 .prettierrc create mode 100644 .vscode/extensions.json create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json mode change 100755 => 100644 README.md mode change 100755 => 100644 config/project-scratch-def.json diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 000000000..5f7b681a3 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,16 @@ +**/lwc/**/*.css +**/lwc/**/*.html +**/lwc/**/*.json +**/lwc/**/*.svg +**/lwc/**/*.xml +**/aura/**/*.auradoc +**/aura/**/*.cmp +**/aura/**/*.css +**/aura/**/*.design +**/aura/**/*.evt +**/aura/**/*.json +**/aura/**/*.svg +**/aura/**/*.tokens +**/aura/**/*.xml +**/aura/**/*.app +.sfdx diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 index d904ec58d..f5f33ebd8 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# This file is used for Git repositories to specify intentionally untracked files that Git should ignore. +# This file is used for Git repositories to specify intentionally untracked files that Git should ignore. # If you are not using git, you can delete this file. For more information see: https://git-scm.com/docs/gitignore # For useful gitignore templates see: https://github.com/github/gitignore @@ -38,3 +38,8 @@ $RECYCLE.BIN/ # Local environment variables .env + +# Python Salesforce Functions +**/__pycache__/ +**/.venv/ +**/venv/ diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 000000000..feac116af --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +npm run precommit \ No newline at end of file diff --git a/.prettierignore b/.prettierignore new file mode 100755 index 000000000..f3720b237 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,10 @@ +# List files or directories below to ignore them when running prettier +# More information: https://prettier.io/docs/en/ignore.html +# + +**/staticresources/** +.localdevserver +.sfdx +.vscode + +coverage/ \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100755 index 000000000..15683b692 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,13 @@ +{ + "trailingComma": "none", + "overrides": [ + { + "files": "**/lwc/**/*.html", + "options": { "parser": "lwc" } + }, + { + "files": "*.{cmp,page,component}", + "options": { "parser": "html" } + } + ] +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..7e6cb105e --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "salesforce.salesforcedx-vscode", + "redhat.vscode-xml", + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode", + "financialforce.lana" + ] +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..e07e39173 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,16 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Launch Apex Replay Debugger", + "type": "apex-replay", + "request": "launch", + "logFile": "${command:AskForLogFileName}", + "stopOnEntry": true, + "trace": true + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..76decfbdf --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "search.exclude": { + "**/node_modules": true, + "**/bower_components": true, + "**/.sfdx": true + } +} diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/config/project-scratch-def.json b/config/project-scratch-def.json old mode 100755 new mode 100644 index 96d8030aa..77261556e --- a/config/project-scratch-def.json +++ b/config/project-scratch-def.json @@ -1,5 +1,5 @@ { - "orgName": "my company", + "orgName": "mike.olson company", "edition": "Developer", "features": ["EnableSetPasswordInApi"], "settings": { diff --git a/scripts/apex/hello.apex b/scripts/apex/hello.apex index 936eeffb2..1fba73250 100644 --- a/scripts/apex/hello.apex +++ b/scripts/apex/hello.apex @@ -3,8 +3,8 @@ // apex text and running the command: // SFDX: Execute Anonymous Apex with Currently Selected Text // You can also execute the entire file by running the command: -// SFDX: Execute Anonymous Apex with Editor Contents. +// SFDX: Execute Anonymous Apex with Editor Contents string tempvar = 'Enter_your_name_here'; System.debug('Hello World!'); -System.debug('My name is ' + tempvar); +System.debug('My name is ' + tempvar); \ No newline at end of file diff --git a/sfdx-project.json b/sfdx-project.json index 3dcbd28dd..2fa34517c 100644 --- a/sfdx-project.json +++ b/sfdx-project.json @@ -8,5 +8,5 @@ "name": "dx-empty", "namespace": "", "sfdcLoginUrl": "https://login.salesforce.com", - "sourceApiVersion": "55.0" + "sourceApiVersion": "59.0" }