houdini 1.4.2 → 1.5.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/build/cmd-cjs/index.js +3 -3
- package/build/cmd-esm/index.js +3 -3
- package/build/lib-cjs/index.js +1 -1
- package/build/lib-esm/index.js +1 -1
- package/build/runtime/lib/types.d.ts +4 -0
- package/build/runtime-cjs/lib/types.d.ts +4 -0
- package/build/runtime-esm/lib/types.d.ts +4 -0
- package/build/test-cjs/index.js +1 -1
- package/build/test-esm/index.js +1 -1
- package/build/vite-cjs/index.js +1 -1
- package/build/vite-esm/index.js +1 -1
- package/package.json +2 -3
package/build/cmd-cjs/index.js
CHANGED
|
@@ -71615,7 +71615,7 @@ var Config = class {
|
|
|
71615
71615
|
this.include.map(
|
|
71616
71616
|
(filepath) => glob2(join2(this.projectRoot, filepath))
|
|
71617
71617
|
)
|
|
71618
|
-
)).flat().filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
71618
|
+
)).flat().map((filepath) => posixify(filepath)).filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
71619
71619
|
const prefix = this.schemaPath?.startsWith("./") ? "./" : "";
|
|
71620
71620
|
return !this.schemaPath || !(0, import_minimatch8.default)(
|
|
71621
71621
|
prefix + relative(this.projectRoot, filepath).replaceAll("\\", "/"),
|
|
@@ -82326,12 +82326,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
82326
82326
|
}
|
|
82327
82327
|
packageJSON2.devDependencies = {
|
|
82328
82328
|
...packageJSON2.devDependencies,
|
|
82329
|
-
houdini: "^1.
|
|
82329
|
+
houdini: "^1.5.0"
|
|
82330
82330
|
};
|
|
82331
82331
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
82332
82332
|
packageJSON2.devDependencies = {
|
|
82333
82333
|
...packageJSON2.devDependencies,
|
|
82334
|
-
"houdini-svelte": "^2.1.
|
|
82334
|
+
"houdini-svelte": "^2.1.4"
|
|
82335
82335
|
};
|
|
82336
82336
|
} else {
|
|
82337
82337
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -71620,7 +71620,7 @@ var Config = class {
|
|
|
71620
71620
|
this.include.map(
|
|
71621
71621
|
(filepath) => glob2(join2(this.projectRoot, filepath))
|
|
71622
71622
|
)
|
|
71623
|
-
)).flat().filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
71623
|
+
)).flat().map((filepath) => posixify(filepath)).filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
71624
71624
|
const prefix = this.schemaPath?.startsWith("./") ? "./" : "";
|
|
71625
71625
|
return !this.schemaPath || !(0, import_minimatch8.default)(
|
|
71626
71626
|
prefix + relative(this.projectRoot, filepath).replaceAll("\\", "/"),
|
|
@@ -82331,12 +82331,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
82331
82331
|
}
|
|
82332
82332
|
packageJSON2.devDependencies = {
|
|
82333
82333
|
...packageJSON2.devDependencies,
|
|
82334
|
-
houdini: "^1.
|
|
82334
|
+
houdini: "^1.5.0"
|
|
82335
82335
|
};
|
|
82336
82336
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
82337
82337
|
packageJSON2.devDependencies = {
|
|
82338
82338
|
...packageJSON2.devDependencies,
|
|
82339
|
-
"houdini-svelte": "^2.1.
|
|
82339
|
+
"houdini-svelte": "^2.1.4"
|
|
82340
82340
|
};
|
|
82341
82341
|
} else {
|
|
82342
82342
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/lib-cjs/index.js
CHANGED
|
@@ -71938,7 +71938,7 @@ var Config = class {
|
|
|
71938
71938
|
this.include.map(
|
|
71939
71939
|
(filepath) => glob2(join2(this.projectRoot, filepath))
|
|
71940
71940
|
)
|
|
71941
|
-
)).flat().filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
71941
|
+
)).flat().map((filepath) => posixify(filepath)).filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
71942
71942
|
const prefix = this.schemaPath?.startsWith("./") ? "./" : "";
|
|
71943
71943
|
return !this.schemaPath || !(0, import_minimatch8.default)(
|
|
71944
71944
|
prefix + relative(this.projectRoot, filepath).replaceAll("\\", "/"),
|
package/build/lib-esm/index.js
CHANGED
|
@@ -71851,7 +71851,7 @@ var Config = class {
|
|
|
71851
71851
|
this.include.map(
|
|
71852
71852
|
(filepath) => glob2(join2(this.projectRoot, filepath))
|
|
71853
71853
|
)
|
|
71854
|
-
)).flat().filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
71854
|
+
)).flat().map((filepath) => posixify(filepath)).filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
71855
71855
|
const prefix = this.schemaPath?.startsWith("./") ? "./" : "";
|
|
71856
71856
|
return !this.schemaPath || !(0, import_minimatch8.default)(
|
|
71857
71857
|
prefix + relative(this.projectRoot, filepath).replaceAll("\\", "/"),
|
|
@@ -276,6 +276,10 @@ export type FetchParams<_Input> = {
|
|
|
276
276
|
* You can do what you want with it!
|
|
277
277
|
*/
|
|
278
278
|
metadata?: App.Metadata;
|
|
279
|
+
/**
|
|
280
|
+
* An abort controller to abort the operation
|
|
281
|
+
*/
|
|
282
|
+
abortController?: AbortController;
|
|
279
283
|
};
|
|
280
284
|
export type FetchFn<_Data extends GraphQLObject, _Input = any> = (params?: FetchParams<_Input>) => Promise<QueryResult<_Data, _Input>>;
|
|
281
285
|
export type CursorHandlers<_Data extends GraphQLObject, _Input> = {
|
|
@@ -276,6 +276,10 @@ export type FetchParams<_Input> = {
|
|
|
276
276
|
* You can do what you want with it!
|
|
277
277
|
*/
|
|
278
278
|
metadata?: App.Metadata;
|
|
279
|
+
/**
|
|
280
|
+
* An abort controller to abort the operation
|
|
281
|
+
*/
|
|
282
|
+
abortController?: AbortController;
|
|
279
283
|
};
|
|
280
284
|
export type FetchFn<_Data extends GraphQLObject, _Input = any> = (params?: FetchParams<_Input>) => Promise<QueryResult<_Data, _Input>>;
|
|
281
285
|
export type CursorHandlers<_Data extends GraphQLObject, _Input> = {
|
|
@@ -276,6 +276,10 @@ export type FetchParams<_Input> = {
|
|
|
276
276
|
* You can do what you want with it!
|
|
277
277
|
*/
|
|
278
278
|
metadata?: App.Metadata;
|
|
279
|
+
/**
|
|
280
|
+
* An abort controller to abort the operation
|
|
281
|
+
*/
|
|
282
|
+
abortController?: AbortController;
|
|
279
283
|
};
|
|
280
284
|
export type FetchFn<_Data extends GraphQLObject, _Input = any> = (params?: FetchParams<_Input>) => Promise<QueryResult<_Data, _Input>>;
|
|
281
285
|
export type CursorHandlers<_Data extends GraphQLObject, _Input> = {
|
package/build/test-cjs/index.js
CHANGED
|
@@ -60791,7 +60791,7 @@ var Config = class {
|
|
|
60791
60791
|
this.include.map(
|
|
60792
60792
|
(filepath) => glob2(join(this.projectRoot, filepath))
|
|
60793
60793
|
)
|
|
60794
|
-
)).flat().filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
60794
|
+
)).flat().map((filepath) => posixify(filepath)).filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
60795
60795
|
const prefix = this.schemaPath?.startsWith("./") ? "./" : "";
|
|
60796
60796
|
return !this.schemaPath || !(0, import_minimatch8.default)(
|
|
60797
60797
|
prefix + relative(this.projectRoot, filepath).replaceAll("\\", "/"),
|
package/build/test-esm/index.js
CHANGED
|
@@ -60787,7 +60787,7 @@ var Config = class {
|
|
|
60787
60787
|
this.include.map(
|
|
60788
60788
|
(filepath) => glob2(join(this.projectRoot, filepath))
|
|
60789
60789
|
)
|
|
60790
|
-
)).flat().filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
60790
|
+
)).flat().map((filepath) => posixify(filepath)).filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
60791
60791
|
const prefix = this.schemaPath?.startsWith("./") ? "./" : "";
|
|
60792
60792
|
return !this.schemaPath || !(0, import_minimatch8.default)(
|
|
60793
60793
|
prefix + relative(this.projectRoot, filepath).replaceAll("\\", "/"),
|
package/build/vite-cjs/index.js
CHANGED
|
@@ -73168,7 +73168,7 @@ var Config = class {
|
|
|
73168
73168
|
this.include.map(
|
|
73169
73169
|
(filepath) => glob2(join2(this.projectRoot, filepath))
|
|
73170
73170
|
)
|
|
73171
|
-
)).flat().filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
73171
|
+
)).flat().map((filepath) => posixify(filepath)).filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
73172
73172
|
const prefix = this.schemaPath?.startsWith("./") ? "./" : "";
|
|
73173
73173
|
return !this.schemaPath || !(0, import_minimatch8.default)(
|
|
73174
73174
|
prefix + relative(this.projectRoot, filepath).replaceAll("\\", "/"),
|
package/build/vite-esm/index.js
CHANGED
|
@@ -73161,7 +73161,7 @@ var Config = class {
|
|
|
73161
73161
|
this.include.map(
|
|
73162
73162
|
(filepath) => glob2(join2(this.projectRoot, filepath))
|
|
73163
73163
|
)
|
|
73164
|
-
)).flat().filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
73164
|
+
)).flat().map((filepath) => posixify(filepath)).filter((filepath) => this.includeFile(filepath)).filter((filepath) => {
|
|
73165
73165
|
const prefix = this.schemaPath?.startsWith("./") ? "./" : "";
|
|
73166
73166
|
return !this.schemaPath || !(0, import_minimatch8.default)(
|
|
73167
73167
|
prefix + relative(this.projectRoot, filepath).replaceAll("\\", "/"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "The disappearing GraphQL clients",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"kleur": "^4.1.5",
|
|
26
26
|
"prettier": "^2.8.3",
|
|
27
27
|
"rollup": "^4.28.1",
|
|
28
|
-
"vite": "^6.0.3",
|
|
29
28
|
"vitest": "^1.6.0",
|
|
30
29
|
"scripts": "^1.0.0"
|
|
31
30
|
},
|
|
@@ -57,7 +56,7 @@
|
|
|
57
56
|
"vite-plugin-watch-and-run": "^1.7.0"
|
|
58
57
|
},
|
|
59
58
|
"peerDependencies": {
|
|
60
|
-
"vite": "^5.3.3"
|
|
59
|
+
"vite": "^5.3.3 || ^6.0.3"
|
|
61
60
|
},
|
|
62
61
|
"files": [
|
|
63
62
|
"build"
|