-
Notifications
You must be signed in to change notification settings - Fork 257
/
package.json
112 lines (112 loc) · 4.22 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"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)",
"//": "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",
"//": "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": ">=14.15.0",
"npm": "<11"
},
"workspaces": [
"internals-js",
"gateway-js",
"composition-js",
"query-planner-js",
"query-graphs-js",
"subgraph-js",
"federation-integration-testsuite-js"
],
"devDependencies": {
"@apollo/cache-control-types": "1.0.3",
"@apollo/client": "3.8.8",
"@apollo/server": "4.9.5",
"@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/node": "0.24.0",
"@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/nock": "10.0.3",
"@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.8.1",
"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": "13.4.0",
"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"
},
"jest": {
"projects": [
"<rootDir>/composition-js",
"<rootDir>/gateway-js",
"<rootDir>/internals-js",
"<rootDir>/query-graphs-js",
"<rootDir>/query-planner-js",
"<rootDir>/subgraph-js"
]
},
"volta": {
"node": "20.10.0",
"npm": "10.2.4"
}
}