@graphql-codegen/cli 3.3.1-rc-20230417120627-313918bef → 3.3.1-rc-20230420213856-a85b5d7c1

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.
@@ -164,7 +164,7 @@ function normalizeTargets(targets) {
164
164
  }
165
165
  function getOutputDefaultValue(answers) {
166
166
  if (answers.targets.includes(types_js_1.Tags.client)) {
167
- return 'src/gql';
167
+ return 'src/gql/';
168
168
  }
169
169
  if (answers.plugins.some(plugin => plugin.defaultExtension === '.tsx')) {
170
170
  return 'src/generated/graphql.tsx';
@@ -158,7 +158,7 @@ function normalizeTargets(targets) {
158
158
  }
159
159
  export function getOutputDefaultValue(answers) {
160
160
  if (answers.targets.includes(Tags.client)) {
161
- return 'src/gql';
161
+ return 'src/gql/';
162
162
  }
163
163
  if (answers.plugins.some(plugin => plugin.defaultExtension === '.tsx')) {
164
164
  return 'src/generated/graphql.tsx';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-codegen/cli",
3
- "version": "3.3.1-rc-20230417120627-313918bef",
3
+ "version": "3.3.1-rc-20230420213856-a85b5d7c1",
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
  },
@@ -8,5 +8,5 @@ export declare function getApplicationTypeChoices(possibleTargets: Record<Tags,
8
8
  checked: boolean;
9
9
  }[];
10
10
  export declare function getPluginChoices(answers: Answers): inquirer.DistinctChoice<inquirer.AllChoiceMap<inquirer.Answers>, inquirer.AllChoiceMap<inquirer.AllChoiceMap<inquirer.Answers>>>[];
11
- export declare function getOutputDefaultValue(answers: Answers): "src/gql" | "src/generated/graphql.tsx" | "src/generated/graphql.ts" | "src/generated/graphql.cjs";
11
+ export declare function getOutputDefaultValue(answers: Answers): "src/gql/" | "src/generated/graphql.tsx" | "src/generated/graphql.ts" | "src/generated/graphql.cjs";
12
12
  export declare function getDocumentsDefaultValue(answers: Answers): "src/**/*.vue" | "src/**/*.ts" | "src/**/*.tsx" | "src/**/*.graphql";
@@ -8,5 +8,5 @@ export declare function getApplicationTypeChoices(possibleTargets: Record<Tags,
8
8
  checked: boolean;
9
9
  }[];
10
10
  export declare function getPluginChoices(answers: Answers): inquirer.DistinctChoice<inquirer.AllChoiceMap<inquirer.Answers>, inquirer.AllChoiceMap<inquirer.AllChoiceMap<inquirer.Answers>>>[];
11
- export declare function getOutputDefaultValue(answers: Answers): "src/gql" | "src/generated/graphql.tsx" | "src/generated/graphql.ts" | "src/generated/graphql.js";
11
+ export declare function getOutputDefaultValue(answers: Answers): "src/gql/" | "src/generated/graphql.tsx" | "src/generated/graphql.ts" | "src/generated/graphql.js";
12
12
  export declare function getDocumentsDefaultValue(answers: Answers): "src/**/*.vue" | "src/**/*.ts" | "src/**/*.tsx" | "src/**/*.graphql";