@griddo/cx 1.62.6 → 1.63.0
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 +20 -20
- package/package.json +12 -15
- package/src/components/template.js +2 -0
package/gatsby-node.js
CHANGED
|
@@ -162,27 +162,27 @@ exports.createPages = async ({ actions }) => {
|
|
|
162
162
|
// Multi-page (pagination) or single-page
|
|
163
163
|
isList
|
|
164
164
|
? await utils.renderListPages(
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
165
|
+
{
|
|
166
|
+
rootPage: page,
|
|
167
|
+
pages: utils.getList(distributorTemplate),
|
|
168
|
+
isRoot: false,
|
|
169
|
+
defaultLang,
|
|
170
|
+
distributorTemplate,
|
|
171
|
+
},
|
|
172
|
+
additionalInfo,
|
|
173
|
+
actions.createPage
|
|
174
|
+
)
|
|
175
175
|
: await utils.renderPage(
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
176
|
+
{
|
|
177
|
+
...page,
|
|
178
|
+
template: distributorTemplate,
|
|
179
|
+
isRoot: false,
|
|
180
|
+
defaultLang,
|
|
181
|
+
multiPageElements,
|
|
182
|
+
},
|
|
183
|
+
additionalInfo,
|
|
184
|
+
actions.createPage
|
|
185
|
+
);
|
|
186
186
|
|
|
187
187
|
buildProcessData[siteID].publishHashes.push(page.hash);
|
|
188
188
|
}
|
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.
|
|
4
|
+
"version": "1.63.0",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
7
|
"Carlos Torres <carlos.torres@secuoyas.com>",
|
|
@@ -45,18 +45,15 @@
|
|
|
45
45
|
"dotenv": "^8.1.0",
|
|
46
46
|
"find-up": "^5.0.0",
|
|
47
47
|
"fs-extra": "^9.0.1",
|
|
48
|
-
"gatsby": "^
|
|
49
|
-
"gatsby-plugin-
|
|
50
|
-
"gatsby-plugin-
|
|
51
|
-
"gatsby-plugin-
|
|
52
|
-
"gatsby-plugin-
|
|
53
|
-
"gatsby-plugin-
|
|
54
|
-
"gatsby-plugin-
|
|
55
|
-
"gatsby-plugin-
|
|
56
|
-
"gatsby-plugin-
|
|
57
|
-
"gatsby-plugin-sass": "^4.0.0",
|
|
58
|
-
"gatsby-plugin-styled-components": "^4.0.0",
|
|
59
|
-
"gatsby-plugin-svgr": "2.1.0",
|
|
48
|
+
"gatsby": "^4.8.0",
|
|
49
|
+
"gatsby-plugin-catch-links": "^4.8.0",
|
|
50
|
+
"gatsby-plugin-no-sourcemaps": "^4.8.0",
|
|
51
|
+
"gatsby-plugin-polyfill-io": "^1.1.0",
|
|
52
|
+
"gatsby-plugin-react-helmet": "^5.8.0",
|
|
53
|
+
"gatsby-plugin-react-svg": "^3.1.0",
|
|
54
|
+
"gatsby-plugin-remove-generator": "^1.2.0",
|
|
55
|
+
"gatsby-plugin-sass": "^5.8.0",
|
|
56
|
+
"gatsby-plugin-styled-components": "^5.8.0",
|
|
60
57
|
"js2xmlparser": "^4.0.1",
|
|
61
58
|
"node-sass": "^7.0.1",
|
|
62
59
|
"opn": "^6.0.0",
|
|
@@ -66,7 +63,7 @@
|
|
|
66
63
|
"react-helmet": "^6.0.0"
|
|
67
64
|
},
|
|
68
65
|
"devDependencies": {
|
|
69
|
-
"@griddo/eslint-config-back": "^1.
|
|
66
|
+
"@griddo/eslint-config-back": "^1.63.0",
|
|
70
67
|
"eslint": "^7.5.0",
|
|
71
68
|
"eslint-plugin-node": "^11.1.0",
|
|
72
69
|
"eslint-plugin-react": "7.14.3",
|
|
@@ -98,5 +95,5 @@
|
|
|
98
95
|
"publishConfig": {
|
|
99
96
|
"access": "public"
|
|
100
97
|
},
|
|
101
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "69750b52129be69bba914bafa77c6b96f19514eb"
|
|
102
99
|
}
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
templates,
|
|
8
8
|
providers,
|
|
9
9
|
cloudinaryDefaults,
|
|
10
|
+
griddoDamDefaults,
|
|
10
11
|
translations,
|
|
11
12
|
} from 'components';
|
|
12
13
|
|
|
@@ -58,6 +59,7 @@ export default data => {
|
|
|
58
59
|
apiUrl={apiUrl}
|
|
59
60
|
publicApiUrl={publicApiUrl}
|
|
60
61
|
sitePages={sitePages}
|
|
62
|
+
griddoDamDefaults={griddoDamDefaults}
|
|
61
63
|
>
|
|
62
64
|
<Seo
|
|
63
65
|
siteMetadata={siteMetadata}
|