@graphql-codegen/cli 3.3.1-alpha-20230407174544-86b972ff8 → 3.3.1-alpha-20230407192238-64710dcb6
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/init/questions.js
CHANGED
|
@@ -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';
|
package/esm/init/questions.js
CHANGED
|
@@ -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-alpha-
|
|
3
|
+
"version": "3.3.1-alpha-20230407192238-64710dcb6",
|
|
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
|
},
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"@graphql-tools/apollo-engine-loader": "^7.3.6",
|
|
14
14
|
"@graphql-tools/code-file-loader": "^7.3.17",
|
|
15
15
|
"@graphql-tools/git-loader": "^7.2.13",
|
|
16
|
-
"@graphql-tools/github-loader": "^7.3.
|
|
16
|
+
"@graphql-tools/github-loader": "^7.3.28",
|
|
17
17
|
"@graphql-tools/graphql-file-loader": "^7.5.0",
|
|
18
18
|
"@graphql-tools/json-file-loader": "^7.4.1",
|
|
19
19
|
"@graphql-tools/load": "^7.8.0",
|
|
20
|
-
"@graphql-tools/prisma-loader": "^7.2.
|
|
21
|
-
"@graphql-tools/url-loader": "^7.
|
|
20
|
+
"@graphql-tools/prisma-loader": "^7.2.69",
|
|
21
|
+
"@graphql-tools/url-loader": "^7.17.17",
|
|
22
22
|
"@graphql-tools/utils": "^9.0.0",
|
|
23
23
|
"@parcel/watcher": "^2.1.0",
|
|
24
24
|
"@whatwg-node/fetch": "^0.8.0",
|
|
@@ -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
|
|
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
|
|
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";
|