Upgrade to 0.20 needed changes

update packages update schema.prisma etc
This commit is contained in:
Kurt Hutten
2020-11-19 19:16:38 +11:00
parent c11a2a5a65
commit 26e291a27b
6 changed files with 1199 additions and 962 deletions

View File

@@ -3,6 +3,6 @@
"version": "0.0.0",
"private": true,
"dependencies": {
"@redwoodjs/api": "^0.19.2"
"@redwoodjs/api": "^0.20.0"
}
}

View File

@@ -5,7 +5,7 @@ datasource DS {
generator client {
provider = "prisma-client-js"
binaryTargets = "native"
binaryTargets = ["native", "rhel-openssl-1.0.x"]
}
// sqlLight does not suport enums so we can't use enums until we set up postgresql in dev mode

7
graphql.config.js Normal file
View File

@@ -0,0 +1,7 @@
const { getConfig } = require('@redwoodjs/internal')
const config = getConfig()
module.exports = {
schema: `http://${config.api.host}:${config.api.port}/graphql`,
}

View File

@@ -13,7 +13,7 @@
"move-statics": "yarn move-ts-defs && yarn move-cad-worker"
},
"devDependencies": {
"@redwoodjs/core": "^0.19.2"
"@redwoodjs/core": "^0.20.0"
},
"eslintConfig": {
"extends": "@redwoodjs/eslint-config"

View File

@@ -14,10 +14,10 @@
},
"dependencies": {
"@material-ui/core": "^4.11.0",
"@redwoodjs/auth": "^0.19.3",
"@redwoodjs/forms": "^0.19.2",
"@redwoodjs/router": "^0.19.2",
"@redwoodjs/web": "^0.19.2",
"@redwoodjs/auth": "^0.20.0",
"@redwoodjs/forms": "^0.20.0",
"@redwoodjs/router": "^0.20.0",
"@redwoodjs/web": "^0.20.0",
"cloudinary-react": "^1.6.7",
"controlkit": "^0.1.9",
"get-active-classes": "^0.0.11",

2140
yarn.lock

File diff suppressed because it is too large Load Diff