Skip to content

centrolabs/ngx-blogdown

Repository files navigation

ngx-blogdown

Monorepo for @centrolabs/ngx-blogdown — a lightweight Angular library for building markdown-powered blogs.

Projects

Project Path Description
ngx-blogdown projects/ngx-blogdown The library (published to npm)
demo projects/demo Demo application

Prerequisites

  • Node.js 22+
  • Angular CLI 20+

Getting Started

npm install

Development

Serve the demo app

ng serve demo

Build the library

ng build ngx-blogdown

Build artifacts are output to dist/ngx-blogdown/.

Testing

Library unit tests

ng test ngx-blogdown --no-watch --browsers=ChromeHeadless

CLI tool tests

node --test projects/ngx-blogdown/bin/ngx-blogdown-index.spec.mjs

Linting

ng lint ngx-blogdown

CI/CD

CI runs automatically on pull requests to main:

  • Lint
  • Unit tests (Angular + CLI)
  • Production build

Publishing to npm is triggered by pushing a version tag:

git tag v1.0.0
git push origin v1.0.0

License

MIT