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

Feature: build and nits #1

Closed
wants to merge 16 commits into from
Closed

Conversation

thatkookooguy
Copy link
Member

@thatkookooguy thatkookooguy commented Nov 11, 2020

Should release versions to npm once this commit is in (this will commit the github action as well)

If this pull request is too big, I can split it up into a couple of pull requests if you want.

TL;DR (I explained my changes in the description of each commit):

  • changed the readme to the kibibit template
  • added details to the readme (still need to add the shields after the first release)
  • changed testing system to jest for consistency with other kibibit projects
  • fixed some little nits like file names
  • added all-contributors to show contributions in the readme

added all contributors and a readme starter to have a decent place as a homepage for this repo.
The readme follows the kibibit readme template.

changed license date to 2020 instead of 2019
almost the same behavior and jest has some extra features.

Also, this is more uniform with the testing tools we use with other repos so should be easier to understand when contributing between repos
Changed the name assignment to take the name from the constructor.

This should make it so that whenever an error extends KbError, the name will be initialized by the super call.

This will be simpler and make sure it not depends on people forgetting to do this.name = '...' :-)
- Removed some type checks. For example: We're not actually testing the message 'type', so it can be something else than a string. for example, passing an array is totally acceptable as a message.

- Added some extra checks for 'should be extendable'
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

Successfully merging this pull request may close these issues.

1 participant