Skip to content

Commit b1f9ca0

Browse files
authored
Merge pull request #261 from oslabs-beta/dev
ReacType V21.0
2 parents 1b91777 + 20f5407 commit b1f9ca0

File tree

247 files changed

+24091
-11673
lines changed

Some content is hidden

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

247 files changed

+24091
-11673
lines changed

.babelrc

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
{
2-
"plugins": [
3-
[
4-
"module-resolver",
5-
{
6-
"cwd": "babelrc",
7-
"alias": {
8-
"Components": "./app/src/components",
9-
"Containers": "./app/src/containers"
10-
}
11-
}
12-
]
13-
],
14-
// presets are a set of of plug-ins
15-
"presets": [
16-
["@babel/preset-env", { "targets": { "node": "current" } }],
17-
"@babel/preset-typescript",
18-
"@babel/preset-react"
19-
]
20-
}
1+
{
2+
"plugins": [
3+
[
4+
"module-resolver",
5+
{
6+
"cwd": "babelrc",
7+
"alias": {
8+
"Components": "./app/src/components",
9+
"Containers": "./app/src/containers"
10+
}
11+
}
12+
]
13+
],
14+
// presets are a set of of plug-ins
15+
"presets": [
16+
["@babel/preset-env", { "targets": { "node": "current" } }],
17+
"@babel/preset-typescript",
18+
"@babel/preset-react"
19+
]
20+
}

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
node_modules
1+
node_modules
22
app/electron

.eslintrc.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
{
2-
"extends": ["plugin:react/recommended", "plugin:@typescript-eslint/recommended", "airbnb-base"],
3-
"parserOptions": {
4-
"ecmaFeatures": {
5-
"jsx": true
6-
},
7-
"ecmaVersion": 2018,
8-
"sourceType": "module"
9-
},
10-
"plugins": ["import", "react", "jest", "jsx-a11y", "babel"],
11-
"parser": "@babel/eslint-parser",
12-
"env": {
13-
"browser": true,
14-
"node": true,
15-
"es6": true,
16-
"jest": true
17-
},
18-
"rules": {
19-
"class-methods-use-this": "off",
20-
"linebreak-style": 0
21-
}
22-
}
1+
{
2+
"extends": ["plugin:react/recommended", "plugin:@typescript-eslint/recommended", "airbnb-base"],
3+
"parserOptions": {
4+
"ecmaFeatures": {
5+
"jsx": true
6+
},
7+
"ecmaVersion": 2018,
8+
"sourceType": "module"
9+
},
10+
"plugins": ["import", "react", "jest", "jsx-a11y", "babel"],
11+
"parser": "@babel/eslint-parser",
12+
"env": {
13+
"browser": true,
14+
"node": true,
15+
"es6": true,
16+
"jest": true
17+
},
18+
"rules": {
19+
"class-methods-use-this": "off",
20+
"linebreak-style": 0
21+
}
22+
}

.github/pull_request_template.md

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
# Description
2-
3-
Please describe the issue of the pull request and the changes
4-
5-
<!-- Please include the following information:
6-
- A summary of the changes and the related issue.
7-
- Relevant motivation and context.
8-
- Any dependencies that are required for this change.
9-
-->
10-
11-
## Type of Change
12-
13-
Please check the options that apply
14-
15-
- [ ] Bug fix (non-breaking change which fixes an issue)
16-
- [ ] New feature (non-breaking change which adds functionality)
17-
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
18-
- [ ] This change requires a documentation update
19-
20-
# How Has the Changes Been Tested?
21-
22-
<!--
23-
Please describe the tests that you ran to verify your changes.
24-
Provide instructions so we can reproduce.
25-
Please also list any relevant details for your test configuration
26-
-->
27-
28-
# Checklist:
29-
30-
- [ ] My code follows the style guidelines of this project
31-
- [ ] Changes included in this pull request covers minimal topic
32-
- [ ] I have performed a self-review of my code
33-
- [ ] I have commented my code properly, particularly in hard-to-understand areas
34-
- [ ] I have made corresponding changes to the documentation
35-
- [ ] My changes generate no new warnings
36-
- [ ] I have added tests that prove my fix is effective or that my feature works
37-
- [ ] New and existing unit tests pass locally with my changes
38-
- [ ] Any dependent changes have been merged and published in downstream modules
1+
# Description
2+
3+
Please describe the issue of the pull request and the changes
4+
5+
<!-- Please include the following information:
6+
- A summary of the changes and the related issue.
7+
- Relevant motivation and context.
8+
- Any dependencies that are required for this change.
9+
-->
10+
11+
## Type of Change
12+
13+
Please check the options that apply
14+
15+
- [ ] Bug fix (non-breaking change which fixes an issue)
16+
- [ ] New feature (non-breaking change which adds functionality)
17+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
18+
- [ ] This change requires a documentation update
19+
20+
# How Has the Changes Been Tested?
21+
22+
<!--
23+
Please describe the tests that you ran to verify your changes.
24+
Provide instructions so we can reproduce.
25+
Please also list any relevant details for your test configuration
26+
-->
27+
28+
# Checklist:
29+
30+
- [ ] My code follows the style guidelines of this project
31+
- [ ] Changes included in this pull request covers minimal topic
32+
- [ ] I have performed a self-review of my code
33+
- [ ] I have commented my code properly, particularly in hard-to-understand areas
34+
- [ ] I have made corresponding changes to the documentation
35+
- [ ] My changes generate no new warnings
36+
- [ ] I have added tests that prove my fix is effective or that my feature works
37+
- [ ] New and existing unit tests pass locally with my changes
38+
- [ ] Any dependent changes have been merged and published in downstream modules

.github/workflows/main.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
# This is a basic workflow to help you get started with Actions
2-
3-
name: CI
4-
5-
# Controls when the workflow will run
6-
on:
7-
# Triggers the workflow on push or pull request events but only for the master branch
8-
push:
9-
branches: [dev]
10-
pull_request:
11-
branches: [dev]
12-
13-
# Allows you to run this workflow manually from the Actions tab
14-
workflow_dispatch:
15-
16-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17-
jobs:
18-
# This workflow contains a single job called "build"
19-
build:
20-
# The type of runner that the job will run on
21-
runs-on: ubuntu-latest
22-
23-
# Steps represent a sequence of tasks that will be executed as part of the job
24-
steps:
25-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26-
- uses: actions/checkout@v3
27-
with:
28-
node-version: 18.13.0
29-
30-
# Runs a single command using the runners shell
31-
- name: Install dependencies
32-
run: npm install
33-
- name: Run all tests
34-
run: npm run test --bail
35-
36-
# Runs a set of commands using the runners shell
37-
- name: Run a multi-line script
38-
run: |
39-
echo Add other actions to build,
40-
echo test, and deploy your project.
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the master branch
8+
push:
9+
branches: [dev]
10+
pull_request:
11+
branches: [dev]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
# This workflow contains a single job called "build"
19+
build:
20+
# The type of runner that the job will run on
21+
runs-on: ubuntu-latest
22+
23+
# Steps represent a sequence of tasks that will be executed as part of the job
24+
steps:
25+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26+
- uses: actions/checkout@v3
27+
with:
28+
node-version: 18.13.0
29+
30+
# Runs a single command using the runners shell
31+
- name: Install dependencies
32+
run: npm install
33+
- name: Run all tests
34+
run: npm run test --bail
35+
36+
# Runs a set of commands using the runners shell
37+
- name: Run a multi-line script
38+
run: |
39+
echo Add other actions to build,
40+
echo test, and deploy your project.

0 commit comments

Comments
 (0)