TGTGamer / SCAA

An open-source software for integrating streaming & gaming software, completely serverless with integration with discord, twitch, youtube, facebook and much more!
GNU General Public License v3.0
0 stars 0 forks source link

maint(deps-dev): bump @prisma/cli from 2.16.1 to 2.20.1 #192

Open dependabot[bot] opened 3 years ago

dependabot[bot] commented 3 years ago

Bumps @prisma/cli from 2.16.1 to 2.20.1.

Release notes

Sourced from @​prisma/cli's releases.

2.20.1

Today, we are issuing the 2.20.1 patch release.

Fix

  • [Prisma CLI: npm install -g prisma fails with You seem to have a global installation of Prisma 1 package prisma#6331 ](prisma/prisma#6331)

2.20.0

Today, we are excited to share the 2.20.0 stable release 🎉

🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟 

Major improvements & new features

Count on relations (Preview)

This highly requested feature is now in Preview. You can now count the number of related records by passing _count to the select or include options and then specifying which relation counts should be included in the resulting objects via another select.

For example, counting the number of posts that an user has written:

const users = await prisma.user.findMany({
  include: {
    _count: {
      select: { posts: true },
    },
  },
})

The structure of the returned User objects is as follows:

{
  id: 1,
  email: 'alice@prisma.io',
  name: 'Alice',
  _count: { posts: 2 }
}

You can enable this featrues with the selectRelationCount feature flag:

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["selectRelationCount"]
</tr></table> 

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by jolg42, a new releaser for @​prisma/cli since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)