houdini-svelte 1.1.5 → 1.1.7
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.
|
@@ -96076,7 +96076,16 @@ var Config = class {
|
|
|
96076
96076
|
return "$houdini.d.ts";
|
|
96077
96077
|
}
|
|
96078
96078
|
get runtimeSource() {
|
|
96079
|
-
|
|
96079
|
+
let relative22;
|
|
96080
|
+
if (houdini_mode.is_testing) {
|
|
96081
|
+
relative22 = join2(currentDir, "..", "..");
|
|
96082
|
+
} else if (process.versions.pnp) {
|
|
96083
|
+
const { findPnpApi } = __require("node:module");
|
|
96084
|
+
const pnp = findPnpApi(this.filepath);
|
|
96085
|
+
relative22 = pnp.resolveToUnqualified("houdini", this.filepath);
|
|
96086
|
+
} else {
|
|
96087
|
+
relative22 = findModule("houdini", join2(dirname(this.filepath)));
|
|
96088
|
+
}
|
|
96080
96089
|
const which = this.module === "esm" ? "esm" : "cjs";
|
|
96081
96090
|
return resolve(relative22, "build", `runtime-${which}`);
|
|
96082
96091
|
}
|
|
@@ -96535,6 +96544,11 @@ var orderedPlugins = (plugins2) => {
|
|
|
96535
96544
|
};
|
|
96536
96545
|
async function pluginPath(plugin_name, config_path) {
|
|
96537
96546
|
try {
|
|
96547
|
+
if (process.versions.pnp) {
|
|
96548
|
+
const { findPnpApi } = __require("node:module");
|
|
96549
|
+
const pnp = findPnpApi(config_path);
|
|
96550
|
+
return pnp.resolveRequest(plugin_name, config_path, { conditions: /* @__PURE__ */ new Set(["import"]) });
|
|
96551
|
+
}
|
|
96538
96552
|
const pluginDirectory = findModule(plugin_name, config_path);
|
|
96539
96553
|
const packageJsonSrc = await readFile(join2(pluginDirectory, "package.json"));
|
|
96540
96554
|
if (!packageJsonSrc) {
|
|
@@ -96069,7 +96069,16 @@ var Config = class {
|
|
|
96069
96069
|
return "$houdini.d.ts";
|
|
96070
96070
|
}
|
|
96071
96071
|
get runtimeSource() {
|
|
96072
|
-
|
|
96072
|
+
let relative22;
|
|
96073
|
+
if (houdini_mode.is_testing) {
|
|
96074
|
+
relative22 = join2(currentDir, "..", "..");
|
|
96075
|
+
} else if (process.versions.pnp) {
|
|
96076
|
+
const { findPnpApi } = __require2("node:module");
|
|
96077
|
+
const pnp = findPnpApi(this.filepath);
|
|
96078
|
+
relative22 = pnp.resolveToUnqualified("houdini", this.filepath);
|
|
96079
|
+
} else {
|
|
96080
|
+
relative22 = findModule("houdini", join2(dirname(this.filepath)));
|
|
96081
|
+
}
|
|
96073
96082
|
const which = this.module === "esm" ? "esm" : "cjs";
|
|
96074
96083
|
return resolve(relative22, "build", `runtime-${which}`);
|
|
96075
96084
|
}
|
|
@@ -96528,6 +96537,11 @@ var orderedPlugins = (plugins2) => {
|
|
|
96528
96537
|
};
|
|
96529
96538
|
async function pluginPath(plugin_name, config_path) {
|
|
96530
96539
|
try {
|
|
96540
|
+
if (process.versions.pnp) {
|
|
96541
|
+
const { findPnpApi } = __require2("node:module");
|
|
96542
|
+
const pnp = findPnpApi(config_path);
|
|
96543
|
+
return pnp.resolveRequest(plugin_name, config_path, { conditions: /* @__PURE__ */ new Set(["import"]) });
|
|
96544
|
+
}
|
|
96531
96545
|
const pluginDirectory = findModule(plugin_name, config_path);
|
|
96532
96546
|
const packageJsonSrc = await readFile(join2(pluginDirectory, "package.json"));
|
|
96533
96547
|
if (!packageJsonSrc) {
|
package/build/test-cjs/index.js
CHANGED
|
@@ -211038,7 +211038,16 @@ var Config = class {
|
|
|
211038
211038
|
return "$houdini.d.ts";
|
|
211039
211039
|
}
|
|
211040
211040
|
get runtimeSource() {
|
|
211041
|
-
|
|
211041
|
+
let relative22;
|
|
211042
|
+
if (houdini_mode3.is_testing) {
|
|
211043
|
+
relative22 = join4(currentDir3, "..", "..");
|
|
211044
|
+
} else if (process.versions.pnp) {
|
|
211045
|
+
const { findPnpApi } = __require3("node:module");
|
|
211046
|
+
const pnp = findPnpApi(this.filepath);
|
|
211047
|
+
relative22 = pnp.resolveToUnqualified("houdini", this.filepath);
|
|
211048
|
+
} else {
|
|
211049
|
+
relative22 = findModule("houdini", join4(dirname3(this.filepath)));
|
|
211050
|
+
}
|
|
211042
211051
|
const which = this.module === "esm" ? "esm" : "cjs";
|
|
211043
211052
|
return resolve3(relative22, "build", `runtime-${which}`);
|
|
211044
211053
|
}
|
package/build/test-esm/index.js
CHANGED
|
@@ -211024,7 +211024,16 @@ var Config = class {
|
|
|
211024
211024
|
return "$houdini.d.ts";
|
|
211025
211025
|
}
|
|
211026
211026
|
get runtimeSource() {
|
|
211027
|
-
|
|
211027
|
+
let relative22;
|
|
211028
|
+
if (houdini_mode3.is_testing) {
|
|
211029
|
+
relative22 = join4(currentDir3, "..", "..");
|
|
211030
|
+
} else if (process.versions.pnp) {
|
|
211031
|
+
const { findPnpApi } = __require4("node:module");
|
|
211032
|
+
const pnp = findPnpApi(this.filepath);
|
|
211033
|
+
relative22 = pnp.resolveToUnqualified("houdini", this.filepath);
|
|
211034
|
+
} else {
|
|
211035
|
+
relative22 = findModule("houdini", join4(dirname3(this.filepath)));
|
|
211036
|
+
}
|
|
211028
211037
|
const which = this.module === "esm" ? "esm" : "cjs";
|
|
211029
211038
|
return resolve3(relative22, "build", `runtime-${which}`);
|
|
211030
211039
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini-svelte",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "The svelte plugin for houdini",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"rollup": "^3.7.4",
|
|
33
33
|
"svelte": "^3.57.0",
|
|
34
34
|
"vite": "^4.1.1",
|
|
35
|
-
"houdini": "^1.1.
|
|
35
|
+
"houdini": "^1.1.7"
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
38
|
"build"
|