-
Notifications
You must be signed in to change notification settings - Fork 331
/
package.json
133 lines (133 loc) · 6.84 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
{
"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": "yarn@4.4.0",
"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",
"bundle": "yarn workspaces foreach -A run bundle",
"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 ./packages/legacy/types/src/config-schema.json ./packages/legacy/types/dist/esm && cp ./packages/legacy/types/src/config-schema.json ./packages/legacy/types/dist/cjs",
"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",
"postbuild": "yarn inject-version && yarn copy-config-schema && yarn fix-bin",
"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 && yarn workspace @graphql-mesh/serve-runtime generate-landing-page-html",
"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.25.2",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-explicit-resource-management": "7.24.7",
"@babel/preset-env": "7.25.3",
"@babel/preset-typescript": "7.24.7",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.7",
"@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.12",
"@types/node": "20.16.1",
"@typescript-eslint/eslint-plugin": "8.2.0",
"@typescript-eslint/parser": "8.2.0",
"babel-jest": "29.7.0",
"bob-the-bundler": "7.0.1",
"cross-env": "^7.0.3",
"eslint": "9.9.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "17.10.2",
"eslint-plugin-promise": "7.1.0",
"eslint-plugin-standard": "5.0.0",
"globby": "11.1.0",
"graphql": "16.9.0",
"husky": "9.1.5",
"jest": "29.7.0",
"lint-staged": "15.2.9",
"minimatch": "10.0.1",
"patch-package": "8.0.0",
"prettier": "3.3.3",
"threads": "^1.7.0",
"ts-jest": "29.2.4",
"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@npm:1.25.1": "patch:@opentelemetry/resources@npm%3A1.25.1#~/.yarn/patches/@opentelemetry-resources-npm-1.25.1-d294145a2e.patch",
"@opentelemetry/resources@npm:^1.0.0": "patch:@opentelemetry/resources@npm%3A1.25.1#~/.yarn/patches/@opentelemetry-resources-npm-1.25.1-d294145a2e.patch",
"@opentelemetry/resources@npm:^1.10.1": "patch:@opentelemetry/resources@npm%3A1.25.1#~/.yarn/patches/@opentelemetry-resources-npm-1.25.1-d294145a2e.patch",
"@opentelemetry/resources@npm:^1.24.0": "patch:@opentelemetry/resources@npm%3A1.25.1#~/.yarn/patches/@opentelemetry-resources-npm-1.25.1-d294145a2e.patch",
"@opentelemetry/resources@npm:^1.8.0": "patch:@opentelemetry/resources@npm%3A1.25.1#~/.yarn/patches/@opentelemetry-resources-npm-1.25.1-d294145a2e.patch",
"es5-ext": "0.10.64",
"esbuild": "^0.23.0",
"graphql": "16.9.0",
"tslib": "2.6.3",
"undici": "6.19.8",
"uuid": "10.0.0"
},
"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"
]
}
}