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

Refactor to deno #30

Merged
merged 30 commits into from
Oct 25, 2021
Merged

Refactor to deno #30

merged 30 commits into from
Oct 25, 2021

Conversation

keithamus
Copy link
Member

This reworks this repo to use Deno instead of Node/npm as the main environment to test/build in.

Deno comes with test, lint, and formatter utilities letting us standardise on a single tool for everything. deno fmt also formats markdown and json, and can be used with --check to fail in CI if things aren't formatted.

We can still publish to npm by running deno bundle mod.ts > index.js which produces a single js file for consumption that Node can use.

Deno also has a coverage tool which uses v8 tooling to generate coverage info. We can use this to get coverage reports for the code.

Copy link
Member

@koddsson koddsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this makes a ton of sense.

.tool-versions Show resolved Hide resolved
index.d.ts Show resolved Hide resolved
@keithamus keithamus merged commit 08a1f16 into main Oct 25, 2021
@keithamus keithamus deleted the refactor-to-deno branch October 25, 2021 11:36
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.

2 participants