houdini-react 1.2.64 → 1.2.65

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.
@@ -6,7 +6,7 @@ declare const _default: {
6
6
  }) => void | Promise<void>) | undefined;
7
7
  buildEnd?: ((this: import("rollup").PluginContext, error?: Error | undefined, houdiniConfig?: import("houdini").Config | undefined) => void | Promise<void>) | undefined;
8
8
  closeBundle?: ((this: import("rollup").PluginContext, config: import("houdini").Config) => void | Promise<void>) | undefined;
9
- configResolved?: import("rollup").ObjectHook<(this: void, config: Readonly<Omit<import("vite").UserConfig, "plugins" | "assetsInclude" | "optimizeDeps" | "worker"> & {
9
+ configResolved?: import("rollup").ObjectHook<(this: void, config: Readonly<Omit<import("vite").UserConfig, "plugins" | "css" | "assetsInclude" | "build" | "optimizeDeps" | "worker"> & {
10
10
  configFile: string | undefined;
11
11
  configFileDependencies: string[];
12
12
  inlineConfig: import("vite").InlineConfig;
@@ -18,11 +18,14 @@ declare const _default: {
18
18
  mode: string;
19
19
  isWorker: boolean;
20
20
  isProduction: boolean;
21
+ envDir: string;
21
22
  env: Record<string, any>;
22
23
  resolve: Required<import("vite").ResolveOptions> & {
23
24
  alias: import("vite").Alias[];
24
25
  };
25
- plugins: readonly import("vite").Plugin[];
26
+ plugins: readonly import("vite").Plugin<any>[];
27
+ css: import("vite").ResolvedCSSOptions;
28
+ esbuild: false | import("vite").ESBuildOptions;
26
29
  server: import("vite").ResolvedServerOptions;
27
30
  build: import("vite").ResolvedBuildOptions;
28
31
  preview: import("vite").ResolvedPreviewOptions;
@@ -31,7 +34,7 @@ declare const _default: {
31
34
  logger: import("vite").Logger;
32
35
  createResolver: (options?: Partial<import("vite").InternalResolveOptions> | undefined) => import("vite").ResolveFn;
33
36
  optimizeDeps: import("vite").DepOptimizationOptions;
34
- worker: import("vite").ResolveWorkerOptions;
37
+ worker: import("vite").ResolvedWorkerOptions;
35
38
  appType: import("vite").AppType;
36
39
  experimental: import("vite").ExperimentalOptions;
37
40
  } & import("vite").PluginHookUtils>) => void | Promise<void>, {}> | undefined;
@@ -78763,7 +78763,7 @@ async function asyncWalk(ast, { enter, leave }) {
78763
78763
  async function find_graphql(config, parsedScript, walker) {
78764
78764
  await asyncWalk(parsedScript, {
78765
78765
  async enter(node, parent) {
78766
- if (node.type !== "TaggedTemplateExpression" && node.type !== "CallExpression" && node.type !== "TSPropertySignature") {
78766
+ if (node.type !== "TaggedTemplateExpression" && node.type !== "CallExpression" && node.type !== "TSPropertySignature" && node.type !== "VariableDeclaration") {
78767
78767
  return;
78768
78768
  }
78769
78769
  let documentString = "";
@@ -78753,7 +78753,7 @@ async function asyncWalk(ast, { enter, leave }) {
78753
78753
  async function find_graphql(config, parsedScript, walker) {
78754
78754
  await asyncWalk(parsedScript, {
78755
78755
  async enter(node, parent) {
78756
- if (node.type !== "TaggedTemplateExpression" && node.type !== "CallExpression" && node.type !== "TSPropertySignature") {
78756
+ if (node.type !== "TaggedTemplateExpression" && node.type !== "CallExpression" && node.type !== "TSPropertySignature" && node.type !== "VariableDeclaration") {
78757
78757
  return;
78758
78758
  }
78759
78759
  let documentString = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini-react",
3
- "version": "1.2.64",
3
+ "version": "1.2.65",
4
4
  "description": "The React plugin for houdini",
5
5
  "keywords": [
6
6
  "typescript",
@@ -43,7 +43,7 @@
43
43
  "recast": "^0.23.1",
44
44
  "rollup": "^3.7.4",
45
45
  "use-deep-compare-effect": "^1.8.1",
46
- "houdini": "^1.2.64"
46
+ "houdini": "^1.3.0"
47
47
  },
48
48
  "files": [
49
49
  "build"