@graphql-inspector/action 4.0.2 → 4.0.3-alpha-20230719142432-c92e6c90

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.
@@ -1,17 +1,16 @@
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 config_1 = require("@graphql-inspector/config");
8
6
  const loaders_1 = require("@graphql-inspector/loaders");
9
7
  const logger_1 = require("@graphql-inspector/logger");
8
+ const yargs = require('yargs');
10
9
  async function main() {
11
10
  const config = await (0, config_1.useConfig)();
12
11
  const loaders = (0, loaders_1.useLoaders)(config);
13
12
  const commands = (0, commands_1.useCommands)({ config, loaders });
14
- const root = yargs_1.default
13
+ const root = yargs
15
14
  .scriptName('graphql-inspector')
16
15
  .detectLocale(false)
17
16
  .epilog('Visit https://graphql-inspector.com for more information')
@@ -1,10 +1,9 @@
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");
6
+ const yargs = require('yargs');
8
7
  async function main() {
9
8
  const config = {
10
9
  loaders: ['code', 'git', 'github', 'graphql', 'json', 'url'],
@@ -12,7 +11,7 @@ async function main() {
12
11
  };
13
12
  const loaders = (0, loaders_1.useLoaders)(config);
14
13
  const commands = (0, commands_1.useCommands)({ config, loaders });
15
- const root = yargs_1.default
14
+ const root = yargs
16
15
  .scriptName('graphql-inspector')
17
16
  .detectLocale(false)
18
17
  .epilog('Visit https://graphql-inspector.com for more information')
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
- import yargs from 'yargs';
3
2
  import { useCommands } from '@graphql-inspector/commands';
4
3
  import { availableCommands, useConfig } from '@graphql-inspector/config';
5
4
  import { useLoaders } from '@graphql-inspector/loaders';
6
5
  import { Logger } from '@graphql-inspector/logger';
6
+ const yargs = require('yargs');
7
7
  async function main() {
8
8
  const config = await useConfig();
9
9
  const loaders = useLoaders(config);
@@ -1,7 +1,7 @@
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';
4
+ const yargs = require('yargs');
5
5
  async function main() {
6
6
  const config = {
7
7
  loaders: ['code', 'git', 'github', 'graphql', 'json', 'url'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-inspector/action",
3
- "version": "4.0.2",
3
+ "version": "4.0.3-alpha-20230719142432-c92e6c90",
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.2",
12
+ "@graphql-inspector/commands": "4.0.3-alpha-20230719142432-c92e6c90",
13
13
  "@graphql-inspector/core": "5.0.1",
14
- "@graphql-inspector/github": "4.0.1"
14
+ "@graphql-inspector/github": "4.0.2-alpha-20230719142432-c92e6c90"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",