houdini-react 1.2.12 → 1.2.13
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.
|
@@ -16419,7 +16419,6 @@ var import_node_util4 = require("node:util");
|
|
|
16419
16419
|
var graphql3 = __toESM(require("graphql"), 1);
|
|
16420
16420
|
var graphql4 = __toESM(require("graphql"), 1);
|
|
16421
16421
|
var graphql5 = __toESM(require("graphql"), 1);
|
|
16422
|
-
var import_vite = require("vite");
|
|
16423
16422
|
var import_meta = {};
|
|
16424
16423
|
var require2 = (0, import_module.createRequire)(import_meta.url);
|
|
16425
16424
|
var __create2 = Object.create;
|
|
@@ -78839,7 +78838,7 @@ async function extractQueries(source) {
|
|
|
78839
78838
|
}
|
|
78840
78839
|
return props.filter((p) => p !== "children");
|
|
78841
78840
|
}
|
|
78842
|
-
function
|
|
78841
|
+
function isSecondaryBuild() {
|
|
78843
78842
|
return process.env.HOUDINI_SCHEMA_BUILD === "true";
|
|
78844
78843
|
}
|
|
78845
78844
|
function parse6(str, options) {
|
|
@@ -79084,7 +79083,7 @@ async function get_session(req, secrets) {
|
|
|
79084
79083
|
|
|
79085
79084
|
// src/plugin/index.ts
|
|
79086
79085
|
var import_node_path2 = __toESM(require("node:path"));
|
|
79087
|
-
var
|
|
79086
|
+
var import_vite = require("vite");
|
|
79088
79087
|
|
|
79089
79088
|
// src/plugin/codegen/entries.ts
|
|
79090
79089
|
async function generate_entries({
|
|
@@ -79754,7 +79753,7 @@ var vite_default = {
|
|
|
79754
79753
|
}
|
|
79755
79754
|
}
|
|
79756
79755
|
};
|
|
79757
|
-
if (!
|
|
79756
|
+
if (!isSecondaryBuild()) {
|
|
79758
79757
|
rollupConfig.outDir = config.compiledAssetsDir;
|
|
79759
79758
|
rollupConfig.rollupOptions.input = {};
|
|
79760
79759
|
for (const [id, page] of Object.entries(manifest.pages)) {
|
|
@@ -80116,7 +80115,7 @@ export function useFragmentHandle(reference: { readonly "${fragmentKey}": { ${do
|
|
|
80116
80115
|
if (_env) {
|
|
80117
80116
|
return _env;
|
|
80118
80117
|
}
|
|
80119
|
-
_env = (0,
|
|
80118
|
+
_env = (0, import_vite.loadEnv)("dev", config.projectRoot || ".", "");
|
|
80120
80119
|
return _env;
|
|
80121
80120
|
}
|
|
80122
80121
|
});
|
|
@@ -16410,7 +16410,6 @@ import { deprecate as deprecate2 } from "node:util";
|
|
|
16410
16410
|
import * as graphql3 from "graphql";
|
|
16411
16411
|
import * as graphql4 from "graphql";
|
|
16412
16412
|
import * as graphql5 from "graphql";
|
|
16413
|
-
import { build } from "vite";
|
|
16414
16413
|
var require2 = conflict_free(import.meta.url);
|
|
16415
16414
|
var __create2 = Object.create;
|
|
16416
16415
|
var __defProp2 = Object.defineProperty;
|
|
@@ -78829,7 +78828,7 @@ async function extractQueries(source) {
|
|
|
78829
78828
|
}
|
|
78830
78829
|
return props.filter((p) => p !== "children");
|
|
78831
78830
|
}
|
|
78832
|
-
function
|
|
78831
|
+
function isSecondaryBuild() {
|
|
78833
78832
|
return process.env.HOUDINI_SCHEMA_BUILD === "true";
|
|
78834
78833
|
}
|
|
78835
78834
|
function parse6(str, options) {
|
|
@@ -79744,7 +79743,7 @@ var vite_default = {
|
|
|
79744
79743
|
}
|
|
79745
79744
|
}
|
|
79746
79745
|
};
|
|
79747
|
-
if (!
|
|
79746
|
+
if (!isSecondaryBuild()) {
|
|
79748
79747
|
rollupConfig.outDir = config.compiledAssetsDir;
|
|
79749
79748
|
rollupConfig.rollupOptions.input = {};
|
|
79750
79749
|
for (const [id, page] of Object.entries(manifest.pages)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini-react",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.13",
|
|
4
4
|
"description": "The React plugin for houdini",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"recast": "^0.23.1",
|
|
42
42
|
"rollup": "^3.7.4",
|
|
43
43
|
"use-deep-compare-effect": "^1.8.1",
|
|
44
|
-
"houdini": "^1.2.
|
|
44
|
+
"houdini": "^1.2.13"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"build"
|