@tryghost/mg-curated-members-csv 0.14.1 → 0.14.3

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 CHANGED
@@ -73,8 +73,8 @@ pnpm dev curated-members --pathToFile /path/to/emails.csv
73
73
 
74
74
  ## Test
75
75
 
76
- - `pnpm lint` run just eslint
77
- - `pnpm test` run lint and tests
76
+ - `pnpm test` runs the package tests
77
+ - Linting and formatting are run from the repo root (`pnpm lint`, `pnpm format`)
78
78
 
79
79
 
80
80
  # Copyright & License
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import parse from './lib/parse-members-csv.js';
2
2
  import process from './lib/process.js';
3
3
 
4
- export default async (ctx) => {
4
+ export default async ctx => {
5
5
  const parsed = await parse(ctx);
6
6
  const normalized = await process(parsed, ctx);
7
7
 
@@ -1,7 +1,7 @@
1
1
  import fsUtils from '@tryghost/mg-fs-utils';
2
2
  const parseCSV = fsUtils.csv.parseCSV;
3
3
 
4
- export default async (ctx) => {
4
+ export default async ctx => {
5
5
  const {options} = ctx;
6
6
 
7
7
  // grab the main file "signups"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-curated-members-csv",
3
- "version": "0.14.1",
3
+ "version": "0.14.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/TryGhost/migrate.git",
@@ -17,16 +17,12 @@
17
17
  "publishConfig": {
18
18
  "access": "public"
19
19
  },
20
- "devDependencies": {
21
- "eslint": "8.57.1"
22
- },
20
+ "devDependencies": {},
23
21
  "dependencies": {
24
- "@tryghost/mg-fs-utils": "0.26.1"
22
+ "@tryghost/mg-fs-utils": "0.26.3"
25
23
  },
26
24
  "scripts": {
27
25
  "dev": "echo \"Implement me!\"",
28
- "test": "node --test 'test/**/*.test.js'",
29
- "posttest": "pnpm lint",
30
- "lint": "eslint . --ext .js --cache"
26
+ "test": "node --test 'test/**/*.test.js'"
31
27
  }
32
28
  }