Skip to content

ahmadnassri/node-static-site-generator

Repository files navigation

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

About

a simple opinionated static site generator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published