@cedarjs/vite 7.0.0-canary.3181 → 7.0.0-canary.3184

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.
@@ -18,7 +18,7 @@ import {
18
18
  transformWithBabel
19
19
  } from "@cedarjs/babel-config";
20
20
  import { getAsyncStoreInstance } from "@cedarjs/context/dist/store";
21
- import { createGraphQLYoga } from "@cedarjs/graphql-server";
21
+ import { createGraphQLServer } from "@cedarjs/graphql-server";
22
22
  import { applyGqlormInject } from "@cedarjs/internal/dist/build/api-graphql-transforms.js";
23
23
  import { getConfig, getPaths } from "@cedarjs/project-config";
24
24
  import { generateDiffSourceMap } from "./lib/generateDiffSourceMap.js";
@@ -133,7 +133,7 @@ async function internalLoadApiFunctions(viteServer) {
133
133
  });
134
134
  await Promise.all(imports);
135
135
  if (extractedGraphqlOptions) {
136
- loadedGraphqlServer = await createGraphQLYoga(extractedGraphqlOptions);
136
+ loadedGraphqlServer = await createGraphQLServer(extractedGraphqlOptions);
137
137
  } else {
138
138
  loadedGraphqlServer = null;
139
139
  }
@@ -191,7 +191,7 @@ async function generateGraphQLModule(distPath) {
191
191
  });
192
192
  return `
193
193
  import { buildCedarContext, requestToLegacyEvent } from '@cedarjs/api/runtime';
194
- import { createGraphQLYoga } from '@cedarjs/graphql-server';
194
+ import { createGraphQLServer } from '@cedarjs/graphql-server';
195
195
 
196
196
  // Inlined bundle of ${path.basename(distPath)} (node_modules kept external)
197
197
  ${bundledCode}
@@ -275,7 +275,7 @@ function createGraphQLFetch(graphqlOptions) {
275
275
  let graphqlServerPromise = null;
276
276
  function getGraphQLServer() {
277
277
  if (!graphqlServerPromise) {
278
- graphqlServerPromise = createGraphQLYoga(graphqlOptions);
278
+ graphqlServerPromise = createGraphQLServer(graphqlOptions);
279
279
  }
280
280
  return graphqlServerPromise;
281
281
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/vite",
3
- "version": "7.0.0-canary.3181",
3
+ "version": "7.0.0-canary.3184",
4
4
  "description": "Vite configuration package for CedarJS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,17 +54,17 @@
54
54
  "@babel/preset-typescript": "7.29.7",
55
55
  "@babel/traverse": "7.29.8",
56
56
  "@babel/types": "7.29.8",
57
- "@cedarjs/api": "7.0.0-canary.3181",
58
- "@cedarjs/api-server": "7.0.0-canary.3181",
59
- "@cedarjs/babel-config": "7.0.0-canary.3181",
60
- "@cedarjs/context": "7.0.0-canary.3181",
61
- "@cedarjs/graphql-server": "7.0.0-canary.3181",
62
- "@cedarjs/internal": "7.0.0-canary.3181",
63
- "@cedarjs/jobs": "7.0.0-canary.3181",
64
- "@cedarjs/project-config": "7.0.0-canary.3181",
65
- "@cedarjs/server-store": "7.0.0-canary.3181",
66
- "@cedarjs/structure": "7.0.0-canary.3181",
67
- "@cedarjs/testing": "7.0.0-canary.3181",
57
+ "@cedarjs/api": "7.0.0-canary.3184",
58
+ "@cedarjs/api-server": "7.0.0-canary.3184",
59
+ "@cedarjs/babel-config": "7.0.0-canary.3184",
60
+ "@cedarjs/context": "7.0.0-canary.3184",
61
+ "@cedarjs/graphql-server": "7.0.0-canary.3184",
62
+ "@cedarjs/internal": "7.0.0-canary.3184",
63
+ "@cedarjs/jobs": "7.0.0-canary.3184",
64
+ "@cedarjs/project-config": "7.0.0-canary.3184",
65
+ "@cedarjs/server-store": "7.0.0-canary.3184",
66
+ "@cedarjs/structure": "7.0.0-canary.3184",
67
+ "@cedarjs/testing": "7.0.0-canary.3184",
68
68
  "@swc/core": "1.16.2",
69
69
  "@universal-deploy/store": "^0.2.1",
70
70
  "@universal-deploy/vite": "^0.1.9",
@@ -94,10 +94,10 @@
94
94
  "yargs-parser": "21.1.1"
95
95
  },
96
96
  "devDependencies": {
97
- "@cedarjs/auth": "7.0.0-canary.3181",
98
- "@cedarjs/framework-tools": "7.0.0-canary.3181",
99
- "@cedarjs/router": "7.0.0-canary.3181",
100
- "@cedarjs/web": "7.0.0-canary.3181",
97
+ "@cedarjs/auth": "7.0.0-canary.3184",
98
+ "@cedarjs/framework-tools": "7.0.0-canary.3184",
99
+ "@cedarjs/router": "7.0.0-canary.3184",
100
+ "@cedarjs/web": "7.0.0-canary.3184",
101
101
  "@dr.pogodin/react-helmet": "2.0.4",
102
102
  "@hyrious/esbuild-plugin-commonjs": "0.2.6",
103
103
  "@jridgewell/trace-mapping": "0.3.31",
@@ -119,9 +119,9 @@
119
119
  "vitest": "4.1.11"
120
120
  },
121
121
  "peerDependencies": {
122
- "@cedarjs/auth": "7.0.0-canary.3181",
123
- "@cedarjs/router": "7.0.0-canary.3181",
124
- "@cedarjs/web": "7.0.0-canary.3181",
122
+ "@cedarjs/auth": "7.0.0-canary.3184",
123
+ "@cedarjs/router": "7.0.0-canary.3184",
124
+ "@cedarjs/web": "7.0.0-canary.3184",
125
125
  "react": "19.3.0",
126
126
  "react-dom": "19.3.0"
127
127
  },