Ghost/ghost/tiers
Fabien "egg" O'Carroll 80b766047e Added defaults for monthly and yearly price
refs https://github.com/TryGhost/Team/issues/2362

Rather than throwing when we encounter a Tier price of 0, we can instead default
to the standard yearly and monthly price.
2022-12-07 22:02:37 +07:00
..
lib Added defaults for monthly and yearly price 2022-12-07 22:02:37 +07:00
test Added defaults for monthly and yearly price 2022-12-07 22:02:37 +07:00
.eslintrc.js Refactored Tiers logic into separate package 2022-10-19 11:05:09 +07:00
index.js Exported Tier events from tiers package 2022-10-20 17:40:37 +07:00
package.json Update dependency bson-objectid to v2.0.4 2022-11-24 11:24:07 +07:00
README.md Refactored Tiers logic into separate package 2022-10-19 11:05:09 +07:00

Tiers

'

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests