Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
History.md | H A D | 30-Sep-2021 | 3.2 KiB | 72 | 61 | |
README.md | H A D | 30-Sep-2021 | 1.6 KiB | 69 | 48 |
README.md
1[![NPM version](https://badge.fury.io/js/unicodejs.svg)](https://badge.fury.io/js/unicodejs) 2 3UnicodeJS 4================= 5 6UnicodeJS is a JavaScript library for working with the Unicode standard. 7 8Quick start 9---------- 10 11This library is available as an [npm](https://npmjs.org/) package! Install it right away: 12<pre lang="bash"> 13npm install unicodejs 14</pre> 15 16Or clone the repo, `git clone https://gerrit.wikimedia.org/r/p/unicodejs.git`. 17 18Versioning 19---------- 20 21We use the Semantic Versioning guidelines as much as possible. 22 23Releases will be numbered in the following format: 24 25`<major>.<minor>.<patch>` 26 27For more information on SemVer, please visit http://semver.org/. 28 29Bug tracker 30----------- 31 32Found a bug? Please report it in the [issue tracker](https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?project=Utilities-UnicodeJS)! 33 34Release 35---------- 36 37Release process: 38<pre lang="bash"> 39$ cd path/to/unicodejs/ 40$ git remote update 41$ git checkout -b release -t origin/master 42 43# Ensure tests pass 44$ npm install-test 45 46# Avoid using "npm version patch" because that creates 47# both a commit and a tag, and we shouldn't tag until after 48# the commit is merged. 49 50# Update release notes 51# Copy the resulting list into a new section on History.md 52$ git log --format='* %s (%aN)' --no-merges --reverse v$(node -e 'console.log(require("./package.json").version);')...HEAD 53$ edit History.md 54 55# Update the version number 56$ edit package.json 57 58$ git add -p 59$ git commit -m "Tag vX.X.X" 60$ git review 61 62# After merging: 63$ git remote update 64$ git checkout origin/master 65$ git tag "vX.X.X" 66$ git push --tags 67$ npm publish 68</pre> 69