houdini 2.0.0-next.2 → 2.0.0-next.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
CHANGED
|
@@ -89184,12 +89184,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
89184
89184
|
}
|
|
89185
89185
|
packageJSON2.devDependencies = {
|
|
89186
89186
|
...packageJSON2.devDependencies,
|
|
89187
|
-
houdini: "^2.0.0-next.
|
|
89187
|
+
houdini: "^2.0.0-next.3"
|
|
89188
89188
|
};
|
|
89189
89189
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
89190
89190
|
packageJSON2.devDependencies = {
|
|
89191
89191
|
...packageJSON2.devDependencies,
|
|
89192
|
-
"houdini-svelte": "^2.2.0-next.
|
|
89192
|
+
"houdini-svelte": "^2.2.0-next.5"
|
|
89193
89193
|
};
|
|
89194
89194
|
} else {
|
|
89195
89195
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -89188,12 +89188,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
89188
89188
|
}
|
|
89189
89189
|
packageJSON2.devDependencies = {
|
|
89190
89190
|
...packageJSON2.devDependencies,
|
|
89191
|
-
houdini: "^2.0.0-next.
|
|
89191
|
+
houdini: "^2.0.0-next.3"
|
|
89192
89192
|
};
|
|
89193
89193
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
89194
89194
|
packageJSON2.devDependencies = {
|
|
89195
89195
|
...packageJSON2.devDependencies,
|
|
89196
|
-
"houdini-svelte": "^2.2.0-next.
|
|
89196
|
+
"houdini-svelte": "^2.2.0-next.5"
|
|
89197
89197
|
};
|
|
89198
89198
|
} else {
|
|
89199
89199
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/vite-cjs/index.js
CHANGED
|
@@ -85756,7 +85756,7 @@ function Plugin(opts = {}) {
|
|
|
85756
85756
|
const runtimeDir = path_exports.join(config2.projectRoot, config2.runtimeDir ?? "$houdini");
|
|
85757
85757
|
const isGqlFile = isGraphQLFile(file);
|
|
85758
85758
|
if (!(shouldReact && (fileDependsOnHoudini(modules, runtimeDir) || isGqlFile))) {
|
|
85759
|
-
return
|
|
85759
|
+
return modules;
|
|
85760
85760
|
}
|
|
85761
85761
|
if (config2.localSchema) {
|
|
85762
85762
|
config2.schema = (await server.ssrLoadModule(config2.localSchemaPath)).default;
|
|
@@ -85776,7 +85776,7 @@ function Plugin(opts = {}) {
|
|
|
85776
85776
|
timestamp
|
|
85777
85777
|
};
|
|
85778
85778
|
if (!artifactStats) {
|
|
85779
|
-
return
|
|
85779
|
+
return modules;
|
|
85780
85780
|
}
|
|
85781
85781
|
console.log("\u{1F3A9} \u2B06\uFE0F bundle changed, triggering HMR update");
|
|
85782
85782
|
const taintedModules = [];
|
|
@@ -85786,7 +85786,7 @@ function Plugin(opts = {}) {
|
|
|
85786
85786
|
taintedModules.push(module2);
|
|
85787
85787
|
}
|
|
85788
85788
|
}
|
|
85789
|
-
return taintedModules;
|
|
85789
|
+
return taintedModules.concat(modules);
|
|
85790
85790
|
},
|
|
85791
85791
|
// add watch-and-run to their vite config
|
|
85792
85792
|
async config(userConfig, env2) {
|
package/build/vite-esm/index.js
CHANGED
|
@@ -85748,7 +85748,7 @@ function Plugin(opts = {}) {
|
|
|
85748
85748
|
const runtimeDir = path_exports.join(config2.projectRoot, config2.runtimeDir ?? "$houdini");
|
|
85749
85749
|
const isGqlFile = isGraphQLFile(file);
|
|
85750
85750
|
if (!(shouldReact && (fileDependsOnHoudini(modules, runtimeDir) || isGqlFile))) {
|
|
85751
|
-
return
|
|
85751
|
+
return modules;
|
|
85752
85752
|
}
|
|
85753
85753
|
if (config2.localSchema) {
|
|
85754
85754
|
config2.schema = (await server.ssrLoadModule(config2.localSchemaPath)).default;
|
|
@@ -85768,7 +85768,7 @@ function Plugin(opts = {}) {
|
|
|
85768
85768
|
timestamp
|
|
85769
85769
|
};
|
|
85770
85770
|
if (!artifactStats) {
|
|
85771
|
-
return
|
|
85771
|
+
return modules;
|
|
85772
85772
|
}
|
|
85773
85773
|
console.log("\u{1F3A9} \u2B06\uFE0F bundle changed, triggering HMR update");
|
|
85774
85774
|
const taintedModules = [];
|
|
@@ -85778,7 +85778,7 @@ function Plugin(opts = {}) {
|
|
|
85778
85778
|
taintedModules.push(module);
|
|
85779
85779
|
}
|
|
85780
85780
|
}
|
|
85781
|
-
return taintedModules;
|
|
85781
|
+
return taintedModules.concat(modules);
|
|
85782
85782
|
},
|
|
85783
85783
|
// add watch-and-run to their vite config
|
|
85784
85784
|
async config(userConfig, env2) {
|