Skip to content

Commit 8e4f42f

Browse files
authored
Big dependency update (#1095)
* update root deps * backend patch, minor, non-semver * backend major * frontend patch * frontend minor, non-semver * frontend major/next images/fonts * fix type errors and some images * remove unused frontend deps; update mui stuff; debug slow forms * store non-working frontend build for debugging * fixed build; common page for all installation instructions; mui codemods * upgrade apollo server; update snapshots * static to public * update TS, override graphql again in frontend * installation images to webp * fix themes; add breakpoints etc. * fix mdx links * fix small stuff found in code review * fix production build * fix mdx pages; small changes here and there
1 parent 7bc23b2 commit 8e4f42f

File tree

577 files changed

+26615
-38615
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

577 files changed

+26615
-38615
lines changed

.circleci/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,16 @@ jobs:
4343
steps:
4444
- checkout
4545
- setup_remote_docker
46+
- restore_cache:
47+
key: dependency-cache-{{ checksum "frontend/package-lock.json" }}
4648
- run:
4749
name: "Build frontend image"
4850
command: "bin/build-docker-frontend.sh"
51+
- save-cache:
52+
key: dependency-cache-{{ checksum "frontend/package-lock.json" }}
53+
paths:
54+
- ./frontend/node_modules
55+
- ./frontend/.next/cache
4956
- run:
5057
name: "Push image if on master/staging"
5158
command: "bin/push-docker-frontend-image.sh"

.eslintrc.js

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@ const esLintConfig = {
66
"@typescript-eslint",
77
"eslint-custom-rules",
88
"react-hooks",
9-
"jsx-a11y",
9+
// "jsx-a11y",
10+
"styled-components-a11y",
1011
],
1112
parserOptions: {
1213
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
1314
sourceType: "module", // Allows for the use of imports
1415
ecmaFeatures: {
1516
jsx: true, // Allows for the parsing of JSX
1617
},
17-
project: "./tsconfig.json",
18+
parser: "@typescript-eslint/parser",
19+
project: ["./tsconfig.json"],
20+
tsconfigRootDir: __dirname,
1821
},
1922
ignorePatterns: ["node_modules/", "generated/", "dist/", "sourcemap/"],
2023
rules: {
@@ -42,6 +45,13 @@ const esLintConfig = {
4245
message: "Don't use Grid from @mui/material",
4346
},
4447
],
48+
patterns: [
49+
{
50+
group: ["@mui/*/*/*"],
51+
message:
52+
"Don't use deep @mui imports - prevents module duplication",
53+
},
54+
],
4555
},
4656
],
4757
"eslint-custom-rules/no-emotion-styled-import": "error",
@@ -67,11 +77,12 @@ const esLintConfig = {
6777
complexity: "warn",
6878
},
6979
extends: [
80+
// "plugin:jsx-a11y/recommended",
81+
"plugin:@next/next/recommended",
82+
"plugin:styled-components-a11y/recommended",
7083
"plugin:@typescript-eslint/recommended",
7184
// "plugin:@typescript-eslint/recommended-requiring-type-checking", // these are a bit too strict for now
72-
"plugin:jsx-a11y/recommended",
7385
"prettier",
74-
"plugin:@next/next/recommended",
7586
"plugin:@next/next/core-web-vitals",
7687
],
7788
settings: {

.vscode/launch.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Next.js: debug server-side",
6+
"type": "node-terminal",
7+
"request": "launch",
8+
"command": "npx next dev",
9+
"cwd": "frontend"
10+
},
11+
{
12+
"name": "Next.js: debug client-side",
13+
"type": "chrome",
14+
"request": "launch",
15+
"url": "http://localhost:3000",
16+
"cwd": "frontend"
17+
},
18+
{
19+
"name": "Next.js: debug full stack",
20+
"type": "node-terminal",
21+
"request": "launch",
22+
"command": "NODE_OPTIONS='inspect' npx next dev",
23+
"cwd": "frontend",
24+
"console": "integratedTerminal",
25+
"serverReadyAction": {
26+
"pattern": "started server on .+, url: (https?://.+)",
27+
"uriFormat": "%s",
28+
"action": "debugWithChrome"
29+
}
30+
}
31+
]
32+
}

backend/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ env.json
99
coverage/
1010
sourcemap/
1111
config/*.pem
12+
.idea
1213
.env.*

0 commit comments

Comments
 (0)