@griddo/cx 11.7.2-rc.2 → 11.7.2
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.
|
@@ -36,15 +36,6 @@ type Report = {
|
|
|
36
36
|
}>;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
// function getExportedDomains() {
|
|
40
|
-
// const domains = fs
|
|
41
|
-
// .readdirSync(exportArchiveBasePath)
|
|
42
|
-
// // Avoid empty files, usually .DS_Store from local renders.
|
|
43
|
-
// .filter((file) => !file.startsWith("."));
|
|
44
|
-
|
|
45
|
-
// return domains;
|
|
46
|
-
// }
|
|
47
|
-
|
|
48
39
|
function getDomainRenderReport(domain: string) {
|
|
49
40
|
const reports: Array<Report> = [];
|
|
50
41
|
const { buildReportFileName } = getConfig();
|
|
@@ -89,6 +80,13 @@ function getDomainRenderReport(domain: string) {
|
|
|
89
80
|
|
|
90
81
|
infoLog(`Sending ending call to ${domain} sites`);
|
|
91
82
|
|
|
83
|
+
for (const report of reports) {
|
|
84
|
+
for (const site of report.sites) {
|
|
85
|
+
site.publishHashes = [...new Set(site.publishHashes)];
|
|
86
|
+
site.unpublishHashes = [...new Set(site.unpublishHashes)];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
92
90
|
await sendEndSiteRender(reports);
|
|
93
91
|
} else {
|
|
94
92
|
// Legacy render
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@griddo/cx",
|
|
3
3
|
"description": "Griddo SSG based on Gatsby",
|
|
4
|
-
"version": "11.7.2
|
|
4
|
+
"version": "11.7.2",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
7
|
"Diego M. Béjar <diego.bejar@secuoyas.com>",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@babel/preset-env": "7.26.0",
|
|
66
66
|
"@babel/preset-react": "7.26.3",
|
|
67
67
|
"@babel/preset-typescript": "7.26.0",
|
|
68
|
-
"@griddo/core": "11.7.2
|
|
68
|
+
"@griddo/core": "11.7.2",
|
|
69
69
|
"@svgr/webpack": "5.5.0",
|
|
70
70
|
"axios": "1.7.9",
|
|
71
71
|
"babel-loader": "9.2.1",
|
|
@@ -130,5 +130,5 @@
|
|
|
130
130
|
"publishConfig": {
|
|
131
131
|
"access": "public"
|
|
132
132
|
},
|
|
133
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "3fa6c7e418ad83f45aace6ee880e3b7cf49fed53"
|
|
134
134
|
}
|