0.0.10 • Published 2 months ago

@tryghost/mg-tinynews-members v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Migrate Tiny News Members

Convert a Tiny News subscribers CSV to a CSV compatible with Ghost.

Install

To install the CLI, which is required for the Usage commands below:

npm install --global @tryghost/migrate

To use this package in your own project:

npm install @tryghost/mg-tinynews-members --save

or

yarn add @tryghost/mg-tinynews-members

Usage

To run a Tiny News members migration, the required command is:

migrate tinynews-members --pathToFile /path/to/emails.csv

It's possible to pass more options, in order to achieve a better migration file for Ghost:

  • --pathToFile (required)
    • Path to the subscribers CSV file as generated by Tiny News
    • string - default: null
  • -V --verbose
    • Show verbose output
    • bool - default: false

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

To run a local development copy, cd into this directory, and use yarn dev instead of migrate like so:

yarn dev tinynews-members --pathToFile /path/to/emails.csv

Test

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

Copyright & License

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

0.0.10

2 months ago

0.0.9

4 months ago

0.0.8

5 months ago

0.0.7

5 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

9 months ago

0.0.2

9 months ago