Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2 #3

Open
alanhussey opened this issue Apr 11, 2021 · 2 comments
Open

Version 2 #3

alanhussey opened this issue Apr 11, 2021 · 2 comments

Comments

@alanhussey
Copy link
Owner

alanhussey commented Apr 11, 2021

Version 2 is a complete rewrite, with some goals:

  • full TypeScript rewrite
  • clearer and simpler APIs for interacting with measurements
  • immutable API for unit system definition
  • terse and expressive API for declaring conversions

In addition, some new features (either with v2 or shortly after as minor updates):

  • support for compound units (volume, rates, etc)
  • support for other number types

Available under the version-2 branch.


Things needed before being ready to merge:

  • CI and automated publishing
  • full test coverage
  • documentation
@okbytes
Copy link

okbytes commented Apr 18, 2021

Documenting a good example for the library before the tweet gets buried in a message thread.

https://twitter.com/wesbos/status/1382393563204386817

@okbytes
Copy link

okbytes commented May 23, 2021

@alanhussey I was thinking of mimicking this approach for the examples folder. Ideally, each folder in examples/ becomes a self-contained, mini repo with pre-made goodies.

This enables two helpful things:

  • future create unit-system-app --example {example name} cli support for spinning up a local version of the example
  • being able to point a CodeSandbox (or similar service) at that folder for always up-to-date live demos of said example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants