Skip to content

tufan-io/git-utils

@tufan/git-utils

action-ci

Convenience methods for working with git for tufan code-generation capabilities. Uses isomorphic-git, to provide OS independence. Exremely useful for full featured code generators.

tufan.cloud is a code generator and a registry system. All of which require some git interactions. This is a simple wrapper around isomorphic-git that exposes a few convenience functions to make these tasks easier.

As a proof of how good isomorphic-git is, this module is really a container for one-liners with some data-transformation. In addition to providing convenience wrappers for a few code-generation/code-management tasks, this module is really a container to isolate the needed test cases.

Usage

Installation

# set registry config
npm config set @tufan-io:registry https://npm.pkg.github.com/tufan-io

# install the package
npm install @tufan-io/git-utils

API

Only implements convenience methods required for tufan-cli and friends.

API Documentation

Development Tooling

License

Apache-2.0

Code of Conduct

This project is released with a Contributor Code of Conduct. By participating, you agree to abide by its terms.

Support

Bugs, PRs, comments, suggestions welcomed!