@griddo/cx 10.1.21 → 10.1.23
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/build/index.js +1 -1
- package/build/reset-render.js +1 -1
- package/package.json +3 -3
- package/src/components/Head.tsx +1 -1
- package/src/services/settings.ts +1 -0
- package/src/services/store.ts +2 -0
- package/src/types/global.ts +1 -0
- package/src/types/pages.ts +1 -0
package/build/index.js
CHANGED
|
@@ -25,7 +25,7 @@ GFS4: `),console.error(e)});z[Z]||(ws=global[Z]||[],xs(z,ws),z.close=function(e)
|
|
|
25
25
|
\u2502 Access credentials failure \u2502
|
|
26
26
|
\u2502 Check that the login details are correct in your .env file \u2502
|
|
27
27
|
\u2570\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256F
|
|
28
|
-
`)),process.exit(1)}}},Ar=new Kn;var el=K(Yn()),tl=K(gt()),rl=K(Gt());var yp=K(gt()),Vu=K(Gt()),gp=K(gn()),Yu=K(Wu());var Ju="10.1.
|
|
28
|
+
`)),process.exit(1)}}},Ar=new Kn;var el=K(Yn()),tl=K(gt()),rl=K(Gt());var yp=K(gt()),Vu=K(Gt()),gp=K(gn()),Yu=K(Wu());var Ju="10.1.23";Vu.default.config();var vp=!!process.env.GRIDDO_BUILD_LOGS&&!!JSON.parse(process.env.GRIDDO_BUILD_LOGS)||!!process.env.LOGS&&!!JSON.parse(process.env.LOGS);function Ku(e){let t=e.length,r=e.length+2,n=" ".repeat(Math.floor((r-t)/2)),i=`\u256D${"\u2500".repeat(r)}\u256E
|
|
29
29
|
`,s=`
|
|
30
30
|
\u2570${"\u2500".repeat(r)}\u256F`,o=`\u2502${n}${e}${n}\u2502`;console.log(`${i}${o}${s}`)}function fi(e){vp&&console.info(e.replace(/(\s)\s+/g,"$1"))}function Xu(e){return new Promise(t=>setTimeout(t,e))}function Dr(e,t=3){return(e/1e3).toFixed(t)}function hi(e){return"site"in e&&e.site?e?.site:void 0}function di(...e){let t=performance.now();return e.forEach(r=>r()),Dr(performance.now()-t)}function Qu(){let e=`
|
|
31
31
|
\xB7\xB7
|
package/build/reset-render.js
CHANGED
|
@@ -39,4 +39,4 @@ ${p}
|
|
|
39
39
|
${y}
|
|
40
40
|
|
|
41
41
|
=============
|
|
42
|
-
`))}var Yn=class{baseURL;settings;ENDPOINTS;constructor(){this.baseURL=process.env.API_URL,this.settings={cloudinaryName:"",useMetaTitle:!1,showBasicMetaRobots:!1,avoidHrefLangsOnCanonicals:!1,avoidSelfReferenceCanonicals:!1,avoidHrefLangXDefault:!1,avoidDebugMetas:!1},this.ENDPOINTS={settings:`${this.baseURL}/settings`,resetRender:`${this.baseURL}/debug/reset-render`}}async getAll(){let{settings:t}=this.ENDPOINTS,r=await hc({endpoint:t});this.settings=r}async resetRender(){let{resetRender:t}=this.ENDPOINTS;await dc({endpoint:t})}},pc=new Yn;var dd=async()=>{await Zt.login(),await pc.resetRender()};dd();
|
|
42
|
+
`))}var Yn=class{baseURL;settings;ENDPOINTS;constructor(){this.baseURL=process.env.API_URL,this.settings={cloudinaryName:"",useMetaTitle:!1,useMetaKeywords:!1,showBasicMetaRobots:!1,avoidHrefLangsOnCanonicals:!1,avoidSelfReferenceCanonicals:!1,avoidHrefLangXDefault:!1,avoidDebugMetas:!1},this.ENDPOINTS={settings:`${this.baseURL}/settings`,resetRender:`${this.baseURL}/debug/reset-render`}}async getAll(){let{settings:t}=this.ENDPOINTS,r=await hc({endpoint:t});this.settings=r}async resetRender(){let{resetRender:t}=this.ENDPOINTS;await dc({endpoint:t})}},pc=new Yn;var dd=async()=>{await Zt.login(),await pc.resetRender()};dd();
|
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": "10.1.
|
|
4
|
+
"version": "10.1.23",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
7
|
"Diego M. Béjar <diego.bejar@secuoyas.com>",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"react-helmet": "^6.0.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@griddo/eslint-config-back": "^10.1.
|
|
71
|
+
"@griddo/eslint-config-back": "^10.1.23",
|
|
72
72
|
"@types/babel__core": "^7.20.0",
|
|
73
73
|
"@types/babel__preset-env": "^7.9.2",
|
|
74
74
|
"@types/csvtojson": "^2.0.0",
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"publishConfig": {
|
|
117
117
|
"access": "public"
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "f28e1609c6de1014bdf3ced4429cda25b2203211"
|
|
120
120
|
}
|
package/src/components/Head.tsx
CHANGED
|
@@ -181,7 +181,7 @@ const Head = (props: CustomHeadProps) => {
|
|
|
181
181
|
)}
|
|
182
182
|
|
|
183
183
|
{/* Keywords */}
|
|
184
|
-
{!!pageMetadata?.metaKeywords && (
|
|
184
|
+
{siteOptions?.useMetaKeywords && !!pageMetadata?.metaKeywords && (
|
|
185
185
|
<meta name="keywords" content={pageMetadata.metaKeywords} />
|
|
186
186
|
)}
|
|
187
187
|
|
package/src/services/settings.ts
CHANGED
package/src/services/store.ts
CHANGED
|
@@ -148,6 +148,7 @@ class StoreService {
|
|
|
148
148
|
const {
|
|
149
149
|
cloudinaryName,
|
|
150
150
|
useMetaTitle,
|
|
151
|
+
useMetaKeywords,
|
|
151
152
|
showBasicMetaRobots,
|
|
152
153
|
avoidHrefLangsOnCanonicals,
|
|
153
154
|
avoidSelfReferenceCanonicals,
|
|
@@ -191,6 +192,7 @@ class StoreService {
|
|
|
191
192
|
griddoVersion,
|
|
192
193
|
siteOptions: {
|
|
193
194
|
useMetaTitle,
|
|
195
|
+
useMetaKeywords,
|
|
194
196
|
showBasicMetaRobots,
|
|
195
197
|
avoidHrefLangsOnCanonicals,
|
|
196
198
|
avoidSelfReferenceCanonicals,
|
package/src/types/global.ts
CHANGED