Skip to content

Commit a7b29d3

Browse files
authored
Added packages directly to dashboard-fe, force Next to use WP4 (#285)
1 parent 2471df5 commit a7b29d3

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

dashboard-fe/next.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ const path = require("path");
33
let merge = require("webpack-merge");
44

55
module.exports = {
6+
future: {
7+
webpack5: true,
8+
},
69
webpack: (config, { buildId, dev, isServer, defaultLoaders }) => {
710
if (isServer) {
811
config.plugins.push(

dashboard-fe/package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"@auth0/auth0-react": "^1.0.0",
4040
"@auth0/nextjs-auth0": "^0.16.0",
4141
"@emotion/core": "^10.0.27",
42+
"@emotion/react": "^11.1.5",
4243
"@emotion/styled": "^10.0.27",
4344
"@hapi/joi": "^17.1.1",
4445
"@material-ui/core": "^4.9.13",
@@ -47,11 +48,10 @@
4748
"@nivo/chord": "^0.67.0",
4849
"@nivo/core": "^0.67.0",
4950
"@projectstorm/react-canvas-core": "^6.2.0",
51+
"@projectstorm/react-diagrams-core": "^6.5.2",
5052
"@projectstorm/react-diagrams": "^6.2.0",
5153
"apollo-boost": "^0.4.9",
5254
"apollo-server-micro": "^2.19.0",
53-
"graphql": "^15.5.0",
54-
"graphql-tag": "^2.11.0",
5555
"arraystat": "^1.1.4",
5656
"bluebird": "^3.7.2",
5757
"canvasjs-react-charts": "^1.0.5",
@@ -65,20 +65,22 @@
6565
"dagre": "^0.8.5",
6666
"deepmerge": "^4.2.2",
6767
"dotenv": "^8.2.0",
68-
"express": "^4.17.1",
6968
"express-ipfilter": "^1.1.2",
69+
"express": "^4.17.1",
7070
"glob": "^7.1.6",
71+
"graphql-tag": "^2.11.0",
72+
"graphql": "^15.5.0",
7173
"isomorphic-unfetch": "^3.0.0",
7274
"lighthouse": "^6.2.0",
7375
"lodash": "^4.17.20",
7476
"ml-matrix": "^6.5.0",
75-
"mobx": "^5.15.4",
7677
"mobx-react": "^6.2.2",
78+
"mobx": "^5.15.4",
7779
"moment": "^2.27.0",
7880
"mongodb": "^3.6.2",
7981
"native-url": "^0.3.4",
8082
"nedb": "^1.8.0",
81-
"next": "10.0.2",
83+
"next": "^10.1.3",
8284
"node-fetch": "^2.6.0",
8385
"node-ip": "^0.1.2",
8486
"pathfinding": "^0.4.18",
@@ -87,12 +89,12 @@
8789
"query-string": "^6.13.1",
8890
"rand-token": "^1.0.1",
8991
"randomcolor": "^0.6.2",
90-
"react": "16.14.0",
9192
"react-d3-graph": "^2.4.1",
9293
"react-dom": "16.14.0",
9394
"react-force-graph-2d": "^1.16.0",
9495
"react-hook-form": "^6.0.3",
9596
"react-lazy-hydration": "^0.0.12",
97+
"react": "16.14.0",
9698
"read-json-stream": "^1.1.0",
9799
"recoil": "^0.1.0",
98100
"request-ip": "^2.1.3",

0 commit comments

Comments
 (0)