75d003816e
refs https://github.com/TryGhost/Team/issues/1202 When importing we were transforming the CSV and add missing columns to it before storing it in preparation to perform the import. This resulted in the missing columns being updated for existing members with blank data. We've updated the Members CSV parsing library to take an options list of columns to include, which then allows imports to not include all of the default columns. |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
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.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Run
yarn dev
Test
yarn lint
run just eslintyarn test
run lint and tests
Copyright & License
Copyright (c) 2013-2021 Ghost Foundation - Released under the MIT license.