Skip to content

Commit

Permalink
feat: integrate reev-frontend-lib as git submodule (#412) (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Feb 6, 2024
1 parent 4140fa6 commit 28bc7f2
Show file tree
Hide file tree
Showing 275 changed files with 21,889 additions and 20,569 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: "0"
lfs: 'true'
submodules: recursive

- name: Log in to the Container registry
uses: docker/login-action@v2
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: 'true'
lfs: 'true'

- name: Set up Python 3.10
uses: actions/setup-python@v4
Expand All @@ -49,9 +49,9 @@ jobs:
- Backend-Lint
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: 'true'
lfs: 'true'

- name: Set up Python 3.10
uses: actions/setup-python@v4
Expand Down Expand Up @@ -87,9 +87,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: 'true'
lfs: 'true'
submodules: recursive

- name: Set up node 20.x
uses: actions/setup-node@v3
Expand All @@ -111,9 +112,10 @@ jobs:
- Frontend-Lint
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: 'true'
lfs: 'true'
submodules: recursive

- name: Set up node 20.x
uses: actions/setup-node@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ jobs:
if: ${{ needs.release-please.outputs.release_created }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: 'true'
submodules: recursive

- name: Log in to the Container registry
uses: docker/login-action@v2
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "frontend/src/ext/reev-frontend-lib"]
path = frontend/src/ext/reev-frontend-lib
url = [email protected]:bihealth/reev-frontend-lib.git
2 changes: 1 addition & 1 deletion backend/tests/api/internal/test_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def test_acmg_missing_query_params(client: TestClient):

@pytest.mark.anyio
async def test_cnv_acmg(httpx_mock: HTTPXMock, client: TestClient):
"""Test forwarding to PubTator 3 API."""
"""Test forwarding to AutoCNV API."""
# arrange:
httpx_mock.add_response(
url="https://phoenix.bgi.com/api/acit/jobs/",
Expand Down
8 changes: 8 additions & 0 deletions docs/dev_quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ Install NodeJS v20 (LTS):
$ curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
$ sudo apt-get install -y nodejs
----------------
Clone Repository
----------------

.. code-block:: bash
$ git clone --recursive [email protected]/bihealth/reev.git
--------------------
Install Dependencies
--------------------
Expand Down
4 changes: 4 additions & 0 deletions frontend/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
> 1%
last 2 versions
not dead
not ie 11
1 change: 1 addition & 0 deletions frontend/.editorconfig
26 changes: 23 additions & 3 deletions frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,35 @@ require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,
'extends': [
extends: [
'@vue/typescript/recommended',
'plugin:vue/vue3-recommended',
'@vue/eslint-config-typescript',
'@vue/eslint-config-prettier/skip-formatting'
'@vue/eslint-config-prettier/skip-formatting',
'plugin:storybook/recommended'
],
ignorePatterns:[
"**/node_modules/**"
],
rules: {
"@typescript-eslint/no-explicit-any": "off",
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': [
'warn', // or "error"
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_'
}
]
},
overrides: [
{
files: ['*.mdx'],
extends: 'plugin:mdx/recommended'
}
],
parserOptions: {
ecmaVersion: 'latest'
}
Expand Down
4 changes: 2 additions & 2 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/coverage

.DS_Store
node_modules
/dist
**/node_modules
**/dist


# local env files
Expand Down
1 change: 1 addition & 0 deletions frontend/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/ext
Loading

0 comments on commit 28bc7f2

Please sign in to comment.