Ghost/ghost/members-importer
Naz a99fec1a7b Fixed members importer tests from leaving files behind
no issue

- After each test run there were csv files lefover which polluted the workspace.
- Ideally the write file would be some kind of a smart mock, so we'd won't have to do synchronous file remoal after each test but that's for later improvement if it becomes problematic
2021-07-21 19:25:41 +04:00
..
lib Removed unused files 2021-07-22 01:53:21 +12:00
test Fixed members importer tests from leaving files behind 2021-07-21 19:25:41 +04: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 Initialized members-importer package 2021-07-22 01:53:21 +12:00
package.json Fixed sinon dependency 2021-07-21 18:05:00 +04:00
README.md Initialized members-importer package 2021-07-22 01:53:21 +12: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-2021 Ghost Foundation - Released under the MIT license.