@tryghost/mg-tinynews 0.0.28 → 0.0.30

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 -1
  2. package/package.json +10 -12
package/README.md CHANGED
@@ -54,7 +54,11 @@ It's possible to pass more options, in order to achieve a better migration file
54
54
  - **`--scrape`**
55
55
  - Configure scraping tasks
56
56
  - string - default: `all`
57
- - Choices: `all`, `web`, `none`
57
+ - Choices: `all`, `web`, `assets`, `none`
58
+ - `all`: Scrape web metadata and download assets
59
+ - `web`: Only scrape metadata from web pages
60
+ - `assets`: Only download assets (images, media, files)
61
+ - `none`: Skip all scraping tasks
58
62
  - **`--addPrimaryTag`**
59
63
  - string - default: `null`
60
64
  - Provide a tag name which should be added to every post as primary tag
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-tinynews",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "repository": "https://github.com/TryGhost/migrate/tree/main/packages/mg-tinynews",
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,18 +20,16 @@
20
20
  "access": "public"
21
21
  },
22
22
  "devDependencies": {
23
- "eslint": "8.57.0",
24
- "jest": "30.0.5",
25
- "jest-extended": "6.0.0"
23
+ "eslint": "8.57.1"
26
24
  },
27
25
  "dependencies": {
28
- "@tryghost/debug": "0.1.35",
29
- "@tryghost/errors": "1.3.8",
30
- "@tryghost/kg-default-cards": "10.2.3",
31
- "@tryghost/string": "0.2.21",
32
- "cheerio": "1.1.2",
33
- "sanitize-html": "2.17.0",
26
+ "@tryghost/debug": "2.0.1",
27
+ "@tryghost/errors": "3.0.1",
28
+ "@tryghost/kg-default-cards": "10.2.8",
29
+ "@tryghost/string": "0.3.1",
30
+ "cheerio": "1.2.0",
31
+ "sanitize-html": "2.17.1",
34
32
  "simple-dom": "1.4.0"
35
33
  },
36
- "gitHead": "027225930710c0643603f6ae346dc76504d9bb7a"
34
+ "gitHead": "e1680568191322d738c188f03298910aa3622735"
37
35
  }