Ghost/ghost/tiers
Fabien "egg" O'Carroll 6614aa9070 Fixed add method for TiersAPI
refs https://github.com/TryGhost/Team/issues/2078

The check for creating free Tiers needs to be explicit, rather than implicit
because the type is optional, we only want to error if it is explicitly passed
as "free", not if it is missing as "paid".
2022-10-20 11:56:46 +07:00
..
lib Fixed add method for TiersAPI 2022-10-20 11:56:46 +07:00
test Updated Tier to use camelCase property names 2022-10-20 11:54:18 +07:00
.eslintrc.js Refactored Tiers logic into separate package 2022-10-19 11:05:09 +07:00
index.js Refactored Tiers logic into separate package 2022-10-19 11:05:09 +07:00
package.json Update dependency mocha to v10.1.0 2022-10-19 17:53:57 +00: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