{ "name": "@pothos/plugin-prisma-next", "version": "0.1.2", "description": "Pothos integration for the Prisma ORM 8 SQL collection client", "main": "./lib/index.js", "types": "./dts/index.d.ts", "module": "./esm/index.js", "exports": { "import": { "default": "./esm/index.js" }, "require": { "types": "./dts/index.d.ts", "default": "./lib/index.js" } }, "scripts": { "generate": "node tests/generate-contracts.mts", "type": "tsc --project tsconfig.type.json && tsc --project tsconfig.scope-auth.json && tsc --project tsconfig.missing-plugins.json && node tests/declarations/emit.mts tsc", "type:compat": "for v in 5.9.3 6.0.2; do for p in type scope-auth missing-plugins; do echo \"typescript@$v tsconfig.$p.json\" && pnpm dlx --package=typescript@$v tsc --project tsconfig.$p.json --noEmit --composite false --incremental false || exit 1; done; echo \"typescript@$v declarations\" && node tests/declarations/emit.mts pnpm dlx --package=typescript@$v tsc || exit 1; done", "build": "pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm", "build:clean": "git clean -dfX esm lib", "build:cjs": "swc src -d lib --config-file ../../.swcrc -C module.type=commonjs --strip-leading-paths", "build:esm": "cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 --strip-leading-paths", "build:dts": "tsc", "test": "pnpm vitest --run" }, "repository": { "type": "git", "url": "git+https://github.com/hayes/pothos.git", "directory": "packages/plugin-prisma-next" }, "author": "Michael Hayes", "license": "ISC", "keywords": [ "pothos", "graphql", "schema", "typescript", "prisma", "plugin" ], "publishConfig": { "access": "public", "provenance": true }, "dependencies": { "@pothos/selection-mapper": "workspace:*" }, "peerDependencies": { "@pothos/core": "*", "@prisma/orm-family-sql": "8.0.0-rc.23", "@prisma/orm-framework": "8.0.0-rc.23", "graphql": "^16.10.0 || ^17.0.0" }, "devDependencies": { "@graphql-tools/executor": "^1.5.2", "@js-temporal/polyfill": "^0.5.1", "@pothos/core": "workspace:*", "@pothos/plugin-errors": "workspace:*", "@pothos/plugin-relay": "workspace:*", "@pothos/plugin-scope-auth": "workspace:*", "@pothos/plugin-with-input": "workspace:*", "@pothos/test-utils": "workspace:*", "@prisma/orm-family-sql": "8.0.0-rc.23", "@prisma/orm-framework": "8.0.0-rc.23", "@prisma/orm-mysql": "8.0.0-rc.23", "@prisma/orm-postgres": "8.0.0-rc.23", "@prisma/orm-sqlite": "8.0.0-rc.23", "@types/pg": "8.20.4", "mariadb": "^3.5.4", "pg": "8.22.0", "temporal-spec": "1.0.1" }, "engines": { "node": "^22.20.0 || >=24.7.0" } }