8000 Tags · convert-units/convert-units · GitHub
[go: up one dir, main page]

Skip to content

Tags: convert-units/convert-units

Tags

v3.0.0-beta.8

Toggle v3.0.0-beta.8's commit message
3.0.0-beta.8

v3.0.0-beta.7

Toggle v3.0.0-beta.7's commit message
3.0.0-beta.7

v3.0.0-beta.6

Toggle v3.0.0-beta.6's commit message
3.0.0-beta.6

v3.0.0-beta.4

Toggle v3.0.0-beta.4's commit message
3.0.0-beta.4

v3.0.0-beta.3

Toggle v3.0.0-beta.3's commit message
3.0.0-beta.3

v3.0.0-beta.2

Toggle v3.0.0-beta.2's commit message
3.0.0-beta.2

v3.0.0-beta.1

Toggle v3.0.0-beta.1's commit message
Version Bump

- Bump version from v3.0.0-beta.0 to v3.0.0-beta.1

3.0.0-beta.0

Toggle 3.0.0-beta.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Support Custom Measures (#194)

* Support Custom Measures

- Remove definitions imports from the index file. This will allow for
bundlers to tree shake the definitions not being used.
- Provide a function which accepts a measures object. This measures
object can contain any measures as long as they conform to the
correct object shape/structure. It returns a factory function which
when called, creates a new Convert object.
- Update all tests to only import the measures they need

* Update README and set version to beta

- Update README with documentation for the new api changes and how to
move from the older api to the new api
- Bump version to a beta version. This is the first step to creating a
beta release for npm

* Add an easy way to use all packaged measures

- Add allMeasures which contains all the measures packaged in the
library
- Update the README with examples using allMeasures

* Fix linting errors

* Ordered Imports

- Add eslint rules for ordered imports
- Add prettier plugin to auto format imports. Added this because I don't
like managing imports :E

The general idea is to decrease code maintance overhead.

* Order allMeasures to reflect import order

v2.3.3

Toggle v2.3.3's commit message
Adding tests for toBest({ cutOffNumber })

0