Skip to content

Commit ab102bd

Browse files
committed
chore: update deps, add test runner and formatter
1 parent f6e97b4 commit ab102bd

17 files changed

Lines changed: 6322 additions & 4010 deletions

.eslintrc.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "npm"
4-
directory: "/"
3+
- package-ecosystem: 'npm'
4+
directory: '/'
55
schedule:
6-
interval: "monthly"
6+
interval: 'monthly'
77
groups:
88
node-dependencies:
99
update-types:
10-
- "minor"
11-
- "patch"
10+
- 'minor'
11+
- 'patch'

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
"trailingComma": "es5",
66
"tabWidth": 2,
77
"useTabs": false
8-
}
8+
}

CODE_OF_CONDUCT.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ culture where everyone feels included.
88

99
Salesforce open-source projects are committed to providing a friendly, safe, and
1010
welcoming environment for all, regardless of gender identity and expression,
11-
sexual orientation, disability, physical appearance, body size, ethnicity, nationality,
12-
race, age, religion, level of experience, education, socioeconomic status, or
11+
sexual orientation, disability, physical appearance, body size, ethnicity, nationality,
12+
race, age, religion, level of experience, education, socioeconomic status, or
1313
other similar personal characteristics.
1414

1515
The goal of this code of conduct is to specify a baseline standard of behavior so
@@ -25,33 +25,33 @@ Open Source Conduct Committee at ossconduct@salesforce.com.
2525

2626
In the interest of fostering an open and welcoming environment, we as
2727
contributors and maintainers pledge to making participation in our project and
28-
our community a harassment-free experience for everyone, regardless of gender
29-
identity and expression, sexual orientation, disability, physical appearance,
30-
body size, ethnicity, nationality, race, age, religion, level of experience, education,
28+
our community a harassment-free experience for everyone, regardless of gender
29+
identity and expression, sexual orientation, disability, physical appearance,
30+
body size, ethnicity, nationality, race, age, religion, level of experience, education,
3131
socioeconomic status, or other similar personal characteristics.
3232

3333
## Our Standards
3434

3535
Examples of behavior that contributes to creating a positive environment
3636
include:
3737

38-
* Using welcoming and inclusive language
39-
* Being respectful of differing viewpoints and experiences
40-
* Gracefully accepting constructive criticism
41-
* Focusing on what is best for the community
42-
* Showing empathy toward other community members
38+
- Using welcoming and inclusive language
39+
- Being respectful of differing viewpoints and experiences
40+
- Gracefully accepting constructive criticism
41+
- Focusing on what is best for the community
42+
- Showing empathy toward other community members
4343

4444
Examples of unacceptable behavior by participants include:
4545

46-
* The use of sexualized language or imagery and unwelcome sexual attention or
47-
advances
48-
* Personal attacks, insulting/derogatory comments, or trolling
49-
* Public or private harassment
50-
* Publishing, or threatening to publish, others' private information—such as
51-
a physical or electronic address—without explicit permission
52-
* Other conduct which could reasonably be considered inappropriate in a
53-
professional setting
54-
* Advocating for or encouraging any of the above behaviors
46+
- The use of sexualized language or imagery and unwelcome sexual attention or
47+
advances
48+
- Personal attacks, insulting/derogatory comments, or trolling
49+
- Public or private harassment
50+
- Publishing, or threatening to publish, others' private information—such as
51+
a physical or electronic address—without explicit permission
52+
- Other conduct which could reasonably be considered inappropriate in a
53+
professional setting
54+
- Advocating for or encouraging any of the above behaviors
5555

5656
## Our Responsibilities
5757

@@ -77,29 +77,29 @@ further defined and clarified by project maintainers.
7777
## Enforcement
7878

7979
Instances of abusive, harassing, or otherwise unacceptable behavior may be
80-
reported by contacting the Salesforce Open Source Conduct Committee
81-
at ossconduct@salesforce.com. All complaints will be reviewed and investigated
82-
and will result in a response that is deemed necessary and appropriate to the
83-
circumstances. The committee is obligated to maintain confidentiality with
84-
regard to the reporter of an incident. Further details of specific enforcement
80+
reported by contacting the Salesforce Open Source Conduct Committee
81+
at ossconduct@salesforce.com. All complaints will be reviewed and investigated
82+
and will result in a response that is deemed necessary and appropriate to the
83+
circumstances. The committee is obligated to maintain confidentiality with
84+
regard to the reporter of an incident. Further details of specific enforcement
8585
policies may be posted separately.
8686

8787
Project maintainers who do not follow or enforce the Code of Conduct in good
8888
faith may face temporary or permanent repercussions as determined by other
89-
members of the project's leadership and the Salesforce Open Source Conduct
89+
members of the project's leadership and the Salesforce Open Source Conduct
9090
Committee.
9191

9292
## Attribution
9393

9494
This Code of Conduct is adapted from the [Contributor Covenant][contributor-covenant-home],
95-
version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html.
96-
It includes adaptions and additions from [Go Community Code of Conduct][golang-coc],
95+
version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html.
96+
It includes adaptions and additions from [Go Community Code of Conduct][golang-coc],
9797
[CNCF Code of Conduct][cncf-coc], and [Microsoft Open Source Code of Conduct][microsoft-coc].
9898

9999
This Code of Conduct is licensed under the [Creative Commons Attribution 3.0 License][cc-by-3-us].
100100

101-
[contributor-covenant-home]: https://www.contributor-covenant.org (https://www.contributor-covenant.org/)
101+
[contributor-covenant-home]: https://www.contributor-covenant.org 'https://www.contributor-covenant.org/'
102102
[golang-coc]: https://golang.org/conduct
103103
[cncf-coc]: https://github.com/cncf/foundation/blob/master/code-of-conduct.md
104104
[microsoft-coc]: https://opensource.microsoft.com/codeofconduct/
105-
[cc-by-3-us]: https://creativecommons.org/licenses/by/3.0/us/
105+
[cc-by-3-us]: https://creativecommons.org/licenses/by/3.0/us/

CONTRIBUTING.md

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,29 @@ The intent and goal of open sourcing this project is to increase the contributor
1313
Use GitHub Issues page to submit issues, enhancement requests and discuss ideas.
1414

1515
### Bug Reports and Fixes
16-
- If you find a bug, please search for it in the [Issues](https://github.com//heroku-reference-apps/heroku-applink-pattern-api-access-nodejs/issues), and if it isn't already tracked,
17-
[create a new issue](https://github.com//heroku-reference-apps/heroku-applink-pattern-api-access-nodejs/issues/new). Fill out the "Bug Report" section of the issue template. Even if an Issue is closed, feel free to comment and add details, it will still
18-
be reviewed.
19-
- Issues that have already been identified as a bug (note: able to reproduce) will be labelled `bug`.
20-
- If you'd like to submit a fix for a bug, [send a Pull Request](#creating_a_pull_request) and mention the Issue number.
21-
- Include tests that isolate the bug and verifies that it was fixed.
16+
17+
- If you find a bug, please search for it in the [Issues](https://github.com//heroku-reference-apps/heroku-applink-pattern-api-access-nodejs/issues), and if it isn't already tracked,
18+
[create a new issue](https://github.com//heroku-reference-apps/heroku-applink-pattern-api-access-nodejs/issues/new). Fill out the "Bug Report" section of the issue template. Even if an Issue is closed, feel free to comment and add details, it will still
19+
be reviewed.
20+
- Issues that have already been identified as a bug (note: able to reproduce) will be labelled `bug`.
21+
- If you'd like to submit a fix for a bug, [send a Pull Request](#creating_a_pull_request) and mention the Issue number.
22+
- Include tests that isolate the bug and verifies that it was fixed.
2223

2324
### New Features
24-
- If you'd like to add new functionality to this project, describe the problem you want to solve in a [new Issue](https://github.com//heroku-reference-apps/heroku-applink-pattern-api-access-nodejs/issues/new).
25-
- Issues that have been identified as a feature request will be labelled `enhancement`.
26-
- If you'd like to implement the new feature, please wait for feedback from the project
27-
maintainers before spending too much time writing the code. In some cases, `enhancement`s may
28-
not align well with the project objectives at the time.
25+
26+
- If you'd like to add new functionality to this project, describe the problem you want to solve in a [new Issue](https://github.com//heroku-reference-apps/heroku-applink-pattern-api-access-nodejs/issues/new).
27+
- Issues that have been identified as a feature request will be labelled `enhancement`.
28+
- If you'd like to implement the new feature, please wait for feedback from the project
29+
maintainers before spending too much time writing the code. In some cases, `enhancement`s may
30+
not align well with the project objectives at the time.
2931

3032
### Tests, Documentation, Miscellaneous
31-
- If you'd like to improve the tests, you want to make the documentation clearer, you have an
32-
alternative implementation of something that may have advantages over the way its currently
33-
done, or you have any other change, we would be happy to hear about it!
34-
- If its a trivial change, go ahead and [send a Pull Request](#creating_a_pull_request) with the changes you have in mind.
35-
- If not, [open an Issue](https://github.com//heroku-reference-apps/heroku-applink-pattern-api-access-nodejs/issues/new) to discuss the idea first.
33+
34+
- If you'd like to improve the tests, you want to make the documentation clearer, you have an
35+
alternative implementation of something that may have advantages over the way its currently
36+
done, or you have any other change, we would be happy to hear about it!
37+
- If its a trivial change, go ahead and [send a Pull Request](#creating_a_pull_request) with the changes you have in mind.
38+
- If not, [open an Issue](https://github.com//heroku-reference-apps/heroku-applink-pattern-api-access-nodejs/issues/new) to discuss the idea first.
3639

3740
If you're new to our project and looking for some way to make your first contribution, look for
3841
Issues labelled `good first contribution`.
@@ -56,9 +59,9 @@ Issues labelled `good first contribution`.
5659

5760
# Creating a Pull Request
5861

59-
1. **Ensure the bug/feature was not already reported** by searching on GitHub under Issues. If none exists, create a new issue so that other contributors can keep track of what you are trying to add/fix and offer suggestions (or let you know if there is already an effort in progress).
60-
3. **Clone** the forked repo to your machine.
61-
4. **Create** a new branch to contain your work (e.g. `git br fix-issue-11`)
62+
1. **Ensure the bug/feature was not already reported** by searching on GitHub under Issues. If none exists, create a new issue so that other contributors can keep track of what you are trying to add/fix and offer suggestions (or let you know if there is already an effort in progress).
63+
2. **Clone** the forked repo to your machine.
64+
3. **Create** a new branch to contain your work (e.g. `git br fix-issue-11`)
6265
4. **Commit** changes to your own branch.
6366
5. **Push** your work back up to your fork. (e.g. `git push fix-issue-11`)
6467
6. **Submit** a Pull Request against the `main` branch and refer to the issue(s) you are fixing. Try not to pollute your pull request with unintended changes. Keep it simple and small.
@@ -67,17 +70,21 @@ Issues labelled `good first contribution`.
6770
> **NOTE**: Be sure to [sync your fork](https://help.github.com/articles/syncing-a-fork/) before making a pull request.
6871
6972
# Contributor License Agreement ("CLA")
73+
7074
In order to accept your pull request, we need you to submit a CLA. You only need
7175
to do this once to work on any of Salesforce's open source projects.
7276

7377
Complete your CLA here: <https://cla.salesforce.com/sign-cla>
7478

7579
# Issues
80+
7681
We use GitHub issues to track public bugs. Please ensure your description is
7782
clear and has sufficient instructions to be able to reproduce the issue.
7883

7984
# Code of Conduct
85+
8086
Please follow our [Code of Conduct](CODE_OF_CONDUCT.md).
8187

8288
# License
89+
8390
By contributing your code, you agree to license your contribution under the terms of our project [LICENSE](LICENSE.txt) and to sign the [Salesforce CLA](https://cla.salesforce.com/sign-cla)

0 commit comments

Comments
 (0)