houdini-svelte 2.1.6 → 2.1.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.
@@ -85602,8 +85602,8 @@ var Config = class {
85602
85602
  relative(process.cwd(), filepath).replaceAll(sep2, "_").replace(".ts", ".js")
85603
85603
  );
85604
85604
  }
85605
- excludeFile(filepath) {
85606
- if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, pattern))) {
85605
+ excludeFile(filepath, { root = this.projectRoot }) {
85606
+ if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
85607
85607
  return true;
85608
85608
  }
85609
85609
  for (const plugin2 of this.plugins) {
@@ -85632,7 +85632,7 @@ var Config = class {
85632
85632
  if (!included && !this.include.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
85633
85633
  return false;
85634
85634
  }
85635
- return !this.excludeFile(filepath);
85635
+ return !this.excludeFile(filepath, { root });
85636
85636
  }
85637
85637
  pluginRuntimeDirectory(name) {
85638
85638
  return join2(this.pluginDirectory(name), "runtime");
@@ -85599,8 +85599,8 @@ var Config = class {
85599
85599
  relative(process.cwd(), filepath).replaceAll(sep2, "_").replace(".ts", ".js")
85600
85600
  );
85601
85601
  }
85602
- excludeFile(filepath) {
85603
- if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, pattern))) {
85602
+ excludeFile(filepath, { root = this.projectRoot }) {
85603
+ if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
85604
85604
  return true;
85605
85605
  }
85606
85606
  for (const plugin2 of this.plugins) {
@@ -85629,7 +85629,7 @@ var Config = class {
85629
85629
  if (!included && !this.include.some((pattern) => (0, import_minimatch8.default)(filepath, join2(root, pattern)))) {
85630
85630
  return false;
85631
85631
  }
85632
- return !this.excludeFile(filepath);
85632
+ return !this.excludeFile(filepath, { root });
85633
85633
  }
85634
85634
  pluginRuntimeDirectory(name) {
85635
85635
  return join2(this.pluginDirectory(name), "runtime");
@@ -211156,8 +211156,8 @@ var Config = class {
211156
211156
  relative3(process.cwd(), filepath).replaceAll(sep23, "_").replace(".ts", ".js")
211157
211157
  );
211158
211158
  }
211159
- excludeFile(filepath) {
211160
- if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch83.default)(filepath, pattern))) {
211159
+ excludeFile(filepath, { root = this.projectRoot }) {
211160
+ if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch83.default)(filepath, join4(root, pattern)))) {
211161
211161
  return true;
211162
211162
  }
211163
211163
  for (const plugin2 of this.plugins) {
@@ -211186,7 +211186,7 @@ var Config = class {
211186
211186
  if (!included && !this.include.some((pattern) => (0, import_minimatch83.default)(filepath, join4(root, pattern)))) {
211187
211187
  return false;
211188
211188
  }
211189
- return !this.excludeFile(filepath);
211189
+ return !this.excludeFile(filepath, { root });
211190
211190
  }
211191
211191
  pluginRuntimeDirectory(name) {
211192
211192
  return join4(this.pluginDirectory(name), "runtime");
@@ -211146,8 +211146,8 @@ var Config = class {
211146
211146
  relative3(process.cwd(), filepath).replaceAll(sep23, "_").replace(".ts", ".js")
211147
211147
  );
211148
211148
  }
211149
- excludeFile(filepath) {
211150
- if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch83.default)(filepath, pattern))) {
211149
+ excludeFile(filepath, { root = this.projectRoot }) {
211150
+ if (this.exclude.length > 0 && this.exclude.some((pattern) => (0, import_minimatch83.default)(filepath, join4(root, pattern)))) {
211151
211151
  return true;
211152
211152
  }
211153
211153
  for (const plugin2 of this.plugins) {
@@ -211176,7 +211176,7 @@ var Config = class {
211176
211176
  if (!included && !this.include.some((pattern) => (0, import_minimatch83.default)(filepath, join4(root, pattern)))) {
211177
211177
  return false;
211178
211178
  }
211179
- return !this.excludeFile(filepath);
211179
+ return !this.excludeFile(filepath, { root });
211180
211180
  }
211181
211181
  pluginRuntimeDirectory(name) {
211182
211182
  return join4(this.pluginDirectory(name), "runtime");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini-svelte",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "The svelte plugin for houdini",
5
5
  "keywords": [
6
6
  "typescript",
@@ -30,7 +30,7 @@
30
30
  "graphql": "^15.8.0",
31
31
  "recast": "^0.23.1",
32
32
  "rollup": "^4.28.1",
33
- "houdini": "^1.5.2"
33
+ "houdini": "^1.5.3"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@sveltejs/kit": "^2.9.0",