@hungry-penguin/shared

v1.0.0

Published

Shared types, DTOs, and constants for the Hungry Penguin apps ([`web-client`](../web-client) and [`backend-api`](../backend-api)).

Downloads

104

Readme

@hungry-penguin/shared

Shared types, DTOs, and constants for the Hungry Penguin apps (web-client and backend-api).

Consumed by both apps as a published package:

// package.json
"dependencies": {
  "@hungry-penguin/shared": "^1.0.0"
}

Develop

pnpm install
pnpm build        # tsc -> dist/ (CJS .js + .d.ts)
pnpm dev          # tsc --watch

Publish

# 1. bump the version (semver) — required for every publish
npm version patch        # or minor / major

# 2. publish (prepublishOnly runs the build automatically)
npm publish

publishConfig.access is public, so a scoped @hungry-penguin/* package publishes to the public npm registry. After publishing, bump the dependency range in web-client and backend-api if you changed the major/minor.