@griddo/cx 1.68.5 → 1.69.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-config.js CHANGED
@@ -17,6 +17,7 @@ const CONFIG = {
17
17
  ...plugins,
18
18
 
19
19
  // defaults plugins
20
+ 'gatsby-plugin-provide-react',
20
21
  'gatsby-plugin-react-svg',
21
22
  'gatsby-plugin-react-helmet',
22
23
  'gatsby-plugin-no-sourcemaps',
package/gatsby-node.js CHANGED
@@ -94,7 +94,6 @@ exports.createPages = async ({ actions }) => {
94
94
  headers,
95
95
  footers,
96
96
  socials,
97
- sitePages,
98
97
  } = await sites.getSiteData(siteID);
99
98
 
100
99
  site.languages = siteLangs;
@@ -136,7 +135,6 @@ exports.createPages = async ({ actions }) => {
136
135
  componentsVersion,
137
136
  showBasicMetaRobots,
138
137
  BUILD_MODE,
139
- sitePages,
140
138
  siteScript
141
139
  };
142
140
 
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.68.5",
4
+ "version": "1.69.0",
5
5
  "authors": [
6
6
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
7
7
  "Carlos Torres <carlos.torres@secuoyas.com>",
@@ -49,6 +49,7 @@
49
49
  "gatsby-plugin-catch-links": "^4.8.0",
50
50
  "gatsby-plugin-no-sourcemaps": "^4.8.0",
51
51
  "gatsby-plugin-polyfill-io": "^1.1.0",
52
+ "gatsby-plugin-provide-react": "^1.0.2",
52
53
  "gatsby-plugin-react-helmet": "^5.8.0",
53
54
  "gatsby-plugin-react-svg": "^3.1.0",
54
55
  "gatsby-plugin-remove-generator": "^1.2.0",
@@ -64,7 +65,7 @@
64
65
  "react-helmet": "^6.0.0"
65
66
  },
66
67
  "devDependencies": {
67
- "@griddo/eslint-config-back": "^1.68.5",
68
+ "@griddo/eslint-config-back": "^1.69.0",
68
69
  "eslint": "^7.5.0",
69
70
  "eslint-plugin-node": "^11.1.0",
70
71
  "eslint-plugin-react": "7.14.3",
@@ -96,5 +97,5 @@
96
97
  "publishConfig": {
97
98
  "access": "public"
98
99
  },
99
- "gitHead": "f04897ab1e04729c14ea913d923e71753d0ebff5"
100
+ "gitHead": "e7c75c6d330faf9670561ac2ba04afc541627f9f"
100
101
  }
@@ -44,7 +44,9 @@ const updateDist = async () => {
44
44
 
45
45
  const files = fs
46
46
  .readdirSync(src)
47
- .filter(fn => fn.endsWith('.js') || fn.endsWith('.json'));
47
+ .filter(
48
+ fn => fn.endsWith('.js') || fn.endsWith('.json') || fn.endsWith('.css')
49
+ );
48
50
 
49
51
  const assetsDest = './assets';
50
52
  const pageDataSrc = `${src}/page-data`;