mod-build 4.0.30 → 4.0.31

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 4.0.31
2
+
3
+ - Adding `geolocation.min.js` to the `grab-cdn` task
4
+
1
5
  ## 4.0.30
2
6
 
3
7
  - Reverting back to version `16.9.0` of `stylelint` as the newest version was throwing config error
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "4.0.30",
3
+ "version": "4.0.31",
4
4
  "description": "Share components for S3 sites.",
5
5
  "type": "module",
6
6
  "scripts": {
package/tasks/grab-cdn.js CHANGED
@@ -81,7 +81,8 @@ export default async function(config) {
81
81
 
82
82
  externalResources = {
83
83
  '/quote/resources/mod-site/templates/scripts/trusted-form.html': [`${publicFolder}/resources/scripts/`, 'trusted-form.html'],
84
- '/quote/resources/data/tcpa.json': [`${srcFolder}/resources/data/`, 'tcpa.json'],
84
+ '/quote/resources/shared-resources/scripts/geolocation/geolocation.min.js': [`${publicFolder}/resources/scripts/geolocation/`, 'geolocation.min.js'],
85
+ '/quote/resources/data/tcpa.json': [`${srcFolder}/resources/data/`, 'tcpa.json']
85
86
  };
86
87
 
87
88
  // grab footer modals and place under the resources
@@ -93,8 +94,6 @@ export default async function(config) {
93
94
  '/quote/resources/shared-resources/templates/modals/faq/': [`${srcFolder}/resources/templates/modals/faq/`, 'index.html']
94
95
  })
95
96
 
96
- Object.assign(externalResources, {'/quote/resources/mod-site/templates/scripts/jornaya.html': [`${publicFolder}/resources/scripts/`, 'jornaya.html']});
97
-
98
97
  if (isModWhiteLabel || domainHasModernize) {
99
98
  Object.assign(externalResources, {'/quote/resources/mod-site/templates/scripts/recaptcha.html': [`${publicFolder}/resources/scripts/`, 'recaptcha.html']});
100
99
  }