@theholocron/cli 3.15.0 → 3.16.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.
package/dist/cli.mjs CHANGED
@@ -973,6 +973,7 @@ function patchFiles(dir, variants, description, homepage, runtimeEnvironment, pr
973
973
  if (description !== void 0) content = content.split("<description>").join(description);
974
974
  if (homepage !== void 0) content = content.split("<homepage>").join(homepage);
975
975
  if (runtimeEnvironment !== void 0) content = content.split("<runtime_environment>").join(runtimeEnvironment);
976
+ content = content.replace(/\n?<!-- holocron:template-only -->[\s\S]*?<!-- \/holocron:template-only -->\n?/g, "");
976
977
  if (content !== original) {
977
978
  writeFn(filepath, content);
978
979
  print(` ✓ ${path.relative(dir, filepath)}`);