1.1.1 • Published 12 months ago

@rmtc/plugin-mit-license v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@rmtc/plugin-mit-license

A plugin for @rmtc/toolchain that ensures a project has a valid MIT license file and entry in package.json.

!WARNING This project is intended for use in @rowanmanning's projects. It's free to use but I don't offer support for use-cases outside of what I need.

Table of Contents

Requirements

This library requires the following to run:

Usage

Install the module with npm:

npm install --save-dev @rmtc/plugin-mit-license

Include it in your .rmtc.json file:

{
    plugins: [
        // ...
        '@rmtc/plugin-mit-license'
    ]
    // ...
}

Workflows

This plugin defines the following workflows:

  • postinstall: a general workflow used to indicate steps that should be run after dependencies have been installed.

Steps

This plugin defines the following steps that can be added to any workflow:

  • mit-license:install: override the LICENSE file in the project folder as well as package.json license property ensuring that they're consistent.

Configuration

config.holders

string. Use this configuration to set the list of entities who hold the copyright for the project. E.g.

{
    plugins: [
        ['@rmtc/plugin-mit-license', {
            holders: 'Rowan Manning'
        }]
    ]
}

Contributing

See the central README for a contribution guide and code of conduct.

License

Licensed under the MIT license. Copyright © 2023, Rowan Manning

1.1.1

12 months ago

1.1.0

1 year ago

1.0.0

1 year ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago