-
Notifications
You must be signed in to change notification settings - Fork 347
/
package.json
138 lines (138 loc) · 6.51 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "graphql-mesh",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"website",
"packages/*",
"packages/legacy/*",
"packages/legacy/handlers/*",
"packages/legacy/transforms/*",
"packages/legacy/mergers/*",
"packages/cache/*",
"packages/plugins/*",
"packages/fusion/*",
"examples/*",
"examples/integrations/*",
"examples/federation-example/*",
"examples/federation-example/services/*",
"examples/graphql-file-upload-example/frontend",
"examples/hive-example/gateway",
"examples/hive-example/sources/*",
"packages/loaders/*",
"packages/transports/*",
"examples/v1-next/*",
"examples/v1-next/integrations/*",
"examples/v1-next/federation-example/*",
"examples/v1-next/federation-example/services/*",
"examples/v1-next/graphql-file-upload-example/frontend",
"examples/v1-next/hive-example/gateway",
"examples/v1-next/hive-example/my-graphql",
"examples/v1-next/hive-example/my-rest",
"e2e/*"
]
},
"packageManager": "[email protected]",
"scripts": {
"build": "yarn prebuild && bob build && yarn postbuild",
"build-test-artifacts": "yarn workspace @examples/json-schema-example build && yarn workspace @examples-v1-next/fastify compose && yarn workspace @examples/fastify build && yarn workspace @examples/persisted-operations build && yarn workspace example-response-cache build",
"build:website": "yarn build && cd website && yarn build",
"changeset": "changeset",
"changeset-version": "changeset version && yarn postchangeset",
"ci:lint": "cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --output-file eslint_report.json --ext .ts --format json \"./packages/**/src/**/*.ts\"",
"clean": "(rm -rf packages/**/dist & rm -rf packages/**/(!node_modules)/**/dist & rm -rf examples/**/node_modules/.bin/*mesh* & rm -rf .bob) || true",
"copy-config-schema": "cp-cli ./packages/legacy/types/src/config-schema.json ./packages/legacy/types/dist/esm/config-schema.json && cp-cli ./packages/legacy/types/src/config-schema.json ./packages/legacy/types/dist/cjs/config-schema.json",
"dev:website": "yarn workspace website run dev",
"fix-bin": "node scripts/fix-bin.js",
"generate-config-schema": "yarn graphql-to-config-schema --schema ./**/yaml-config.graphql --json ./packages/legacy/types/src/config-schema.json --typings ./packages/legacy/types/src/config.ts --markdown ./website/src/generated-markdown && yarn postgenerate-config-schema",
"inject-version": "yarn workspaces foreach -A run inject-version",
"lint": "cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --ext .ts \"./packages/**/src/**/*.ts\"",
"loadtest:e2e": "cross-env \"JEST=1\" \"E2E_TEST=true\" jest --no-watchman --runInBand --bail --config=jest.config.loadtest.js",
"package-binary": "yarn workspaces foreach -A run package-binary",
"postbuild": "yarn inject-version && yarn copy-config-schema && yarn fix-bin && tsx scripts/replace-import-meta-url-in-cjs.ts",
"postchangeset": "yarn install --no-immutable",
"postgenerate-config-schema": "node scripts/create-config-schema-ts.js && npx prettier --write ./packages/legacy/types/src",
"postinstall": "husky install && patch-package",
"prebuild": "yarn clean && yarn generate-config-schema",
"prettier": "prettier --write --list-different .",
"prettier:check": "prettier --check .",
"release": "yarn build && changeset publish",
"test": "cross-env \"JEST=1\" jest --detectOpenHandles --no-watchman",
"test:e2e": "cross-env \"JEST=1\" \"E2E_TEST=true\" jest --no-watchman",
"test:integration": "cross-env \"JEST=1\" \"INTEGRATION_TEST=true\" jest --forceExit --no-watchman --runInBand",
"test:integration:leak": "cross-env \"JEST=1\" \"LEAK_TEST=1\" \"INTEGRATION_TEST=true\" jest --detectOpenHandles --detectLeaks --no-watchman --runInBand",
"test:leak": "cross-env \"JEST=1\" \"LEAK_TEST=1\" jest --detectOpenHandles --detectLeaks --no-watchman --runInBand",
"typecheck": "yarn generate-config-schema && tsc -p tsconfig.json --noEmit"
},
"devDependencies": {
"@ardatan/graphql-to-config-schema": "0.1.25",
"@babel/core": "7.26.0",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-explicit-resource-management": "7.25.9",
"@babel/preset-env": "7.26.0",
"@babel/preset-typescript": "7.26.0",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.10",
"@repeaterjs/repeater": "^3.0.5",
"@theguild/prettier-config": "2.0.7",
"@tsconfig/node16": "^16.1.3",
"@tsconfig/recommended": "^1.0.5",
"@types/jest": "29.5.14",
"@types/node": "22.9.1",
"@typescript-eslint/eslint-plugin": "8.15.0",
"@typescript-eslint/parser": "8.15.0",
"babel-jest": "29.7.0",
"bob-the-bundler": "7.0.1",
"cp-cli": "^2.0.0",
"cross-env": "^7.0.3",
"eslint": "9.15.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-n": "17.14.0",
"eslint-plugin-promise": "7.1.0",
"eslint-plugin-standard": "5.0.0",
"globby": "11.1.0",
"graphql": "16.9.0",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.2.10",
"minimatch": "10.0.1",
"node-gyp": "^10.2.0",
"patch-package": "8.0.0",
"prettier": "3.3.3",
"threads": "^1.7.0",
"ts-jest": "29.2.5",
"tsx": "^4.19.0",
"typescript": "^5.4.2"
},
"resolutions": {
"@changesets/assemble-release-plan": "patch:@changesets/assemble-release-plan@npm%3A5.2.3#~/.yarn/patches/@changesets-assemble-release-plan-npm-5.2.3-296454a28f.patch",
"@commander-js/extra-typings@npm:^12.1.0": "patch:@commander-js/extra-typings@npm%3A12.1.0#~/.yarn/patches/@commander-js-extra-typings-npm-12.1.0-65a781f8c6.patch",
"@opentelemetry/resources": "1.28.0",
"@whatwg-node/fetch": "0.10.1",
"@whatwg-node/node-fetch": "0.7.3",
"@whatwg-node/server": "0.9.56",
"es5-ext": "0.10.64",
"esbuild": "^0.24.0",
"graphql": "16.9.0",
"graphql-rate-limit@npm:^3.3.0": "patch:graphql-rate-limit@npm%3A3.3.0#~/.yarn/patches/graphql-rate-limit-npm-3.3.0-3ae882ba75.patch",
"node-gyp": "10.2.0",
"sqlite3": "^5.1.7",
"tslib": "2.8.1",
"undici": "6.21.0",
"uuid": "11.0.3"
},
"lint-staged": {
"packages/**/src/**/*.{ts,tsx}": [
"cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --fix"
],
"**/*.{ts,tsx,graphql,yml,json,md,js,mdx}": [
"prettier --write"
],
"yarn.lock": [
"yarn dedupe"
]
}
}