Skip to content

Automating code modifications using abstract-syntax-trees. An system to support, configuration, execution and version control of code modifications.

Notifications You must be signed in to change notification settings

jamesrwilliams/unified-code-mods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unified Code Mods

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. Test

Goal

Automatically apply code-mods to source code to make it compatible with a newer version of a library. For example a new major version introduces changes to how a user needs to have their HTML, CSS and JS, this project aims to facilitate the automatic application of these modifications.

Rationale

This project was born out of an idea to support the following (niche) scenario

  • You develop an in-house front-end API library
  • This library has hundreds of unique HTML/CSS/JS projects that use it
  • Breaking change in API library typically requires manual migration of each unique consumer project
  • This project aims to provide a way to encapsulate code modifications for them to be played back over different consumer projects to mass upgrade between breaking changes.

Roadmap

  • HTML
    • Elements
      • rename - Planned
    • Attributes
      • Create - Planned
      • Update - In Progress
      • Delete - Planned
  • JSON (key value pairs)
    • Create - Planned
    • Rename - Planned
    • Update - Planned

Modification API

TBC

See also

About

Automating code modifications using abstract-syntax-trees. An system to support, configuration, execution and version control of code modifications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published