nexus-prisma
Advanced tools
Comparing version 0.16.2 to 0.20.0
{ | ||
"name": "nexus-prisma", | ||
"version": "0.16.2", | ||
"repository": "graphql-nexus/nexus-plugin-prisma", | ||
"main": "index.js", | ||
"version": "0.20.0", | ||
"main": "dist/index.js", | ||
"repository": "git@github.com:prisma/nexus-prisma.git", | ||
"author": "Jason Kuhrt", | ||
"license": "MIT", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"postinstall": "node postinstall-message" | ||
} | ||
"format": "prettier --write .", | ||
"dev": "tsc --build --watch", | ||
"build": "yarn clean && tsc", | ||
"test": "jest", | ||
"clean": "rm -rf dist && rm -rf node_modules/.cache", | ||
"release:pr": "dripip pr", | ||
"release:canary": "dripip preview", | ||
"release:stable": "dripip stable", | ||
"prepublishOnly": "yarn build" | ||
}, | ||
"devDependencies": { | ||
"@prisma-labs/prettier-config": "0.1.0", | ||
"@types/jest": "26.0.20", | ||
"dripip": "0.10.0", | ||
"jest": "26.6.3", | ||
"jest-watch-typeahead": "0.6.1", | ||
"prettier": "2.2.1", | ||
"ts-jest": "26.5.1", | ||
"ts-node": "^9.1.1", | ||
"typescript": "4.1.5" | ||
}, | ||
"prettier": "@prisma-labs/prettier-config" | ||
} |
@@ -1,23 +0,5 @@ | ||
# `nexus-prisma` has migrated! | ||
# nexus-prisma | ||
### Please Change These Things | ||
[![trunk](https://github.com/prisma/nexus-prisma/actions/workflows/trunk.yml/badge.svg)](https://github.com/prisma/nexus-prisma/actions/workflows/trunk.yml) | ||
#### Your Dependencies | ||
``` | ||
npm remove nexus-prisma @prisma/client @prisma/cli | ||
npm add nexus-plugin-prisma | ||
``` | ||
#### Your Imports | ||
```diff | ||
- import { nexusPrismaPlugin } from 'nexus-prisma' | ||
+ import { nexusSchemaPrisma } from 'nexus-plugin-prisma/schema' | ||
``` | ||
### Learn More | ||
- [About the transition](https://nxs.li/nexus-prisma-to-nexus-plugin-prisma/about) | ||
- [About the Prisma plugin for Nexus framework](https://nxs.li/plugins/prisma) | ||
- [About how to migrate from `@nexus/schema` to Neuxs ](https://nxs.li/schema-to-framework/migrate) | ||
Official Prisma plugin for Nexus |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
7
1
0
0
2662
9
5
6
1