@graphql-inspector/cli 3.4.0 → 3.4.1-alpha-20230111095532-bd016dc8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -7
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://npmjs.com/package/@graphql-inspector/cli)
|
|
4
4
|
|
|
5
|
-
**GraphQL Inspector** ouputs a list of changes between two GraphQL schemas. Every change is
|
|
6
|
-
marked as breaking, non-breaking or dangerous. It helps you validate
|
|
7
|
-
find similar or duplicated types.
|
|
5
|
+
**GraphQL Inspector** ouputs a list of changes between two GraphQL schemas. Every change is
|
|
6
|
+
precisely explained and marked as breaking, non-breaking or dangerous. It helps you validate
|
|
7
|
+
documents and fragments against a schema and even find similar or duplicated types.
|
|
8
8
|
|
|
9
9
|

|
|
10
10
|
|
|
@@ -21,8 +21,8 @@ Major features:
|
|
|
21
21
|
- **GitHub Bot**
|
|
22
22
|
- **GitHub Actions**
|
|
23
23
|
|
|
24
|
-
GraphQL Inspector has a **CLI** and also a **programatic API**, so you can use it however you want
|
|
25
|
-
tools on top of it.
|
|
24
|
+
GraphQL Inspector has a **CLI** and also a **programatic API**, so you can use it however you want
|
|
25
|
+
to and even build tools on top of it.
|
|
26
26
|
|
|
27
27
|
## Installation
|
|
28
28
|
|
|
@@ -72,7 +72,8 @@ const similar: SimilarMap = similar(schema, typename, threshold)
|
|
|
72
72
|
|
|
73
73
|
### Check coverage
|
|
74
74
|
|
|
75
|
-
Schema coverage based on documents. Find out how many times types and fields are used in your
|
|
75
|
+
Schema coverage based on documents. Find out how many times types and fields are used in your
|
|
76
|
+
application.
|
|
76
77
|
|
|
77
78
|
**CLI:**
|
|
78
79
|
|
|
@@ -288,7 +289,8 @@ Example:
|
|
|
288
289
|
|
|
289
290
|
graphql-inspector validate ./src/**/*.{js,jsx,tsx,graphql} https://localhost:3000/graphql
|
|
290
291
|
|
|
291
|
-
Supports TypeScript, JavaScript and GraphQL Files (_Extensions:
|
|
292
|
+
Supports TypeScript, JavaScript and GraphQL Files (_Extensions:
|
|
293
|
+
ts,tsx,js,jsx,graphql,gql,graphqls_).
|
|
292
294
|
|
|
293
295
|
### Help
|
|
294
296
|
|
package/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-inspector/cli",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
4
4
|
"description": "Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-inspector/audit-command": "3.4.
|
|
11
|
-
"@graphql-inspector/code-loader": "3.4.
|
|
12
|
-
"@graphql-inspector/commands": "3.4.
|
|
13
|
-
"@graphql-inspector/coverage-command": "3.4.
|
|
14
|
-
"@graphql-inspector/diff-command": "3.4.
|
|
15
|
-
"@graphql-inspector/docs-command": "3.4.
|
|
16
|
-
"@graphql-inspector/git-loader": "3.4.
|
|
17
|
-
"@graphql-inspector/github-loader": "3.4.
|
|
18
|
-
"@graphql-inspector/graphql-loader": "3.4.
|
|
19
|
-
"@graphql-inspector/introspect-command": "3.4.
|
|
20
|
-
"@graphql-inspector/json-loader": "3.4.
|
|
21
|
-
"@graphql-inspector/loaders": "3.4.
|
|
22
|
-
"@graphql-inspector/serve-command": "3.4.
|
|
23
|
-
"@graphql-inspector/similar-command": "3.4.
|
|
24
|
-
"@graphql-inspector/url-loader": "3.4.
|
|
25
|
-
"@graphql-inspector/validate-command": "3.4.
|
|
10
|
+
"@graphql-inspector/audit-command": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
11
|
+
"@graphql-inspector/code-loader": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
12
|
+
"@graphql-inspector/commands": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
13
|
+
"@graphql-inspector/coverage-command": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
14
|
+
"@graphql-inspector/diff-command": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
15
|
+
"@graphql-inspector/docs-command": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
16
|
+
"@graphql-inspector/git-loader": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
17
|
+
"@graphql-inspector/github-loader": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
18
|
+
"@graphql-inspector/graphql-loader": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
19
|
+
"@graphql-inspector/introspect-command": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
20
|
+
"@graphql-inspector/json-loader": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
21
|
+
"@graphql-inspector/loaders": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
22
|
+
"@graphql-inspector/serve-command": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
23
|
+
"@graphql-inspector/similar-command": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
24
|
+
"@graphql-inspector/url-loader": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
25
|
+
"@graphql-inspector/validate-command": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
26
26
|
"tslib": "^2.0.0",
|
|
27
27
|
"yargs": "17.2.1"
|
|
28
28
|
},
|