-
Notifications
You must be signed in to change notification settings - Fork 40
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
Rewrite in Typescript #37
base: master
Are you sure you want to change the base?
Conversation
update jest configs
@jharrilim amazing work! Do you still have something left to change/rewrite? I could help if so, because I'd also like to have the typings available. Cheers! |
Hi there! It has been a while since I touched this, but from what I remember the code should work exactly the same. After a quick glance right now though, I have noticed that a few things are missing from the package.json, which I think might be necessary: {
"publishConfig": {
"access": "public"
},
"files": [
"/lib"
]
} |
Hi, I am currently in the progress of rewriting this and node-jws in Typescript. I noticed a few lingering issues in node-jws so I figured I'd give it a rewrite. It relies on node-jwa which does not have types included. The aim of this rewrite is to hopefully increase the maintainability and hardiness.
For now the code is nearly one-to-one with the original with a few new runtime assertions. The tests are currently being rewritten to take advantage of jest. The RFC 7515 - Appendix A examples have been rewritten so far and currently pass. The other examples will be converted soon.
Edit: I have removed support for Node versions that are no longer supported in
travis.yml
as well as added thepackage-lock.json
so that npm ci is usable.The keys for testing are now permanently added as test fixtures.
Automated documentation can now be done using Typedoc. This should work in tandem with Travis Github Pages deployments.