Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 938 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 938 Bytes

Database Entities

code style: eslint

Generating Migrations

  1. Create ormconfig.production and fill out database credentials. (Do not submit.)

  2. npm run typeorm migration:generate -- --name initialize --connection patreon --config ormconfig.production
  3. Commit the migration.

Running Migrations

npm run typeorm migration:run -- --connection patreon --config ormconfig.production

Setting up NPM

npm login --registry=https://npm.pkg.github.com --scope=flashflashrevolution
# username (lowercase)
# access token (https://github.com/settings/tokens, admin:org, delete:packages, repo, write:packages)
# github email

Publishing package

# npm version -h # For details on patch level options.
npm version patch -m "Update comment."
npm publish