JSPM

autogit-plugin-autocommit

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q43518F
  • License MIT

A plugin for automatically making a commit when specific files change.

Package Exports

  • autogit-plugin-autocommit

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (autogit-plugin-autocommit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Autogit Plugin - Autocommit

A plugin for automatically making a commit when specific files change.

Install

npm install --save autogit-plugin-autocommit

Usage

Options

This plugin uses the following options object:

{
  message: '', // Commit message
  paths: [] // When these paths change a commit will be made
}

Configuration

Add this plugin to a command:

const autocommit = require ( 'autogit-plugin-autocommit' );

module.exports = {
  commands: {
    'my-command': [
      autocommit ({ message: 'Readme: updated', paths: ['README.md'] })
    ]
  }
}

License

MIT © Fabio Spampinato