@tryghost/mg-curated-members-csv 0.7.0 → 0.9.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 +7 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ To use this package in your own project:
|
|
|
17
17
|
|
|
18
18
|
or
|
|
19
19
|
|
|
20
|
-
`
|
|
20
|
+
`pnpm add @tryghost/mg-curated-members-csv`
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
@@ -55,26 +55,26 @@ migrate curated-members emails.csv --freeLabel Newsletter --limit 1000
|
|
|
55
55
|
|
|
56
56
|
## Develop
|
|
57
57
|
|
|
58
|
-
This is a mono repository, managed with [Nx](https://nx.dev/) and
|
|
58
|
+
This is a mono repository, managed with [Nx](https://nx.dev/) and pnpm workspaces.
|
|
59
59
|
|
|
60
60
|
Follow the instructions for the top-level repo.
|
|
61
61
|
1. `git clone` this repo & `cd` into it as usual
|
|
62
|
-
2. Run `
|
|
62
|
+
2. Run `pnpm install` to install top-level dependencies.
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
### Run
|
|
66
66
|
|
|
67
|
-
To run a local development copy, `cd` into this directory, and use `
|
|
67
|
+
To run a local development copy, `cd` into this directory, and use `pnpm dev` instead of `migrate` like so:
|
|
68
68
|
|
|
69
69
|
```sh
|
|
70
|
-
|
|
70
|
+
pnpm dev curated-members --pathToFile /path/to/emails.csv
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
## Test
|
|
75
75
|
|
|
76
|
-
- `
|
|
77
|
-
- `
|
|
76
|
+
- `pnpm lint` run just eslint
|
|
77
|
+
- `pnpm test` run lint and tests
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
# Copyright & License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/mg-curated-members-csv",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/TryGhost/migrate.git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"eslint": "8.57.1"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@tryghost/mg-fs-utils": "0.
|
|
24
|
+
"@tryghost/mg-fs-utils": "0.21.0"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"dev": "echo \"Implement me!\"",
|