Skip to content

Commit

Permalink
chore(docs): fix schema users migration re layout
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Jun 22, 2020
1 parent 689b20a commit 496cbb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/getting-started/migrate-from-nexus-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ If you were previously a user of `nexus-prisma`, it still exists! It currently r

#### Dependencies

1. Remove `nexus@0.12` and add `nexus@0.20` (or higher) in its place.
1. Remove `nexus@0.12` and add the latest `nexus` in its place (will be something greater than `0.20`).
1. Remove dependency `graphql` as `nexus` bundles it.

```diff
+++ package.json
"dependencies": {
- "graphql": "...",
- "nexus": "0.12.0",
+ "nexus": "next"
+ "nexus": "^0.24"
}
```

#### Project Layout

Not much to do but your source must include a `graphql` module or directory, and/or `app` entrypoint. More details in the [convention guide](/guides/project-layout#conventions). Nexus will give informative feedback if you get this wrong.
Not much to do but your source must include a module that imports `nexus` and/or a module named `app`. More details in the [convention guide](/guides/project-layout#conventions-1). Nexus will give informative feedback if you get this wrong.

#### Type Defs (aka. schema)

Expand Down
6 changes: 3 additions & 3 deletions website/content/01-migration-guides/02-nexus-schema-users.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@ If you were previously a user of `nexus-prisma`, it still exists! It currently r

### Dependencies

1. Remove `nexus@0.12` and add `nexus@0.20` (or higher) in its place.
1. Remove `nexus@0.12` and add the latest `nexus` in its place (will be something greater than `0.20`).
1. Remove dependency `graphql` as `nexus` bundles it.

```diff
+++ package.json
"dependencies": {
- "graphql": "...",
- "nexus": "0.12.0",
+ "nexus": "next"
+ "nexus": "^0.24"
}
```

### Project Layout

Not much to do but your source must include a `graphql` module or directory, and/or `app` entrypoint. More details in the [convention guide](/guides/project-layout#conventions). Nexus will give informative feedback if you get this wrong.
Not much to do but your source must include a module that imports `nexus` and/or a module named `app`. More details in the [convention guide](/guides/project-layout#conventions-1). Nexus will give informative feedback if you get this wrong.

### Type Defs (aka. schema)

Expand Down

0 comments on commit 496cbb6

Please sign in to comment.