forked from INTO-CPS-Association/DTaaS
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added refactored format-check script to run in pre-commit
removed typo added repo to test pre-commit test pre-commit with typo undo typo and uncomment mdlint test pre-commit with typo remove type test pre-commit uncomment format-check test dummy format test dummy commit dummies to git for test git diff test pre-commit eslint pre-commit config to replace custom pre-commit added directory lib to hooks test pre-commit yarn install yarn install logic to pre-commit prettified pre-commit-config added pre-push hooks test dummy pre-push test pre-push yarn jest test pre-push yarn jest test again test pre-push again test again TEST CORRECTLY test manual push another manual test test all pre-commit hooks added default hooks added pre-push test for lib test git hooks dir test git hooks dir test dir with dummie undo hook dir back to before test git hooks test git hooks test git hooks test git hooks test git hooks test git hooks test git hooks test git hooks test git hooks test git hooks test git hooks test git hooks reset after test test git hooks test git hooks test git hooks reset after test test git hooks reset after test test git hooks test git hooks reset after test test git hooks reset after test reset after test reset after test reset after test reset after test test script for git hooks done githook test and log for documentation reset after test reset after test reset after test reset after test reset after test reset after test reset after test reset after test test git hooks reset after test test git hooks reset after test test git hooks reset after test improved test went back to original test test git hooks final test script reset after test test git hooks reset after test reset after test reset after test reset after test reset after test test and log done added new githook script and updated guide comment out lib test hook stage markdownlint changes log githook run accept prettified changes updated run log removed logs and test from repo updated configure-git-hooks script and docs updated hook to use markdownlint/markdownlint removed unnecessary readme added prettier config to client undo change non trailling commas for client and lib undo trailing commas to test code cov Revert "undo trailing commas to test code cov" This reverts commit e5bf319. undo trailling commas to test codecov undo trailling commas in lib undo single quote prettier test undo semiconlons test remove trailling commas lib set traillingcomma all undo prettierrc accept prettier lib improves codecov accept prettier client improves codecov Swap ml-workspace container and improve docs (INTO-CPS-Association#300) - Replaces ml-workspace container with ml-workspace-minimal container. This change potentially improves the speed of user workspace. - Adds guide book to help with non-standard installation scenarios. - Adds MongoDB installation to services.js --------- Co-authored-by: nichlaes <[email protected]> Corrects docker commands and updates docs (INTO-CPS-Association#304) - Corrects docker run commands to always restart the containers - Updates diagrams in docs to include MongoDB - Adds yarn clean command to package.json of services. uncomment prettier replace deprecated code_blocks uncomment markdownlint fixed table mdl error ignore url line length mdl redo mdl hook ignore table line length and use .markdownlint.yaml instead replaced by pre-commit framework adhere to code climate linelength Adds scope to library tabs (INTO-CPS-Association#235 and INTO-CPS-Association#321) - Shows the right directory for each tab in Library page - Adds second level tabs to Library page. These tabs separate private and common assets --------- Co-authored-by: caesarv16 <[email protected]> Co-authored-by: s88004 <[email protected]> markdownlint disable codeblock test test deprecated code_blocks in codeclimate shortened comment to adhere to line_length
- Loading branch information
Showing
74 changed files
with
1,574 additions
and
376 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -158,4 +158,7 @@ src.svg | |
test.svg | ||
|
||
# config files | ||
runner.yml | ||
runner.yml | ||
|
||
# Jupter Lab | ||
.workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Default state for all rules | ||
default: true | ||
|
||
# MD013/line-length - Line length | ||
MD013: | ||
line_length: 80 | ||
tables: false | ||
MD033: false | ||
MD013: | ||
code_blocks: false | ||
tables: true | ||
MD046: | ||
style: "fenced" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,68 @@ | ||
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.32.2 | ||
rev: v0.37.0 | ||
hooks: | ||
- id: markdownlint | ||
args: ["--fix"] | ||
files: '^(client|servers/execution/runner|servers/lib)/.*\.md$' | ||
stages: [pre-commit] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.