Skip to content

Feature/tutorial #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"plugins": [
[
"module-resolver",
{
"cwd": "babelrc",
"alias": {
"Components": "./app/src/components",
"Containers": "./app/src/containers"
}
}
]
],
// presets are a set of of plug-ins
"presets": [
["@babel/preset-env", { "targets": { "node": "current" } }],
"@babel/preset-typescript",
"@babel/preset-react"
]
}
{
"plugins": [
[
"module-resolver",
{
"cwd": "babelrc",
"alias": {
"Components": "./app/src/components",
"Containers": "./app/src/containers"
}
}
]
],
// presets are a set of of plug-ins
"presets": [
["@babel/preset-env", { "targets": { "node": "current" } }],
"@babel/preset-typescript",
"@babel/preset-react"
]
}
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules
node_modules
app/electron
44 changes: 22 additions & 22 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"extends": ["plugin:react/recommended", "plugin:@typescript-eslint/recommended", "airbnb-base"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["import", "react", "jest", "jsx-a11y", "babel"],
"parser": "@babel/eslint-parser",
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"rules": {
"class-methods-use-this": "off",
"linebreak-style": 0
}
}
{
"extends": ["plugin:react/recommended", "plugin:@typescript-eslint/recommended", "airbnb-base"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["import", "react", "jest", "jsx-a11y", "babel"],
"parser": "@babel/eslint-parser",
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"rules": {
"class-methods-use-this": "off",
"linebreak-style": 0
}
}
76 changes: 38 additions & 38 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
# Description

Please describe the issue of the pull request and the changes

<!-- Please include the following information:
- A summary of the changes and the related issue.
- Relevant motivation and context.
- Any dependencies that are required for this change.
-->

## Type of Change

Please check the options that apply

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

# How Has the Changes Been Tested?

<!--
Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration
-->

# Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] Changes included in this pull request covers minimal topic
- [ ] I have performed a self-review of my code
- [ ] I have commented my code properly, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
# Description
Please describe the issue of the pull request and the changes
<!-- Please include the following information:
- A summary of the changes and the related issue.
- Relevant motivation and context.
- Any dependencies that are required for this change.
-->
## Type of Change
Please check the options that apply
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
# How Has the Changes Been Tested?
<!--
Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration
-->
# Checklist:
- [ ] My code follows the style guidelines of this project
- [ ] Changes included in this pull request covers minimal topic
- [ ] I have performed a self-review of my code
- [ ] I have commented my code properly, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
80 changes: 40 additions & 40 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [dev]
pull_request:
branches: [dev]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
node-version: 18.13.0

# Runs a single command using the runners shell
- name: Install dependencies
run: npm install
- name: Run all tests
run: npm run test --bail

# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [dev]
pull_request:
branches: [dev]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
node-version: 18.13.0
# Runs a single command using the runners shell
- name: Install dependencies
run: npm install
- name: Run all tests
run: npm run test --bail
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
Loading