@tryghost/mg-curated-members-csv 0.3.7 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -25,11 +25,14 @@ or
|
|
|
25
25
|
To run a Curated CSV migration, the required command is:
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
|
-
migrate curated-members path/to/emails.csv
|
|
28
|
+
migrate curated-members --pathToFile /path/to/emails.csv
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
It's possible to pass more options, in order to achieve a better migration file for Ghost:
|
|
32
32
|
|
|
33
|
+
- **`--pathToFile`** (required)
|
|
34
|
+
- Path to the signups CSV file as generated by Curated
|
|
35
|
+
- string - default: `null`
|
|
33
36
|
- **`-V` `--verbose`**
|
|
34
37
|
- Show verbose output
|
|
35
38
|
- bool - default: `false`
|
|
@@ -64,7 +67,7 @@ Follow the instructions for the top-level repo.
|
|
|
64
67
|
To run a local development copy, `cd` into this directory, and use `yarn dev` instead of `migrate` like so:
|
|
65
68
|
|
|
66
69
|
```sh
|
|
67
|
-
yarn dev curated-members path/to/emails.csv
|
|
70
|
+
yarn dev curated-members --pathToFile /path/to/emails.csv
|
|
68
71
|
```
|
|
69
72
|
|
|
70
73
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/mg-curated-members-csv",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"repository": "https://github.com/TryGhost/migrate/tree/main/packages/mg-curated-members-csv",
|
|
5
5
|
"author": "Ghost Foundation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"eslint": "8.
|
|
24
|
-
"jest": "29.3
|
|
25
|
-
"jest-extended": "3.2.
|
|
23
|
+
"eslint": "8.34.0",
|
|
24
|
+
"jest": "29.4.3",
|
|
25
|
+
"jest-extended": "3.2.3"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"bluebird": "3.7.2",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"ghost-ignition": "4.6.3",
|
|
32
32
|
"lodash": "4.17.21"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "c4270f6229caa350155a03a0646b3c0c21eaff5e"
|
|
35
35
|
}
|