/node-assert

Node.js assert with a little sugar

Primary LanguageMakefileMIT LicenseMIT

Node Lib Template

node library project template

license release semantic

Features

CI Automation

Using GitHub Actions

Local Automation

Using Docker Compose

Usage

GitHub Templates

Automated through @ahmadnassri/action-template-repository-sync

  1. create a repository from the template
  2. clone locally
  3. add secrets in GitHub Actions for NPM_TOKEN & GH_TOKEN
  4. update colophon.yml, docs/README.md with info about the project

Note:
GH_TOKEN is required for action auto-merge, readme, release workflows

Local Automation

use Docker Compose to run tasks locally:

  • docker compose run readme to regenerate README.md
  • docker compose run test to run tests across all LTS versions of Node.js
  • docker compose run lint to execute mega-linter locally

Note:
Your main README.md file is in docs/README.md, the file at root is generated using pandoc using the provided template.

You should run docker compose run readme after any change to docs/README.md and before commit / push


Author: Ahmad Nassri • Twitter: @AhmadNassri