@graphql-codegen/cli 2.10.1-alpha-b4880d326.0 → 2.10.1-alpha-7e47fba48.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/cjs/config.js CHANGED
@@ -200,11 +200,11 @@ function updateContextWithCliFlags(context, cliFlags) {
200
200
  if (cliFlags.silent === true) {
201
201
  config.silent = cliFlags.silent;
202
202
  }
203
- if (cliFlags.verbose === true) {
204
- config.verbose = cliFlags.verbose;
203
+ if (cliFlags.verbose === true || process.env.VERBOSE) {
204
+ config.verbose = true;
205
205
  }
206
- if (cliFlags.debug === true) {
207
- config.debug = cliFlags.debug;
206
+ if (cliFlags.debug === true || process.env.DEBUG) {
207
+ config.debug = true;
208
208
  }
209
209
  if (cliFlags.errorsOnly === true) {
210
210
  config.errorsOnly = cliFlags.errorsOnly;
package/esm/config.js CHANGED
@@ -190,11 +190,11 @@ export function updateContextWithCliFlags(context, cliFlags) {
190
190
  if (cliFlags.silent === true) {
191
191
  config.silent = cliFlags.silent;
192
192
  }
193
- if (cliFlags.verbose === true) {
194
- config.verbose = cliFlags.verbose;
193
+ if (cliFlags.verbose === true || process.env.VERBOSE) {
194
+ config.verbose = true;
195
195
  }
196
- if (cliFlags.debug === true) {
197
- config.debug = cliFlags.debug;
196
+ if (cliFlags.debug === true || process.env.DEBUG) {
197
+ config.debug = true;
198
198
  }
199
199
  if (cliFlags.errorsOnly === true) {
200
200
  config.errorsOnly = cliFlags.errorsOnly;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@graphql-codegen/cli",
3
- "version": "2.10.1-alpha-b4880d326.0",
3
+ "version": "2.10.1-alpha-7e47fba48.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
  },
7
7
  "dependencies": {
8
- "@graphql-codegen/core": "2.6.1-alpha-b4880d326.0",
9
- "@graphql-codegen/plugin-helpers": "^2.6.1-alpha-b4880d326.0",
8
+ "@graphql-codegen/core": "2.6.1-alpha-7e47fba48.0",
9
+ "@graphql-codegen/plugin-helpers": "^2.6.1-alpha-7e47fba48.0",
10
10
  "@graphql-tools/apollo-engine-loader": "^7.3.1",
11
11
  "@graphql-tools/code-file-loader": "^7.3.0",
12
12
  "@graphql-tools/git-loader": "^7.2.0",