Skip to content

Commit

Permalink
Issue163 (#164)
Browse files Browse the repository at this point in the history
* Update packages

* Update packages

* Add new rules

* Add warning color

* Add new rules to frontend
  • Loading branch information
discombobulateme authored May 4, 2022
1 parent d5f9744 commit f59f642
Show file tree
Hide file tree
Showing 7 changed files with 11,576 additions and 28,746 deletions.
31,079 changes: 9,416 additions & 21,663 deletions frontend/package-lock.json

Large diffs are not rendered by default.

33 changes: 17 additions & 16 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,31 @@
"deploy": "sh deploy.sh"
},
"dependencies": {
"core-js": "^3.8.2",
"core-js": "3.22.4",
"npm-check-updates": "12.5.11",
"register-service-worker": "^1.7.2",
"vue": "^2.6.12",
"vue": "2.6.14",
"vue-router": "3.5.1",
"vuex": "^3.6.0"
"vuex": "3.6.2"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.10",
"@vue/cli-plugin-eslint": "~4.5.10",
"@vue/cli-plugin-pwa": "~4.5.10",
"@vue/cli-plugin-router": "~4.5.10",
"@vue/cli-plugin-vuex": "~4.5.10",
"@vue/cli-service": "~4.5.10",
"@vue/cli-plugin-babel": "4.5.17",
"@vue/cli-plugin-eslint": "4.5.17",
"@vue/cli-plugin-pwa": "4.5.17",
"@vue/cli-plugin-router": "4.5.17",
"@vue/cli-plugin-vuex": "4.5.17",
"@vue/cli-service": "4.5.17",
"axe-core": "4.2.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.17.0",
"eslint-plugin-vue": "^7.4.1",
"lint-staged": "^10.5.3",
"pug": "^3.0.0",
"eslint": "7.32.0",
"eslint-plugin-vue": "7.20.0",
"lint-staged": "10.5.4",
"pug": "3.0.2",
"pug-plain-loader": "^1.1.0",
"sass": "^1.32.2",
"sass-loader": "^10.1.0",
"sass": "1.51.0",
"sass-loader": "10.2.1",
"vue-axe": "2.4.4",
"vue-template-compiler": "^2.6.12"
"vue-template-compiler": "2.6.14"
},
"gitHooks": {
"pre-commit": "lint-staged"
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ a:hover{
}
.medium {
background-color: var(--primary-color);
background-color: var(--warning);
color: var(--square-background-color);
}
Expand All @@ -103,6 +103,7 @@ a:hover{
--passed-color-accent: #8CFF4D;
--failed-color: #e12726;
--primary-color: #6ED6FF;
--warning: #e8900e;
--grey-accent: lightgrey;
--shadow: rgb(34, 33, 33);
}
Expand Down
11 changes: 7 additions & 4 deletions frontend/src/components/Details.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@
</td>
<td>
<span v-for="item in item.failed" :key="item">
<span v-if="item.includes('Do not have binaries')" class="badge high"> Binaries </span>
<span v-if="item.includes('License')" class="badge high"> License </span>
<span v-if="item.includes('README.md')" class="badge hight"> Readme </span>
<span v-if="item.includes('Changelog')" class="badge medium"> Changelog </span>
<span v-if="item.includes('Contributing')" class="badge medium"> Contributing </span>
<span v-if="item.includes('Maintainers email')" class="badge medium"> Ownership </span>
<span v-if="item.includes('License')" class="badge high"> License </span>
<span v-if="item.includes('License on headers')" class="badge low"> LicenseOnHeaders</span>
<span v-if="item.includes('License on readme')" class="badge low"> LicenseOnReadme</span>
<span v-if="item.includes('Do not have binaries')" class="badge high"> Binaries </span>
<span v-if="item.includes('Test directory')" class="badge medium"> TestDir </span>
<span v-if="item.includes('Contributing')" class="badge medium"> Contributing </span>
<span v-if="item.includes('Code of Conduct')" class="badge low"> CodeOfConduct </span>
<span v-if="item.includes('Mention')" class="badge low"> LicenseOnReadme </span>
<span v-if="item.includes('Security')" class="badge low"> Security </span>
<span v-if="item.includes('Support')" class="badge low"> Support </span>
<span v-if="item.includes('Issue template')" class="badge low"> IssueTemplate </span>
<span v-if="item.includes('Pull request template')" class="badge low"> PullRequestTemplate </span>
</span>
</td>
</template>
Expand Down
Loading

0 comments on commit f59f642

Please sign in to comment.