Skip to content

Commit afc18a4

Browse files
Merge remote-tracking branch 'origin/develop'
2 parents fcdf74d + 0379bec commit afc18a4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2219
-3790
lines changed

.eslintrc.js

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,34 @@ module.exports = {
22
root: true,
33
parserOptions: {
44
parser: 'babel-eslint',
5-
ecmaVersion: 8
5+
ecmaVersion: 8,
66
},
77
env: {
88
es6: true,
99
node: true,
10-
browser: true
10+
browser: true,
1111
},
12-
plugins: [
13-
'prettier'
14-
],
15-
extends: [
16-
'eslint:recommended',
17-
'plugin:import/errors',
18-
'plugin:import/warnings',
19-
'prettier/standard'
20-
],
12+
plugins: ['prettier'],
13+
extends: ['eslint:recommended', 'plugin:import/errors', 'plugin:import/warnings', 'prettier'],
2114
rules: {
2215
'prettier/prettier': [
2316
'error',
2417
{
25-
'singleQuote': true,
26-
'bracketSpacing': false,
27-
'semi': false,
28-
'printWidth': 120
29-
}
18+
singleQuote: true,
19+
bracketSpacing: false,
20+
semi: false,
21+
printWidth: 120,
22+
},
3023
],
3124
'no-empty': [
3225
'error',
3326
{
34-
'allowEmptyCatch': true
35-
}
27+
allowEmptyCatch: true,
28+
},
3629
],
37-
'no-console': 0
30+
'no-console': 0,
3831
},
3932
globals: {
40-
'io': true
41-
}
33+
io: true,
34+
},
4235
}

.github/CONTRIBUTING.md

Lines changed: 40 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,52 @@
1-
![Logo](https://sfccdevops.s3.amazonaws.com/logo-128.png "Logo")
2-
3-
Thank you for Contributing
1+
Contributing Guide
42
===
53

6-
We want to make it as easy as possible to contribute changes.
4+
Issues & Feature Requests
5+
---
76

8-
Follow the requirements below for __[Creating Issues](https://github.com/sfccdevops/sfcc-cli/issues/new)__ and __[Pull Requests](https://github.com/sfccdevops/sfcc-cli/pull/new)__, to keep everything simple for everyone :)
7+
[![Create Issue](https://img.shields.io/badge/Github-Create_Issue-red.svg?style=for-the-badge&logo=github&logoColor=ffffff&logoWidth=16)](https://github.com/sfccdevops/sfcc-cli/issues/new/choose)
98

10-
<img src="https://octodex.github.com/images/dinotocat.png" width="400" />
9+
### Bug Fix
1110

12-
Creating an Issue
13-
---
11+
> We're sorry things are not working as expected, and want to get things fixed ASAP. In order to help us do that, we need a few things from you.
12+
13+
1. Create a [New Issue](https://github.com/sfccdevops/sfcc-cli/issues/new/choose)
14+
2. Enter a Short but Descriptive Title for the Issue
15+
3. Use the Template Provided and fill in as much as you can, if something does not apply, enter `N/A`
16+
4. Look for the `Labels` section, and select `Bug Report` from the drop down menu
17+
5. Click `Submit new issue` button
18+
19+
### Feature Request
1420

15-
Use the Prepopulated Template that we provide. Issues reported that do not use the template will be rejected.
21+
> Got an idea for a new feature? We'd love to hear it! In order to get this knocked out, we will need a few things from you.
1622
23+
1. Create a [New Issue](https://github.com/sfccdevops/sfcc-cli/issues/new/choose)
24+
2. Enter a Short but Descriptive Title for the Feature Request
25+
3. Use the Template Provided and fill in as much as you can, if something does not apply, enter `N/A` ( you can delete the `Steps to Duplicate:` section as that does not apply )
26+
4. Look for the `Labels` section, and select `Feature Request` from the drop down menu
27+
5. Click `Submit new issue` button
1728

18-
Creating a Pull Request
29+
Pull Requests
1930
---
2031

21-
Before you can submit a PR, you will need to:
32+
[![Create Pull Request](https://img.shields.io/badge/Github-Create_Pull_Request-blue.svg?style=for-the-badge&logo=github&logoColor=ffffff&logoWidth=16)](https://github.com/sfccdevops/sfcc-cli/compare)
33+
34+
### Bug Fix
35+
36+
> Each Bug Fix reported on GitHub should have its own `fix/*` branch. The branch name should be formatted `fix/###-issue-name` where `###` is the GitHub Issue Number, and `issue-name` is a 1-3 word summary of the issue.
37+
38+
1. Checkout latest `develop` branch
39+
2. Pull down the latest changes via `git pull`
40+
3. Create a new branch with the structure `fix/*`, e.g. `fix/123-broken-form`
41+
4. When you are ready to submit your code, submit a new Pull Request that merges your code into `develop`
42+
5. Tag your new Pull Request with `Ready for Code Review`
43+
44+
### Feature Request
2245

23-
1. Make a New Branch off of `staging` ( ideally you will name your branch for the issue you are fixing, e,g, `issue-3-fixing-logger` )
24-
2. Commit & Push your New Branch, with a comment like `Fixes #3` to auto trigger a status change for that issue
25-
3. Make your Pull Request into the `develop`
26-
4. Set `Reviewers` and `Assignees` to `Peter Schmalfeldt` ( or other project administrator )
27-
5. Choose an appropriate label from the `Labels`
46+
> Each New Feature should reside in its own `feature/` branch. The branch name should be formatted `feature/###-feature-name` where `###` is the GitHub Issue Number, and `feature-name` is a 1-3 word summary of the feature.
2847
29-
Now you can submit a new PR using the Prepopulated Template that we provide. PR's submitted that do not use the template will be rejected.
48+
1. Checkout latest `develop` branch
49+
2. Pull down the latest changes via `git pull`
50+
3. Create a new branch with the structure `feature/*`, e.g. `feature/123-mobile-header`
51+
4. When you are ready to submit your code, submit a new Pull Request that merges your code into `develop`
52+
5. Tag your new Pull Request with `Ready for Code Review`

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Bug Report
2+
description: I would like to Report a Bug
3+
labels: [Bug Report]
4+
assignees:
5+
- manifestinteractive
6+
body:
7+
- type: checkboxes
8+
attributes:
9+
label: Is there an existing issue for this?
10+
description: Please search to see if an issue already exists for the bug you encountered.
11+
options:
12+
- label: I have searched the existing issues
13+
required: true
14+
- type: textarea
15+
attributes:
16+
label: Describe the Bug
17+
description: A clear and concise description of what the bug is.
18+
validations:
19+
required: true
20+
- type: textarea
21+
attributes:
22+
label: Steps To Reproduce
23+
description: Steps to reproduce the behavior.
24+
placeholder: |
25+
1. Go to ...
26+
2. Click on ...
27+
3. Scroll down to ...
28+
4. See error ...
29+
validations:
30+
required: true
31+
- type: textarea
32+
attributes:
33+
label: Expected Behavior
34+
description: A concise description of what you expected to happen.
35+
validations:
36+
required: false
37+
- type: textarea
38+
attributes:
39+
label: Screenshots
40+
description: If applicable, add screenshots to help explain your problem.
41+
validations:
42+
required: false
43+
- type: textarea
44+
attributes:
45+
label: Environment
46+
description: |
47+
examples:
48+
- **OS**: Ubuntu 20.04
49+
- **Node**: 13.14.0
50+
- **npm**: 7.6.3
51+
value: |
52+
- OS:
53+
- Node:
54+
- npm:
55+
render: markdown
56+
validations:
57+
required: false
58+
- type: textarea
59+
attributes:
60+
label: Additional Context
61+
description: |
62+
Links? References? Anything that will give us more context about the issue you are encountering!
63+
64+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
65+
validations:
66+
required: false
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Feature Request
2+
description: This is a new Feature Request for this project
3+
labels: [Feature Request]
4+
assignees:
5+
- manifestinteractive
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: Describe the Problem
10+
description: Is your feature request related to a problem? Please describe.
11+
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
validations:
13+
required: true
14+
- type: textarea
15+
attributes:
16+
label: Describe the Solution
17+
description: Describe the solution you'd like
18+
placeholder: A clear and concise description of what you want to happen.
19+
validations:
20+
required: true
21+
- type: textarea
22+
attributes:
23+
label: Alternatives
24+
description: Describe alternatives you've considered
25+
placeholder: A clear and concise description of any alternative solutions or features you've considered.
26+
validations:
27+
required: false
28+
- type: textarea
29+
attributes:
30+
label: Additional Context
31+
description: |
32+
Add any other context or screenshots about the feature request here.
33+
34+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
35+
validations:
36+
required: false
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Question
2+
description: I have a Question about this project
3+
labels: [Question]
4+
assignees:
5+
- manifestinteractive
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: Question
10+
description: Please Write your Question Below.
11+
validations:
12+
required: true
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Requested Change
2+
description: This is a Requested Change to the project
3+
labels: [Requested Change]
4+
assignees:
5+
- manifestinteractive
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: Describe the Problem
10+
description: Is your requested change related to a problem? Please describe.
11+
placeholder: A clear and concise description of what the request is.
12+
validations:
13+
required: true
14+
- type: textarea
15+
attributes:
16+
label: Describe the Solution
17+
description: Describe the solution you'd like
18+
placeholder: A clear and concise description of what you want to happen.
19+
validations:
20+
required: true
21+
- type: textarea
22+
attributes:
23+
label: Alternatives
24+
description: Describe alternatives you've considered
25+
placeholder: A clear and concise description of any alternative solutions or features you've considered.
26+
validations:
27+
required: false
28+
- type: textarea
29+
attributes:
30+
label: Additional Context
31+
description: |
32+
Add any other context or screenshots about the feature request here.
33+
34+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
35+
validations:
36+
required: false

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
1-
#### What's this PR do?
1+
Overview
2+
---
23

3-
_[write_something]_
4+
TEXT
45

5-
#### Where should the reviewer start?
6+
Reviewer
7+
---
68

7-
_[write_something]_
9+
> Where should the reviewer start? How to Test? Background Context? etc ( required )
810
9-
#### How should this be manually tested?
11+
TEXT
1012

11-
_[write_something]_
13+
Checklist
14+
---
1215

13-
#### Any background context you want to provide?
16+
> I have tested each of the following, and they work as expected: ( required )
1417
15-
_[write_something]_
18+
- [ ] Meets [Contributing Guide](https://github.com/sfccdevops/sfcc-cli/blob/develop/.github/CONTRIBUTING.md) Requirements
19+
- [ ] Pulled in the Latest Code from the `develop` branch
20+
- [ ] Works on a Desktop / Laptop Device
1621

17-
#### What are the relevant github issue?
22+
Documentation
23+
---
1824

19-
_[write_something]_
25+
> Screenshots, Attachments, Linked GitHub Issues, etc ( optional )
2026
21-
#### Screenshots (if appropriate)
2227

23-
_[drag_and_drop_here]_
2428

25-
#### What gif best describes this PR or how it makes you feel?
29+
#### What GIF best describes this PR or how it makes you feel?
2630

27-
_[drag_and_drop_something_fun_here]_
28-
29-
#### Definition of Done:
30-
31-
- [ ] You have actually run this locally and can verify it works
32-
- [ ] You have verified that `npm test` passes without issue
33-
- [ ] You have updated the README file (if appropriate)
31+
> Drag & Drop Something Fun Here ( optional )
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Assign to Project
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
pull_request:
7+
types:
8+
- opened
9+
env:
10+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11+
jobs:
12+
assign_to_project:
13+
runs-on: ubuntu-latest
14+
name: Assign to Project
15+
steps:
16+
- name: Check GitHub Event Action
17+
uses: srggrs/[email protected]
18+
if: github.event.action == 'opened'
19+
with:
20+
project: 'https://github.com/sfccdevops/sfcc-cli/projects/1'

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.DS_Store
22
node_modules
33
npm-debug.log
4-
remote/ssl/sfcc-cli-localhost.*
54
.vscode
5+
!sfcc-cli.code-workspace

0 commit comments

Comments
 (0)