houdini 1.2.14 → 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.
- package/build/cmd-cjs/index.js +2 -2
- package/build/cmd-esm/index.js +2 -2
- package/build/lib/router/conventions.d.ts +1 -0
- package/build/lib-cjs/index.js +4 -0
- package/build/lib-esm/index.js +4 -0
- package/build/vite-cjs/index.js +13 -9
- package/build/vite-esm/index.js +13 -9
- package/package.json +1 -1
package/build/cmd-cjs/index.js
CHANGED
|
@@ -76155,12 +76155,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
76155
76155
|
}
|
|
76156
76156
|
packageJSON2.devDependencies = {
|
|
76157
76157
|
...packageJSON2.devDependencies,
|
|
76158
|
-
houdini: "^1.2.
|
|
76158
|
+
houdini: "^1.2.16"
|
|
76159
76159
|
};
|
|
76160
76160
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
76161
76161
|
packageJSON2.devDependencies = {
|
|
76162
76162
|
...packageJSON2.devDependencies,
|
|
76163
|
-
"houdini-svelte": "^1.2.
|
|
76163
|
+
"houdini-svelte": "^1.2.16"
|
|
76164
76164
|
};
|
|
76165
76165
|
} else {
|
|
76166
76166
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -76160,12 +76160,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
76160
76160
|
}
|
|
76161
76161
|
packageJSON2.devDependencies = {
|
|
76162
76162
|
...packageJSON2.devDependencies,
|
|
76163
|
-
houdini: "^1.2.
|
|
76163
|
+
houdini: "^1.2.16"
|
|
76164
76164
|
};
|
|
76165
76165
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
76166
76166
|
packageJSON2.devDependencies = {
|
|
76167
76167
|
...packageJSON2.devDependencies,
|
|
76168
|
-
"houdini-svelte": "^1.2.
|
|
76168
|
+
"houdini-svelte": "^1.2.16"
|
|
76169
76169
|
};
|
|
76170
76170
|
} else {
|
|
76171
76171
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
|
@@ -5,6 +5,7 @@ export declare function router_path(config: Config): string;
|
|
|
5
5
|
export declare function page_entry_path(config: Config, id: string, base?: string): string;
|
|
6
6
|
export declare function server_adapter_path(config: Config, base?: string): string;
|
|
7
7
|
export declare function adapter_config_path(config: Config, base?: string): string;
|
|
8
|
+
export declare function app_component_path(config: Config, base?: string): string;
|
|
8
9
|
export declare function page_unit_path(config: Config, id: string, base?: string): string;
|
|
9
10
|
export declare function layout_unit_path(config: Config, id: string, base?: string): string;
|
|
10
11
|
export declare function fallback_unit_path(config: Config, which: 'page' | 'layout', id: string, base?: string): string;
|
package/build/lib-cjs/index.js
CHANGED
|
@@ -68357,6 +68357,7 @@ async function find_graphql(config2, parsedScript, walker) {
|
|
|
68357
68357
|
var conventions_exports = {};
|
|
68358
68358
|
__export(conventions_exports, {
|
|
68359
68359
|
adapter_config_path: () => adapter_config_path,
|
|
68360
|
+
app_component_path: () => app_component_path,
|
|
68360
68361
|
fallback_unit_path: () => fallback_unit_path,
|
|
68361
68362
|
is_layout: () => is_layout,
|
|
68362
68363
|
layout_unit_path: () => layout_unit_path,
|
|
@@ -68385,6 +68386,9 @@ function server_adapter_path(config2, base) {
|
|
|
68385
68386
|
function adapter_config_path(config2, base) {
|
|
68386
68387
|
return path_exports.join(units_dir(config2, base), "render", "config.js");
|
|
68387
68388
|
}
|
|
68389
|
+
function app_component_path(config2, base) {
|
|
68390
|
+
return path_exports.join(units_dir(config2, base), "render", "App.jsx");
|
|
68391
|
+
}
|
|
68388
68392
|
function page_unit_path(config2, id, base) {
|
|
68389
68393
|
return path_exports.join(page_units_dir(config2, base), `${id}.jsx`);
|
|
68390
68394
|
}
|
package/build/lib-esm/index.js
CHANGED
|
@@ -68281,6 +68281,7 @@ async function find_graphql(config2, parsedScript, walker) {
|
|
|
68281
68281
|
var conventions_exports = {};
|
|
68282
68282
|
__export(conventions_exports, {
|
|
68283
68283
|
adapter_config_path: () => adapter_config_path,
|
|
68284
|
+
app_component_path: () => app_component_path,
|
|
68284
68285
|
fallback_unit_path: () => fallback_unit_path,
|
|
68285
68286
|
is_layout: () => is_layout,
|
|
68286
68287
|
layout_unit_path: () => layout_unit_path,
|
|
@@ -68309,6 +68310,9 @@ function server_adapter_path(config2, base) {
|
|
|
68309
68310
|
function adapter_config_path(config2, base) {
|
|
68310
68311
|
return path_exports.join(units_dir(config2, base), "render", "config.js");
|
|
68311
68312
|
}
|
|
68313
|
+
function app_component_path(config2, base) {
|
|
68314
|
+
return path_exports.join(units_dir(config2, base), "render", "App.jsx");
|
|
68315
|
+
}
|
|
68312
68316
|
function page_unit_path(config2, id, base) {
|
|
68313
68317
|
return path_exports.join(page_units_dir(config2, base), `${id}.jsx`);
|
|
68314
68318
|
}
|
package/build/vite-cjs/index.js
CHANGED
|
@@ -70791,6 +70791,7 @@ async function find_graphql(config4, parsedScript, walker) {
|
|
|
70791
70791
|
var conventions_exports = {};
|
|
70792
70792
|
__export(conventions_exports, {
|
|
70793
70793
|
adapter_config_path: () => adapter_config_path,
|
|
70794
|
+
app_component_path: () => app_component_path,
|
|
70794
70795
|
fallback_unit_path: () => fallback_unit_path,
|
|
70795
70796
|
is_layout: () => is_layout,
|
|
70796
70797
|
layout_unit_path: () => layout_unit_path,
|
|
@@ -70819,6 +70820,9 @@ function server_adapter_path(config4, base) {
|
|
|
70819
70820
|
function adapter_config_path(config4, base) {
|
|
70820
70821
|
return path_exports.join(units_dir(config4, base), "render", "config.js");
|
|
70821
70822
|
}
|
|
70823
|
+
function app_component_path(config4, base) {
|
|
70824
|
+
return path_exports.join(units_dir(config4, base), "render", "App.jsx");
|
|
70825
|
+
}
|
|
70822
70826
|
function page_unit_path(config4, id, base) {
|
|
70823
70827
|
return path_exports.join(page_units_dir(config4, base), `${id}.jsx`);
|
|
70824
70828
|
}
|
|
@@ -77265,6 +77269,15 @@ function Plugin(opts = {}) {
|
|
|
77265
77269
|
});
|
|
77266
77270
|
},
|
|
77267
77271
|
async buildStart(args) {
|
|
77272
|
+
for (const plugin2 of config3.plugins) {
|
|
77273
|
+
if (typeof plugin2.vite?.buildStart !== "function") {
|
|
77274
|
+
continue;
|
|
77275
|
+
}
|
|
77276
|
+
plugin2.vite.buildStart.call(this, {
|
|
77277
|
+
...args,
|
|
77278
|
+
houdiniConfig: config3
|
|
77279
|
+
});
|
|
77280
|
+
}
|
|
77268
77281
|
if (viteEnv.mode === "production" && !isSecondaryBuild()) {
|
|
77269
77282
|
if (config3.localSchema) {
|
|
77270
77283
|
config3.schema = await loadLocalSchema(config3);
|
|
@@ -77276,15 +77289,6 @@ function Plugin(opts = {}) {
|
|
|
77276
77289
|
throw e2;
|
|
77277
77290
|
}
|
|
77278
77291
|
}
|
|
77279
|
-
for (const plugin2 of config3.plugins) {
|
|
77280
|
-
if (typeof plugin2.vite?.buildStart !== "function") {
|
|
77281
|
-
continue;
|
|
77282
|
-
}
|
|
77283
|
-
plugin2.vite.buildStart.call(this, {
|
|
77284
|
-
...args,
|
|
77285
|
-
houdiniConfig: config3
|
|
77286
|
-
});
|
|
77287
|
-
}
|
|
77288
77292
|
},
|
|
77289
77293
|
options(options) {
|
|
77290
77294
|
for (const plugin2 of config3.plugins) {
|
package/build/vite-esm/index.js
CHANGED
|
@@ -70786,6 +70786,7 @@ async function find_graphql(config4, parsedScript, walker) {
|
|
|
70786
70786
|
var conventions_exports = {};
|
|
70787
70787
|
__export(conventions_exports, {
|
|
70788
70788
|
adapter_config_path: () => adapter_config_path,
|
|
70789
|
+
app_component_path: () => app_component_path,
|
|
70789
70790
|
fallback_unit_path: () => fallback_unit_path,
|
|
70790
70791
|
is_layout: () => is_layout,
|
|
70791
70792
|
layout_unit_path: () => layout_unit_path,
|
|
@@ -70814,6 +70815,9 @@ function server_adapter_path(config4, base) {
|
|
|
70814
70815
|
function adapter_config_path(config4, base) {
|
|
70815
70816
|
return path_exports.join(units_dir(config4, base), "render", "config.js");
|
|
70816
70817
|
}
|
|
70818
|
+
function app_component_path(config4, base) {
|
|
70819
|
+
return path_exports.join(units_dir(config4, base), "render", "App.jsx");
|
|
70820
|
+
}
|
|
70817
70821
|
function page_unit_path(config4, id, base) {
|
|
70818
70822
|
return path_exports.join(page_units_dir(config4, base), `${id}.jsx`);
|
|
70819
70823
|
}
|
|
@@ -77260,6 +77264,15 @@ function Plugin(opts = {}) {
|
|
|
77260
77264
|
});
|
|
77261
77265
|
},
|
|
77262
77266
|
async buildStart(args) {
|
|
77267
|
+
for (const plugin2 of config3.plugins) {
|
|
77268
|
+
if (typeof plugin2.vite?.buildStart !== "function") {
|
|
77269
|
+
continue;
|
|
77270
|
+
}
|
|
77271
|
+
plugin2.vite.buildStart.call(this, {
|
|
77272
|
+
...args,
|
|
77273
|
+
houdiniConfig: config3
|
|
77274
|
+
});
|
|
77275
|
+
}
|
|
77263
77276
|
if (viteEnv.mode === "production" && !isSecondaryBuild()) {
|
|
77264
77277
|
if (config3.localSchema) {
|
|
77265
77278
|
config3.schema = await loadLocalSchema(config3);
|
|
@@ -77271,15 +77284,6 @@ function Plugin(opts = {}) {
|
|
|
77271
77284
|
throw e2;
|
|
77272
77285
|
}
|
|
77273
77286
|
}
|
|
77274
|
-
for (const plugin2 of config3.plugins) {
|
|
77275
|
-
if (typeof plugin2.vite?.buildStart !== "function") {
|
|
77276
|
-
continue;
|
|
77277
|
-
}
|
|
77278
|
-
plugin2.vite.buildStart.call(this, {
|
|
77279
|
-
...args,
|
|
77280
|
-
houdiniConfig: config3
|
|
77281
|
-
});
|
|
77282
|
-
}
|
|
77283
77287
|
},
|
|
77284
77288
|
options(options) {
|
|
77285
77289
|
for (const plugin2 of config3.plugins) {
|