@platformatic/generators 1.29.0 → 1.30.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.
@@ -192,6 +192,9 @@ class BaseGenerator extends FileGenerator {
192
192
  const currentConfigFile = JSON.parse(fileFromDisk.contents)
193
193
  if (generatedConfigFile.plugins && generatedConfigFile.plugins.packages) {
194
194
  currentConfigFile.plugins.packages = generatedConfigFile.plugins.packages
195
+ } else {
196
+ // remove packages because new configuration does not have them
197
+ currentConfigFile.plugins.packages = []
195
198
  }
196
199
  this.reset()
197
200
  this.addFile({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/generators",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "description": "Main classes and utils for generators.",
5
5
  "main": "index.js",
6
6
  "keywords": [],