houdini 1.5.4 → 1.5.5
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
CHANGED
|
@@ -72266,7 +72266,7 @@ async function getConfig({
|
|
|
72266
72266
|
if (apiURL) {
|
|
72267
72267
|
if (glob2.hasMagic(_config.schemaPath)) {
|
|
72268
72268
|
console.log(
|
|
72269
|
-
`\u26A0\uFE0F Your houdini configuration contains
|
|
72269
|
+
`\u26A0\uFE0F Your houdini configuration contains a watchSchema url and a path pointing to multiple files.
|
|
72270
72270
|
This will prevent your schema from being pulled.`
|
|
72271
72271
|
);
|
|
72272
72272
|
} else if (!await readFile(_config.schemaPath)) {
|
|
@@ -81165,7 +81165,7 @@ async function pullSchema_default(args) {
|
|
|
81165
81165
|
const apiURL = await config.apiURL();
|
|
81166
81166
|
if (!apiURL) {
|
|
81167
81167
|
console.log(
|
|
81168
|
-
"\u274C Your project does not have a remote endpoint configured. Please provide one with the `
|
|
81168
|
+
"\u274C Your project does not have a remote endpoint configured. Please provide one with the `watchSchema.url` value in your houdini.config.js file."
|
|
81169
81169
|
);
|
|
81170
81170
|
process.exit(1);
|
|
81171
81171
|
return;
|
|
@@ -82287,12 +82287,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
82287
82287
|
}
|
|
82288
82288
|
packageJSON2.devDependencies = {
|
|
82289
82289
|
...packageJSON2.devDependencies,
|
|
82290
|
-
houdini: "^1.5.
|
|
82290
|
+
houdini: "^1.5.5"
|
|
82291
82291
|
};
|
|
82292
82292
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
82293
82293
|
packageJSON2.devDependencies = {
|
|
82294
82294
|
...packageJSON2.devDependencies,
|
|
82295
|
-
"houdini-svelte": "^2.1.
|
|
82295
|
+
"houdini-svelte": "^2.1.14"
|
|
82296
82296
|
};
|
|
82297
82297
|
} else {
|
|
82298
82298
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -72271,7 +72271,7 @@ async function getConfig({
|
|
|
72271
72271
|
if (apiURL) {
|
|
72272
72272
|
if (glob2.hasMagic(_config.schemaPath)) {
|
|
72273
72273
|
console.log(
|
|
72274
|
-
`\u26A0\uFE0F Your houdini configuration contains
|
|
72274
|
+
`\u26A0\uFE0F Your houdini configuration contains a watchSchema url and a path pointing to multiple files.
|
|
72275
72275
|
This will prevent your schema from being pulled.`
|
|
72276
72276
|
);
|
|
72277
72277
|
} else if (!await readFile(_config.schemaPath)) {
|
|
@@ -81170,7 +81170,7 @@ async function pullSchema_default(args) {
|
|
|
81170
81170
|
const apiURL = await config.apiURL();
|
|
81171
81171
|
if (!apiURL) {
|
|
81172
81172
|
console.log(
|
|
81173
|
-
"\u274C Your project does not have a remote endpoint configured. Please provide one with the `
|
|
81173
|
+
"\u274C Your project does not have a remote endpoint configured. Please provide one with the `watchSchema.url` value in your houdini.config.js file."
|
|
81174
81174
|
);
|
|
81175
81175
|
process.exit(1);
|
|
81176
81176
|
return;
|
|
@@ -82292,12 +82292,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
82292
82292
|
}
|
|
82293
82293
|
packageJSON2.devDependencies = {
|
|
82294
82294
|
...packageJSON2.devDependencies,
|
|
82295
|
-
houdini: "^1.5.
|
|
82295
|
+
houdini: "^1.5.5"
|
|
82296
82296
|
};
|
|
82297
82297
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
82298
82298
|
packageJSON2.devDependencies = {
|
|
82299
82299
|
...packageJSON2.devDependencies,
|
|
82300
|
-
"houdini-svelte": "^2.1.
|
|
82300
|
+
"houdini-svelte": "^2.1.14"
|
|
82301
82301
|
};
|
|
82302
82302
|
} else {
|
|
82303
82303
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/lib-cjs/index.js
CHANGED
|
@@ -72885,7 +72885,7 @@ async function getConfig({
|
|
|
72885
72885
|
if (apiURL) {
|
|
72886
72886
|
if (glob2.hasMagic(_config.schemaPath)) {
|
|
72887
72887
|
console.log(
|
|
72888
|
-
`\u26A0\uFE0F Your houdini configuration contains
|
|
72888
|
+
`\u26A0\uFE0F Your houdini configuration contains a watchSchema url and a path pointing to multiple files.
|
|
72889
72889
|
This will prevent your schema from being pulled.`
|
|
72890
72890
|
);
|
|
72891
72891
|
} else if (!await readFile(_config.schemaPath)) {
|
package/build/lib-esm/index.js
CHANGED
|
@@ -72798,7 +72798,7 @@ async function getConfig({
|
|
|
72798
72798
|
if (apiURL) {
|
|
72799
72799
|
if (glob2.hasMagic(_config.schemaPath)) {
|
|
72800
72800
|
console.log(
|
|
72801
|
-
`\u26A0\uFE0F Your houdini configuration contains
|
|
72801
|
+
`\u26A0\uFE0F Your houdini configuration contains a watchSchema url and a path pointing to multiple files.
|
|
72802
72802
|
This will prevent your schema from being pulled.`
|
|
72803
72803
|
);
|
|
72804
72804
|
} else if (!await readFile(_config.schemaPath)) {
|
package/build/vite/imports.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare function ensure_imports(args: {
|
|
|
9
9
|
import?: string;
|
|
10
10
|
as?: never;
|
|
11
11
|
sourceModule: string;
|
|
12
|
-
importKind?: 'value' | 'type';
|
|
12
|
+
importKind?: 'value' | 'type' | 'module';
|
|
13
13
|
}): {
|
|
14
14
|
ids: Identifier;
|
|
15
15
|
added: number;
|
|
@@ -20,7 +20,7 @@ export declare function ensure_imports(args: {
|
|
|
20
20
|
import?: string[];
|
|
21
21
|
as?: string[];
|
|
22
22
|
sourceModule: string;
|
|
23
|
-
importKind?: 'value' | 'type';
|
|
23
|
+
importKind?: 'value' | 'type' | 'module';
|
|
24
24
|
}): {
|
|
25
25
|
ids: Identifier[];
|
|
26
26
|
added: number;
|
package/build/vite-cjs/index.js
CHANGED
|
@@ -74022,7 +74022,7 @@ async function getConfig({
|
|
|
74022
74022
|
if (apiURL) {
|
|
74023
74023
|
if (glob2.hasMagic(_config.schemaPath)) {
|
|
74024
74024
|
console.log(
|
|
74025
|
-
`\u26A0\uFE0F Your houdini configuration contains
|
|
74025
|
+
`\u26A0\uFE0F Your houdini configuration contains a watchSchema url and a path pointing to multiple files.
|
|
74026
74026
|
This will prevent your schema from being pulled.`
|
|
74027
74027
|
);
|
|
74028
74028
|
} else if (!await readFile(_config.schemaPath)) {
|
|
@@ -83292,7 +83292,7 @@ function ensure_imports({
|
|
|
83292
83292
|
script.body.unshift({
|
|
83293
83293
|
type: "ImportDeclaration",
|
|
83294
83294
|
source: AST16.stringLiteral(sourceModule),
|
|
83295
|
-
importKind
|
|
83295
|
+
importKind: importKind === "type" ? "type" : "value"
|
|
83296
83296
|
});
|
|
83297
83297
|
}
|
|
83298
83298
|
return { ids: [], added: has_import ? 0 : 1 };
|
|
@@ -83306,13 +83306,12 @@ function ensure_imports({
|
|
|
83306
83306
|
)
|
|
83307
83307
|
);
|
|
83308
83308
|
if (toImport.length > 0) {
|
|
83309
|
+
const specifier = (identifier, i2) => importKind !== "module" ? !Array.isArray(importID) ? AST16.importDefaultSpecifier(identifier) : AST16.importSpecifier(identifier, as?.[i2] ? AST16.identifier(as[i2]) : identifier) : AST16.importNamespaceSpecifier(identifier);
|
|
83309
83310
|
script.body.unshift({
|
|
83310
83311
|
type: "ImportDeclaration",
|
|
83311
83312
|
source: AST16.stringLiteral(sourceModule),
|
|
83312
|
-
specifiers: toImport.map(
|
|
83313
|
-
|
|
83314
|
-
),
|
|
83315
|
-
importKind
|
|
83313
|
+
specifiers: toImport.map(specifier),
|
|
83314
|
+
importKind: importKind === "type" ? "type" : "value"
|
|
83316
83315
|
});
|
|
83317
83316
|
}
|
|
83318
83317
|
for (const [i2, target] of (as ?? []).entries()) {
|
package/build/vite-esm/index.js
CHANGED
|
@@ -74015,7 +74015,7 @@ async function getConfig({
|
|
|
74015
74015
|
if (apiURL) {
|
|
74016
74016
|
if (glob2.hasMagic(_config.schemaPath)) {
|
|
74017
74017
|
console.log(
|
|
74018
|
-
`\u26A0\uFE0F Your houdini configuration contains
|
|
74018
|
+
`\u26A0\uFE0F Your houdini configuration contains a watchSchema url and a path pointing to multiple files.
|
|
74019
74019
|
This will prevent your schema from being pulled.`
|
|
74020
74020
|
);
|
|
74021
74021
|
} else if (!await readFile(_config.schemaPath)) {
|
|
@@ -83285,7 +83285,7 @@ function ensure_imports({
|
|
|
83285
83285
|
script.body.unshift({
|
|
83286
83286
|
type: "ImportDeclaration",
|
|
83287
83287
|
source: AST16.stringLiteral(sourceModule),
|
|
83288
|
-
importKind
|
|
83288
|
+
importKind: importKind === "type" ? "type" : "value"
|
|
83289
83289
|
});
|
|
83290
83290
|
}
|
|
83291
83291
|
return { ids: [], added: has_import ? 0 : 1 };
|
|
@@ -83299,13 +83299,12 @@ function ensure_imports({
|
|
|
83299
83299
|
)
|
|
83300
83300
|
);
|
|
83301
83301
|
if (toImport.length > 0) {
|
|
83302
|
+
const specifier = (identifier, i2) => importKind !== "module" ? !Array.isArray(importID) ? AST16.importDefaultSpecifier(identifier) : AST16.importSpecifier(identifier, as?.[i2] ? AST16.identifier(as[i2]) : identifier) : AST16.importNamespaceSpecifier(identifier);
|
|
83302
83303
|
script.body.unshift({
|
|
83303
83304
|
type: "ImportDeclaration",
|
|
83304
83305
|
source: AST16.stringLiteral(sourceModule),
|
|
83305
|
-
specifiers: toImport.map(
|
|
83306
|
-
|
|
83307
|
-
),
|
|
83308
|
-
importKind
|
|
83306
|
+
specifiers: toImport.map(specifier),
|
|
83307
|
+
importKind: importKind === "type" ? "type" : "value"
|
|
83309
83308
|
});
|
|
83310
83309
|
}
|
|
83311
83310
|
for (const [i2, target] of (as ?? []).entries()) {
|