refactor: remove deprecated YAML template files

- Deleted all 'template.yml' files from various blueprints as part of the transition to TOML format.
- Updated the script to delete the 'template.yml' files instead of converting them to 'template.toml'.
This commit is contained in:
Mauricio Siu
2025-03-30 00:55:40 -06:00
parent 2dab17bbc0
commit efe26cc173
112 changed files with 2 additions and 3335 deletions

View File

@@ -22,11 +22,8 @@ function processDirectory(dirPath) {
if (stat.isDirectory()) {
processDirectory(filePath);
} else if (file === "template.yml") {
console.log(`Converting ${filePath}`);
const yamlContent = fs.readFileSync(filePath, "utf8");
const tomlContent = convertYamlToToml(yamlContent);
const tomlPath = path.join(dirPath, "template.toml");
fs.writeFileSync(tomlPath, tomlContent);
console.log(`Deleting ${filePath}`);
fs.unlinkSync(filePath);
}
});
}