houdini 1.1.6 → 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.
- package/build/cmd-cjs/index.js +17 -3
- package/build/cmd-esm/index.js +17 -3
- package/build/lib-cjs/index.js +15 -1
- package/build/lib-esm/index.js +15 -1
- package/build/test-cjs/index.js +10 -1
- package/build/test-esm/index.js +10 -1
- package/build/vite-cjs/index.js +15 -1
- package/build/vite-esm/index.js +15 -1
- package/package.json +1 -1
package/build/cmd-cjs/index.js
CHANGED
|
@@ -72527,7 +72527,16 @@ var Config = class {
|
|
|
72527
72527
|
return "$houdini.d.ts";
|
|
72528
72528
|
}
|
|
72529
72529
|
get runtimeSource() {
|
|
72530
|
-
|
|
72530
|
+
let relative2;
|
|
72531
|
+
if (houdini_mode.is_testing) {
|
|
72532
|
+
relative2 = join2(currentDir, "..", "..");
|
|
72533
|
+
} else if (process.versions.pnp) {
|
|
72534
|
+
const { findPnpApi } = require("node:module");
|
|
72535
|
+
const pnp = findPnpApi(this.filepath);
|
|
72536
|
+
relative2 = pnp.resolveToUnqualified("houdini", this.filepath);
|
|
72537
|
+
} else {
|
|
72538
|
+
relative2 = findModule("houdini", join2(dirname(this.filepath)));
|
|
72539
|
+
}
|
|
72531
72540
|
const which = this.module === "esm" ? "esm" : "cjs";
|
|
72532
72541
|
return resolve(relative2, "build", `runtime-${which}`);
|
|
72533
72542
|
}
|
|
@@ -72986,6 +72995,11 @@ var orderedPlugins = (plugins) => {
|
|
|
72986
72995
|
};
|
|
72987
72996
|
async function pluginPath(plugin_name, config_path) {
|
|
72988
72997
|
try {
|
|
72998
|
+
if (process.versions.pnp) {
|
|
72999
|
+
const { findPnpApi } = require("node:module");
|
|
73000
|
+
const pnp = findPnpApi(config_path);
|
|
73001
|
+
return pnp.resolveRequest(plugin_name, config_path, { conditions: /* @__PURE__ */ new Set(["import"]) });
|
|
73002
|
+
}
|
|
72989
73003
|
const pluginDirectory = findModule(plugin_name, config_path);
|
|
72990
73004
|
const packageJsonSrc = await readFile(join2(pluginDirectory, "package.json"));
|
|
72991
73005
|
if (!packageJsonSrc) {
|
|
@@ -79520,8 +79534,8 @@ async function updatePackageJSON(targetPath) {
|
|
|
79520
79534
|
}
|
|
79521
79535
|
packageJSON.devDependencies = {
|
|
79522
79536
|
...packageJSON.devDependencies,
|
|
79523
|
-
houdini: "^1.1.
|
|
79524
|
-
"houdini-svelte": "^1.1.
|
|
79537
|
+
houdini: "^1.1.7",
|
|
79538
|
+
"houdini-svelte": "^1.1.7"
|
|
79525
79539
|
};
|
|
79526
79540
|
await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
|
|
79527
79541
|
}
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -72532,7 +72532,16 @@ var Config = class {
|
|
|
72532
72532
|
return "$houdini.d.ts";
|
|
72533
72533
|
}
|
|
72534
72534
|
get runtimeSource() {
|
|
72535
|
-
|
|
72535
|
+
let relative2;
|
|
72536
|
+
if (houdini_mode.is_testing) {
|
|
72537
|
+
relative2 = join2(currentDir, "..", "..");
|
|
72538
|
+
} else if (process.versions.pnp) {
|
|
72539
|
+
const { findPnpApi } = __require("node:module");
|
|
72540
|
+
const pnp = findPnpApi(this.filepath);
|
|
72541
|
+
relative2 = pnp.resolveToUnqualified("houdini", this.filepath);
|
|
72542
|
+
} else {
|
|
72543
|
+
relative2 = findModule("houdini", join2(dirname(this.filepath)));
|
|
72544
|
+
}
|
|
72536
72545
|
const which = this.module === "esm" ? "esm" : "cjs";
|
|
72537
72546
|
return resolve(relative2, "build", `runtime-${which}`);
|
|
72538
72547
|
}
|
|
@@ -72991,6 +73000,11 @@ var orderedPlugins = (plugins) => {
|
|
|
72991
73000
|
};
|
|
72992
73001
|
async function pluginPath(plugin_name, config_path) {
|
|
72993
73002
|
try {
|
|
73003
|
+
if (process.versions.pnp) {
|
|
73004
|
+
const { findPnpApi } = __require("node:module");
|
|
73005
|
+
const pnp = findPnpApi(config_path);
|
|
73006
|
+
return pnp.resolveRequest(plugin_name, config_path, { conditions: /* @__PURE__ */ new Set(["import"]) });
|
|
73007
|
+
}
|
|
72994
73008
|
const pluginDirectory = findModule(plugin_name, config_path);
|
|
72995
73009
|
const packageJsonSrc = await readFile(join2(pluginDirectory, "package.json"));
|
|
72996
73010
|
if (!packageJsonSrc) {
|
|
@@ -79525,8 +79539,8 @@ async function updatePackageJSON(targetPath) {
|
|
|
79525
79539
|
}
|
|
79526
79540
|
packageJSON.devDependencies = {
|
|
79527
79541
|
...packageJSON.devDependencies,
|
|
79528
|
-
houdini: "^1.1.
|
|
79529
|
-
"houdini-svelte": "^1.1.
|
|
79542
|
+
houdini: "^1.1.7",
|
|
79543
|
+
"houdini-svelte": "^1.1.7"
|
|
79530
79544
|
};
|
|
79531
79545
|
await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
|
|
79532
79546
|
}
|
package/build/lib-cjs/index.js
CHANGED
|
@@ -66635,7 +66635,16 @@ var Config = class {
|
|
|
66635
66635
|
return "$houdini.d.ts";
|
|
66636
66636
|
}
|
|
66637
66637
|
get runtimeSource() {
|
|
66638
|
-
|
|
66638
|
+
let relative2;
|
|
66639
|
+
if (houdini_mode.is_testing) {
|
|
66640
|
+
relative2 = join2(currentDir, "..", "..");
|
|
66641
|
+
} else if (process.versions.pnp) {
|
|
66642
|
+
const { findPnpApi } = require("node:module");
|
|
66643
|
+
const pnp = findPnpApi(this.filepath);
|
|
66644
|
+
relative2 = pnp.resolveToUnqualified("houdini", this.filepath);
|
|
66645
|
+
} else {
|
|
66646
|
+
relative2 = findModule("houdini", join2(dirname(this.filepath)));
|
|
66647
|
+
}
|
|
66639
66648
|
const which = this.module === "esm" ? "esm" : "cjs";
|
|
66640
66649
|
return resolve(relative2, "build", `runtime-${which}`);
|
|
66641
66650
|
}
|
|
@@ -67094,6 +67103,11 @@ var orderedPlugins = (plugins2) => {
|
|
|
67094
67103
|
};
|
|
67095
67104
|
async function pluginPath(plugin_name, config_path) {
|
|
67096
67105
|
try {
|
|
67106
|
+
if (process.versions.pnp) {
|
|
67107
|
+
const { findPnpApi } = require("node:module");
|
|
67108
|
+
const pnp = findPnpApi(config_path);
|
|
67109
|
+
return pnp.resolveRequest(plugin_name, config_path, { conditions: /* @__PURE__ */ new Set(["import"]) });
|
|
67110
|
+
}
|
|
67097
67111
|
const pluginDirectory = findModule(plugin_name, config_path);
|
|
67098
67112
|
const packageJsonSrc = await readFile(join2(pluginDirectory, "package.json"));
|
|
67099
67113
|
if (!packageJsonSrc) {
|
package/build/lib-esm/index.js
CHANGED
|
@@ -66579,7 +66579,16 @@ var Config = class {
|
|
|
66579
66579
|
return "$houdini.d.ts";
|
|
66580
66580
|
}
|
|
66581
66581
|
get runtimeSource() {
|
|
66582
|
-
|
|
66582
|
+
let relative2;
|
|
66583
|
+
if (houdini_mode.is_testing) {
|
|
66584
|
+
relative2 = join2(currentDir, "..", "..");
|
|
66585
|
+
} else if (process.versions.pnp) {
|
|
66586
|
+
const { findPnpApi } = __require("node:module");
|
|
66587
|
+
const pnp = findPnpApi(this.filepath);
|
|
66588
|
+
relative2 = pnp.resolveToUnqualified("houdini", this.filepath);
|
|
66589
|
+
} else {
|
|
66590
|
+
relative2 = findModule("houdini", join2(dirname(this.filepath)));
|
|
66591
|
+
}
|
|
66583
66592
|
const which = this.module === "esm" ? "esm" : "cjs";
|
|
66584
66593
|
return resolve(relative2, "build", `runtime-${which}`);
|
|
66585
66594
|
}
|
|
@@ -67038,6 +67047,11 @@ var orderedPlugins = (plugins2) => {
|
|
|
67038
67047
|
};
|
|
67039
67048
|
async function pluginPath(plugin_name, config_path) {
|
|
67040
67049
|
try {
|
|
67050
|
+
if (process.versions.pnp) {
|
|
67051
|
+
const { findPnpApi } = __require("node:module");
|
|
67052
|
+
const pnp = findPnpApi(config_path);
|
|
67053
|
+
return pnp.resolveRequest(plugin_name, config_path, { conditions: /* @__PURE__ */ new Set(["import"]) });
|
|
67054
|
+
}
|
|
67041
67055
|
const pluginDirectory = findModule(plugin_name, config_path);
|
|
67042
67056
|
const packageJsonSrc = await readFile(join2(pluginDirectory, "package.json"));
|
|
67043
67057
|
if (!packageJsonSrc) {
|
package/build/test-cjs/index.js
CHANGED
|
@@ -57009,7 +57009,16 @@ var Config = class {
|
|
|
57009
57009
|
return "$houdini.d.ts";
|
|
57010
57010
|
}
|
|
57011
57011
|
get runtimeSource() {
|
|
57012
|
-
|
|
57012
|
+
let relative2;
|
|
57013
|
+
if (houdini_mode.is_testing) {
|
|
57014
|
+
relative2 = join(currentDir, "..", "..");
|
|
57015
|
+
} else if (process.versions.pnp) {
|
|
57016
|
+
const { findPnpApi } = require("node:module");
|
|
57017
|
+
const pnp = findPnpApi(this.filepath);
|
|
57018
|
+
relative2 = pnp.resolveToUnqualified("houdini", this.filepath);
|
|
57019
|
+
} else {
|
|
57020
|
+
relative2 = findModule("houdini", join(dirname(this.filepath)));
|
|
57021
|
+
}
|
|
57013
57022
|
const which = this.module === "esm" ? "esm" : "cjs";
|
|
57014
57023
|
return resolve(relative2, "build", `runtime-${which}`);
|
|
57015
57024
|
}
|
package/build/test-esm/index.js
CHANGED
|
@@ -57004,7 +57004,16 @@ var Config = class {
|
|
|
57004
57004
|
return "$houdini.d.ts";
|
|
57005
57005
|
}
|
|
57006
57006
|
get runtimeSource() {
|
|
57007
|
-
|
|
57007
|
+
let relative2;
|
|
57008
|
+
if (houdini_mode.is_testing) {
|
|
57009
|
+
relative2 = join(currentDir, "..", "..");
|
|
57010
|
+
} else if (process.versions.pnp) {
|
|
57011
|
+
const { findPnpApi } = __require("node:module");
|
|
57012
|
+
const pnp = findPnpApi(this.filepath);
|
|
57013
|
+
relative2 = pnp.resolveToUnqualified("houdini", this.filepath);
|
|
57014
|
+
} else {
|
|
57015
|
+
relative2 = findModule("houdini", join(dirname(this.filepath)));
|
|
57016
|
+
}
|
|
57008
57017
|
const which = this.module === "esm" ? "esm" : "cjs";
|
|
57009
57018
|
return resolve(relative2, "build", `runtime-${which}`);
|
|
57010
57019
|
}
|
package/build/vite-cjs/index.js
CHANGED
|
@@ -69392,7 +69392,16 @@ var Config = class {
|
|
|
69392
69392
|
return "$houdini.d.ts";
|
|
69393
69393
|
}
|
|
69394
69394
|
get runtimeSource() {
|
|
69395
|
-
|
|
69395
|
+
let relative2;
|
|
69396
|
+
if (houdini_mode.is_testing) {
|
|
69397
|
+
relative2 = join2(currentDir, "..", "..");
|
|
69398
|
+
} else if (process.versions.pnp) {
|
|
69399
|
+
const { findPnpApi } = require("node:module");
|
|
69400
|
+
const pnp = findPnpApi(this.filepath);
|
|
69401
|
+
relative2 = pnp.resolveToUnqualified("houdini", this.filepath);
|
|
69402
|
+
} else {
|
|
69403
|
+
relative2 = findModule("houdini", join2(dirname(this.filepath)));
|
|
69404
|
+
}
|
|
69396
69405
|
const which = this.module === "esm" ? "esm" : "cjs";
|
|
69397
69406
|
return resolve(relative2, "build", `runtime-${which}`);
|
|
69398
69407
|
}
|
|
@@ -69851,6 +69860,11 @@ var orderedPlugins = (plugins) => {
|
|
|
69851
69860
|
};
|
|
69852
69861
|
async function pluginPath(plugin_name, config_path) {
|
|
69853
69862
|
try {
|
|
69863
|
+
if (process.versions.pnp) {
|
|
69864
|
+
const { findPnpApi } = require("node:module");
|
|
69865
|
+
const pnp = findPnpApi(config_path);
|
|
69866
|
+
return pnp.resolveRequest(plugin_name, config_path, { conditions: /* @__PURE__ */ new Set(["import"]) });
|
|
69867
|
+
}
|
|
69854
69868
|
const pluginDirectory = findModule(plugin_name, config_path);
|
|
69855
69869
|
const packageJsonSrc = await readFile(join2(pluginDirectory, "package.json"));
|
|
69856
69870
|
if (!packageJsonSrc) {
|
package/build/vite-esm/index.js
CHANGED
|
@@ -69386,7 +69386,16 @@ var Config = class {
|
|
|
69386
69386
|
return "$houdini.d.ts";
|
|
69387
69387
|
}
|
|
69388
69388
|
get runtimeSource() {
|
|
69389
|
-
|
|
69389
|
+
let relative2;
|
|
69390
|
+
if (houdini_mode.is_testing) {
|
|
69391
|
+
relative2 = join2(currentDir, "..", "..");
|
|
69392
|
+
} else if (process.versions.pnp) {
|
|
69393
|
+
const { findPnpApi } = __require("node:module");
|
|
69394
|
+
const pnp = findPnpApi(this.filepath);
|
|
69395
|
+
relative2 = pnp.resolveToUnqualified("houdini", this.filepath);
|
|
69396
|
+
} else {
|
|
69397
|
+
relative2 = findModule("houdini", join2(dirname(this.filepath)));
|
|
69398
|
+
}
|
|
69390
69399
|
const which = this.module === "esm" ? "esm" : "cjs";
|
|
69391
69400
|
return resolve(relative2, "build", `runtime-${which}`);
|
|
69392
69401
|
}
|
|
@@ -69845,6 +69854,11 @@ var orderedPlugins = (plugins) => {
|
|
|
69845
69854
|
};
|
|
69846
69855
|
async function pluginPath(plugin_name, config_path) {
|
|
69847
69856
|
try {
|
|
69857
|
+
if (process.versions.pnp) {
|
|
69858
|
+
const { findPnpApi } = __require("node:module");
|
|
69859
|
+
const pnp = findPnpApi(config_path);
|
|
69860
|
+
return pnp.resolveRequest(plugin_name, config_path, { conditions: /* @__PURE__ */ new Set(["import"]) });
|
|
69861
|
+
}
|
|
69848
69862
|
const pluginDirectory = findModule(plugin_name, config_path);
|
|
69849
69863
|
const packageJsonSrc = await readFile(join2(pluginDirectory, "package.json"));
|
|
69850
69864
|
if (!packageJsonSrc) {
|