@griddo/cx 1.75.191 → 1.75.193
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 +27 -25
- package/gatsby-node.ts +5 -2
- package/package.json +119 -119
- package/scripts/griddo-exporter.ts +238 -206
- package/src/utils/shared.ts +22 -1
package/gatsby-node.ts
CHANGED
|
@@ -81,8 +81,11 @@ export const createPages: GatsbyNode["createPages"] = async ({ actions }) => {
|
|
|
81
81
|
// onPostBuild
|
|
82
82
|
// -----------------------------------------------------------------------------
|
|
83
83
|
export const onPostBuild = async () => {
|
|
84
|
-
const {
|
|
85
|
-
|
|
84
|
+
const {
|
|
85
|
+
buildProcessData,
|
|
86
|
+
createdPages,
|
|
87
|
+
sitesToPublish,
|
|
88
|
+
} = StoreService.getMetadata();
|
|
86
89
|
|
|
87
90
|
await setPagesRenderEnd(buildProcessData, createdPages);
|
|
88
91
|
await RobotsService.writeFiles(`${__dirname}/public`);
|
package/package.json
CHANGED
|
@@ -1,121 +1,121 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
2
|
+
"name": "@griddo/cx",
|
|
3
|
+
"description": "Griddo SSG based on Gatsby",
|
|
4
|
+
"version": "1.75.193",
|
|
5
|
+
"authors": [
|
|
6
|
+
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
|
+
"Diego M. Béjar <diego.bejar@secuoyas.com>",
|
|
8
|
+
"Francis Vega <francis.vega@secuoyas.com>",
|
|
9
|
+
"Gonzalo Hernández <gonzalo.hernandez@secuoyas.com>",
|
|
10
|
+
"Sergio Ródenas <sergio.rodenas@secuoyas.com>",
|
|
11
|
+
"Txema León <txema.leon@secuoyas.com>"
|
|
12
|
+
],
|
|
13
|
+
"license": "UNLICENSED",
|
|
14
|
+
"homepage": "https://griddo.io",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/griddo/griddo"
|
|
18
|
+
},
|
|
19
|
+
"bin": {
|
|
20
|
+
"griddo-cx": "./index.js"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"start": "gatsby develop -H 0.0.0.0",
|
|
24
|
+
"build": "yarn run build:exporter",
|
|
25
|
+
"build:exporter": "esbuild ./scripts/griddo-exporter.ts --bundle --platform=node --minify --outfile=./build/index.js",
|
|
26
|
+
"build:serve": "IS_SERVE=true gatsby build --prefix-paths && gatsby serve",
|
|
27
|
+
"export": "gatsby build --prefix-paths",
|
|
28
|
+
"clean": "gatsby clean; rm -rf .cache public assets dist build .store",
|
|
29
|
+
"serve": "gatsby serve",
|
|
30
|
+
"format": "prettier --write .",
|
|
31
|
+
"prepare": "yarn run build:exporter",
|
|
32
|
+
"watch:tscheck": "tsc --noEmit --watch"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@babel/core": "^7.21.0",
|
|
36
|
+
"@babel/plugin-proposal-class-properties": "^7.7.4",
|
|
37
|
+
"@babel/preset-env": "^7.14.5",
|
|
38
|
+
"@babel/preset-react": "^7.14.5",
|
|
39
|
+
"@babel/preset-typescript": "^7.16.5",
|
|
40
|
+
"@griddo/core": "^1.75.193",
|
|
41
|
+
"@svgr/webpack": "^5.5.0",
|
|
42
|
+
"babel-loader": "^8.0.6",
|
|
43
|
+
"babel-plugin-styled-components": "^1.10.7",
|
|
44
|
+
"babel-plugin-transform-runtime": "^6.23.0",
|
|
45
|
+
"babel-polyfill": "^6.26.0",
|
|
46
|
+
"branch-name": "^1.0.0",
|
|
47
|
+
"chalk": "^2.4.2",
|
|
48
|
+
"csvtojson": "^2.0.10",
|
|
49
|
+
"dotenv": "^8.1.0",
|
|
50
|
+
"find-up": "^5.0.0",
|
|
51
|
+
"fs-extra": "^9.0.1",
|
|
52
|
+
"gatsby": "^4.8.0",
|
|
53
|
+
"gatsby-plugin-no-sourcemaps": "^4.8.0",
|
|
54
|
+
"gatsby-plugin-polyfill-io": "^1.1.0",
|
|
55
|
+
"gatsby-plugin-provide-react": "^1.0.2",
|
|
56
|
+
"gatsby-plugin-react-helmet": "^5.8.0",
|
|
57
|
+
"gatsby-plugin-react-svg": "^3.1.0",
|
|
58
|
+
"gatsby-plugin-sass": "^5.21.0",
|
|
59
|
+
"gatsby-plugin-styled-components": "^5.8.0",
|
|
60
|
+
"gradient-string": "^2.0.2",
|
|
61
|
+
"html-react-parser": "^1.4.10",
|
|
62
|
+
"js2xmlparser": "^4.0.1",
|
|
63
|
+
"node-sass": "^6.0.0",
|
|
64
|
+
"opn": "^6.0.0",
|
|
65
|
+
"p-limit": "^3.0.0",
|
|
66
|
+
"path-browserify": "^1.0.1",
|
|
67
|
+
"pkg-dir": "^5.0.0",
|
|
68
|
+
"process": "^0.11.10",
|
|
69
|
+
"react-helmet": "^6.0.0"
|
|
70
|
+
},
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"@griddo/eslint-config-back": "^1.75.193",
|
|
73
|
+
"@types/babel__core": "^7.20.0",
|
|
74
|
+
"@types/babel__preset-env": "^7.9.2",
|
|
75
|
+
"@types/csvtojson": "^2.0.0",
|
|
76
|
+
"@types/eslint": "^7.29.0",
|
|
77
|
+
"@types/fs-extra": "^9.0.13",
|
|
78
|
+
"@types/gradient-string": "^1.1.2",
|
|
79
|
+
"@types/node-sass": "^4.11.3",
|
|
80
|
+
"@types/prettier": "2.7.2",
|
|
81
|
+
"@types/react": "18.0.28",
|
|
82
|
+
"@types/react-dom": "18.0.11",
|
|
83
|
+
"@types/react-helmet": "^6.1.6",
|
|
84
|
+
"@types/webpack": "^5.28.0",
|
|
85
|
+
"eslint": "^7.5.0",
|
|
86
|
+
"eslint-plugin-node": "^11.1.0",
|
|
87
|
+
"eslint-plugin-react": "7.14.3",
|
|
88
|
+
"prettier": "2.0.4"
|
|
89
|
+
},
|
|
90
|
+
"peerDependencies": {
|
|
91
|
+
"axios": "*",
|
|
92
|
+
"react": "*",
|
|
93
|
+
"react-dom": "*"
|
|
94
|
+
},
|
|
95
|
+
"engines": {
|
|
96
|
+
"node": ">=16.17.0"
|
|
97
|
+
},
|
|
98
|
+
"files": [
|
|
99
|
+
".babelrc",
|
|
100
|
+
"build",
|
|
101
|
+
"gatsby-browser.tsx",
|
|
102
|
+
"gatsby-config.ts",
|
|
103
|
+
"gatsby-node.ts",
|
|
104
|
+
"gatsby-ssr.tsx",
|
|
105
|
+
"index.js",
|
|
106
|
+
"scripts",
|
|
107
|
+
"src",
|
|
108
|
+
"static"
|
|
109
|
+
],
|
|
110
|
+
"keywords": [
|
|
111
|
+
"gatsby",
|
|
112
|
+
"griddo",
|
|
113
|
+
"secuoyas",
|
|
114
|
+
"typescript",
|
|
115
|
+
"SSG"
|
|
116
|
+
],
|
|
117
|
+
"publishConfig": {
|
|
118
|
+
"access": "public"
|
|
119
|
+
},
|
|
120
|
+
"gitHead": "724e3fe43760cf3c8efb56dc4207a3e32e01f9dc"
|
|
121
121
|
}
|