@tryghost/mg-blogger 0.3.0 → 0.5.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 +7 -7
  2. package/package.json +9 -8
package/README.md CHANGED
@@ -20,7 +20,7 @@ To use this package in your own project:
20
20
 
21
21
  or
22
22
 
23
- `yarn add @tryghost/mg-blogger`
23
+ `pnpm add @tryghost/mg-blogger`
24
24
 
25
25
 
26
26
  ## Usage
@@ -77,26 +77,26 @@ This will fetch posts only from 2 sites, and add a 'Blog Posts' tag to each post
77
77
 
78
78
  ## Develop
79
79
 
80
- This is a mono repository, managed with [Nx](https://nx.dev/) and yarn workspaces.
80
+ This is a mono repository, managed with [Nx](https://nx.dev/) and pnpm workspaces.
81
81
 
82
82
  Follow the instructions for the top-level repo.
83
83
  1. `git clone` this repo & `cd` into it as usual
84
- 2. Run `yarn` to install top-level dependencies.
84
+ 2. Run `pnpm install` to install top-level dependencies.
85
85
 
86
86
 
87
87
  ## Run
88
88
 
89
- To run a local development copy, `cd` into this directory, and use `yarn dev` instead of `migrate` like so:
89
+ To run a local development copy, `cd` into this directory, and use `pnpm dev` instead of `migrate` like so:
90
90
 
91
91
  ```sh
92
- yarn dev blogger --apiKey abcd --blogID 1234
92
+ pnpm dev blogger --apiKey abcd --blogID 1234
93
93
  ```
94
94
 
95
95
 
96
96
  ## Test
97
97
 
98
- - `yarn lint` run just eslint
99
- - `yarn test` run lint and tests
98
+ - `pnpm lint` run just eslint
99
+ - `pnpm test` run lint and tests
100
100
 
101
101
 
102
102
  # Copyright & License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-blogger",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/TryGhost/migrate.git",
@@ -10,12 +10,6 @@
10
10
  "license": "MIT",
11
11
  "main": "index.js",
12
12
  "type": "module",
13
- "scripts": {
14
- "dev": "echo \"Implement me!\"",
15
- "test": "node --test 'test/**/*.test.js'",
16
- "posttest": "yarn lint",
17
- "lint": "eslint . --ext .js --cache"
18
- },
19
13
  "files": [
20
14
  "index.js",
21
15
  "lib"
@@ -29,10 +23,17 @@
29
23
  "dependencies": {
30
24
  "@tryghost/errors": "3.0.3",
31
25
  "@tryghost/kg-default-cards": "10.2.10",
26
+ "@tryghost/string": "0.3.1",
32
27
  "autop": "1.0.1",
33
28
  "cheerio": "1.2.0",
34
29
  "node-fetch": "3.3.2",
35
30
  "sanitize-html": "2.17.2",
36
31
  "simple-dom": "1.4.0"
32
+ },
33
+ "scripts": {
34
+ "dev": "echo \"Implement me!\"",
35
+ "test": "node --test 'test/**/*.test.js'",
36
+ "posttest": "pnpm lint",
37
+ "lint": "eslint . --ext .js --cache"
37
38
  }
38
- }
39
+ }