@tryghost/mg-blogger 0.1.29 → 0.1.31

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 +5 -4
  2. package/package.json +9 -10
package/README.md CHANGED
@@ -48,10 +48,11 @@ It's possible to pass more options, in order to achieve a better migration file
48
48
  - **`-s` `--scrape`**
49
49
  - Configure scraping tasks
50
50
  - string - default: `all`
51
- - Choices: `all`, `img`, `web`, `media`, `files`, `none`
52
- - **`--sizeLimit`**
53
- - number - default: `false`
54
- - Media files larger than this size (defined in MB [i.e. `5`]) will be flagged as oversize
51
+ - Choices: `all`, `web`, `assets`, `none`
52
+ - `all`: Scrape web metadata and download assets
53
+ - `web`: Only scrape metadata from web pages
54
+ - `assets`: Only download assets (images, media, files)
55
+ - `none`: Skip all scraping tasks
55
56
  - **`--addTag`**
56
57
  - string - default: `null`
57
58
  - Provide a tag slug which should be added to every post in this migration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-blogger",
3
- "version": "0.1.29",
3
+ "version": "0.1.31",
4
4
  "repository": "https://github.com/TryGhost/migrate/tree/main/packages/mg-blogger",
5
5
  "author": "Ghost Foundation",
6
6
  "license": "MIT",
@@ -8,7 +8,7 @@
8
8
  "type": "module",
9
9
  "scripts": {
10
10
  "dev": "echo \"Implement me!\"",
11
- "test": "NODE_OPTIONS=--experimental-vm-modules jest",
11
+ "test": "node --test 'test/**/*.test.js'",
12
12
  "lint": "eslint . --ext .js --cache",
13
13
  "posttest": "yarn lint"
14
14
  },
@@ -20,17 +20,16 @@
20
20
  "access": "public"
21
21
  },
22
22
  "devDependencies": {
23
- "jest": "30.0.5",
24
- "jest-extended": "6.0.0"
23
+ "eslint": "8.57.1"
25
24
  },
26
25
  "dependencies": {
27
- "@tryghost/errors": "1.3.8",
28
- "@tryghost/kg-default-cards": "10.2.3",
26
+ "@tryghost/errors": "3.0.1",
27
+ "@tryghost/kg-default-cards": "10.2.8",
29
28
  "autop": "1.0.1",
30
- "cheerio": "1.1.2",
31
- "node-fetch": "^3.3.1",
32
- "sanitize-html": "2.17.0",
29
+ "cheerio": "1.2.0",
30
+ "node-fetch": "3.3.2",
31
+ "sanitize-html": "2.17.1",
33
32
  "simple-dom": "1.4.0"
34
33
  },
35
- "gitHead": "027225930710c0643603f6ae346dc76504d9bb7a"
34
+ "gitHead": "e1680568191322d738c188f03298910aa3622735"
36
35
  }