houdini 1.2.20-next.0 → 1.2.20-next.1

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.
@@ -69071,6 +69071,7 @@ var import_node_path2 = __toESM(require("node:path"), 1);
69071
69071
  async function buildLocalSchema(config2) {
69072
69072
  const { build } = await import("vite");
69073
69073
  process.env.HOUDINI_SCHEMA_BUILD = "true";
69074
+ console.log(import_node_path2.default.join(config2.localApiDir, "+schema"));
69074
69075
  await build({
69075
69076
  logLevel: "silent",
69076
69077
  build: {
@@ -76161,12 +76162,12 @@ async function packageJSON(targetPath, frameworkInfo) {
76161
76162
  }
76162
76163
  packageJSON2.devDependencies = {
76163
76164
  ...packageJSON2.devDependencies,
76164
- houdini: "^1.2.20-next.0"
76165
+ houdini: "^1.2.20-next.1"
76165
76166
  };
76166
76167
  if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
76167
76168
  packageJSON2.devDependencies = {
76168
76169
  ...packageJSON2.devDependencies,
76169
- "houdini-svelte": "^1.2.20-next.0"
76170
+ "houdini-svelte": "^1.2.20-next.1"
76170
76171
  };
76171
76172
  } else {
76172
76173
  throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
@@ -69076,6 +69076,7 @@ import path2 from "node:path";
69076
69076
  async function buildLocalSchema(config2) {
69077
69077
  const { build } = await import("vite");
69078
69078
  process.env.HOUDINI_SCHEMA_BUILD = "true";
69079
+ console.log(path2.join(config2.localApiDir, "+schema"));
69079
69080
  await build({
69080
69081
  logLevel: "silent",
69081
69082
  build: {
@@ -76166,12 +76167,12 @@ async function packageJSON(targetPath, frameworkInfo) {
76166
76167
  }
76167
76168
  packageJSON2.devDependencies = {
76168
76169
  ...packageJSON2.devDependencies,
76169
- houdini: "^1.2.20-next.0"
76170
+ houdini: "^1.2.20-next.1"
76170
76171
  };
76171
76172
  if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
76172
76173
  packageJSON2.devDependencies = {
76173
76174
  ...packageJSON2.devDependencies,
76174
- "houdini-svelte": "^1.2.20-next.0"
76175
+ "houdini-svelte": "^1.2.20-next.1"
76175
76176
  };
76176
76177
  } else {
76177
76178
  throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
@@ -68706,6 +68706,7 @@ function isSecondaryBuild() {
68706
68706
  async function buildLocalSchema(config2) {
68707
68707
  const { build } = await import("vite");
68708
68708
  process.env.HOUDINI_SCHEMA_BUILD = "true";
68709
+ console.log(import_node_path2.default.join(config2.localApiDir, "+schema"));
68709
68710
  await build({
68710
68711
  logLevel: "silent",
68711
68712
  build: {
@@ -68629,6 +68629,7 @@ function isSecondaryBuild() {
68629
68629
  async function buildLocalSchema(config2) {
68630
68630
  const { build } = await import("vite");
68631
68631
  process.env.HOUDINI_SCHEMA_BUILD = "true";
68632
+ console.log(path2.join(config2.localApiDir, "+schema"));
68632
68633
  await build({
68633
68634
  logLevel: "silent",
68634
68635
  build: {
@@ -71139,6 +71139,7 @@ function isSecondaryBuild() {
71139
71139
  async function buildLocalSchema(config4) {
71140
71140
  const { build } = await import("vite");
71141
71141
  process.env.HOUDINI_SCHEMA_BUILD = "true";
71142
+ console.log(import_node_path2.default.join(config4.localApiDir, "+schema"));
71142
71143
  await build({
71143
71144
  logLevel: "silent",
71144
71145
  build: {
@@ -77321,11 +77322,7 @@ function Plugin(opts = {}) {
77321
77322
  });
77322
77323
  }
77323
77324
  if (config3.localSchema) {
77324
- await buildLocalSchema(config3);
77325
- const { default: schema } = (await server.ssrLoadModule(
77326
- path_exports.join(config3.rootDir, "temp", "assets", "schema.js")
77327
- ), {});
77328
- config3.schema = schema;
77325
+ config3.schema = await loadLocalSchema(config3);
77329
77326
  }
77330
77327
  process.env.HOUDINI_PORT = String(server.config.server.port ?? 5173);
77331
77328
  try {
@@ -71134,6 +71134,7 @@ function isSecondaryBuild() {
71134
71134
  async function buildLocalSchema(config4) {
71135
71135
  const { build } = await import("vite");
71136
71136
  process.env.HOUDINI_SCHEMA_BUILD = "true";
71137
+ console.log(path2.join(config4.localApiDir, "+schema"));
71137
71138
  await build({
71138
71139
  logLevel: "silent",
71139
71140
  build: {
@@ -77316,11 +77317,7 @@ function Plugin(opts = {}) {
77316
77317
  });
77317
77318
  }
77318
77319
  if (config3.localSchema) {
77319
- await buildLocalSchema(config3);
77320
- const { default: schema } = (await server.ssrLoadModule(
77321
- path_exports.join(config3.rootDir, "temp", "assets", "schema.js")
77322
- ), {});
77323
- config3.schema = schema;
77320
+ config3.schema = await loadLocalSchema(config3);
77324
77321
  }
77325
77322
  process.env.HOUDINI_PORT = String(server.config.server.port ?? 5173);
77326
77323
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini",
3
- "version": "1.2.20-next.0",
3
+ "version": "1.2.20-next.1",
4
4
  "description": "The disappearing GraphQL clients",
5
5
  "keywords": [
6
6
  "typescript",