Skip to content
/ git Public

form8ion plugin for managing projects versioned with git

License

Notifications You must be signed in to change notification settings

form8ion/git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git

form8ion plugin for managing projects versioned with git

Node CI Workflow Status Codecov SLSA Level 2

Table of Contents

Features

  • Initializes a git repository for a project
  • Configures git to handle line endings across operating systems
  • Manages ignoring files and directories from being versioned
  • Detects an existing git repository configured for a project

Usage

MIT license npm Try @form8ion/git on RunKit node

Installation

$ npm install @form8ion/git --save-prod

Example

Import

import {scaffold, test, lift} from '@form8ion/git';

Execute

const projectRoot = process.cwd();

await scaffold({projectRoot});

if (await test({projectRoot})) {
  await lift({projectRoot, results: {vcsIgnore: {file: [], directories: []}}});
}

Contributing

Commitizen friendly Conventional Commits semantic-release: angular Renovate PRs Welcome

Dependencies

$ nvm install
$ npm install

Verification

$ npm test