@graphql-inspector/action 4.0.2 → 4.0.3-alpha-20230719132710-cc9c44e7
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/cjs/cli/src/index.js +2 -3
- package/esm/cli/src/index.js +1 -1
- package/package.json +3 -3
package/cjs/cli/src/index.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const yargs_1 = tslib_1.__importDefault(require("yargs"));
|
|
6
4
|
const commands_1 = require("@graphql-inspector/commands");
|
|
7
5
|
const loaders_1 = require("@graphql-inspector/loaders");
|
|
8
6
|
async function main() {
|
|
7
|
+
const yargs = require('yargs');
|
|
9
8
|
const config = {
|
|
10
9
|
loaders: ['code', 'git', 'github', 'graphql', 'json', 'url'],
|
|
11
10
|
commands: ['docs', 'serve', 'diff', 'validate', 'coverage', 'introspect', 'similar', 'audit'],
|
|
12
11
|
};
|
|
13
12
|
const loaders = (0, loaders_1.useLoaders)(config);
|
|
14
13
|
const commands = (0, commands_1.useCommands)({ config, loaders });
|
|
15
|
-
const root =
|
|
14
|
+
const root = yargs
|
|
16
15
|
.scriptName('graphql-inspector')
|
|
17
16
|
.detectLocale(false)
|
|
18
17
|
.epilog('Visit https://graphql-inspector.com for more information')
|
package/esm/cli/src/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import yargs from 'yargs';
|
|
3
2
|
import { useCommands } from '@graphql-inspector/commands';
|
|
4
3
|
import { useLoaders } from '@graphql-inspector/loaders';
|
|
5
4
|
async function main() {
|
|
5
|
+
const yargs = require('yargs');
|
|
6
6
|
const config = {
|
|
7
7
|
loaders: ['code', 'git', 'github', 'graphql', 'json', 'url'],
|
|
8
8
|
commands: ['docs', 'serve', 'diff', 'validate', 'coverage', 'introspect', 'similar', 'audit'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-inspector/action",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3-alpha-20230719132710-cc9c44e7",
|
|
4
4
|
"description": "GraphQL Inspector functionality for GitHub Actions",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"dependencies": {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"js-yaml": "4.1.0",
|
|
10
10
|
"probot": "12.3.1",
|
|
11
11
|
"tslib": "2.6.0",
|
|
12
|
-
"@graphql-inspector/commands": "4.0.
|
|
12
|
+
"@graphql-inspector/commands": "4.0.3-alpha-20230719132710-cc9c44e7",
|
|
13
13
|
"@graphql-inspector/core": "5.0.1",
|
|
14
|
-
"@graphql-inspector/github": "4.0.
|
|
14
|
+
"@graphql-inspector/github": "4.0.2-alpha-20230719132710-cc9c44e7"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|