@ccgtickets/common
v1.0.21
Published
Source repository for the shared npm package used by the TicketingApp services.
Downloads
86
Readme
@ccgtickets/common
Source repository for the shared npm package used by the TicketingApp services.
Purpose
This package contains shared middleware, error classes, and types that are published to npm as @ccgtickets/common.
auth and tickets consume the published package, not a local workspace link. That keeps the package boundary explicit and lets the services install independently from the library source.
Local development
If you are working from the parent ticketingApp repository, initialize the submodule with Git and then install dependencies here:
git submodule update --init --recursive common
cd common
npm ciIf you are working inside this repo directly, install dependencies with:
npm ciPublish flow
Publish a new patch release with:
npm run pubThat script:
- creates a commit in this repo
- bumps the package version
- builds both ESM and CJS outputs
- publishes the package to npm
Updating dependent services
After publishing a new version, go back to the parent ticketingApp root and run:
npm run bumpThat refreshes @ccgtickets/common in the service packages that currently depend on it.
