houdini 1.5.9 → 1.5.10
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 +29 -2
- package/build/cmd-esm/index.js +29 -2
- package/build/codegen-cjs/index.js +5 -0
- package/build/codegen-esm/index.js +5 -0
- package/build/test-cjs/index.js +5 -0
- package/build/test-esm/index.js +5 -0
- package/build/vite-cjs/index.js +228 -159
- package/build/vite-esm/index.js +228 -159
- package/package.json +1 -1
package/build/cmd-cjs/index.js
CHANGED
|
@@ -76346,6 +76346,11 @@ export * from "${module2}"
|
|
|
76346
76346
|
module: "./" + path_exports.relative(config.rootDir, config.pluginRuntimeDirectory(plugin2.name))
|
|
76347
76347
|
});
|
|
76348
76348
|
}
|
|
76349
|
+
if (plugin2.staticRuntime) {
|
|
76350
|
+
indexContent += exportStarFrom2({
|
|
76351
|
+
module: "./" + path_exports.relative(config.rootDir, config.pluginStaticRuntimeDirectory(plugin2.name))
|
|
76352
|
+
});
|
|
76353
|
+
}
|
|
76349
76354
|
}
|
|
76350
76355
|
await fs_exports.writeFile(config.typeIndexPath, indexContent);
|
|
76351
76356
|
const missingScalarNames = [...missingScalars].filter(
|
|
@@ -81869,6 +81874,28 @@ function pCancel(cancelText = "Operation cancelled.") {
|
|
|
81869
81874
|
}
|
|
81870
81875
|
async function init2(_path, args) {
|
|
81871
81876
|
ae("\u{1F3A9} Welcome to Houdini!");
|
|
81877
|
+
{
|
|
81878
|
+
const { confirm } = await $e(
|
|
81879
|
+
{
|
|
81880
|
+
confirm: () => {
|
|
81881
|
+
g2.warning(
|
|
81882
|
+
`You are using Houdini version "1.5.10", which doesn't support the latest svelte-kit and vite versions.
|
|
81883
|
+
We recommend re-running this with houdini@next. See what's new here: https://houdini-docs-next.netlify.app/guides/migrateTo20`
|
|
81884
|
+
);
|
|
81885
|
+
return Q2({
|
|
81886
|
+
message: "Continue anyway?",
|
|
81887
|
+
initialValue: false
|
|
81888
|
+
});
|
|
81889
|
+
}
|
|
81890
|
+
},
|
|
81891
|
+
{
|
|
81892
|
+
onCancel: () => pCancel()
|
|
81893
|
+
}
|
|
81894
|
+
);
|
|
81895
|
+
if (confirm !== true) {
|
|
81896
|
+
pCancel();
|
|
81897
|
+
}
|
|
81898
|
+
}
|
|
81872
81899
|
try {
|
|
81873
81900
|
await fs_exports.stat(path_exports.resolve("./src"));
|
|
81874
81901
|
} catch {
|
|
@@ -82375,13 +82402,13 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
82375
82402
|
}
|
|
82376
82403
|
packageJSON2.devDependencies = {
|
|
82377
82404
|
...packageJSON2.devDependencies,
|
|
82378
|
-
houdini: "^1.5.
|
|
82405
|
+
houdini: "^1.5.10",
|
|
82379
82406
|
"@sveltejs/kit": "<=2.21.0"
|
|
82380
82407
|
};
|
|
82381
82408
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
82382
82409
|
packageJSON2.devDependencies = {
|
|
82383
82410
|
...packageJSON2.devDependencies,
|
|
82384
|
-
"houdini-svelte": "^2.1.
|
|
82411
|
+
"houdini-svelte": "^2.1.20"
|
|
82385
82412
|
};
|
|
82386
82413
|
} else {
|
|
82387
82414
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -76351,6 +76351,11 @@ export * from "${module}"
|
|
|
76351
76351
|
module: "./" + path_exports.relative(config.rootDir, config.pluginRuntimeDirectory(plugin2.name))
|
|
76352
76352
|
});
|
|
76353
76353
|
}
|
|
76354
|
+
if (plugin2.staticRuntime) {
|
|
76355
|
+
indexContent += exportStarFrom2({
|
|
76356
|
+
module: "./" + path_exports.relative(config.rootDir, config.pluginStaticRuntimeDirectory(plugin2.name))
|
|
76357
|
+
});
|
|
76358
|
+
}
|
|
76354
76359
|
}
|
|
76355
76360
|
await fs_exports.writeFile(config.typeIndexPath, indexContent);
|
|
76356
76361
|
const missingScalarNames = [...missingScalars].filter(
|
|
@@ -81874,6 +81879,28 @@ function pCancel(cancelText = "Operation cancelled.") {
|
|
|
81874
81879
|
}
|
|
81875
81880
|
async function init2(_path, args) {
|
|
81876
81881
|
ae("\u{1F3A9} Welcome to Houdini!");
|
|
81882
|
+
{
|
|
81883
|
+
const { confirm } = await $e(
|
|
81884
|
+
{
|
|
81885
|
+
confirm: () => {
|
|
81886
|
+
g2.warning(
|
|
81887
|
+
`You are using Houdini version "1.5.10", which doesn't support the latest svelte-kit and vite versions.
|
|
81888
|
+
We recommend re-running this with houdini@next. See what's new here: https://houdini-docs-next.netlify.app/guides/migrateTo20`
|
|
81889
|
+
);
|
|
81890
|
+
return Q2({
|
|
81891
|
+
message: "Continue anyway?",
|
|
81892
|
+
initialValue: false
|
|
81893
|
+
});
|
|
81894
|
+
}
|
|
81895
|
+
},
|
|
81896
|
+
{
|
|
81897
|
+
onCancel: () => pCancel()
|
|
81898
|
+
}
|
|
81899
|
+
);
|
|
81900
|
+
if (confirm !== true) {
|
|
81901
|
+
pCancel();
|
|
81902
|
+
}
|
|
81903
|
+
}
|
|
81877
81904
|
try {
|
|
81878
81905
|
await fs_exports.stat(path_exports.resolve("./src"));
|
|
81879
81906
|
} catch {
|
|
@@ -82380,13 +82407,13 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
82380
82407
|
}
|
|
82381
82408
|
packageJSON2.devDependencies = {
|
|
82382
82409
|
...packageJSON2.devDependencies,
|
|
82383
|
-
houdini: "^1.5.
|
|
82410
|
+
houdini: "^1.5.10",
|
|
82384
82411
|
"@sveltejs/kit": "<=2.21.0"
|
|
82385
82412
|
};
|
|
82386
82413
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
82387
82414
|
packageJSON2.devDependencies = {
|
|
82388
82415
|
...packageJSON2.devDependencies,
|
|
82389
|
-
"houdini-svelte": "^2.1.
|
|
82416
|
+
"houdini-svelte": "^2.1.20"
|
|
82390
82417
|
};
|
|
82391
82418
|
} else {
|
|
82392
82419
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
|
@@ -64643,6 +64643,11 @@ export * from "${module2}"
|
|
|
64643
64643
|
module: "./" + path_exports.relative(config.rootDir, config.pluginRuntimeDirectory(plugin2.name))
|
|
64644
64644
|
});
|
|
64645
64645
|
}
|
|
64646
|
+
if (plugin2.staticRuntime) {
|
|
64647
|
+
indexContent += exportStarFrom2({
|
|
64648
|
+
module: "./" + path_exports.relative(config.rootDir, config.pluginStaticRuntimeDirectory(plugin2.name))
|
|
64649
|
+
});
|
|
64650
|
+
}
|
|
64646
64651
|
}
|
|
64647
64652
|
await fs_exports.writeFile(config.typeIndexPath, indexContent);
|
|
64648
64653
|
const missingScalarNames = [...missingScalars].filter(
|
|
@@ -64642,6 +64642,11 @@ export * from "${module}"
|
|
|
64642
64642
|
module: "./" + path_exports.relative(config.rootDir, config.pluginRuntimeDirectory(plugin2.name))
|
|
64643
64643
|
});
|
|
64644
64644
|
}
|
|
64645
|
+
if (plugin2.staticRuntime) {
|
|
64646
|
+
indexContent += exportStarFrom2({
|
|
64647
|
+
module: "./" + path_exports.relative(config.rootDir, config.pluginStaticRuntimeDirectory(plugin2.name))
|
|
64648
|
+
});
|
|
64649
|
+
}
|
|
64645
64650
|
}
|
|
64646
64651
|
await fs_exports.writeFile(config.typeIndexPath, indexContent);
|
|
64647
64652
|
const missingScalarNames = [...missingScalars].filter(
|
package/build/test-cjs/index.js
CHANGED
|
@@ -64987,6 +64987,11 @@ export * from "${module2}"
|
|
|
64987
64987
|
module: "./" + path_exports.relative(config.rootDir, config.pluginRuntimeDirectory(plugin2.name))
|
|
64988
64988
|
});
|
|
64989
64989
|
}
|
|
64990
|
+
if (plugin2.staticRuntime) {
|
|
64991
|
+
indexContent += exportStarFrom2({
|
|
64992
|
+
module: "./" + path_exports.relative(config.rootDir, config.pluginStaticRuntimeDirectory(plugin2.name))
|
|
64993
|
+
});
|
|
64994
|
+
}
|
|
64990
64995
|
}
|
|
64991
64996
|
await fs_exports.writeFile(config.typeIndexPath, indexContent);
|
|
64992
64997
|
const missingScalarNames = [...missingScalars].filter(
|
package/build/test-esm/index.js
CHANGED
|
@@ -64983,6 +64983,11 @@ export * from "${module}"
|
|
|
64983
64983
|
module: "./" + path_exports.relative(config.rootDir, config.pluginRuntimeDirectory(plugin2.name))
|
|
64984
64984
|
});
|
|
64985
64985
|
}
|
|
64986
|
+
if (plugin2.staticRuntime) {
|
|
64987
|
+
indexContent += exportStarFrom2({
|
|
64988
|
+
module: "./" + path_exports.relative(config.rootDir, config.pluginStaticRuntimeDirectory(plugin2.name))
|
|
64989
|
+
});
|
|
64990
|
+
}
|
|
64986
64991
|
}
|
|
64987
64992
|
await fs_exports.writeFile(config.typeIndexPath, indexContent);
|
|
64988
64993
|
const missingScalarNames = [...missingScalars].filter(
|