houdini 1.5.1 → 1.5.3
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 +5 -5
- package/build/cmd-esm/index.js +5 -5
- package/build/lib/config.d.ts +3 -1
- package/build/lib-cjs/index.js +3 -3
- package/build/lib-esm/index.js +3 -3
- package/build/runtime/client/plugins/subscription.d.ts +2 -2
- package/build/runtime-cjs/client/plugins/subscription.d.ts +2 -2
- package/build/runtime-esm/client/plugins/subscription.d.ts +2 -2
- package/build/test-cjs/index.js +3 -3
- package/build/test-esm/index.js +3 -3
- package/build/vite-cjs/index.js +3 -3
- package/build/vite-esm/index.js +3 -3
- package/package.json +1 -1
package/build/cmd-cjs/index.js
CHANGED
|
@@ -71757,8 +71757,8 @@ var Config = class {
|
|
|
71757
71757
|
relative(process.cwd(), filepath).replaceAll(sep2, "_").replace(".ts", ".js")
|
|
71758
71758
|
);
|
|
71759
71759
|
}
|
|
71760
|
-
excludeFile(filepath) {
|
|
71761
|
-
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, pattern))) {
|
|
71760
|
+
excludeFile(filepath, { root = this.projectRoot }) {
|
|
71761
|
+
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
|
|
71762
71762
|
return true;
|
|
71763
71763
|
}
|
|
71764
71764
|
for (const plugin2 of this.plugins) {
|
|
@@ -71787,7 +71787,7 @@ var Config = class {
|
|
|
71787
71787
|
if (!included && !this.include.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
|
|
71788
71788
|
return false;
|
|
71789
71789
|
}
|
|
71790
|
-
return !this.excludeFile(filepath);
|
|
71790
|
+
return !this.excludeFile(filepath, { root });
|
|
71791
71791
|
}
|
|
71792
71792
|
pluginRuntimeDirectory(name) {
|
|
71793
71793
|
return join2(this.pluginDirectory(name), "runtime");
|
|
@@ -82413,12 +82413,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
82413
82413
|
}
|
|
82414
82414
|
packageJSON2.devDependencies = {
|
|
82415
82415
|
...packageJSON2.devDependencies,
|
|
82416
|
-
houdini: "^1.5.
|
|
82416
|
+
houdini: "^1.5.3"
|
|
82417
82417
|
};
|
|
82418
82418
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
82419
82419
|
packageJSON2.devDependencies = {
|
|
82420
82420
|
...packageJSON2.devDependencies,
|
|
82421
|
-
"houdini-svelte": "^2.1.
|
|
82421
|
+
"houdini-svelte": "^2.1.7"
|
|
82422
82422
|
};
|
|
82423
82423
|
} else {
|
|
82424
82424
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -71762,8 +71762,8 @@ var Config = class {
|
|
|
71762
71762
|
relative(process.cwd(), filepath).replaceAll(sep2, "_").replace(".ts", ".js")
|
|
71763
71763
|
);
|
|
71764
71764
|
}
|
|
71765
|
-
excludeFile(filepath) {
|
|
71766
|
-
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, pattern))) {
|
|
71765
|
+
excludeFile(filepath, { root = this.projectRoot }) {
|
|
71766
|
+
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
|
|
71767
71767
|
return true;
|
|
71768
71768
|
}
|
|
71769
71769
|
for (const plugin2 of this.plugins) {
|
|
@@ -71792,7 +71792,7 @@ var Config = class {
|
|
|
71792
71792
|
if (!included && !this.include.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
|
|
71793
71793
|
return false;
|
|
71794
71794
|
}
|
|
71795
|
-
return !this.excludeFile(filepath);
|
|
71795
|
+
return !this.excludeFile(filepath, { root });
|
|
71796
71796
|
}
|
|
71797
71797
|
pluginRuntimeDirectory(name) {
|
|
71798
71798
|
return join2(this.pluginDirectory(name), "runtime");
|
|
@@ -82418,12 +82418,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
82418
82418
|
}
|
|
82419
82419
|
packageJSON2.devDependencies = {
|
|
82420
82420
|
...packageJSON2.devDependencies,
|
|
82421
|
-
houdini: "^1.5.
|
|
82421
|
+
houdini: "^1.5.3"
|
|
82422
82422
|
};
|
|
82423
82423
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
82424
82424
|
packageJSON2.devDependencies = {
|
|
82425
82425
|
...packageJSON2.devDependencies,
|
|
82426
|
-
"houdini-svelte": "^2.1.
|
|
82426
|
+
"houdini-svelte": "^2.1.7"
|
|
82427
82427
|
};
|
|
82428
82428
|
} else {
|
|
82429
82429
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/lib/config.d.ts
CHANGED
|
@@ -91,7 +91,9 @@ export declare class Config {
|
|
|
91
91
|
createDirectories(): void;
|
|
92
92
|
get compiledAssetsDir(): string;
|
|
93
93
|
compiledAssetPath(filepath: string): string;
|
|
94
|
-
excludeFile(filepath: string
|
|
94
|
+
excludeFile(filepath: string, { root }: {
|
|
95
|
+
root?: string;
|
|
96
|
+
}): boolean;
|
|
95
97
|
includeFile(filepath: string, { root, ignore_plugins, }?: {
|
|
96
98
|
root?: string;
|
|
97
99
|
ignore_plugins?: boolean;
|
package/build/lib-cjs/index.js
CHANGED
|
@@ -72080,8 +72080,8 @@ var Config = class {
|
|
|
72080
72080
|
relative(process.cwd(), filepath).replaceAll(sep2, "_").replace(".ts", ".js")
|
|
72081
72081
|
);
|
|
72082
72082
|
}
|
|
72083
|
-
excludeFile(filepath) {
|
|
72084
|
-
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, pattern))) {
|
|
72083
|
+
excludeFile(filepath, { root = this.projectRoot }) {
|
|
72084
|
+
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
|
|
72085
72085
|
return true;
|
|
72086
72086
|
}
|
|
72087
72087
|
for (const plugin2 of this.plugins) {
|
|
@@ -72110,7 +72110,7 @@ var Config = class {
|
|
|
72110
72110
|
if (!included && !this.include.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
|
|
72111
72111
|
return false;
|
|
72112
72112
|
}
|
|
72113
|
-
return !this.excludeFile(filepath);
|
|
72113
|
+
return !this.excludeFile(filepath, { root });
|
|
72114
72114
|
}
|
|
72115
72115
|
pluginRuntimeDirectory(name) {
|
|
72116
72116
|
return join2(this.pluginDirectory(name), "runtime");
|
package/build/lib-esm/index.js
CHANGED
|
@@ -71993,8 +71993,8 @@ var Config = class {
|
|
|
71993
71993
|
relative(process.cwd(), filepath).replaceAll(sep2, "_").replace(".ts", ".js")
|
|
71994
71994
|
);
|
|
71995
71995
|
}
|
|
71996
|
-
excludeFile(filepath) {
|
|
71997
|
-
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, pattern))) {
|
|
71996
|
+
excludeFile(filepath, { root = this.projectRoot }) {
|
|
71997
|
+
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
|
|
71998
71998
|
return true;
|
|
71999
71999
|
}
|
|
72000
72000
|
for (const plugin2 of this.plugins) {
|
|
@@ -72023,7 +72023,7 @@ var Config = class {
|
|
|
72023
72023
|
if (!included && !this.include.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
|
|
72024
72024
|
return false;
|
|
72025
72025
|
}
|
|
72026
|
-
return !this.excludeFile(filepath);
|
|
72026
|
+
return !this.excludeFile(filepath, { root });
|
|
72027
72027
|
}
|
|
72028
72028
|
pluginRuntimeDirectory(name) {
|
|
72029
72029
|
return join2(this.pluginDirectory(name), "runtime");
|
|
@@ -5,8 +5,8 @@ export type SubscriptionClient = {
|
|
|
5
5
|
subscribe: (payload: {
|
|
6
6
|
operationName?: string;
|
|
7
7
|
query: string;
|
|
8
|
-
variables?: Record<string, unknown
|
|
9
|
-
extensions?: Record<'persistedQuery', string> | Record<string, unknown
|
|
8
|
+
variables?: Record<string, unknown>;
|
|
9
|
+
extensions?: Record<'persistedQuery', string> | Record<string, unknown>;
|
|
10
10
|
}, handlers: {
|
|
11
11
|
next: (payload: {
|
|
12
12
|
data?: {} | null;
|
|
@@ -5,8 +5,8 @@ export type SubscriptionClient = {
|
|
|
5
5
|
subscribe: (payload: {
|
|
6
6
|
operationName?: string;
|
|
7
7
|
query: string;
|
|
8
|
-
variables?: Record<string, unknown
|
|
9
|
-
extensions?: Record<'persistedQuery', string> | Record<string, unknown
|
|
8
|
+
variables?: Record<string, unknown>;
|
|
9
|
+
extensions?: Record<'persistedQuery', string> | Record<string, unknown>;
|
|
10
10
|
}, handlers: {
|
|
11
11
|
next: (payload: {
|
|
12
12
|
data?: {} | null;
|
|
@@ -5,8 +5,8 @@ export type SubscriptionClient = {
|
|
|
5
5
|
subscribe: (payload: {
|
|
6
6
|
operationName?: string;
|
|
7
7
|
query: string;
|
|
8
|
-
variables?: Record<string, unknown
|
|
9
|
-
extensions?: Record<'persistedQuery', string> | Record<string, unknown
|
|
8
|
+
variables?: Record<string, unknown>;
|
|
9
|
+
extensions?: Record<'persistedQuery', string> | Record<string, unknown>;
|
|
10
10
|
}, handlers: {
|
|
11
11
|
next: (payload: {
|
|
12
12
|
data?: {} | null;
|
package/build/test-cjs/index.js
CHANGED
|
@@ -60933,8 +60933,8 @@ var Config = class {
|
|
|
60933
60933
|
relative(process.cwd(), filepath).replaceAll(sep2, "_").replace(".ts", ".js")
|
|
60934
60934
|
);
|
|
60935
60935
|
}
|
|
60936
|
-
excludeFile(filepath) {
|
|
60937
|
-
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, pattern))) {
|
|
60936
|
+
excludeFile(filepath, { root = this.projectRoot }) {
|
|
60937
|
+
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, join(root, pattern)))) {
|
|
60938
60938
|
return true;
|
|
60939
60939
|
}
|
|
60940
60940
|
for (const plugin2 of this.plugins) {
|
|
@@ -60963,7 +60963,7 @@ var Config = class {
|
|
|
60963
60963
|
if (!included && !this.include.some((pattern) => (0, import_minimatch8.default)(filepath, join(root, pattern)))) {
|
|
60964
60964
|
return false;
|
|
60965
60965
|
}
|
|
60966
|
-
return !this.excludeFile(filepath);
|
|
60966
|
+
return !this.excludeFile(filepath, { root });
|
|
60967
60967
|
}
|
|
60968
60968
|
pluginRuntimeDirectory(name) {
|
|
60969
60969
|
return join(this.pluginDirectory(name), "runtime");
|
package/build/test-esm/index.js
CHANGED
|
@@ -60929,8 +60929,8 @@ var Config = class {
|
|
|
60929
60929
|
relative(process.cwd(), filepath).replaceAll(sep2, "_").replace(".ts", ".js")
|
|
60930
60930
|
);
|
|
60931
60931
|
}
|
|
60932
|
-
excludeFile(filepath) {
|
|
60933
|
-
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, pattern))) {
|
|
60932
|
+
excludeFile(filepath, { root = this.projectRoot }) {
|
|
60933
|
+
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, join(root, pattern)))) {
|
|
60934
60934
|
return true;
|
|
60935
60935
|
}
|
|
60936
60936
|
for (const plugin2 of this.plugins) {
|
|
@@ -60959,7 +60959,7 @@ var Config = class {
|
|
|
60959
60959
|
if (!included && !this.include.some((pattern) => (0, import_minimatch8.default)(filepath, join(root, pattern)))) {
|
|
60960
60960
|
return false;
|
|
60961
60961
|
}
|
|
60962
|
-
return !this.excludeFile(filepath);
|
|
60962
|
+
return !this.excludeFile(filepath, { root });
|
|
60963
60963
|
}
|
|
60964
60964
|
pluginRuntimeDirectory(name) {
|
|
60965
60965
|
return join(this.pluginDirectory(name), "runtime");
|
package/build/vite-cjs/index.js
CHANGED
|
@@ -73310,8 +73310,8 @@ var Config = class {
|
|
|
73310
73310
|
relative(process.cwd(), filepath).replaceAll(sep2, "_").replace(".ts", ".js")
|
|
73311
73311
|
);
|
|
73312
73312
|
}
|
|
73313
|
-
excludeFile(filepath) {
|
|
73314
|
-
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, pattern))) {
|
|
73313
|
+
excludeFile(filepath, { root = this.projectRoot }) {
|
|
73314
|
+
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
|
|
73315
73315
|
return true;
|
|
73316
73316
|
}
|
|
73317
73317
|
for (const plugin2 of this.plugins) {
|
|
@@ -73340,7 +73340,7 @@ var Config = class {
|
|
|
73340
73340
|
if (!included && !this.include.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
|
|
73341
73341
|
return false;
|
|
73342
73342
|
}
|
|
73343
|
-
return !this.excludeFile(filepath);
|
|
73343
|
+
return !this.excludeFile(filepath, { root });
|
|
73344
73344
|
}
|
|
73345
73345
|
pluginRuntimeDirectory(name) {
|
|
73346
73346
|
return join2(this.pluginDirectory(name), "runtime");
|
package/build/vite-esm/index.js
CHANGED
|
@@ -73303,8 +73303,8 @@ var Config = class {
|
|
|
73303
73303
|
relative(process.cwd(), filepath).replaceAll(sep2, "_").replace(".ts", ".js")
|
|
73304
73304
|
);
|
|
73305
73305
|
}
|
|
73306
|
-
excludeFile(filepath) {
|
|
73307
|
-
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, pattern))) {
|
|
73306
|
+
excludeFile(filepath, { root = this.projectRoot }) {
|
|
73307
|
+
if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
|
|
73308
73308
|
return true;
|
|
73309
73309
|
}
|
|
73310
73310
|
for (const plugin2 of this.plugins) {
|
|
@@ -73333,7 +73333,7 @@ var Config = class {
|
|
|
73333
73333
|
if (!included && !this.include.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
|
|
73334
73334
|
return false;
|
|
73335
73335
|
}
|
|
73336
|
-
return !this.excludeFile(filepath);
|
|
73336
|
+
return !this.excludeFile(filepath, { root });
|
|
73337
73337
|
}
|
|
73338
73338
|
pluginRuntimeDirectory(name) {
|
|
73339
73339
|
return join2(this.pluginDirectory(name), "runtime");
|