mod-build 4.0.50-beta.4 → 4.0.51-beta.1

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,8 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.0.51
4
+
5
+ - Updating the config object in templates.js task along with creating config.json file.
6
+
3
7
  ## 4.0.50
4
8
 
5
- - Adding the `setupDevOpsTrackingId()` to generate a consistent tracking ID & append it to the `<body>` tags.
9
+ - Adding the `setupDevOpsTrackingId()` to generate a consistent tracking ID. It will get added to the config & append it to the `<body>` tag as `<body data-devops-id="{{devOpsTrackingId}}">`.
6
10
 
7
11
  ## 4.0.49
8
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "4.0.50-beta.4",
3
+ "version": "4.0.51-beta.1",
4
4
  "description": "Share components for S3 sites.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -339,7 +339,7 @@ export default async function(config) {
339
339
  if (!fs.existsSync(`${defaultSettings.srcFolder}/${defaultSettings.tmpFolder}`)) {
340
340
  fs.mkdirSync(`${defaultSettings.srcFolder}/${defaultSettings.tmpFolder}`, { recursive: true });
341
341
  }
342
-
342
+ Object.assign(config, tempConfig);
343
343
  fs.writeFileSync(`${defaultSettings.srcFolder}/${defaultSettings.tmpFolder}/config.json`, JSON.stringify(tempConfig, null, 2));
344
344
  }
345
345
  }