mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-24 09:34:28 +03:00
Update migration doc for 0.15 and migrate apps (#2338)
This commit is contained in:
parent
8cdb5755fe
commit
1e1545f88c
2489
examples/hackathon-submissions/package-lock.json
generated
2489
examples/hackathon-submissions/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "hackathonSubmissions",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"react-feather": "2.0.10",
|
||||
"wasp": "file:.wasp/out/sdk/wasp",
|
||||
|
3588
examples/streaming/package-lock.json
generated
3588
examples/streaming/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "streaming",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"wasp": "file:.wasp/out/sdk/wasp",
|
||||
"react": "^18.2.0"
|
||||
|
860
examples/thoughts/package-lock.json
generated
860
examples/thoughts/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
4574
examples/todo-typescript/package-lock.json
generated
4574
examples/todo-typescript/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "todoTypescript",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"wasp": "file:.wasp/out/sdk/wasp",
|
||||
"react": "^18.2.0"
|
||||
|
1494
examples/tutorials/TodoApp/package-lock.json
generated
1494
examples/tutorials/TodoApp/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "TodoApp",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"wasp": "file:.wasp/out/sdk/wasp",
|
||||
"react": "^18.2.0"
|
||||
|
1440
examples/tutorials/TodoAppTs/package-lock.json
generated
1440
examples/tutorials/TodoAppTs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "TodoAppTs",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"wasp": "file:.wasp/out/sdk/wasp",
|
||||
"react": "^18.2.0"
|
||||
|
3734
examples/waspello/package-lock.json
generated
3734
examples/waspello/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "waspello",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"react-feather": "2.0.10",
|
||||
"classnames": "2.3.1",
|
||||
|
2162
examples/waspleau/package-lock.json
generated
2162
examples/waspleau/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "waspleau",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"axios": "^1.4.0",
|
||||
"wasp": "file:.wasp/out/sdk/wasp",
|
||||
|
9470
examples/websockets-realtime-voting/package-lock.json
generated
9470
examples/websockets-realtime-voting/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "websocketsRealtimeVoting",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"flowbite": "1.6.6",
|
||||
"flowbite-react": "0.4.9",
|
||||
|
6238
waspc/examples/todoApp/package-lock.json
generated
6238
waspc/examples/todoApp/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "todoApp",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"env:pull": "npx dotenv-vault@latest pull development .env.server",
|
||||
"env:push": "npx dotenv-vault@latest push development .env.server"
|
||||
|
@ -41,14 +41,19 @@ app MyApp {
|
||||
|
||||
### 2. Update the `package.json` file
|
||||
|
||||
1. Update the `prisma` version in your `package.json` file to `5.19.1`:
|
||||
1. Update the `prisma` version in your `package.json` file to `5.19.1`, and add `"type": "module"` to the top level:
|
||||
|
||||
```json title="package.json"
|
||||
{
|
||||
...
|
||||
// highlight-next-line
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
....
|
||||
// highlight-next-line
|
||||
"prisma": "5.19.1"
|
||||
}
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user