Skip to content

jacob-ebey/dnt-template

Repository files navigation

dnt-template

Initial Setup

Clone repo:

git clone https://github.com/jacob-ebey/dnt-template.git
rm -rf ./.git
git init

Replace github username / project name throughout files:

deno run -A scripts/setup.ts

Add a GitHub Actions repository secret called NPM_TOKEN with publishing permissions.

Go to your GitHub repository Settings > Actions > General and set Workflow permissions to Read and write permissions, as well as enabling Allow GitHub Actions to create and approve pull requests.

Add a WebHook to publish your deno module: https://deno.com/add_module

Development

Testing in Deno can be ran in a single pass with:

deno test

Or in watch mode with:

deno test --watch

Node tests are ran with the build command:

deno task build

Format code with:

deno task format

Typecheck / lint code with:

deno task check

Contributing Changes

Install CLI:

npm i -g @changesets/cli

Generate changeset:

npx changeset

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published