houdini 2.0.0-next.6 → 2.0.0-next.7
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 +3 -4
- package/build/cmd-esm/index.js +3 -4
- package/build/lib-cjs/index.js +1 -2
- package/build/lib-esm/index.js +1 -2
- package/build/test-cjs/index.js +1 -2
- package/build/test-esm/index.js +1 -2
- package/build/vite-cjs/index.js +2 -3
- package/build/vite-esm/index.js +2 -3
- package/package.json +1 -1
package/build/cmd-cjs/index.js
CHANGED
|
@@ -78120,8 +78120,7 @@ var Config = class {
|
|
|
78120
78120
|
let {
|
|
78121
78121
|
schema,
|
|
78122
78122
|
schemaPath = "./schema.graphql",
|
|
78123
|
-
|
|
78124
|
-
runtimeDir = "$houdini",
|
|
78123
|
+
runtimeDir = ".houdini",
|
|
78125
78124
|
exclude = [],
|
|
78126
78125
|
module: module2 = "esm",
|
|
78127
78126
|
scalars,
|
|
@@ -89212,12 +89211,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
89212
89211
|
}
|
|
89213
89212
|
packageJSON2.devDependencies = {
|
|
89214
89213
|
...packageJSON2.devDependencies,
|
|
89215
|
-
houdini: "^2.0.0-next.
|
|
89214
|
+
houdini: "^2.0.0-next.7"
|
|
89216
89215
|
};
|
|
89217
89216
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
89218
89217
|
packageJSON2.devDependencies = {
|
|
89219
89218
|
...packageJSON2.devDependencies,
|
|
89220
|
-
"houdini-svelte": "^3.0.0-next.
|
|
89219
|
+
"houdini-svelte": "^3.0.0-next.10"
|
|
89221
89220
|
};
|
|
89222
89221
|
} else {
|
|
89223
89222
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -78124,8 +78124,7 @@ var Config = class {
|
|
|
78124
78124
|
let {
|
|
78125
78125
|
schema,
|
|
78126
78126
|
schemaPath = "./schema.graphql",
|
|
78127
|
-
|
|
78128
|
-
runtimeDir = "$houdini",
|
|
78127
|
+
runtimeDir = ".houdini",
|
|
78129
78128
|
exclude = [],
|
|
78130
78129
|
module = "esm",
|
|
78131
78130
|
scalars,
|
|
@@ -89216,12 +89215,12 @@ async function packageJSON(targetPath, frameworkInfo) {
|
|
|
89216
89215
|
}
|
|
89217
89216
|
packageJSON2.devDependencies = {
|
|
89218
89217
|
...packageJSON2.devDependencies,
|
|
89219
|
-
houdini: "^2.0.0-next.
|
|
89218
|
+
houdini: "^2.0.0-next.7"
|
|
89220
89219
|
};
|
|
89221
89220
|
if (frameworkInfo.framework === "svelte" || frameworkInfo.framework === "kit") {
|
|
89222
89221
|
packageJSON2.devDependencies = {
|
|
89223
89222
|
...packageJSON2.devDependencies,
|
|
89224
|
-
"houdini-svelte": "^3.0.0-next.
|
|
89223
|
+
"houdini-svelte": "^3.0.0-next.10"
|
|
89225
89224
|
};
|
|
89226
89225
|
} else {
|
|
89227
89226
|
throw new Error(`Unmanaged framework: "${JSON.stringify(frameworkInfo)}"`);
|
package/build/lib-cjs/index.js
CHANGED
|
@@ -77876,8 +77876,7 @@ var Config = class {
|
|
|
77876
77876
|
let {
|
|
77877
77877
|
schema,
|
|
77878
77878
|
schemaPath = "./schema.graphql",
|
|
77879
|
-
|
|
77880
|
-
runtimeDir = "$houdini",
|
|
77879
|
+
runtimeDir = ".houdini",
|
|
77881
77880
|
exclude = [],
|
|
77882
77881
|
module: module2 = "esm",
|
|
77883
77882
|
scalars,
|
package/build/lib-esm/index.js
CHANGED
|
@@ -77786,8 +77786,7 @@ var Config = class {
|
|
|
77786
77786
|
let {
|
|
77787
77787
|
schema,
|
|
77788
77788
|
schemaPath = "./schema.graphql",
|
|
77789
|
-
|
|
77790
|
-
runtimeDir = "$houdini",
|
|
77789
|
+
runtimeDir = ".houdini",
|
|
77791
77790
|
exclude = [],
|
|
77792
77791
|
module = "esm",
|
|
77793
77792
|
scalars,
|
package/build/test-cjs/index.js
CHANGED
|
@@ -65667,8 +65667,7 @@ var Config = class {
|
|
|
65667
65667
|
let {
|
|
65668
65668
|
schema,
|
|
65669
65669
|
schemaPath = "./schema.graphql",
|
|
65670
|
-
|
|
65671
|
-
runtimeDir = "$houdini",
|
|
65670
|
+
runtimeDir = ".houdini",
|
|
65672
65671
|
exclude = [],
|
|
65673
65672
|
module: module2 = "esm",
|
|
65674
65673
|
scalars,
|
package/build/test-esm/index.js
CHANGED
|
@@ -65663,8 +65663,7 @@ var Config = class {
|
|
|
65663
65663
|
let {
|
|
65664
65664
|
schema,
|
|
65665
65665
|
schemaPath = "./schema.graphql",
|
|
65666
|
-
|
|
65667
|
-
runtimeDir = "$houdini",
|
|
65666
|
+
runtimeDir = ".houdini",
|
|
65668
65667
|
exclude = [],
|
|
65669
65668
|
module = "esm",
|
|
65670
65669
|
scalars,
|
package/build/vite-cjs/index.js
CHANGED
|
@@ -75772,8 +75772,7 @@ var Config = class {
|
|
|
75772
75772
|
let {
|
|
75773
75773
|
schema,
|
|
75774
75774
|
schemaPath = "./schema.graphql",
|
|
75775
|
-
|
|
75776
|
-
runtimeDir = "$houdini",
|
|
75775
|
+
runtimeDir = ".houdini",
|
|
75777
75776
|
exclude = [],
|
|
75778
75777
|
module: module2 = "esm",
|
|
75779
75778
|
scalars,
|
|
@@ -85782,7 +85781,7 @@ function Plugin(opts = {}) {
|
|
|
85782
85781
|
async hotUpdate({ file, server, modules, timestamp }) {
|
|
85783
85782
|
const config2 = await getConfig(opts);
|
|
85784
85783
|
const shouldReact = await shouldReactToFileChange(file, config2);
|
|
85785
|
-
const runtimeDir = path_exports.join(config2.projectRoot, config2.runtimeDir ?? "
|
|
85784
|
+
const runtimeDir = path_exports.join(config2.projectRoot, config2.runtimeDir ?? ".houdini");
|
|
85786
85785
|
const isGqlFile = isGraphQLFile(file);
|
|
85787
85786
|
if (!(shouldReact && (fileDependsOnHoudini(modules, runtimeDir) || isGqlFile))) {
|
|
85788
85787
|
return modules;
|
package/build/vite-esm/index.js
CHANGED
|
@@ -75764,8 +75764,7 @@ var Config = class {
|
|
|
75764
75764
|
let {
|
|
75765
75765
|
schema,
|
|
75766
75766
|
schemaPath = "./schema.graphql",
|
|
75767
|
-
|
|
75768
|
-
runtimeDir = "$houdini",
|
|
75767
|
+
runtimeDir = ".houdini",
|
|
75769
75768
|
exclude = [],
|
|
75770
75769
|
module = "esm",
|
|
75771
75770
|
scalars,
|
|
@@ -85774,7 +85773,7 @@ function Plugin(opts = {}) {
|
|
|
85774
85773
|
async hotUpdate({ file, server, modules, timestamp }) {
|
|
85775
85774
|
const config2 = await getConfig(opts);
|
|
85776
85775
|
const shouldReact = await shouldReactToFileChange(file, config2);
|
|
85777
|
-
const runtimeDir = path_exports.join(config2.projectRoot, config2.runtimeDir ?? "
|
|
85776
|
+
const runtimeDir = path_exports.join(config2.projectRoot, config2.runtimeDir ?? ".houdini");
|
|
85778
85777
|
const isGqlFile = isGraphQLFile(file);
|
|
85779
85778
|
if (!(shouldReact && (fileDependsOnHoudini(modules, runtimeDir) || isGqlFile))) {
|
|
85780
85779
|
return modules;
|