{ "name": "apollo-federation-monorepo", "private": true, "repository": "github:apollographql/federation", "scripts": { "clean": "git clean -dfqX -- ./target ./node_modules **/{dist,node_modules}/ ./*/tsconfig*tsbuildinfo", "compile": "tsc --build tsconfig.build.json", "compile:clean": "npm run compile -- --clean", "watch": "npm run compile && tsc --build tsconfig.json --watch", "version": "npm i --package-lock-only && git add package-lock.json", "pretest": "npm run compile && tsc --build tsconfig.test.json", "test": "jest --verbose", "test:clean": "jest --clearCache", "test:watch": "jest --verbose --watchAll", "testonly": "npm test", "test:ci": "npm run coverage -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit", "coverage": "npm test -- --coverage", "coverage:upload": "codecov", "codegen": "graphql-codegen --config codegen.yml", "codegen:check": "npm run codegen && git diff --exit-code", "lint": "eslint . --ext .ts", "error-code-doc": "ts-node ./internals-js/src/genErrorCodeDoc.ts > ./docs/source/errors.md", "error-code-doc:check": "npm run error-code-doc && git diff --exit-code", "hints-doc": "ts-node ./composition-js/src/genHintDoc.ts > ./docs/source/hints.md", "hints-doc:check": "npm run hints-doc && git diff --exit-code", "gen-test-supergraph": "ts-node ./query-planner-js/src/__tests__/genTestSupergraph.ts", "changeset-version": "changeset version && npm i", "build-and-publish": "npm run compile && changeset publish", "spell:check": "cspell lint --no-progress --config .cspell/cspell.yml || (echo 'Add any real words to ./cspell/cspell-dict.txt.'; exit 1)", "__comment_for_prettier": "This only needs to use prettier@2 for as long as jest disallows using prettier@3", "prettier:check": "node ./node_modules/prettier-2/bin-prettier.js --check ./**/__tests__/**/*.test.ts", "prettier:fix": "node ./node_modules/prettier-2/bin-prettier.js --write ./**/__tests__/**/*.test.ts", "__comment_for_git:configure": "Optional: run this to configure git hooks and blame ignore revs", "git:configure": "git config core.hooksPath .git-hooks; git config blame.ignoreRevsFile .git-blame-ignore-revs" }, "engines": { "node": ">=18", "npm": "<12" }, "workspaces": [ "internals-js", "gateway-js", "composition-js", "query-planner-js", "query-graphs-js", "federation-integration-testsuite-js" ], "devDependencies": { "@apollo/cache-control-types": "1.0.3", "@apollo/client": "3.8.8", "@apollo/server": "5.5.2", "@apollo/utils.fetcher": "2.0.1", "@changesets/changelog-github": "0.5.0", "@changesets/cli": "2.27.1", "@graphql-codegen/cli": "3.3.1", "@graphql-codegen/typescript": "3.0.4", "@graphql-codegen/typescript-operations": "3.0.4", "@josephg/resolvable": "1.0.1", "@opentelemetry/sdk-trace-base": "^1.30.1", "@opentelemetry/sdk-trace-node": "^1.30.1", "@svitejs/changesets-changelog-github-compact": "1.1.0", "@types/async-retry": "1.4.8", "@types/bunyan": "1.8.11", "@types/deep-equal": "1.0.4", "@types/jest": "29.5.11", "@types/js-levenshtein": "1.1.3", "@types/loglevel": "1.5.4", "@types/make-fetch-happen": "10.0.4", "@types/node": "14.18.63", "@types/node-fetch": "2.6.9", "@types/uuid": "9.0.7", "@typescript-eslint/eslint-plugin": "5.62.0", "bunyan": "1.8.15", "codecov": "3.8.3", "cspell": "6.31.3", "graphql": "16.11.0", "graphql-http": "1.22.0", "graphql-tag": "2.12.6", "jest": "29.7.0", "jest-config": "29.7.0", "jest-cucumber": "3.0.1", "jest-junit": "16.0.0", "log4js": "6.9.1", "mocked-env": "1.3.5", "nock": "14.0.17", "node-fetch": "2.7.0", "prettier": "3.1.1", "prettier-2": "npm:prettier@2.8.8", "semver": "7.5.4", "strip-indent": "3.0.0", "ts-jest": "29.1.1", "ts-node": "10.9.1", "typescript": "5.3.3", "winston": "3.11.0", "winston-transport": "4.6.0" }, "overrides": { "@inquirer/external-editor": "1.0.0" }, "jest": { "projects": [ "/composition-js", "/gateway-js", "/internals-js", "/query-graphs-js", "/query-planner-js" ] }, "volta": { "node": "24.14.0", "npm": "11.9.0" } }