@cedarjs/vite 1.0.0-canary.12534 → 1.0.0-canary.12535
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/dist/cjs/plugins/vite-plugin-cedar-cell.js +2 -2
- package/dist/cjs/plugins/vite-plugin-swap-apollo-provider.js +1 -1
- package/dist/plugins/vite-plugin-cedar-cell.d.ts.map +1 -1
- package/dist/plugins/vite-plugin-cedar-cell.js +2 -2
- package/dist/plugins/vite-plugin-swap-apollo-provider.js +1 -1
- package/package.json +9 -9
|
@@ -35,8 +35,8 @@ var import_node_path = require("node:path");
|
|
|
35
35
|
var import_generator = __toESM(require("@babel/generator"), 1);
|
|
36
36
|
var import_parser = require("@babel/parser");
|
|
37
37
|
var import_traverse = __toESM(require("@babel/traverse"), 1);
|
|
38
|
-
const traverse = import_traverse.default.default;
|
|
39
|
-
const generate = import_generator.default.default;
|
|
38
|
+
const traverse = import_traverse.default.default || import_traverse.default;
|
|
39
|
+
const generate = import_generator.default.default || import_generator.default;
|
|
40
40
|
const EXPECTED_EXPORTS_FROM_CELL = [
|
|
41
41
|
"beforeQuery",
|
|
42
42
|
"QUERY",
|
|
@@ -23,7 +23,7 @@ __export(vite_plugin_swap_apollo_provider_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(vite_plugin_swap_apollo_provider_exports);
|
|
24
24
|
var import_project_config = require("@cedarjs/project-config");
|
|
25
25
|
function cedarSwapApolloProvider() {
|
|
26
|
-
const streamingEnabled = (0, import_project_config.getConfig)().experimental
|
|
26
|
+
const streamingEnabled = (0, import_project_config.getConfig)().experimental?.streamingSsr?.enabled;
|
|
27
27
|
if (!streamingEnabled) {
|
|
28
28
|
return void 0;
|
|
29
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vite-plugin-cedar-cell.d.ts","sourceRoot":"","sources":["../../src/plugins/vite-plugin-cedar-cell.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"vite-plugin-cedar-cell.d.ts","sourceRoot":"","sources":["../../src/plugins/vite-plugin-cedar-cell.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAoBlC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,CAmK3C"}
|
|
@@ -2,8 +2,8 @@ import { parse as parsePath } from "node:path";
|
|
|
2
2
|
import babelGenerator from "@babel/generator";
|
|
3
3
|
import { parse } from "@babel/parser";
|
|
4
4
|
import babelTraverse from "@babel/traverse";
|
|
5
|
-
const traverse = babelTraverse.default;
|
|
6
|
-
const generate = babelGenerator.default;
|
|
5
|
+
const traverse = babelTraverse.default || babelTraverse;
|
|
6
|
+
const generate = babelGenerator.default || babelGenerator;
|
|
7
7
|
const EXPECTED_EXPORTS_FROM_CELL = [
|
|
8
8
|
"beforeQuery",
|
|
9
9
|
"QUERY",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getConfig } from "@cedarjs/project-config";
|
|
2
2
|
function cedarSwapApolloProvider() {
|
|
3
|
-
const streamingEnabled = getConfig().experimental
|
|
3
|
+
const streamingEnabled = getConfig().experimental?.streamingSsr?.enabled;
|
|
4
4
|
if (!streamingEnabled) {
|
|
5
5
|
return void 0;
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/vite",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.12535+8272baddd",
|
|
4
4
|
"description": "Vite configuration package for CedarJS",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
"@babel/generator": "7.27.5",
|
|
60
60
|
"@babel/parser": "7.27.5",
|
|
61
61
|
"@babel/traverse": "7.27.4",
|
|
62
|
-
"@cedarjs/auth": "1.0.0-canary.
|
|
63
|
-
"@cedarjs/babel-config": "1.0.0-canary.
|
|
64
|
-
"@cedarjs/cookie-jar": "1.0.0-canary.
|
|
65
|
-
"@cedarjs/internal": "1.0.0-canary.
|
|
66
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
67
|
-
"@cedarjs/server-store": "1.0.0-canary.
|
|
68
|
-
"@cedarjs/web": "1.0.0-canary.
|
|
62
|
+
"@cedarjs/auth": "1.0.0-canary.12535",
|
|
63
|
+
"@cedarjs/babel-config": "1.0.0-canary.12535",
|
|
64
|
+
"@cedarjs/cookie-jar": "1.0.0-canary.12535",
|
|
65
|
+
"@cedarjs/internal": "1.0.0-canary.12535",
|
|
66
|
+
"@cedarjs/project-config": "1.0.0-canary.12535",
|
|
67
|
+
"@cedarjs/server-store": "1.0.0-canary.12535",
|
|
68
|
+
"@cedarjs/web": "1.0.0-canary.12535",
|
|
69
69
|
"@swc/core": "1.13.2",
|
|
70
70
|
"@vitejs/plugin-react": "4.3.4",
|
|
71
71
|
"@whatwg-node/fetch": "0.9.21",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"typescript": "5.6.2",
|
|
110
110
|
"vitest": "3.2.4"
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "8272baddd291bbdfc78994649d4bf0651cc8d15e"
|
|
113
113
|
}
|