@griddo/cx 1.75.74 → 1.75.76

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/gatsby-node.js CHANGED
@@ -238,7 +238,7 @@ exports.createPages = async ({ actions }) => {
238
238
  helpers.log('info', `Processing createPages with ${cxThreads} threads`);
239
239
 
240
240
  await import('p-limit').then(async pLimit => {
241
- const limit = pLimit.default(gatsbyThreads);
241
+ const limit = pLimit.default(cxThreads);
242
242
  const pagesToRender = validPagesIds.map(id =>
243
243
  limit(() => renderPageProcess(id))
244
244
  );
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": "1.75.74",
4
+ "version": "1.75.76",
5
5
  "authors": [
6
6
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
7
7
  "Carlos Torres <carlos.torres@secuoyas.com>",
@@ -66,7 +66,7 @@
66
66
  "react-helmet": "^6.0.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@griddo/eslint-config-back": "^1.75.74",
69
+ "@griddo/eslint-config-back": "^1.75.76",
70
70
  "eslint": "^7.5.0",
71
71
  "eslint-plugin-node": "^11.1.0",
72
72
  "eslint-plugin-react": "7.14.3",
@@ -98,5 +98,5 @@
98
98
  "publishConfig": {
99
99
  "access": "public"
100
100
  },
101
- "gitHead": "4c2989da49d8b494544ca2457532353c154b0d03"
101
+ "gitHead": "caba548b69a372545885ca0d83329aac465381fc"
102
102
  }
@@ -30,7 +30,10 @@ const checkSites = async () => {
30
30
  const langResponse = await SitesService.getLanguages(updatedSite.id);
31
31
  updatedSite.domains = langResponse.items
32
32
  .filter(
33
- item => !process.env.DOMAIN || item.domain.slug.indexOf(process.env.DOMAIN) > 0
33
+ item =>
34
+ item.domain &&
35
+ (!process.env.DOMAIN ||
36
+ item.domain.slug.indexOf(process.env.DOMAIN) > 0)
34
37
  )
35
38
  .map(item => ({ [item.id]: `${item.domain.slug}${item.path}` }));
36
39
  }