@graphql-codegen/cli 2.6.4 → 2.6.5-alpha-acacb9e7a.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-codegen/cli",
3
- "version": "2.6.4",
3
+ "version": "2.6.5-alpha-acacb9e7a.0",
4
4
  "peerDependencies": {
5
5
  "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
6
6
  },
@@ -17,11 +17,8 @@
17
17
  "@graphql-tools/prisma-loader": "^7.0.6",
18
18
  "@graphql-tools/url-loader": "^7.0.11",
19
19
  "@graphql-tools/utils": "^8.1.1",
20
- "ansi-escapes": "^4.3.1",
21
20
  "chalk": "^4.1.0",
22
- "change-case-all": "1.0.14",
23
21
  "chokidar": "^3.5.2",
24
- "common-tags": "^1.8.0",
25
22
  "cosmiconfig": "^7.0.0",
26
23
  "debounce": "^1.2.0",
27
24
  "detect-indent": "^6.0.0",
@@ -30,13 +27,11 @@
30
27
  "is-glob": "^4.0.1",
31
28
  "json-to-pretty-yaml": "^1.2.2",
32
29
  "latest-version": "5.1.0",
33
- "listr": "^0.14.3",
34
- "listr-update-renderer": "^0.5.0",
30
+ "listr2": "^4.0.5",
35
31
  "log-symbols": "^4.0.0",
36
32
  "mkdirp": "^1.0.4",
37
33
  "string-env-interpolation": "^1.0.1",
38
34
  "ts-log": "^2.2.3",
39
- "wrap-ansi": "^7.0.0",
40
35
  "yaml": "^1.10.0",
41
36
  "yargs": "^17.0.0"
42
37
  },
@@ -1,26 +0,0 @@
1
- export interface IndentStringOptions {
2
- /**
3
- The string to use for the indent.
4
- @default ' '
5
- */
6
- readonly indent?: string;
7
- /**
8
- Also indent empty lines.
9
- @default false
10
- */
11
- readonly includeEmptyLines?: boolean;
12
- }
13
- /**
14
- Indent each line in a string.
15
- @param string - The string to indent.
16
- @param count - How many times you want `options.indent` repeated. Default: `1`.
17
- @example
18
- ```
19
- import indentString from 'indent-string';
20
- indentString('Unicorns\nRainbows', 4);
21
- //=> ' Unicorns\n Rainbows'
22
- indentString('Unicorns\nRainbows', 4, {indent: '♥'});
23
- //=> '♥♥♥♥Unicorns\n♥♥♥♥Rainbows'
24
- ```
25
- */
26
- export declare function indentString(string: string, count?: number, options?: IndentStringOptions): string;
@@ -1,3 +0,0 @@
1
- declare const isBrowser: boolean;
2
- declare const isNode: boolean;
3
- export { isBrowser, isNode };
@@ -1,18 +0,0 @@
1
- import { ListrTask } from 'listr';
2
- import { DetailedError } from '@graphql-codegen/plugin-helpers';
3
- export declare class Renderer {
4
- private updateRenderer;
5
- constructor(tasks: ListrTask, options: any);
6
- render(): any;
7
- end(err: Error & {
8
- errors?: (Error | DetailedError)[];
9
- details?: string;
10
- }): void;
11
- }
12
- export declare class ErrorRenderer {
13
- private tasks;
14
- constructor(tasks: any, _options: any);
15
- render(): void;
16
- static get nonTTY(): boolean;
17
- end(): void;
18
- }