User interface classes built on the OOjs framework.
This library is available as an npm package! Install it right away:
npm install oojs-ui
If you don't want to use npm, you can:
Clone the repo,
git clone https://git.wikimedia.org/git/oojs/ui.git.
Install Grunt command-line utility:
$ npm install -g grunt-cli
Install dev dependencies and build the distribution files:
$ npm install
You can now copy the distribution files from the dist directory into your project.
We use the Semantic Versioning guidelines as much as possible.
Releases will be numbered in the following format:
For more information on SemVer, please visit http://semver.org/.
Found a bug or missing feature? Please report it in the issue tracker!
$ cd path/to/oojs-ui/ $ git remote update $ git checkout -B release -t origin/master
$ npm install && npm test
$ git log --format='* %s (%aN)' --no-merges --reverse v$(node -e 'console.log(require("./package.json").version);')...HEAD | grep -v "Localisation updates from" $ edit History.md
$ edit package.json
$ git add -p $ git commit -m "Tag vX.X.X" $ git review
$ git remote update $ git checkout origin/master $ git tag "vX.X.X" $ git push --tags $ npm publish