@cedarjs/prerender 6.0.0-canary.2645 → 6.0.0-canary.2647
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/babelPlugins/babel-plugin-redwood-cell.d.ts.map +1 -1
- package/dist/babelPlugins/babel-plugin-redwood-cell.js +2 -1
- package/dist/build-and-import/rollupPlugins/rollup-plugin-cedarjs-cell.d.ts.map +1 -1
- package/dist/build-and-import/rollupPlugins/rollup-plugin-cedarjs-cell.js +2 -1
- package/dist/cjs/babelPlugins/babel-plugin-redwood-cell.d.ts.map +1 -1
- package/dist/cjs/babelPlugins/babel-plugin-redwood-cell.js +2 -1
- package/dist/cjs/build-and-import/rollupPlugins/rollup-plugin-cedarjs-cell.js +2 -1
- package/package.json +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"babel-plugin-redwood-cell.d.ts","sourceRoot":"","sources":["../../src/babelPlugins/babel-plugin-redwood-cell.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"babel-plugin-redwood-cell.d.ts","sourceRoot":"","sources":["../../src/babelPlugins/babel-plugin-redwood-cell.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAgCnD,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EAAE,CAAC,GACT,EAAE;IACD,KAAK,EAAE,OAAO,KAAK,CAAA;CACpB,GAAG,SAAS,CAmHZ"}
|
|
@@ -2,6 +2,7 @@ import { parse } from "path";
|
|
|
2
2
|
const EXPECTED_EXPORTS_FROM_CELL = [
|
|
3
3
|
"beforeQuery",
|
|
4
4
|
"QUERY",
|
|
5
|
+
"FRAGMENT",
|
|
5
6
|
"data",
|
|
6
7
|
"isEmpty",
|
|
7
8
|
"afterQuery",
|
|
@@ -44,7 +45,7 @@ function babelPluginRedwoodCell({
|
|
|
44
45
|
hasDefaultExport = false;
|
|
45
46
|
},
|
|
46
47
|
exit(path) {
|
|
47
|
-
const hasQueryOrDataExport = exportNames.includes("QUERY") || exportNames.includes("data");
|
|
48
|
+
const hasQueryOrDataExport = exportNames.includes("QUERY") || exportNames.includes("FRAGMENT") || exportNames.includes("data");
|
|
48
49
|
if (hasDefaultExport || !hasQueryOrDataExport) {
|
|
49
50
|
return;
|
|
50
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rollup-plugin-cedarjs-cell.d.ts","sourceRoot":"","sources":["../../../src/build-and-import/rollupPlugins/rollup-plugin-cedarjs-cell.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"rollup-plugin-cedarjs-cell.d.ts","sourceRoot":"","sources":["../../../src/build-and-import/rollupPlugins/rollup-plugin-cedarjs-cell.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAoBpC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAsK5C"}
|
|
@@ -7,6 +7,7 @@ const generate = babelGenerator.default;
|
|
|
7
7
|
const EXPECTED_EXPORTS_FROM_CELL = [
|
|
8
8
|
"beforeQuery",
|
|
9
9
|
"QUERY",
|
|
10
|
+
"FRAGMENT",
|
|
10
11
|
"data",
|
|
11
12
|
"isEmpty",
|
|
12
13
|
"afterQuery",
|
|
@@ -64,7 +65,7 @@ function cellTransformPlugin() {
|
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
});
|
|
67
|
-
const hasQueryOrDataExport = exportNames.includes("QUERY") || exportNames.includes("data");
|
|
68
|
+
const hasQueryOrDataExport = exportNames.includes("QUERY") || exportNames.includes("FRAGMENT") || exportNames.includes("data");
|
|
68
69
|
if (hasDefaultExport || !hasQueryOrDataExport) {
|
|
69
70
|
return null;
|
|
70
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"babel-plugin-redwood-cell.d.ts","sourceRoot":"","sources":["../../../src/babelPlugins/babel-plugin-redwood-cell.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"babel-plugin-redwood-cell.d.ts","sourceRoot":"","sources":["../../../src/babelPlugins/babel-plugin-redwood-cell.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAgCnD,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EAAE,CAAC,GACT,EAAE;IACD,KAAK,EAAE,OAAO,KAAK,CAAA;CACpB,GAAG,SAAS,CAmHZ"}
|
|
@@ -25,6 +25,7 @@ var import_path = require("path");
|
|
|
25
25
|
const EXPECTED_EXPORTS_FROM_CELL = [
|
|
26
26
|
"beforeQuery",
|
|
27
27
|
"QUERY",
|
|
28
|
+
"FRAGMENT",
|
|
28
29
|
"data",
|
|
29
30
|
"isEmpty",
|
|
30
31
|
"afterQuery",
|
|
@@ -67,7 +68,7 @@ function babelPluginRedwoodCell({
|
|
|
67
68
|
hasDefaultExport = false;
|
|
68
69
|
},
|
|
69
70
|
exit(path) {
|
|
70
|
-
const hasQueryOrDataExport = exportNames.includes("QUERY") || exportNames.includes("data");
|
|
71
|
+
const hasQueryOrDataExport = exportNames.includes("QUERY") || exportNames.includes("FRAGMENT") || exportNames.includes("data");
|
|
71
72
|
if (hasDefaultExport || !hasQueryOrDataExport) {
|
|
72
73
|
return;
|
|
73
74
|
}
|
|
@@ -40,6 +40,7 @@ const generate = import_generator.default.default;
|
|
|
40
40
|
const EXPECTED_EXPORTS_FROM_CELL = [
|
|
41
41
|
"beforeQuery",
|
|
42
42
|
"QUERY",
|
|
43
|
+
"FRAGMENT",
|
|
43
44
|
"data",
|
|
44
45
|
"isEmpty",
|
|
45
46
|
"afterQuery",
|
|
@@ -97,7 +98,7 @@ function cellTransformPlugin() {
|
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
100
|
});
|
|
100
|
-
const hasQueryOrDataExport = exportNames.includes("QUERY") || exportNames.includes("data");
|
|
101
|
+
const hasQueryOrDataExport = exportNames.includes("QUERY") || exportNames.includes("FRAGMENT") || exportNames.includes("data");
|
|
101
102
|
if (hasDefaultExport || !hasQueryOrDataExport) {
|
|
102
103
|
return null;
|
|
103
104
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/prerender",
|
|
3
|
-
"version": "6.0.0-canary.
|
|
3
|
+
"version": "6.0.0-canary.2647",
|
|
4
4
|
"description": "CedarJS prerender",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"@babel/generator": "7.29.7",
|
|
72
72
|
"@babel/parser": "7.29.7",
|
|
73
73
|
"@babel/traverse": "7.29.7",
|
|
74
|
-
"@cedarjs/babel-config": "6.0.0-canary.
|
|
75
|
-
"@cedarjs/project-config": "6.0.0-canary.
|
|
76
|
-
"@cedarjs/structure": "6.0.0-canary.
|
|
77
|
-
"@cedarjs/vite": "6.0.0-canary.
|
|
74
|
+
"@cedarjs/babel-config": "6.0.0-canary.2647",
|
|
75
|
+
"@cedarjs/project-config": "6.0.0-canary.2647",
|
|
76
|
+
"@cedarjs/structure": "6.0.0-canary.2647",
|
|
77
|
+
"@cedarjs/vite": "6.0.0-canary.2647",
|
|
78
78
|
"@rollup/plugin-alias": "5.1.1",
|
|
79
79
|
"@rollup/plugin-commonjs": "28.0.9",
|
|
80
80
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
"vite": "7.3.5"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@cedarjs/framework-tools": "6.0.0-canary.
|
|
96
|
-
"@cedarjs/router": "6.0.0-canary.
|
|
97
|
-
"@cedarjs/web": "6.0.0-canary.
|
|
95
|
+
"@cedarjs/framework-tools": "6.0.0-canary.2647",
|
|
96
|
+
"@cedarjs/router": "6.0.0-canary.2647",
|
|
97
|
+
"@cedarjs/web": "6.0.0-canary.2647",
|
|
98
98
|
"@types/mime-types": "2.1.4",
|
|
99
99
|
"@types/react": "^18.2.55",
|
|
100
100
|
"babel-plugin-tester": "11.0.4",
|