Updated dependencies.

The latest version of Next.js ships with webpack v3, which requires a
config workaround.
This commit is contained in:
Jayden Seric 2017-07-08 18:23:10 +10:00
parent 571f073b70
commit 832a13147c
3 changed files with 25 additions and 18 deletions

View File

@ -2,23 +2,23 @@
"name": "apollo-upload-examples-api",
"private": true,
"dependencies": {
"apollo-upload-server": "^2.0.1",
"babel-core": "^6.24.1",
"babel-loader": "^7.0.0",
"babel-preset-env": "^1.4.0",
"apollo-upload-server": "^2.0.3",
"babel-core": "^6.25.0",
"babel-loader": "^7.1.1",
"babel-preset-env": "^1.6.0",
"babel-preset-stage-0": "^6.24.1",
"graphql": "^0.9.3",
"graphql-server-koa": "^0.7.2",
"graphql-tag": "^2.0.0",
"graphql-tools": "^0.11.0",
"graphql": "^0.10.3",
"graphql-server-koa": "^1.0.0",
"graphql-tag": "^2.4.2",
"graphql-tools": "^1.1.0",
"kcors": "^2.2.1",
"koa": "^2.2.0",
"koa": "^2.3.0",
"koa-bodyparser": "^4.2.0",
"koa-compress": "^2.0.0",
"koa-router": "^7.1.1",
"koa-router": "^7.2.1",
"lowdb": "^0.16.2",
"source-map-support": "^0.4.14",
"webpack": "^2.4.1",
"source-map-support": "^0.4.15",
"webpack": "^2.6.1",
"zoo": "^0.1.9"
},
"devDependencies": {

7
app/next.config.js Normal file
View File

@ -0,0 +1,7 @@
module.exports = {
webpack: config => {
// See https://github.com/webpack/webpack/issues/5135
config.module.strictThisContextOnImports = true
return config
}
}

View File

@ -2,12 +2,12 @@
"name": "apollo-upload-examples-app",
"private": true,
"dependencies": {
"apollo-upload-client": "^4.0.1",
"babel-plugin-transform-inline-environment-variables": "^0.0.2",
"next": "^2.3.0-alpha1",
"react": "^15.5.4",
"react-apollo": "^1.1.0",
"react-dom": "^15.5.4",
"apollo-upload-client": "^5.0.0",
"babel-plugin-transform-inline-environment-variables": "^0.1.1",
"next": "^3.0.1-beta.10",
"react": "^15.6.1",
"react-apollo": "^1.4.3",
"react-dom": "^15.6.1",
"zoo": "^0.1.9"
},
"devDependencies": {