@pothos/plugin-federation
Version:
A Pothos plugin for implementing apollo federation subGraphs
65 lines • 1.94 kB
JSON
{
"name": "@pothos/plugin-federation",
"description": "A Pothos plugin for implementing apollo federation subGraphs",
"version": "4.4.2",
"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"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/hayes/pothos.git",
"directory": "packages/plugin-federation"
},
"author": "Michael Hayes",
"license": "ISC",
"keywords": [
"pothos",
"giraphql",
"graphql",
"schema",
"typescript",
"apollo",
"federation",
"subgraph"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"peerDependencies": {
"@pothos/core": "*",
"@apollo/subgraph": "^2.0.0",
"graphql": "^16.10.0"
},
"devDependencies": {
"@apollo/gateway": "^2.11.0",
"@apollo/server": "^4.12.2",
"@apollo/subgraph": "2.11.0",
"@graphql-tools/utils": "^10.8.6",
"axios": "^1.10.0",
"graphql-tag": "^2.12.6",
"@pothos/core": "4.7.0",
"@pothos/plugin-directives": "4.2.3",
"@pothos/test-utils": "2.1.2"
},
"gitHead": "9dfe52f1975f41a111e01bf96a20033a914e2acc",
"scripts": {
"type": "tsc --project tsconfig.type.json",
"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 && pnpm esm:extensions",
"build:dts": "tsc",
"esm:extensions": "TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts",
"test": "pnpm vitest --run"
}
}