create-houdini 1.2.20-next.1 → 1.2.21
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/bin.js
CHANGED
|
@@ -109,14 +109,14 @@ if (!localSchema) {
|
|
|
109
109
|
await pullSchemaCli()
|
|
110
110
|
apiUrl = apiUrlCli
|
|
111
111
|
if (pullSchema_content_cli === null) {
|
|
112
|
-
pCancel('
|
|
112
|
+
pCancel('There was a problem pulling your shema. Please try again.')
|
|
113
113
|
} else {
|
|
114
114
|
pullSchema_content = pullSchema_content_cli
|
|
115
115
|
}
|
|
116
116
|
} else {
|
|
117
117
|
const pullSchema_content_local = await pullSchema(apiUrl, {})
|
|
118
118
|
if (pullSchema_content_local === null) {
|
|
119
|
-
pCancel('
|
|
119
|
+
pCancel('There was a problem pulling your shema. Please report this on Discord.')
|
|
120
120
|
} else {
|
|
121
121
|
pullSchema_content = pullSchema_content_local
|
|
122
122
|
}
|
|
@@ -292,7 +292,9 @@ async function pullSchemaCli() {
|
|
|
292
292
|
|
|
293
293
|
// if we are here... it means that we have tried x times to pull the schema and it failed
|
|
294
294
|
if (pullSchema_content === null) {
|
|
295
|
-
pCancel(
|
|
295
|
+
pCancel(
|
|
296
|
+
'There was a problem pulling your schema. Please check your URL/headers and try again.'
|
|
297
|
+
)
|
|
296
298
|
}
|
|
297
299
|
|
|
298
300
|
return { apiUrl, pullSchema_content }
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"react-dom": "^18.2.0",
|
|
16
16
|
"react-streaming": "^0.3.14",
|
|
17
17
|
"graphql-yoga": "4.0.4",
|
|
18
|
-
"graphql": "15.
|
|
18
|
+
"graphql": "15.8.0",
|
|
19
19
|
"@whatwg-node/server": "^0.9.14"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"vite": "^4.1.0"
|
|
24
24
|
},
|
|
25
25
|
"resolutions": {
|
|
26
|
-
"graphql": "15.
|
|
26
|
+
"graphql": "15.8.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"react-dom": "^18.2.0",
|
|
16
16
|
"react-streaming": "^0.3.14",
|
|
17
17
|
"graphql-yoga": "4.0.4",
|
|
18
|
-
"graphql": "15.
|
|
18
|
+
"graphql": "15.8.0",
|
|
19
19
|
"@whatwg-node/server": "^0.9.14"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
"vite": "^4.1.0"
|
|
27
27
|
},
|
|
28
28
|
"resolutions": {
|
|
29
|
-
"graphql": "15.
|
|
29
|
+
"graphql": "15.8.0"
|
|
30
30
|
}
|
|
31
31
|
}
|