@tryghost/mg-beehiiv-api-members 0.1.2 → 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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -0
  3. package/package.json +19 -18
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2013-2026 Ghost Foundation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
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.1.2",
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",
@@ -13,14 +13,6 @@
13
13
  "default": "./build/index.js"
14
14
  }
15
15
  },
16
- "scripts": {
17
- "dev": "echo \"Implement me!\"",
18
- "build:watch": "tsc --watch --preserveWatchOutput --sourceMap",
19
- "build": "rm -rf build && rm -rf tsconfig.tsbuildinfo && tsc --build --sourceMap",
20
- "lint": "eslint src/ --ext .ts --cache",
21
- "posttest": "pnpm lint",
22
- "test": "rm -rf build && pnpm build --force && c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura node --test build/test/*.test.js"
23
- },
24
16
  "files": [
25
17
  "build"
26
18
  ],
@@ -29,15 +21,24 @@
29
21
  },
30
22
  "devDependencies": {
31
23
  "@types/node": "24.12.2",
32
- "@typescript-eslint/eslint-plugin": "8.0.0",
33
- "@typescript-eslint/parser": "8.0.0",
34
- "c8": "10.1.3",
35
- "eslint": "8.57.0",
36
- "typescript": "5.9.3"
24
+ "@typescript-eslint/eslint-plugin": "8.58.1",
25
+ "@typescript-eslint/parser": "8.58.1",
26
+ "c8": "11.0.0",
27
+ "eslint": "8.57.1",
28
+ "typescript": "6.0.2"
37
29
  },
38
30
  "dependencies": {
39
- "@tryghost/errors": "1.3.8",
40
- "@tryghost/mg-fs-utils": "workspace:*",
41
- "@tryghost/string": "0.2.21"
31
+ "@tryghost/errors": "3.0.3",
32
+ "@tryghost/string": "0.2.21",
33
+ "@tryghost/mg-fs-utils": "0.22.0"
34
+ },
35
+ "scripts": {
36
+ "dev": "echo \"Implement me!\"",
37
+ "build:watch": "tsc --watch --preserveWatchOutput --sourceMap",
38
+ "build": "tsc --build --sourceMap",
39
+ "lint": "eslint src/ --ext .ts --cache",
40
+ "test:local": "pnpm build && pnpm test",
41
+ "posttest": "pnpm lint",
42
+ "test": "c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura node --test build/test/*.test.js"
42
43
  }
43
- }
44
+ }