verdaccio-pacman

1.1.1 • Public • Published

verdaccio-pacman

Verdaccio Middleware Plugin to manage tags and versions of packages

verdaccio-pacman (latest) License: MIT node

Requirements

  • verdaccio@4.x.x or higher
 npm install --global verdaccio-pacman

Usage

To enable the plugin you need to add following lines to your configuration file.

middlewares:
  pacman:
    # Enables the plugin - the only required config parameter
    # Default: false
    enabled: true
    
    # CSS Selector to select verdaccio home button
    # Default: 'header > :first-child > :first-child > :first-child'
    selectorHomeBtn: 'header > :first-child > :first-child > :first-child'
    
    # CSS Selector to select parent element to injected plugin button
    # Default: 'header > :first-child > :last-child'
    selectorPacmanBtn: 'header > :first-child > :last-child'

    # Injection mode for plugin button, valid values are "append" and "prepend"
    # Default: prepend
    injectMode: prepend
    
    # List of tags to protect. Protected tags or package versions 
    # with assigned protected tags can not be deleted.
    # Note: Tag "latest" is always protected!
    protectedTags:
      - dev
      - stage
      - prod

License

MIT (http://www.opensource.org/licenses/mit-license.php)

/verdaccio-pacman/

    Package Sidebar

    Install

    npm i verdaccio-pacman

    Weekly Downloads

    3

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    39.2 kB

    Total Files

    18

    Last publish

    Collaborators

    • paddek