Skip to content

Commit

Permalink
docs(prisma): add required version field in example (#4676)
Browse files Browse the repository at this point in the history
### Description

When we follow instructions of this page
https://turbo.build/repo/docs/handbook/tools/prisma, we got the
following error :
```
yarn install
yarn install v1.22.19
warning package.json: No license field
warning Missing version in workspace at "/xxxxx/packages/database", ignoring.
[1/4] 🔍  Resolving packages...
success Already up-to-date.
✨  Done in 0.12s.       
```

I just have added the required `version` field to have reproductible
steps when we add a Prisma package on our monorepository.

### Testing Instructions

No test required
  • Loading branch information
skauffmann committed Apr 27, 2023
1 parent c776c4c commit df1c626
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/pages/repo/docs/handbook/tools/prisma.mdx
Expand Up @@ -27,6 +27,7 @@ Create a new folder called `database` inside packages with a `package.json` insi
```json filename="packages/database/package.json"
{
"name": "database",
"version": "0.0.0",
"dependencies": {
"@prisma/client": "latest"
},
Expand Down

1 comment on commit df1c626

@vercel
Copy link

@vercel vercel bot commented on df1c626 Apr 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.