origin-web-common

v3.10.0
Library of common services and components for OpenShift Web Console.

OpenShift Common Web Services

The common services used for the OpenShift Management Console.

Build Status

Contributing

Getting started

  1. Install Nodejs and npm
  2. Install grunt-cli and bower by running npm install -g grunt-cli bower (may need to be run with sudo)
  3. Install dependencies by running npm install and bower install
  4. Build and run tests by running grunt build

Before opening a pull request

Please configure your editor to use the following settings to avoid common code inconsistencies and dirty diffs:

  • Use soft-tabs set to two spaces.
  • Trim trailing white space on save.
  • Set encoding to UTF-8.
  • Add new line at end of files.

Or configure your editor to utilize .editorconfig, which will apply these settings automatically.

Then:

  1. If needed, run grunt build to update the files under the dist directory
  2. Run the spec tests with grunt test
  3. Rebase and squash changes to a single commit
npm i origin-web-common

Metadata

Downloads