mod-build 4.0.51-beta.6 → 4.0.51

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## 4.0.51
4
4
 
5
- - Updating the config object in templates.js task along with creating config.json file.
5
+ - Adding Seasonal logic in `updateConfig()` and `updateHandlebarsOnWatch()` plugins to prevent overriding of updates in templates.js.
6
6
 
7
7
  ## 4.0.50
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "4.0.51-beta.6",
3
+ "version": "4.0.51",
4
4
  "description": "Share components for S3 sites.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -285,7 +285,7 @@ export default async function(config) {
285
285
  if (!fs.existsSync(`${defaultSettings.srcFolder}/${defaultSettings.tmpFolder}`)) {
286
286
  fs.mkdirSync(`${defaultSettings.srcFolder}/${defaultSettings.tmpFolder}`, { recursive: true });
287
287
  }
288
- Object.assign(config, tempConfig);
288
+
289
289
  fs.writeFileSync(`${defaultSettings.srcFolder}/${defaultSettings.tmpFolder}/config.json`, JSON.stringify(tempConfig, null, 2));
290
290
  }
291
291
  }