@graphql-inspector/validate-command 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/index.d.ts +1 -1
- package/index.js +3 -3
- package/index.mjs +3 -3
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CommandFactory, GlobalArgs } from '@graphql-inspector/commands';
|
|
2
2
|
import { Source as DocumentSource } from '@graphql-tools/utils';
|
|
3
3
|
import { GraphQLSchema } from 'graphql';
|
|
4
4
|
export { CommandFactory };
|
package/index.js
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const tslib = require('tslib');
|
|
6
|
+
const fs = require('fs');
|
|
7
|
+
const path = require('path');
|
|
6
8
|
const commands = require('@graphql-inspector/commands');
|
|
7
|
-
const logger = require('@graphql-inspector/logger');
|
|
8
9
|
const core = require('@graphql-inspector/core');
|
|
9
|
-
const
|
|
10
|
-
const fs = require('fs');
|
|
10
|
+
const logger = require('@graphql-inspector/logger');
|
|
11
11
|
const graphql = require('graphql');
|
|
12
12
|
|
|
13
13
|
function handler({ schema, documents, strictFragments, maxDepth, maxDirectiveCount, maxAliasCount, maxTokenCount, apollo, keepClientFields, failOnDeprecated, filter, onlyErrors, relativePaths, output, silent, }) {
|
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __awaiter } from 'tslib';
|
|
2
|
+
import { writeFileSync } from 'fs';
|
|
3
|
+
import { relative } from 'path';
|
|
2
4
|
import { createCommand, parseGlobalArgs } from '@graphql-inspector/commands';
|
|
3
|
-
import { Logger, chalk, bolderize } from '@graphql-inspector/logger';
|
|
4
5
|
import { validate } from '@graphql-inspector/core';
|
|
5
|
-
import {
|
|
6
|
-
import { writeFileSync } from 'fs';
|
|
6
|
+
import { Logger, chalk, bolderize } from '@graphql-inspector/logger';
|
|
7
7
|
import { Source, print } from 'graphql';
|
|
8
8
|
|
|
9
9
|
function handler({ schema, documents, strictFragments, maxDepth, maxDirectiveCount, maxAliasCount, maxTokenCount, apollo, keepClientFields, failOnDeprecated, filter, onlyErrors, relativePaths, output, silent, }) {
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-inspector/validate-command",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
4
4
|
"description": "Validate Documents in GraphQL Inspector",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"graphql": "^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-inspector/commands": "3.4.
|
|
11
|
-
"@graphql-inspector/core": "3.4.
|
|
12
|
-
"@graphql-inspector/logger": "3.4.
|
|
10
|
+
"@graphql-inspector/commands": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
11
|
+
"@graphql-inspector/core": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
12
|
+
"@graphql-inspector/logger": "3.4.1-alpha-20230111095532-bd016dc8",
|
|
13
13
|
"tslib": "^2.0.0"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|