houdini-react 1.2.15 → 1.2.16
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.
|
@@ -79314,7 +79314,6 @@ async function generate_type_root({
|
|
|
79314
79314
|
};
|
|
79315
79315
|
}
|
|
79316
79316
|
await Promise.all([
|
|
79317
|
-
tsconfig(config),
|
|
79318
79317
|
...Object.entries(pages).map(async ([relative_path, { page, layout }]) => {
|
|
79319
79318
|
const target_dir = path_exports.join(config.typeRootDir, relative_path);
|
|
79320
79319
|
await fs_exports.mkdirp(target_dir);
|
|
@@ -79354,7 +79353,7 @@ ${layout.query_options.map(
|
|
|
79354
79353
|
})
|
|
79355
79354
|
]);
|
|
79356
79355
|
}
|
|
79357
|
-
async function
|
|
79356
|
+
async function writeTsconfig(config) {
|
|
79358
79357
|
await fs_exports.writeFile(
|
|
79359
79358
|
path_exports.join(config.rootDir, "tsconfig.json"),
|
|
79360
79359
|
JSON.stringify(
|
|
@@ -79588,6 +79587,11 @@ var vite_default = {
|
|
|
79588
79587
|
}
|
|
79589
79588
|
return id.substring(id.indexOf("virtual:houdini"));
|
|
79590
79589
|
},
|
|
79590
|
+
async buildStart({ houdiniConfig }) {
|
|
79591
|
+
if (!isSecondaryBuild()) {
|
|
79592
|
+
await writeTsconfig(houdiniConfig);
|
|
79593
|
+
}
|
|
79594
|
+
},
|
|
79591
79595
|
async load(id, { config }) {
|
|
79592
79596
|
if (!id.startsWith("virtual:houdini")) {
|
|
79593
79597
|
return;
|
|
@@ -79304,7 +79304,6 @@ async function generate_type_root({
|
|
|
79304
79304
|
};
|
|
79305
79305
|
}
|
|
79306
79306
|
await Promise.all([
|
|
79307
|
-
tsconfig(config),
|
|
79308
79307
|
...Object.entries(pages).map(async ([relative_path, { page, layout }]) => {
|
|
79309
79308
|
const target_dir = path_exports.join(config.typeRootDir, relative_path);
|
|
79310
79309
|
await fs_exports.mkdirp(target_dir);
|
|
@@ -79344,7 +79343,7 @@ ${layout.query_options.map(
|
|
|
79344
79343
|
})
|
|
79345
79344
|
]);
|
|
79346
79345
|
}
|
|
79347
|
-
async function
|
|
79346
|
+
async function writeTsconfig(config) {
|
|
79348
79347
|
await fs_exports.writeFile(
|
|
79349
79348
|
path_exports.join(config.rootDir, "tsconfig.json"),
|
|
79350
79349
|
JSON.stringify(
|
|
@@ -79578,6 +79577,11 @@ var vite_default = {
|
|
|
79578
79577
|
}
|
|
79579
79578
|
return id.substring(id.indexOf("virtual:houdini"));
|
|
79580
79579
|
},
|
|
79580
|
+
async buildStart({ houdiniConfig }) {
|
|
79581
|
+
if (!isSecondaryBuild()) {
|
|
79582
|
+
await writeTsconfig(houdiniConfig);
|
|
79583
|
+
}
|
|
79584
|
+
},
|
|
79581
79585
|
async load(id, { config }) {
|
|
79582
79586
|
if (!id.startsWith("virtual:houdini")) {
|
|
79583
79587
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini-react",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"description": "The React plugin for houdini",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"recast": "^0.23.1",
|
|
43
43
|
"rollup": "^3.7.4",
|
|
44
44
|
"use-deep-compare-effect": "^1.8.1",
|
|
45
|
-
"houdini": "^1.2.
|
|
45
|
+
"houdini": "^1.2.16"
|
|
46
46
|
},
|
|
47
47
|
"files": [
|
|
48
48
|
"build"
|