@tryghost/mg-beehiiv-api-members 0.2.0 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +7 -6
package/README.md CHANGED
@@ -101,6 +101,7 @@ pnpm dev beehiiv-api-members --key 1234abcd --id pub_abcd1234
101
101
 
102
102
  - `pnpm lint` run just eslint
103
103
  - `pnpm test` run lint and tests
104
+ - `pnpm test:local` build and run tests (for single-package development)
104
105
 
105
106
 
106
107
  # Copyright & License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-beehiiv-api-members",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "repository": "https://github.com/TryGhost/migrate/tree/main/packages/mg-beehiiv-api-members",
5
5
  "author": "Ghost Foundation",
6
6
  "license": "MIT",
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "24.12.2",
24
- "@typescript-eslint/eslint-plugin": "8.58.0",
25
- "@typescript-eslint/parser": "8.58.0",
24
+ "@typescript-eslint/eslint-plugin": "8.58.1",
25
+ "@typescript-eslint/parser": "8.58.1",
26
26
  "c8": "11.0.0",
27
27
  "eslint": "8.57.1",
28
28
  "typescript": "6.0.2"
@@ -30,14 +30,15 @@
30
30
  "dependencies": {
31
31
  "@tryghost/errors": "3.0.3",
32
32
  "@tryghost/string": "0.2.21",
33
- "@tryghost/mg-fs-utils": "0.21.0"
33
+ "@tryghost/mg-fs-utils": "0.22.0"
34
34
  },
35
35
  "scripts": {
36
36
  "dev": "echo \"Implement me!\"",
37
37
  "build:watch": "tsc --watch --preserveWatchOutput --sourceMap",
38
- "build": "rm -rf build && rm -rf tsconfig.tsbuildinfo && tsc --build --sourceMap",
38
+ "build": "tsc --build --sourceMap",
39
39
  "lint": "eslint src/ --ext .ts --cache",
40
+ "test:local": "pnpm build && pnpm test",
40
41
  "posttest": "pnpm lint",
41
- "test": "rm -rf build && pnpm build --force && c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura node --test build/test/*.test.js"
42
+ "test": "c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura node --test build/test/*.test.js"
42
43
  }
43
44
  }