@cedarjs/vite 6.0.0-canary.2660 → 6.0.0-canary.2662

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.
@@ -28,11 +28,11 @@ function cedarSwapApolloProvider() {
28
28
  return void 0;
29
29
  }
30
30
  return {
31
- name: "redwood-swap-apollo-provider",
31
+ name: "cedar-swap-apollo-provider",
32
32
  async transform(code, id) {
33
33
  if (/web\/src\/App\.(ts|tsx|js|jsx)$/.test(id)) {
34
34
  return code.replace(
35
- "@cedarjs/web/apollo",
35
+ /@cedarjs\/web\/apollo(?:\/CedarApolloProvider)?/g,
36
36
  "@cedarjs/web/dist/apollo/suspense"
37
37
  );
38
38
  }
@@ -5,6 +5,9 @@ import type { Plugin } from 'vite';
5
5
  *
6
6
  * import { RedwoodApolloProvider } from "@cedarjs/web/apollo" ->
7
7
  * import { RedwoodApolloProvider } from "@cedarjs/web/dist/apollo/suspense"
8
+ *
9
+ * import { CedarApolloProvider } from "@cedarjs/web/apollo/CedarApolloProvider" ->
10
+ * import { CedarApolloProvider } from "@cedarjs/web/dist/apollo/suspense"
8
11
  */
9
12
  export declare function cedarSwapApolloProvider(): Plugin | undefined;
10
13
  //# sourceMappingURL=vite-plugin-swap-apollo-provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vite-plugin-swap-apollo-provider.d.ts","sourceRoot":"","sources":["../../src/plugins/vite-plugin-swap-apollo-provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAKlC;;;;;;GAMG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,GAAG,SAAS,CAoB5D"}
1
+ {"version":3,"file":"vite-plugin-swap-apollo-provider.d.ts","sourceRoot":"","sources":["../../src/plugins/vite-plugin-swap-apollo-provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAKlC;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,GAAG,SAAS,CAyB5D"}
@@ -5,11 +5,11 @@ function cedarSwapApolloProvider() {
5
5
  return void 0;
6
6
  }
7
7
  return {
8
- name: "redwood-swap-apollo-provider",
8
+ name: "cedar-swap-apollo-provider",
9
9
  async transform(code, id) {
10
10
  if (/web\/src\/App\.(ts|tsx|js|jsx)$/.test(id)) {
11
11
  return code.replace(
12
- "@cedarjs/web/apollo",
12
+ /@cedarjs\/web\/apollo(?:\/CedarApolloProvider)?/g,
13
13
  "@cedarjs/web/dist/apollo/suspense"
14
14
  );
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/vite",
3
- "version": "6.0.0-canary.2660",
3
+ "version": "6.0.0-canary.2662",
4
4
  "description": "Vite configuration package for CedarJS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -63,15 +63,15 @@
63
63
  "@babel/parser": "7.29.7",
64
64
  "@babel/traverse": "7.29.7",
65
65
  "@babel/types": "7.29.7",
66
- "@cedarjs/api": "6.0.0-canary.2660",
67
- "@cedarjs/babel-config": "6.0.0-canary.2660",
68
- "@cedarjs/context": "6.0.0-canary.2660",
69
- "@cedarjs/cookie-jar": "6.0.0-canary.2660",
70
- "@cedarjs/graphql-server": "6.0.0-canary.2660",
71
- "@cedarjs/internal": "6.0.0-canary.2660",
72
- "@cedarjs/project-config": "6.0.0-canary.2660",
73
- "@cedarjs/server-store": "6.0.0-canary.2660",
74
- "@cedarjs/testing": "6.0.0-canary.2660",
66
+ "@cedarjs/api": "6.0.0-canary.2662",
67
+ "@cedarjs/babel-config": "6.0.0-canary.2662",
68
+ "@cedarjs/context": "6.0.0-canary.2662",
69
+ "@cedarjs/cookie-jar": "6.0.0-canary.2662",
70
+ "@cedarjs/graphql-server": "6.0.0-canary.2662",
71
+ "@cedarjs/internal": "6.0.0-canary.2662",
72
+ "@cedarjs/project-config": "6.0.0-canary.2662",
73
+ "@cedarjs/server-store": "6.0.0-canary.2662",
74
+ "@cedarjs/testing": "6.0.0-canary.2662",
75
75
  "@fastify/url-data": "6.0.3",
76
76
  "@swc/core": "1.15.41",
77
77
  "@universal-deploy/store": "^0.2.1",
@@ -108,9 +108,9 @@
108
108
  },
109
109
  "devDependencies": {
110
110
  "@arethetypeswrong/cli": "0.18.5",
111
- "@cedarjs/auth": "6.0.0-canary.2660",
112
- "@cedarjs/router": "6.0.0-canary.2660",
113
- "@cedarjs/web": "6.0.0-canary.2660",
111
+ "@cedarjs/auth": "6.0.0-canary.2662",
112
+ "@cedarjs/router": "6.0.0-canary.2662",
113
+ "@cedarjs/web": "6.0.0-canary.2662",
114
114
  "@hyrious/esbuild-plugin-commonjs": "0.2.6",
115
115
  "@jridgewell/trace-mapping": "0.3.31",
116
116
  "@types/aws-lambda": "8.10.162",