Skip to content

Commit da853d8

Browse files
authored
updated node version and other packages (#1341)
* updated node version and other packages * Update Dockerfile * regenerated min css * min css * wip * removed console logs * updated uglidy-js; minify argohub-redirect separately * wip * wip * updated .nvmrc, added prettier rules, updated package.lock * updated .nvmrc, added prettier rules, updated package.lock * fixed gitops layout * formated argohub-redirect * removed commnets
1 parent 4912635 commit da853d8

24 files changed

+13621
-17803
lines changed

.babelrc.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

.eslintrc.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
{
22
"root": true,
3-
"parser": "babel-eslint",
43
"env": {
54
"browser": true,
65
"es6": true
76
},
7+
"parser": "@babel/eslint-parser",
8+
"parserOptions": {
9+
"requireConfigFile": false,
10+
"ecmaVersion": 2022
11+
},
812
"extends": "eslint:recommended",
9-
"plugins": ["compat"],
1013
"rules": {
1114
// Possible Errors
1215
"no-await-in-loop": "error",
1316
"no-extra-parens": "error",
1417
"no-prototype-builtins": "error",
1518
"no-template-curly-in-string": "error",
16-
"compat/compat": "error",
1719
"valid-jsdoc": "error",
1820

1921
// Best Practices

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

.prettierrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"arrowParens": "avoid",
3+
"bracketSpacing": true,
4+
"endOfLine": "lf",
5+
"printWidth": 120,
6+
"quoteProps": "as-needed",
7+
"proseWrap": "preserve",
8+
"semi": false,
9+
"singleQuote": true,
10+
"tabWidth": 2,
11+
"trailingComma": "es5",
12+
"useTabs": false
13+
}

.stylelintrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"extends": ["stylelint-config-standard", "stylelint-config-recommended-scss"],
3-
"plugins": [
4-
"stylelint-order"
5-
],
2+
"extends": ["stylelint-config-standard-scss"],
3+
"plugins": ["stylelint-scss", "stylelint-order"],
64
"rules": {
75
"at-rule-empty-line-before": [null,
86
"except": ["first-nested"]
97
],
108
"at-rule-name-space-after": "always",
119
"at-rule-no-vendor-prefix": true,
10+
"at-rule-no-unknown": null,
11+
"scss/at-rule-no-unknown": true,
1212
"at-rule-semicolon-space-before": "never",
1313
"block-closing-brace-empty-line-before": null,
1414
"block-closing-brace-newline-after": null,

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ The site is automatically deployed when commits are merged/pushed in `master`, h
1616

1717
To compile scss files into css run the command `npm run css` or in the live mode `npm run watch-css`.
1818
To compile js files into a bundle run the command `npm run js` or in the live mode `npm run watch-js`.
19-
Node version `9.11.2`
2019

2120
### Preview documentation locally (Legacy method)
2221

_includes/scripts.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
const SITE_GITOPS_COLLECTION = "{{ site.gitops_collection }}";
44
const SITE_IS_GITOPS_COLLECTION = "{{ page.collection }}" === "{{ site.gitops_collection }}";
55
</script>
6-
<script src="{{ site.baseurl }}/assets/js/src/argohub-redirect.js"></script>
6+
<script src="{{ site.baseurl }}/assets/js/argohub-redirect/argohub-redirect.min.js"></script>
7+
78

89
<script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script>
910
<script>window.jQuery || document.write('<script src="{{ site.baseurl }}/assets/js/vendor/jquery.min.js"><\/script>')</script>

assets/css/docs.min.css

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/docs.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)