feat: add postbuild script for auto-publish to local Verdaccio

Summary

Adds a postbuild script that automatically publishes the package to a local Verdaccio registry if one is running.

Changes

  • Added scripts/publish-local.js - checks if Verdaccio is running and publishes
  • Added postbuild npm script that runs after build

Usage

  1. Start Verdaccio: docker compose up -d verdaccio (in ratings-stack)
  2. First time only: npm adduser --registry http://localhost:4873
  3. Build: npm run build (auto-publishes to Verdaccio)

If Verdaccio isn't running, the build completes normally without error.

Related

🤖 Generated with Claude Code

Merge request reports

Loading