Ghost/ghost/members-importer
Rishabh Garg ca18f140c4 Handled new type column for tiers (#356)
refs https://github.com/TryGhost/Team/issues/1037

Tiers have a new `type` column to differentiate between `free` and `paid` tiers. This change -

- sets type as paid for all new tiers created, as `free` tier is created by default
- excludes any price/stripe data change for free tier
- updates all usages of default product to fetch the first paid product from the products list in DB instead of just the first product it finds.
2022-01-17 23:02:02 +05:30
..
lib Handled new type column for tiers (#356) 2022-01-17 23:02:02 +05:30
test Fixed the importer from overriding properties 2021-12-01 17:02:30 +02:00
.eslintrc.js Initialized members-importer package 2021-07-22 01:53:21 +12:00
index.js Fixed default package export 2021-07-22 01:53:21 +12:00
LICENSE 2022 2022-01-06 10:09:25 +00:00
package.json Published new versions 2022-01-11 16:28:23 +02:00
README.md 2022 2022-01-06 10:09:25 +00:00

Members Importer

Install

npm install @tryghost/members-importer --save

or

yarn add @tryghost/members-importer

Usage

Develop

This is a mono repository, managed with lerna.

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.

Run

  • yarn dev

Test

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

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.