Skip to content
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

Makes minor improvements to PR-294 #344

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
234 commits
Select commit Hold shift + click to select a range
d6b162a
added -config cl-utility and libms command
lindot11 Oct 3, 2023
bf875b4
really added -config cl-utility
lindot11 Oct 3, 2023
55015e6
Merge remote-tracking branch 'upstream/feature/distributed-demo' into…
lindot11 Oct 3, 2023
23bff03
small undo
lindot11 Oct 3, 2023
1253e6f
small typo fix
lindot11 Oct 3, 2023
72fd82f
removed console.error because of no-console rule
lindot11 Oct 3, 2023
ef44c70
named package libms for npm registry
lindot11 Oct 3, 2023
c848b01
version no updated after private publish
lindot11 Oct 3, 2023
ee72112
specified imported members functions used
lindot11 Oct 3, 2023
241f5ec
Merge branch 'feature/distributed-demo' into publish-package-libms
lindot11 Oct 9, 2023
fd6d238
removed package lock.json
lindot11 Oct 9, 2023
6d83226
nest-commander and libms command implemented
lindot11 Oct 12, 2023
d2bbaf6
solved peer dependencies
lindot11 Oct 12, 2023
613341c
v0.4.0
lindot11 Oct 12, 2023
6f760eb
Merge branch 'INTO-CPS-Association:feature/distributed-demo' into pub…
lindot11 Oct 12, 2023
94ffa17
restore yarn.lock to test linting checks
lindot11 Oct 12, 2023
5c798fe
applied fix to lint check errors
lindot11 Oct 12, 2023
b85cd0e
undo the this to test lint checks
lindot11 Oct 12, 2023
e6cee12
trying again using this to fix lint checks
lindot11 Oct 12, 2023
d1f1ad7
Added support for running libms as a cli with custom commands
MadsKelberg Oct 15, 2023
51d7ffa
Removed some unused dependencies and devDependencies
MadsKelberg Oct 15, 2023
30bee8a
Removed yarn.lock files
MadsKelberg Oct 17, 2023
3578440
Updated package.json
MadsKelberg Oct 17, 2023
8fcb853
Changed the CLI so it will output -h default & fixed a bug with dotenv
MadsKelberg Oct 17, 2023
eea1fcc
Fixed lint error
MadsKelberg Oct 17, 2023
07fc232
Added yarn.lock file & made some changes to the CLI commands
MadsKelberg Oct 17, 2023
b94ce47
The start.sh script can now forward the provided arguments & updated …
MadsKelberg Oct 17, 2023
f990a64
added -config cl-utility and libms command
lindot11 Oct 3, 2023
acfaf52
really added -config cl-utility
lindot11 Oct 3, 2023
6ec79a7
small undo
lindot11 Oct 3, 2023
0120b18
small typo fix
lindot11 Oct 3, 2023
3719d89
removed console.error because of no-console rule
lindot11 Oct 3, 2023
19a37fd
named package libms for npm registry
lindot11 Oct 3, 2023
f02f860
version no updated after private publish
lindot11 Oct 3, 2023
f658289
specified imported members functions used
lindot11 Oct 3, 2023
933c92b
removed package lock.json
lindot11 Oct 9, 2023
b791b48
nest-commander and libms command implemented
lindot11 Oct 12, 2023
0f6100b
solved peer dependencies
lindot11 Oct 12, 2023
f58c389
v0.4.0
lindot11 Oct 12, 2023
c7b3751
restore yarn.lock to test linting checks
lindot11 Oct 12, 2023
5d4f452
applied fix to lint check errors
lindot11 Oct 12, 2023
44f2d9a
undo the this to test lint checks
lindot11 Oct 12, 2023
c10bb24
trying again using this to fix lint checks
lindot11 Oct 12, 2023
6b2e803
Added support for running libms as a cli with custom commands
MadsKelberg Oct 15, 2023
4b23d7e
Removed some unused dependencies and devDependencies
MadsKelberg Oct 15, 2023
55fdb57
Removed yarn.lock files
MadsKelberg Oct 17, 2023
7676278
Updated package.json
MadsKelberg Oct 17, 2023
ef23367
Changed the CLI so it will output -h default & fixed a bug with dotenv
MadsKelberg Oct 17, 2023
0b5fa6c
Fixed lint error
MadsKelberg Oct 17, 2023
8c932fe
Added yarn.lock file & made some changes to the CLI commands
MadsKelberg Oct 17, 2023
eb210d9
The start.sh script can now forward the provided arguments & updated …
MadsKelberg Oct 17, 2023
59c7dc0
Minor improvements to filenames and documentation
prasadtalasila Oct 18, 2023
03d4f17
Updates npm packaging instructions
prasadtalasila Oct 19, 2023
0800463
Adds docs for publishing npm packages and updates libms tests
prasadtalasila Oct 20, 2023
60cdbb0
Merge branch 'feature/distributed-demo' into publish-package-libms
lindot11 Oct 21, 2023
4b33fc6
Merge remote-tracking branch 'otherfork/pr-169'
lindot11 Oct 21, 2023
22191c0
v0.2.1
lindot11 Oct 21, 2023
0ddf434
v0.2.2
lindot11 Oct 21, 2023
721a457
Fixed issue with global install and graphql
MadsKelberg Oct 21, 2023
5476baa
Merge remote-tracking branch 'origin/publish-package-libms' into publ…
lindot11 Oct 21, 2023
2694a2b
v0.2.3
lindot11 Oct 21, 2023
a1b2c3a
keeping v0.2.0
lindot11 Oct 21, 2023
c9b4823
Merge branch 'feature/distributed-demo' into publish-package-libms
lindot11 Oct 23, 2023
839570b
publish job added and changed scope name
lindot11 Oct 23, 2023
cfdb2df
reverted dtaas name back
lindot11 Oct 23, 2023
181ced2
Revert "reverted dtaas name back"
lindot11 Oct 23, 2023
0b0eef0
change to github_token
lindot11 Oct 23, 2023
2d6103c
Merge remote-tracking branch 'upstream/feature/distributed-demo' into…
lindot11 Oct 26, 2023
7bd123e
use node auth token
lindot11 Oct 26, 2023
876f636
accept incoming changes
lindot11 Oct 26, 2023
ee12173
changed scope username to test publish
lindot11 Oct 26, 2023
3840d01
change registry name
lindot11 Oct 26, 2023
e67b9aa
v0.2.1
lindot11 Oct 26, 2023
642e25e
v0.2.2
lindot11 Oct 26, 2023
bd05166
v0.2.6
lindot11 Oct 26, 2023
ed3aedf
test write permission to existing package
lindot11 Oct 26, 2023
1e7903e
changed registry and specified owner to test publish public
lindot11 Oct 31, 2023
7f5aef7
added secret to repo in github and changed token
lindot11 Oct 31, 2023
7ba627e
added environment secret to github repo
lindot11 Oct 31, 2023
f613b99
added permissions to the github action
lindot11 Oct 31, 2023
a74e5c5
use always authenticate with yarn
lindot11 Oct 31, 2023
e1ba890
removed publishconfig, setupnode set the registry
lindot11 Oct 31, 2023
071b99f
added registry option
lindot11 Oct 31, 2023
c4425d3
changed scope to own username
lindot11 Oct 31, 2023
ecdebac
v0.2.3
lindot11 Oct 31, 2023
169a3aa
v0.2.8
lindot11 Oct 31, 2023
6f7cd1f
changed username to test action
lindot11 Oct 31, 2023
c9df7c1
removed permission test if publish package works
lindot11 Nov 3, 2023
eda5c24
test collaborator edit publish package write access
lindot09 Nov 3, 2023
5f7c9cc
publis public, corrected name and version
lindot11 Nov 3, 2023
803cf6e
revert config for test on my user
lindot11 Nov 3, 2023
5593a38
back to correct publish package config
lindot11 Nov 3, 2023
0e1ca12
improved README and DEVELOPER md
lindot11 Nov 3, 2023
76f4e0e
check npm package publish via PR
prasadtalasila Nov 3, 2023
8922023
improves documentation
prasadtalasila Nov 3, 2023
028f930
fix markdown linting errors
prasadtalasila Nov 4, 2023
60916ae
version bump
prasadtalasila Nov 4, 2023
c9f7f3b
version revert
prasadtalasila Nov 4, 2023
74ffe54
expand the scope of branches publishing packages
prasadtalasila Nov 4, 2023
db6b534
version bump
prasadtalasila Nov 4, 2023
2a79287
version bump
prasadtalasila Nov 4, 2023
beae271
fix typo
lindot11 Nov 6, 2023
af83763
test original
lindot11 Nov 6, 2023
01f2dc2
added release-v back
lindot11 Nov 6, 2023
03b9be4
added push condition to publish package action
lindot11 Nov 6, 2023
1684070
test with own username
lindot11 Nov 6, 2023
532d900
revert settings after test success
lindot11 Nov 8, 2023
e743e3d
added contributers
lindot11 Nov 8, 2023
9d8bcca
test publish on push
lindot11 Nov 8, 2023
4b025c3
test push branch condition
lindot11 Nov 8, 2023
c5803b5
test push condition
lindot11 Nov 8, 2023
5a6981f
added libms git hooks
lindot11 Nov 13, 2023
f3c04c6
Merge remote-tracking branch 'origin/feature/distributed-demo' into f…
lindot11 Nov 13, 2023
e130e3c
Merge branch 'feature/distributed-demo' into git-hooks-libms
lindot11 Nov 13, 2023
60f8d32
comment step
lindot11 Nov 13, 2023
94360b4
Possible fix for the pre-push hook
MadsKelberg Nov 13, 2023
be8c10b
Markdownlint file
MadsKelberg Nov 13, 2023
2b6b356
Markdown pre commit config
MadsKelberg Nov 13, 2023
9f504c5
Prettier
MadsKelberg Nov 13, 2023
de084ed
added format and prettier to lib
lindot11 Nov 13, 2023
549ffef
format prettier
lindot11 Nov 13, 2023
708b747
Added refactored format-check script to run in pre-commit
lindot11 Nov 21, 2023
57e78ac
removed typo
lindot11 Nov 21, 2023
13a4892
added repo to test pre-commit
lindot11 Nov 21, 2023
f35c748
test pre-commit with typo
lindot11 Nov 21, 2023
af7b409
undo typo and uncomment mdlint
lindot11 Nov 21, 2023
1007bec
test pre-commit with typo
lindot11 Nov 21, 2023
57cf536
remove type
lindot11 Nov 21, 2023
0298e44
test pre-commit
lindot11 Nov 21, 2023
8ba35ad
uncomment format-check
lindot11 Nov 21, 2023
37e695e
test dummy format
lindot11 Nov 21, 2023
1b88c00
test dummy
lindot11 Nov 21, 2023
88858c6
commit dummies to git for test git diff
lindot11 Nov 21, 2023
5a5f485
test pre-commit eslint
lindot11 Nov 21, 2023
210d8b2
pre-commit config to replace custom pre-commit
lindot11 Nov 22, 2023
55e342f
added directory lib to hooks
lindot11 Nov 22, 2023
a8699dc
test pre-commit yarn install
lindot11 Nov 22, 2023
ba436c5
yarn install logic to pre-commit
lindot11 Nov 22, 2023
4bcfae7
prettified pre-commit-config
lindot11 Nov 22, 2023
702a7b8
added pre-push hooks
lindot11 Nov 22, 2023
74d6ad5
test dummy pre-push
lindot11 Nov 22, 2023
cc62b35
test pre-push yarn jest
lindot11 Nov 22, 2023
44e731c
test pre-push yarn jest
lindot11 Nov 22, 2023
77b543c
test again
lindot11 Nov 22, 2023
dc22078
test pre-push again
lindot11 Nov 22, 2023
7898248
test again
lindot11 Nov 22, 2023
a6a042a
TEST CORRECTLY
lindot11 Nov 22, 2023
3f33944
test manual push
lindot11 Nov 22, 2023
c41761c
another manual test
lindot11 Nov 22, 2023
97e2a42
test all pre-commit hooks
lindot11 Nov 22, 2023
49ecdc6
added default hooks
lindot11 Nov 22, 2023
abc5b90
added pre-push test for lib
lindot11 Nov 22, 2023
39184db
test git hooks dir
lindot11 Nov 22, 2023
4475b0b
test git hooks dir
lindot11 Nov 22, 2023
bcc4bdd
test dir with dummie
lindot11 Nov 22, 2023
000f34c
undo hook dir back to before
lindot11 Nov 22, 2023
9d644b3
test git hooks
lindot11 Nov 22, 2023
64415e9
test git hooks
lindot11 Nov 22, 2023
ae85638
test git hooks
lindot11 Nov 22, 2023
6ad082a
test git hooks
lindot11 Nov 22, 2023
133d97c
test git hooks
lindot11 Nov 22, 2023
26c59a0
test git hooks
lindot11 Nov 22, 2023
b998218
test git hooks
lindot11 Nov 22, 2023
74ccae8
test git hooks
lindot11 Nov 22, 2023
38efff5
test git hooks
lindot11 Nov 22, 2023
0023878
test git hooks
lindot11 Nov 22, 2023
311dafe
test git hooks
lindot11 Nov 22, 2023
18b809f
test git hooks
lindot11 Nov 22, 2023
67ca29e
reset after test
lindot11 Nov 22, 2023
5a24c3b
test git hooks
lindot11 Nov 22, 2023
7d76e30
test git hooks
lindot11 Nov 22, 2023
68625c3
test git hooks
lindot11 Nov 22, 2023
2817d0f
reset after test
lindot11 Nov 22, 2023
b795bcc
test git hooks
lindot11 Nov 22, 2023
5ae15cf
reset after test
lindot11 Nov 22, 2023
edc2e57
test git hooks
lindot11 Nov 22, 2023
27a9d02
test git hooks
lindot11 Nov 22, 2023
653cb4c
reset after test
lindot11 Nov 22, 2023
a4eb4f8
test git hooks
lindot11 Nov 22, 2023
8d6ed2c
reset after test
lindot11 Nov 22, 2023
3971b44
reset after test
lindot11 Nov 22, 2023
379ad9e
reset after test
lindot11 Nov 22, 2023
c6cf49a
reset after test
lindot11 Nov 22, 2023
025a163
reset after test
lindot11 Nov 22, 2023
0b17dcc
test script for git hooks done
lindot11 Nov 22, 2023
fe1f579
githook test and log for documentation
lindot11 Nov 22, 2023
c18350d
reset after test
lindot11 Nov 22, 2023
f0deb01
reset after test
lindot11 Nov 22, 2023
0329f04
reset after test
lindot11 Nov 22, 2023
a625020
reset after test
lindot11 Nov 22, 2023
a912d98
reset after test
lindot11 Nov 22, 2023
bbd9da8
reset after test
lindot11 Nov 22, 2023
fd0b99c
reset after test
lindot11 Nov 22, 2023
a2273db
reset after test
lindot11 Nov 22, 2023
9251f9c
test git hooks
lindot11 Nov 22, 2023
eccfd58
reset after test
lindot11 Nov 22, 2023
fb73d79
test git hooks
lindot11 Nov 22, 2023
73855d4
reset after test
lindot11 Nov 22, 2023
1c51029
test git hooks
lindot11 Nov 22, 2023
a9b4b19
reset after test
lindot11 Nov 22, 2023
7a7d4bf
test git hooks
lindot11 Nov 22, 2023
9425e91
improved test
lindot11 Nov 22, 2023
681d7cb
went back to original test
lindot11 Nov 22, 2023
d9de0e9
Merge remote-tracking branch 'refs/remotes/origin/git-hooks-libms' in…
lindot11 Nov 22, 2023
f28f7e1
final test script
lindot11 Nov 22, 2023
d387d79
reset after test
lindot11 Nov 22, 2023
19da8df
test git hooks
lindot11 Nov 22, 2023
768a6f6
reset after test
lindot11 Nov 22, 2023
81d2f0b
reset after test
lindot11 Nov 22, 2023
2e97583
reset after test
lindot11 Nov 22, 2023
d392125
reset after test
lindot11 Nov 22, 2023
7175c25
reset after test
lindot11 Nov 22, 2023
e826f4a
test and log done
lindot11 Nov 22, 2023
0aafc89
added new githook script and updated guide
lindot11 Nov 22, 2023
f3ff563
Merge remote-tracking branch 'upstream/feature/distributed-demo' into…
lindot11 Nov 22, 2023
0a8a465
Merge branch 'git-hooks-libms' into feature/distributed-demo
lindot11 Nov 22, 2023
b247181
comment out lib test hook
lindot11 Nov 22, 2023
5d99d59
Merge remote-tracking branch 'upstream/feature/distributed-demo' into…
lindot11 Nov 25, 2023
7fd7086
Merge remote-tracking branch 'upstream/feature/distributed-demo' into…
lindot11 Nov 26, 2023
e722963
Update docs and adds publication for runner (#275)
prasadtalasila Nov 16, 2023
c4dc49a
Fixes mistakes in the docs
prasadtalasila Nov 17, 2023
71feb8c
Added refactored format-check script to run in pre-commit
lindot11 Nov 21, 2023
6000711
skip package upgrade
lindot11 Nov 26, 2023
8f9bbf3
parent 7709e00ae1271d1e0311c6ddcba77c60d47cf664
lindot11 Nov 26, 2023
c4e56d1
true version before rebase mess
lindot11 Dec 1, 2023
6686f80
added pre-commit commands to guide
lindot11 Dec 1, 2023
0a057c2
Merge branch 'feature/distributed-demo' into git-hooks-libms
lindot11 Dec 1, 2023
2b213fe
hooks for shellcheck, json and yaml check
lindot11 Dec 1, 2023
b6e27d5
markdownlint and shellcheck on alle files
lindot11 Dec 1, 2023
18e7769
fixing codeclimate checks
lindot11 Dec 1, 2023
ba12756
wrapped mdlint hook to not exit 1 on pre-commit
lindot11 Dec 1, 2023
b2fe3df
made script executable
lindot11 Dec 1, 2023
73550a5
updated guide with pre-commit autoupdate command
lindot11 Dec 1, 2023
8a3f5ec
Fixes markdown linting issues
prasadtalasila Dec 3, 2023
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
21 changes: 0 additions & 21 deletions .git-hooks/pre-commit

This file was deleted.

22 changes: 0 additions & 22 deletions .git-hooks/pre-push

This file was deleted.

7 changes: 7 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
default: true
MD033: false
MD013:
code_blocks: false
tables: false
MD046:
style: "fenced"
88 changes: 88 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
default_install_hook_types: [pre-commit, pre-push]

repos:
- repo: local
hooks:
- id: yarn-install-client
name: yarn install client
entry: bash
language: system
files: "^client/.*"
args: ["-c", "cd client && yarn install"]
- id: yarn-install-runner
name: yarn install runner
entry: bash
language: system
files: "^servers/execution/runner/.*"
args: ["-c", "cd servers/execution/runner && yarn install"]
- id: yarn-install-lib
name: yarn install lib
entry: bash
language: system
files: "^servers/lib/.*"
args: ["-c", "cd servers/lib && yarn install"]

- id: yarn-jest-client
name: yarn jest client
entry: bash
language: system
files: "^client/.*"
args: ["-c", "cd client && yarn jest . --coverage=false"]
stages: [pre-push]
- id: yarn-test-runner
name: yarn test runner
entry: bash
language: system
files: "^servers/execution/runner/.*"
args: ["-c", "cd servers/execution/runner && yarn test:nocov"]
stages: [pre-push]
# - id: yarn-test-lib
# name: yarn test lib
# entry: bash
# language: system
# files: "^servers/lib/.*"
# args: ["-c", "cd servers/lib && yarn jest . --coverage=false"]
# stages: [pre-push]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
args: ["--ignore-path", "../.gitignore", "--write"]
files: '^(client|servers/execution/runner|servers/lib)/.*\.(ts|tsx|css|scss)$'
stages: [pre-commit]

- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.54.0
hooks:
- id: eslint
args: ["--fix"]
files: "^(client|servers/execution/runner|servers/lib)/.*"
stages: [pre-commit]

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.37.0
hooks:
- id: markdownlint
files: '.*\.md$'
entry: ./script/markdownlint-hook.sh
verbose: true
stages: [pre-commit]

- repo: https://github.com/syntaqx/git-hooks
rev: v0.0.18
hooks:
- id: shellcheck
files: '.*'
stages: [pre-commit]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-json
files: '^(docs|deploy|script|ssl)/.*'
stages: [pre-commit]
- id: check-yaml
files: '^(docs|deploy|script|ssl)/.*'
stages: [pre-commit]

8 changes: 4 additions & 4 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@

* The INTO-CPS tool suite software and the INTO-CPS Association
* Public License (ICAPL) are obtained from the INTO-CPS Association, either
* from the above address, from the URLs: <http:>http://www.into-cps.org</http:> or
* from the above address, from the URLs: <http://www.into-cps.org> or
* in the INTO-CPS tool suite distribution.
* GNU version 3 is obtained from:
* <http:>http://www.gnu.org/copyleft/gpl.html</http:>.
* <http://www.gnu.org/copyleft/gpl.html>.

* This program is distributed WITHOUT ANY WARRANTY; without
* even the implied warranty of MERCHANTABILITY or FITNESS
Expand Down Expand Up @@ -291,11 +291,11 @@ This Agreement is governed by the laws of Denmark. The place of jurisdiction
for all disagreements related to this Agreement, is Aarhus, Denmark.

The EPL 1.0 license definition has been obtained from:
<http:>http://www.eclipse.org/legal/epl-v10.html</http:>.
<http://www.eclipse.org/legal/epl-v10.html>.
It is also reproduced in the INTO-CPS distribution.

The GPL Version 3 license definition has been obtained from
<http:>http://www.gnu.org/copyleft/gpl.html</http:>.
<http://www.gnu.org/copyleft/gpl.html>.
It is also reproduced in the INTO-CPS distribution.

--- End of Definition of INTO-CPS Association Public License ---
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ to install and use the DTaaS software platform.
You are welcome to open an [issue](https://github.com/INTO-CPS-Association/DTaaS/issues/new/choose)
if there is a suggestion to improve the software.

If you find this repo useful for your research, please consider citing our paper:

```bibtex
@misc{talasila2023digital,
title={Digital Twin as a Service (DTaaS): A Platform for Digital Twin Developers and Users},
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing spaces

author={Prasad Talasila and Cláudio Gomes and Peter Høgh Mikkelsen and Santiago Gil Arboleda and Eduard Kamburjan and Peter Gorm Larsen},
year={2023},
eprint={2305.07244},
archivePrefix={arXiv},
primaryClass={cs.SE}
}
```

## :hammer_and_wrench: Development Setup

This is a mono repo containing code for
Expand Down
4 changes: 4 additions & 0 deletions client/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"trailingComma": "all"
}
8 changes: 4 additions & 4 deletions client/LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@

* The INTO-CPS tool suite software and the INTO-CPS Association
* Public License (ICAPL) are obtained from the INTO-CPS Association, either
* from the above address, from the URLs: <http:>http://www.into-cps.org</http:> or
* from the above address, from the URLs: <http://www.into-cps.org> or
* in the INTO-CPS tool suite distribution.
* GNU version 3 is obtained from:
* <http:>http://www.gnu.org/copyleft/gpl.html</http:>.
* <http://www.gnu.org/copyleft/gpl.html>.

* This program is distributed WITHOUT ANY WARRANTY; without
* even the implied warranty of MERCHANTABILITY or FITNESS
Expand Down Expand Up @@ -291,11 +291,11 @@ This Agreement is governed by the laws of Denmark. The place of jurisdiction
for all disagreements related to this Agreement, is Aarhus, Denmark.

The EPL 1.0 license definition has been obtained from:
<http:>http://www.eclipse.org/legal/epl-v10.html</http:>.
<http://www.eclipse.org/legal/epl-v10.html>.
It is also reproduced in the INTO-CPS distribution.

The GPL Version 3 license definition has been obtained from
<http:>http://www.gnu.org/copyleft/gpl.html</http:>.
<http://www.gnu.org/copyleft/gpl.html>.
It is also reproduced in the INTO-CPS distribution.

--- End of Definition of INTO-CPS Association Public License ---
4 changes: 3 additions & 1 deletion client/public/static/css/MaterialIcon.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: local('Material Icons'), local('MaterialIcons-Regular'),
src:
local('Material Icons'),
local('MaterialIcons-Regular'),
url(/static/font/MaterialIcons-Regular.woff2) format('woff2'),
url(/static/font/MaterialIcons-Regular.woff) format('woff'),
url(/static/font/MaterialIcons-Regular.ttf) format('truetype');
Expand Down
22 changes: 0 additions & 22 deletions client/public/static/font/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion client/src/components/tab/TabComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function renderScopeTabList(scope: TabData[][], subIndex: number): JSX.Element {

function renderScopeTabPanels(
scope: TabData[][],
subIndex: number
subIndex: number,
): JSX.Element {
return (
<>
Expand Down
4 changes: 2 additions & 2 deletions client/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const router = createBrowserRouter(
],
{
basename: `/${useURLbasename()}`,
}
},
);

const root = document.getElementById('root');
Expand All @@ -68,7 +68,7 @@ if (root) {
<AppProvider>
<RouterProvider router={router} />
</AppProvider>
</React.StrictMode>
</React.StrictMode>,
);
} else {
throw Error("Couldn't find root element");
Expand Down
2 changes: 1 addition & 1 deletion client/src/route/library/Library.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function createCombinedTabs() {
/>
</>
),
}))
})),
);
}

Expand Down
1 change: 0 additions & 1 deletion client/test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,3 @@ yarn test -e
This command launches the test runner and executes all end-to-end tests.
Make sure you have an active internet connection while running these tests,
as they simulate real user interactions with your GitLab account.

4 changes: 2 additions & 2 deletions client/test/e2e/playwright/Auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test.describe('Tests on Authentication Flow', () => {
.getByRole('button', { name: 'GitLab logo Sign In with GitLab' })
.click();
await expect(
page.getByRole('button', { name: 'Open settings' })
page.getByRole('button', { name: 'Open settings' }),
).toBeVisible();
await expect(page).toHaveURL(/.*Library/);
});
Expand All @@ -23,7 +23,7 @@ test.describe('Tests on Authentication Flow', () => {
.getByRole('button', { name: 'GitLab logo Sign In with GitLab' })
.click();
await expect(
page.getByRole('button', { name: 'Open settings' })
page.getByRole('button', { name: 'Open settings' }),
).toBeVisible();
await expect(page).toHaveURL(/.*Library/);

Expand Down
4 changes: 2 additions & 2 deletions client/test/e2e/playwright/Menu.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test.describe('Menu Links from first page (Layout)', () => {
.getByRole('button', { name: 'GitLab logo Sign In with GitLab' })
.click();
await expect(
page.getByRole('button', { name: 'Open settings' })
page.getByRole('button', { name: 'Open settings' }),
).toBeVisible();
await expect(page).toHaveURL(/.*Library/);
});
Expand All @@ -19,7 +19,7 @@ test.describe('Menu Links from first page (Layout)', () => {
await links.reduce(async (previousPromise, link) => {
await previousPromise;
const linkElement = await page.locator(
`div[role="button"]:has-text("${link.text}")`
`div[role="button"]:has-text("${link.text}")`,
);
await expect(linkElement).toBeVisible();
}, Promise.resolve());
Expand Down
2 changes: 1 addition & 1 deletion client/test/e2e/playwright/auth.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ setup('authenticate', async ({ page }) => {
// 'Authorize' button did not appear within 4 seconds, so just ignore and continue.
}
await expect(
page.getByRole('button', { name: 'Open settings' })
page.getByRole('button', { name: 'Open settings' }),
).toBeVisible();

const storage = await page.context().storageState();
Expand Down
4 changes: 2 additions & 2 deletions client/test/integration/authRedux.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const setupTest = (authState: AuthState) => {
<PrivateRoute>
<Library />
</PrivateRoute>,
{ route: '/private', store }
{ route: '/private', store },
);
};

Expand All @@ -75,7 +75,7 @@ describe('Redux and Authentication integration test', () => {

expect(screen.getByText('Signin')).toBeInTheDocument();
expect(authReducer(undefined, { type: 'unknown' })).toEqual(
initialState.auth
initialState.auth,
);
expect(store.getState().userName).toBe(undefined);
});
Expand Down
6 changes: 3 additions & 3 deletions client/test/unitTests/Components/Linkbuttons.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const getButtonIcon = (key: string) =>
const evaluateButtonSize = (expectedSize: number) => {
buttons.forEach((button) => {
expect(
getComputedStyle(getButtonIcon(button.key)).getPropertyValue('font-size')
getComputedStyle(getButtonIcon(button.key)).getPropertyValue('font-size'),
).toBe(`${expectedSize}rem`);
});
};
Expand All @@ -38,7 +38,7 @@ describe('LinkButtons component default size', () => {
buttons.forEach((button) => {
expect(getButton(button.key).parentElement).toHaveAttribute(
'aria-label',
button.link
button.link,
);
expect(getLabel(button.key).tagName).toBe('H6');
});
Expand Down Expand Up @@ -66,7 +66,7 @@ describe('LinkButtons component default size', () => {

it('should use name from iconLib as label when avaiable', () => {
expect(getLabel(buttons[0].key).textContent).toBe(
LinkIcons[buttons[0].key].name
LinkIcons[buttons[0].key].name,
);
});
});
Expand Down
2 changes: 1 addition & 1 deletion client/test/unitTests/Components/PrivateRoute.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const setupTest = (authState: AuthState) => {
<PrivateRoute>
<TestComponent />
</PrivateRoute>,
{ route: '/private' }
{ route: '/private' },
);
};

Expand Down
Loading