mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-23 17:13:40 +03:00
Update Prisma to latest version (#806)
This commit is contained in:
parent
c71c810585
commit
8b4d21ec4c
@ -83,8 +83,8 @@ entity User {=psl
|
||||
articles Article[]
|
||||
comments Comment[]
|
||||
favoriteArticles Article[] @relation("FavoritedArticles")
|
||||
followedBy User[] @relation("FollowedUser", references: [id])
|
||||
following User[] @relation("FollowedUser", references: [id])
|
||||
followedBy User[] @relation("FollowedUser")
|
||||
following User[] @relation("FollowedUser")
|
||||
psl=}
|
||||
|
||||
entity Article {=psl
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
### BREAKING CHANGES
|
||||
- Updates Create React App from version 4.0.3 to 5.0.1. This brings many improvements as well as downstream library updates. It also has a list of possible breaking changes: https://github.com/facebook/create-react-app/blob/main/CHANGELOG.md
|
||||
- Updates Prisma from version 3.15.2 to 4.5.0. Please check out their upgrade guide: https://www.prisma.io/docs/guides/upgrade-guides/upgrading-versions/upgrading-to-prisma-4 and release notes: https://github.com/prisma/prisma/releases for any possible breaking changes.
|
||||
- Removes default `index.css` file that provided basic `body` defaults. Now, there is no default CSS applied.
|
||||
- Updates required Node LTS version from version 16 to version 18. This Node ecosystem change happened on 2022-10-25: https://github.com/nodejs/Release
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
||||
"file",
|
||||
"server/package.json"
|
||||
],
|
||||
"edcd41ddb451bb3cdb42354faf6ca409f7ddaa05b019ef4f9a8b1fe92ee02e20"
|
||||
"15dfb8bf4e0dd58b9964cbcab2f02b0c977a802c88c4140861755f969d5697f9"
|
||||
],
|
||||
[
|
||||
[
|
||||
|
@ -1 +1 @@
|
||||
{"npmDepsForServer":{"dependencies":[{"name":"cookie-parser","version":"~1.4.6"},{"name":"cors","version":"^2.8.5"},{"name":"express","version":"~4.18.1"},{"name":"morgan","version":"~1.10.0"},{"name":"@prisma/client","version":"3.15.2"},{"name":"jsonwebtoken","version":"^8.5.1"},{"name":"secure-password","version":"^4.0.0"},{"name":"dotenv","version":"16.0.2"},{"name":"helmet","version":"^6.0.0"},{"name":"patch-package","version":"^6.4.7"},{"name":"uuid","version":"^9.0.0"},{"name":"lodash","version":"^4.17.21"}],"devDependencies":[{"name":"nodemon","version":"^2.0.19"},{"name":"standard","version":"^17.0.0"},{"name":"prisma","version":"3.15.2"}]},"npmDepsForWebApp":{"dependencies":[{"name":"axios","version":"^0.27.2"},{"name":"react","version":"^17.0.2"},{"name":"react-dom","version":"^17.0.2"},{"name":"@tanstack/react-query","version":"^4.13.0"},{"name":"react-router-dom","version":"^5.3.3"},{"name":"react-scripts","version":"5.0.1"}],"devDependencies":[]}}
|
||||
{"npmDepsForServer":{"dependencies":[{"name":"cookie-parser","version":"~1.4.6"},{"name":"cors","version":"^2.8.5"},{"name":"express","version":"~4.18.1"},{"name":"morgan","version":"~1.10.0"},{"name":"@prisma/client","version":"4.5.0"},{"name":"jsonwebtoken","version":"^8.5.1"},{"name":"secure-password","version":"^4.0.0"},{"name":"dotenv","version":"16.0.2"},{"name":"helmet","version":"^6.0.0"},{"name":"patch-package","version":"^6.4.7"},{"name":"uuid","version":"^9.0.0"},{"name":"lodash","version":"^4.17.21"}],"devDependencies":[{"name":"nodemon","version":"^2.0.19"},{"name":"standard","version":"^17.0.0"},{"name":"prisma","version":"4.5.0"}]},"npmDepsForWebApp":{"dependencies":[{"name":"axios","version":"^0.27.2"},{"name":"react","version":"^17.0.2"},{"name":"react-dom","version":"^17.0.2"},{"name":"@tanstack/react-query","version":"^4.13.0"},{"name":"react-router-dom","version":"^5.3.3"},{"name":"react-scripts","version":"5.0.1"}],"devDependencies":[]}}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"@prisma/client": "3.15.2",
|
||||
"@prisma/client": "4.5.0",
|
||||
"cookie-parser": "~1.4.6",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "16.0.2",
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^2.0.19",
|
||||
"prisma": "3.15.2",
|
||||
"prisma": "4.5.0",
|
||||
"standard": "^17.0.0"
|
||||
},
|
||||
"engineStrict": true,
|
||||
|
@ -46,7 +46,7 @@
|
||||
"file",
|
||||
"server/package.json"
|
||||
],
|
||||
"edcd41ddb451bb3cdb42354faf6ca409f7ddaa05b019ef4f9a8b1fe92ee02e20"
|
||||
"15dfb8bf4e0dd58b9964cbcab2f02b0c977a802c88c4140861755f969d5697f9"
|
||||
],
|
||||
[
|
||||
[
|
||||
|
@ -1 +1 @@
|
||||
{"npmDepsForServer":{"dependencies":[{"name":"cookie-parser","version":"~1.4.6"},{"name":"cors","version":"^2.8.5"},{"name":"express","version":"~4.18.1"},{"name":"morgan","version":"~1.10.0"},{"name":"@prisma/client","version":"3.15.2"},{"name":"jsonwebtoken","version":"^8.5.1"},{"name":"secure-password","version":"^4.0.0"},{"name":"dotenv","version":"16.0.2"},{"name":"helmet","version":"^6.0.0"},{"name":"patch-package","version":"^6.4.7"},{"name":"uuid","version":"^9.0.0"},{"name":"lodash","version":"^4.17.21"}],"devDependencies":[{"name":"nodemon","version":"^2.0.19"},{"name":"standard","version":"^17.0.0"},{"name":"prisma","version":"3.15.2"}]},"npmDepsForWebApp":{"dependencies":[{"name":"axios","version":"^0.27.2"},{"name":"react","version":"^17.0.2"},{"name":"react-dom","version":"^17.0.2"},{"name":"@tanstack/react-query","version":"^4.13.0"},{"name":"react-router-dom","version":"^5.3.3"},{"name":"react-scripts","version":"5.0.1"}],"devDependencies":[]}}
|
||||
{"npmDepsForServer":{"dependencies":[{"name":"cookie-parser","version":"~1.4.6"},{"name":"cors","version":"^2.8.5"},{"name":"express","version":"~4.18.1"},{"name":"morgan","version":"~1.10.0"},{"name":"@prisma/client","version":"4.5.0"},{"name":"jsonwebtoken","version":"^8.5.1"},{"name":"secure-password","version":"^4.0.0"},{"name":"dotenv","version":"16.0.2"},{"name":"helmet","version":"^6.0.0"},{"name":"patch-package","version":"^6.4.7"},{"name":"uuid","version":"^9.0.0"},{"name":"lodash","version":"^4.17.21"}],"devDependencies":[{"name":"nodemon","version":"^2.0.19"},{"name":"standard","version":"^17.0.0"},{"name":"prisma","version":"4.5.0"}]},"npmDepsForWebApp":{"dependencies":[{"name":"axios","version":"^0.27.2"},{"name":"react","version":"^17.0.2"},{"name":"react-dom","version":"^17.0.2"},{"name":"@tanstack/react-query","version":"^4.13.0"},{"name":"react-router-dom","version":"^5.3.3"},{"name":"react-scripts","version":"5.0.1"}],"devDependencies":[]}}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"@prisma/client": "3.15.2",
|
||||
"@prisma/client": "4.5.0",
|
||||
"cookie-parser": "~1.4.6",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "16.0.2",
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^2.0.19",
|
||||
"prisma": "3.15.2",
|
||||
"prisma": "4.5.0",
|
||||
"standard": "^17.0.0"
|
||||
},
|
||||
"engineStrict": true,
|
||||
|
@ -46,7 +46,7 @@
|
||||
"file",
|
||||
"server/package.json"
|
||||
],
|
||||
"65dc5155d280b1ecc723e1755188b8f00068a6a3c5d74b970c2ff5fb34917b0c"
|
||||
"8ec67fe68b2e2d1e469a5a6e405db1f67ea2bd201e18bb7a7b088c267781ccb1"
|
||||
],
|
||||
[
|
||||
[
|
||||
|
@ -1 +1 @@
|
||||
{"npmDepsForServer":{"dependencies":[{"name":"cookie-parser","version":"~1.4.6"},{"name":"cors","version":"^2.8.5"},{"name":"express","version":"~4.18.1"},{"name":"morgan","version":"~1.10.0"},{"name":"@prisma/client","version":"3.15.2"},{"name":"jsonwebtoken","version":"^8.5.1"},{"name":"secure-password","version":"^4.0.0"},{"name":"dotenv","version":"16.0.2"},{"name":"helmet","version":"^6.0.0"},{"name":"patch-package","version":"^6.4.7"},{"name":"uuid","version":"^9.0.0"},{"name":"lodash","version":"^4.17.21"},{"name":"pg-boss","version":"^8.0.0"}],"devDependencies":[{"name":"nodemon","version":"^2.0.19"},{"name":"standard","version":"^17.0.0"},{"name":"prisma","version":"3.15.2"}]},"npmDepsForWebApp":{"dependencies":[{"name":"axios","version":"^0.27.2"},{"name":"react","version":"^17.0.2"},{"name":"react-dom","version":"^17.0.2"},{"name":"@tanstack/react-query","version":"^4.13.0"},{"name":"react-router-dom","version":"^5.3.3"},{"name":"react-scripts","version":"5.0.1"}],"devDependencies":[]}}
|
||||
{"npmDepsForServer":{"dependencies":[{"name":"cookie-parser","version":"~1.4.6"},{"name":"cors","version":"^2.8.5"},{"name":"express","version":"~4.18.1"},{"name":"morgan","version":"~1.10.0"},{"name":"@prisma/client","version":"4.5.0"},{"name":"jsonwebtoken","version":"^8.5.1"},{"name":"secure-password","version":"^4.0.0"},{"name":"dotenv","version":"16.0.2"},{"name":"helmet","version":"^6.0.0"},{"name":"patch-package","version":"^6.4.7"},{"name":"uuid","version":"^9.0.0"},{"name":"lodash","version":"^4.17.21"},{"name":"pg-boss","version":"^8.0.0"}],"devDependencies":[{"name":"nodemon","version":"^2.0.19"},{"name":"standard","version":"^17.0.0"},{"name":"prisma","version":"4.5.0"}]},"npmDepsForWebApp":{"dependencies":[{"name":"axios","version":"^0.27.2"},{"name":"react","version":"^17.0.2"},{"name":"react-dom","version":"^17.0.2"},{"name":"@tanstack/react-query","version":"^4.13.0"},{"name":"react-router-dom","version":"^5.3.3"},{"name":"react-scripts","version":"5.0.1"}],"devDependencies":[]}}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"@prisma/client": "3.15.2",
|
||||
"@prisma/client": "4.5.0",
|
||||
"cookie-parser": "~1.4.6",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "16.0.2",
|
||||
@ -16,7 +16,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^2.0.19",
|
||||
"prisma": "3.15.2",
|
||||
"prisma": "4.5.0",
|
||||
"standard": "^17.0.0"
|
||||
},
|
||||
"engineStrict": true,
|
||||
|
@ -46,7 +46,7 @@
|
||||
"file",
|
||||
"server/package.json"
|
||||
],
|
||||
"e1ec96ff2c6e84aa8fd51b5d7230b8ee1b7a4e120949641e14652992040a5b10"
|
||||
"d8a937105f14d01810f5e90bc082ffa8647d9c24944eacedbe403125b19f4524"
|
||||
],
|
||||
[
|
||||
[
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"@prisma/client": "^3.15.2"
|
||||
"@prisma/client": "^4.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prisma": "^3.15.2"
|
||||
"prisma": "^4.5.0"
|
||||
}
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
{"npmDepsForServer":{"dependencies":[{"name":"cookie-parser","version":"~1.4.6"},{"name":"cors","version":"^2.8.5"},{"name":"express","version":"~4.18.1"},{"name":"morgan","version":"~1.10.0"},{"name":"@prisma/client","version":"3.15.2"},{"name":"jsonwebtoken","version":"^8.5.1"},{"name":"secure-password","version":"^4.0.0"},{"name":"dotenv","version":"16.0.2"},{"name":"helmet","version":"^6.0.0"},{"name":"patch-package","version":"^6.4.7"},{"name":"uuid","version":"^9.0.0"},{"name":"lodash","version":"^4.17.21"}],"devDependencies":[{"name":"nodemon","version":"^2.0.19"},{"name":"standard","version":"^17.0.0"},{"name":"prisma","version":"3.15.2"}]},"npmDepsForWebApp":{"dependencies":[{"name":"axios","version":"^0.27.2"},{"name":"react","version":"^17.0.2"},{"name":"react-dom","version":"^17.0.2"},{"name":"@tanstack/react-query","version":"^4.13.0"},{"name":"react-router-dom","version":"^5.3.3"},{"name":"react-scripts","version":"5.0.1"}],"devDependencies":[]}}
|
||||
{"npmDepsForServer":{"dependencies":[{"name":"cookie-parser","version":"~1.4.6"},{"name":"cors","version":"^2.8.5"},{"name":"express","version":"~4.18.1"},{"name":"morgan","version":"~1.10.0"},{"name":"@prisma/client","version":"4.5.0"},{"name":"jsonwebtoken","version":"^8.5.1"},{"name":"secure-password","version":"^4.0.0"},{"name":"dotenv","version":"16.0.2"},{"name":"helmet","version":"^6.0.0"},{"name":"patch-package","version":"^6.4.7"},{"name":"uuid","version":"^9.0.0"},{"name":"lodash","version":"^4.17.21"}],"devDependencies":[{"name":"nodemon","version":"^2.0.19"},{"name":"standard","version":"^17.0.0"},{"name":"prisma","version":"4.5.0"}]},"npmDepsForWebApp":{"dependencies":[{"name":"axios","version":"^0.27.2"},{"name":"react","version":"^17.0.2"},{"name":"react-dom","version":"^17.0.2"},{"name":"@tanstack/react-query","version":"^4.13.0"},{"name":"react-router-dom","version":"^5.3.3"},{"name":"react-scripts","version":"5.0.1"}],"devDependencies":[]}}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"@prisma/client": "3.15.2",
|
||||
"@prisma/client": "4.5.0",
|
||||
"cookie-parser": "~1.4.6",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "16.0.2",
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^2.0.19",
|
||||
"prisma": "3.15.2",
|
||||
"prisma": "4.5.0",
|
||||
"standard": "^17.0.0"
|
||||
},
|
||||
"engineStrict": true,
|
||||
|
@ -33,4 +33,4 @@ npmVersionRange = SV.Range [SV.backwardsCompatibleWith latestLTSVersion]
|
||||
latestLTSVersion = SV.Version 8 19 2 -- Goes with node 18 (but also higher versions too).
|
||||
|
||||
prismaVersion :: SV.Version
|
||||
prismaVersion = SV.Version 3 15 2
|
||||
prismaVersion = SV.Version 4 5 0
|
||||
|
Loading…
Reference in New Issue
Block a user