Skip to content

IdeaMall/data-model

Repository files navigation

IdeaMall - data model

IdeaMall data model is based on TypeScript class validator

publish Node.js Package

API Document

https://ideamall.github.io/data-model/

Usage

Sign in GitHub packages with NPM

  1. Generate a PAT with read:packages authorization
  2. Run Sign-in command in your terminal:
npm login --scope=@ideamall --registry=https://npm.pkg.github.com

Installation

npm i pnpm -g

pnpm i @ideamall/data-model

Development

Publish

  1. update version in package.json file

  2. add Git tag

git tag vx.xx.x HEAD  # such as v0.7.0
  1. push codes with tags
git push origin main --tags  # push all commits and tags on "main" branch