Skip to content

Commit 121fd37

Browse files
authored
Appease yarn complaints about missing a dependency on babel/core (#1742)
Without this it complains about `warning "@babel/preset-env > ... unmet peer dependency "@babel/core@^7.0.0".` for all babel related deps which is annoying. Ultimately there's no change in behavior, and I don't even understand why this is necessary as those dependency have a dependency on babel themselves but it doesn't hurt and it cleans up the output of running `yarn`
1 parent 1145441 commit 121fd37

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"comment": "@date-io/date-fns is pinned because of https://github.com/mui-org/material-ui-pickers/issues/1440",
3030
"dependencies": {
3131
"@auth0/auth0-react": "^2.3.0",
32+
"@babel/core": "^7.0.0",
3233
"@babel/plugin-syntax-dynamic-import": "7.8.3",
3334
"@babel/preset-env": "7.28.0",
3435
"@babel/preset-react": "7.27.1",

frontend/yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.28.0.tgz#9fc6fd58c2a6a15243cd13983224968392070790"
5555
integrity sha512-60X7qkglvrap8mn1lh2ebxXdZYtUcpd7gsmy9kLaBJ4i/WdY8PqTSdxyA8qraikqKQK5C1KRBKXqznrVapyNaw==
5656

57-
"@babel/core@^7.23.9", "@babel/core@^7.27.4":
57+
"@babel/core@^7.0.0", "@babel/core@^7.23.9", "@babel/core@^7.27.4":
5858
version "7.28.0"
5959
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.28.0.tgz#55dad808d5bf3445a108eefc88ea3fdf034749a4"
6060
integrity sha512-UlLAnTPrFdNGoFtbSXwcGFQBtQZJCNjaN6hQNP3UPvuNXT1i82N26KL3dZeIpNalWywr9IuQuncaAfUaS1g6sQ==

0 commit comments

Comments
 (0)