JSPM

  • Created
  • Published
  • Downloads 3948
  • Score
    100M100P100Q136690F
  • License MIT

Automatically manage configuration files.

Package Exports

  • robo-config

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 (robo-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Robo-Config

Build Status Test Coverage Dependabot Status Dependencies NPM Downloads Semantic-Release Gardener

Automatically manage configuration files.

But why...?

Why does this package even exist? - Let's face it, without npm and micro-services this repo would probably not exist. Npm has encouraged us to create a new repo and package for every re-usable code snippet. This is great from the re-usability perspective, however it means that a single developer might actively maintain many repos.

Most maintenance tasks (automated repository configuration, automated tests, automated dependency updated, automated versioning and releases) can be done by just simply adding a configuration file to the repo and activating the corresponding service. That's great, but what happens when:

  • A nasty bug is discovered in one of the config files?
  • A provider changes their configuration file format?
  • A major language version was released and tests should also be run against it?
  • A cool new service popped up and one should really use it?

How does one ensure changes will propagate to all relevant repos? If you never had to batch update a few dozen repos with the same change manually, you're lucky - I can tell you it's not fun. Either you do them all at the same time (let's hope it was the right change) or you will inadvertently forget to apply the change to some repos. That's where this package comes in!

Sounds scary...?

Simply pick the task(s) that is most appropriate for your repo or create your own (prs are encouraged). Tasks and snippets are reused as appropriate. A change to a snippet will then quickly make it to every repository using it.

Sounds scary? Consider that configuration changes are tied to version updates of this package and can not be automatically merged since the changed configuration files have to be committed. This tool helps you to not forget pending configuration changes. It does not do it automatically or silently.

Getting Started

$ npm install --save-dev robo-config

Usage

...