FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

CommandBox Git protect

v1.0.0 Public

CommandBox Git protect

As of CommandBox 5.1.0, box install in a project will overwrite any package (e.g. a Preside extension) where the current version does not match the installed version number - including downgrades.

This means that if your project has an extension which is a Git repo, which may likely have a placeholder such as VERSION_NUMBER which gets populated by a build script, it will always get overwritten, which is not ideal.

This module adds protection against this: if the existing package is a Git repo, it will never be overwritten.

Requirements

CommandBox 5.2.0 or later is required for this to work, which modifies the onInstall interceptor to allow it to skip installation of a module.

Dependencies (0)


Dev Dependencies (0)


Changelog

v1.0.0

  • Initial release

 

$ box install commandbox-git-protect

No collaborators yet.
     
  • {{ getFullDate("Oct 14 2020 08:10 AM GMT") }}
  • {{ getFullDate("Oct 14 2020 08:10 AM GMT") }}
  • 558
  • 410
  • 12