mod-build 3.6.60-beta.4 → 3.6.60
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,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.6.60
|
|
4
|
+
|
|
5
|
+
- Adding consoles allllll throughout the `grab-shared-scripts` task. It is still breaking down somewhere; and the first step to trying to force-fail our builds is figure out where the issue is
|
|
6
|
+
|
|
3
7
|
## 3.6.59
|
|
4
8
|
|
|
5
9
|
- adding `srcset` to the `add-path-subdirectories` gulp task to update relative paths in `<picture>` tags
|
|
@@ -14,6 +18,7 @@
|
|
|
14
18
|
- adding `!window.Modalytics.privacyPreferencesDetected` conditional to check privacy settings to not load Heap for modernize.com
|
|
15
19
|
|
|
16
20
|
## 3.6.55
|
|
21
|
+
|
|
17
22
|
- Added conditional to check if `siteData` is empty — so our `fetchTcpaFromSitegenie()` and `getDefaultFormFieldConfig()` functions won't try to run on modify.modernize.com
|
|
18
23
|
|
|
19
24
|
## 3.6.54
|
|
@@ -5,7 +5,6 @@ var hash = require('gulp-hash');
|
|
|
5
5
|
var tap = require('gulp-tap');
|
|
6
6
|
var path = require('path');
|
|
7
7
|
var buffer = require('gulp-buffer');
|
|
8
|
-
var fetch = require('node-fetch');
|
|
9
8
|
|
|
10
9
|
const fileNames = {
|
|
11
10
|
modAlyticsFileName: '',
|
|
@@ -254,11 +253,14 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
254
253
|
});
|
|
255
254
|
}
|
|
256
255
|
|
|
257
|
-
|
|
258
256
|
return Promise.all(getAllResources)
|
|
259
257
|
.then(() => {
|
|
260
|
-
console.log(`>>FILENAMES object = ${JSON.stringify(fileNames)}`);
|
|
261
|
-
|
|
258
|
+
console.log(`>> FILENAMES object = ${JSON.stringify(fileNames)}`);
|
|
259
|
+
return gulp.src(siteSettings.srcFolder + '/shared-components/foot-assets/foot-assets.html')
|
|
260
|
+
.on('data', function (file) {
|
|
261
|
+
console.log(`>> FOOT ASSETS HTML = ${file.contents.toString()}`);
|
|
262
|
+
});
|
|
263
|
+
})
|
|
262
264
|
}());
|
|
263
265
|
};
|
|
264
266
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mod-build",
|
|
3
|
-
"version": "3.6.60
|
|
3
|
+
"version": "3.6.60",
|
|
4
4
|
"description": "Share components for S3 sites.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
"jquery": "^3.2.1",
|
|
57
57
|
"lodash": "^4.17.15",
|
|
58
58
|
"lodash.merge": "^4.6.2",
|
|
59
|
-
"node-fetch": "^3.3.2",
|
|
60
59
|
"nouislider": "^10.1.0",
|
|
61
60
|
"path": "^0.12.7",
|
|
62
61
|
"request": "^2.88.0",
|