Skip to content

Commit 8a18a4d

Browse files
Major refresh of website dependency stack with React 17/MUI v4 compatibility preserved (#566)
* chore(website): update package dependencies and lockfile Agent-Logs-Url: https://github.com/openebs/website/sessions/a01f7e6a-f077-4800-aa06-9a29278fa9eb Co-authored-by: tiagolobocastro <1618946+tiagolobocastro@users.noreply.github.com> * chore(website): bump js-yaml to v4 for security Agent-Logs-Url: https://github.com/openebs/website/sessions/a01f7e6a-f077-4800-aa06-9a29278fa9eb Co-authored-by: tiagolobocastro <1618946+tiagolobocastro@users.noreply.github.com> * chore(website): switch material-ui lab to stable alpha line Agent-Logs-Url: https://github.com/openebs/website/sessions/a01f7e6a-f077-4800-aa06-9a29278fa9eb Co-authored-by: tiagolobocastro <1618946+tiagolobocastro@users.noreply.github.com> * chore(website): perform major dependency upgrades with compatibility fixes Agent-Logs-Url: https://github.com/openebs/website/sessions/d1c6e96b-078c-4666-98fd-f90ddcf5a55a Co-authored-by: tiagolobocastro <1618946+tiagolobocastro@users.noreply.github.com> * ci: upgrade Node.js from 16 to 20 in CI workflows Agent-Logs-Url: https://github.com/openebs/website/sessions/12f705cf-7fbb-4197-ab4e-441ac095143c Co-authored-by: tiagolobocastro <1618946+tiagolobocastro@users.noreply.github.com> * fix: add NODE_VERSION=20 to website netlify.toml to fix Netlify build Agent-Logs-Url: https://github.com/openebs/website/sessions/8e046f2a-7a88-4207-b2f6-de3835b94f7c Co-authored-by: tiagolobocastro <1618946+tiagolobocastro@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tiagolobocastro <1618946+tiagolobocastro@users.noreply.github.com>
1 parent 79de029 commit 8a18a4d

7 files changed

Lines changed: 29171 additions & 39446 deletions

File tree

.github/workflows/eslint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Use Node.js
1313
uses: actions/setup-node@v3
1414
with:
15-
node-version: "16"
15+
node-version: "20"
1616
- name: Check for lint errors
1717
working-directory: ./website
1818
run: |

.github/workflows/sanity-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
- name: Use Node.js
1313
uses: actions/setup-node@v3
1414
with:
15-
node-version: "16"
15+
node-version: "20"
1616
- name: DCO Check
1717
uses: tisonkun/actions-dco@v1.1

website/.eslintrc.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
],
7575
"no-use-before-define": "off",
7676
"@typescript-eslint/no-use-before-define": ["error"],
77-
"no-param-reassign": [2, {"props": false}]
77+
"no-param-reassign": [2, {"props": false}],
78+
"react/function-component-definition": 0,
79+
"react/no-unstable-nested-components": 0,
80+
"react/jsx-no-useless-fragment": 0,
81+
"no-unsafe-optional-chaining": 0
7882
}
79-
}
83+
}

website/netlify.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
publish = "build/"
44
command = "npm run build"
55

6+
[build.environment]
7+
NODE_VERSION = "20"
8+
69
#https://answers.netlify.com/t/forwarding-subdomain-to-a-path/2988
710

811
[[redirects]]

0 commit comments

Comments
 (0)