@graphql-inspector/cli 3.4.6 → 3.4.7-alpha-20230227143331-c118a93f
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 +5 -6
- package/package.json +2 -20
package/README.md
CHANGED
|
@@ -28,10 +28,10 @@ to and even build tools on top of it.
|
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
30
|
# CLI
|
|
31
|
-
|
|
31
|
+
pnpm add @graphql-inspector/cli
|
|
32
32
|
|
|
33
33
|
# Core API for programatic usage
|
|
34
|
-
|
|
34
|
+
pnpm add @graphql-inspector/core
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
### Compare schemas
|
|
@@ -120,7 +120,7 @@ Audit your documents for useful metrics such as query depth, directive count and
|
|
|
120
120
|
Not available
|
|
121
121
|
|
|
122
122
|
```
|
|
123
|
-
$
|
|
123
|
+
$ pnpm graphql-inspector audit "packages/**/*.graphql|packages/**/*.ts(x)"
|
|
124
124
|
|
|
125
125
|
Maximum depth is 16
|
|
126
126
|
Maximum alias amount is 3
|
|
@@ -128,7 +128,7 @@ Maximum directive amount is 6
|
|
|
128
128
|
```
|
|
129
129
|
|
|
130
130
|
```
|
|
131
|
-
$
|
|
131
|
+
$ pnpm graphql-inspector audit "packages/**/*.graphql|packages/**/*.ts(x)" --detail
|
|
132
132
|
|
|
133
133
|
┌────────────────┬───────┬─────────┬────────────┐
|
|
134
134
|
│ Operation Name │ Depth │ Aliases │ Directives │
|
|
@@ -173,8 +173,7 @@ Have a per-repository, self-hosted GraphQL Inspector service or deploy it with D
|
|
|
173
173
|
|
|
174
174
|
```bash
|
|
175
175
|
# install
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
pnpm add --global @graphql-inspector/actions
|
|
178
177
|
# use
|
|
179
178
|
|
|
180
179
|
$ graphql-inspector-github
|
package/package.json
CHANGED
|
@@ -1,30 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-inspector/cli",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.7-alpha-20230227143331-c118a93f",
|
|
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.4",
|
|
11
|
-
"@graphql-inspector/code-loader": "3.4.0",
|
|
12
|
-
"@graphql-inspector/commands": "3.4.1",
|
|
13
|
-
"@graphql-inspector/config": "3.4.0",
|
|
14
|
-
"@graphql-inspector/coverage-command": "4.0.0",
|
|
15
|
-
"@graphql-inspector/diff-command": "3.4.4",
|
|
16
|
-
"@graphql-inspector/docs-command": "3.4.2",
|
|
17
|
-
"@graphql-inspector/git-loader": "3.4.0",
|
|
18
|
-
"@graphql-inspector/github-loader": "3.4.0",
|
|
19
|
-
"@graphql-inspector/graphql-loader": "3.4.0",
|
|
20
|
-
"@graphql-inspector/introspect-command": "3.4.4",
|
|
21
|
-
"@graphql-inspector/json-loader": "3.4.0",
|
|
22
|
-
"@graphql-inspector/loaders": "3.4.1",
|
|
23
|
-
"@graphql-inspector/serve-command": "3.4.2",
|
|
24
|
-
"@graphql-inspector/similar-command": "3.4.4",
|
|
25
|
-
"@graphql-inspector/url-loader": "3.4.0",
|
|
26
|
-
"@graphql-inspector/validate-command": "3.4.4",
|
|
27
|
-
"tslib": "^2.0.0",
|
|
28
10
|
"yargs": "17.2.1"
|
|
29
11
|
},
|
|
30
12
|
"repository": {
|
|
@@ -64,4 +46,4 @@
|
|
|
64
46
|
"bin": {
|
|
65
47
|
"graphql-inspector": "index.js"
|
|
66
48
|
}
|
|
67
|
-
}
|
|
49
|
+
}
|