apollo-subgraph-cli
Version:
A CLI for subgraph schema management
112 lines • 2.81 kB
JSON
{
"name": "apollo-subgraph-cli",
"author": "Frank Cooke",
"description": "A CLI for subgraph schema management",
"keywords": [
"apollo",
"apollo-federation",
"federation-tools",
"subgraph",
"subgraph-cli",
"graphql",
"graphql-schema",
"graphql-tools",
"schema-management"
],
"repository": {
"type": "git",
"url": "git+https://github.com/platypusrex/apollo-subgraph-cli.git"
},
"bugs": {
"url": "https://github.com/platypusrex/apollo-subgraph-cli/issues"
},
"version": "0.1.1",
"license": "MIT",
"type": "module",
"main": "index.cjs",
"module": "index.js",
"types": "index.d.ts",
"files": [
"bin",
"dist",
"README.md",
"package.json"
],
"exports": {
".": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./package.json": "./package.json"
},
"bin": {
"subgraph": "bin/subgraph.mjs",
"subgraph-cjs": "bin/subgraph-cjs.js"
},
"engines": {
"node": ">=10"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@changesets/cli": "^2.27.11",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.10.7",
"chokidar": "^4.0.3",
"execa": "^9.5.2",
"graphql": "^16.10.0",
"husky": "^9.1.7",
"rimraf": "^6.0.1",
"tsup": "^8.3.5",
"typescript": "^5.7.3"
},
"peerDependencies": {
"@apollo/subgraph": ">=2",
"chokidar": ">=4",
"graphql": ">=16.5"
},
"dependencies": {
"@graphql-tools/code-file-loader": "^8.1.13",
"@graphql-tools/graphql-file-loader": "^8.0.12",
"@graphql-tools/load": "^8.0.12",
"@inquirer/prompts": "^7.2.3",
"boxen": "^8.0.1",
"chalk": "^5.4.1",
"commander": "^13.0.0",
"cosmiconfig": "^9.0.0",
"cosmiconfig-typescript-loader": "^6.1.0",
"fast-glob": "^3.3.3",
"fs-extra": "^11.3.0",
"ignore": "^7.0.3",
"listr2": "^8.2.5",
"yaml": "^2.7.0"
},
"scripts": {
"build": "pnpm clean && tsup",
"clean": "rimraf dist",
"format": "pnpm biome format",
"format:fix": "pnpm biome format --fix",
"lint": "pnpm biome lint",
"lint:fix": "pnpm biome lint --fix",
"check:types": "tsc --noEmit",
"test": "vitest",
"version": "changeset version",
"ci": "pnpm lint && pnpm format && pnpm check:types && pnpm build",
"prerelease": "pnpm run ci",
"release": "pnpm run prerelease && changeset publish && git push --follow-tags"
}
}