@tryghost/mg-medium-export 0.11.2 → 0.11.6
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.
- package/LICENSE +1 -1
- package/README.md +8 -4
- package/package.json +7 -7
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -36,9 +36,13 @@ It's possible to pass more options, in order to achieve a better migration file
|
|
|
36
36
|
- **`--zip`**
|
|
37
37
|
- bool - default: `true`
|
|
38
38
|
- Create a zip file
|
|
39
|
-
- **`-s` `--scrape`**
|
|
40
|
-
-
|
|
41
|
-
-
|
|
39
|
+
- **`-s` `--scrape`**
|
|
40
|
+
- Configure scraping tasks
|
|
41
|
+
- string - default: `all`
|
|
42
|
+
- Choices: `all`, `img`, `web`, `media`, `none`
|
|
43
|
+
- **`--size_limit`**
|
|
44
|
+
- number - default: `false`
|
|
45
|
+
- Media files larger than this size (defined in MB [i.e. `5`]) will be flagged as oversize
|
|
42
46
|
- **`-e` `--email`**
|
|
43
47
|
- string - default: `false`
|
|
44
48
|
- Provide an email domain for users e.g. example.com
|
|
@@ -81,4 +85,4 @@ yarn dev medium <path to zip file>
|
|
|
81
85
|
|
|
82
86
|
# Copyright & License
|
|
83
87
|
|
|
84
|
-
Copyright (c) 2013-
|
|
88
|
+
Copyright (c) 2013-2022 Ghost Foundation - Released under the [MIT license](LICENSE).
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/mg-medium-export",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.6",
|
|
4
4
|
"description": "tbc",
|
|
5
|
-
"repository": "https://github.com/TryGhost/migrate/tree/
|
|
5
|
+
"repository": "https://github.com/TryGhost/migrate/tree/main/packages/mg-medium-export",
|
|
6
6
|
"author": "Ghost Foundation",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "index.js",
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"mocha": "9.
|
|
23
|
+
"mocha": "9.2.2",
|
|
24
24
|
"should": "13.2.3",
|
|
25
|
-
"sinon": "
|
|
25
|
+
"sinon": "13.0.2"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@tryghost/mg-fs-utils": "^0.
|
|
28
|
+
"@tryghost/mg-fs-utils": "^0.8.0",
|
|
29
29
|
"@tryghost/string": "^0.1.17",
|
|
30
30
|
"cheerio": "0.22.0",
|
|
31
|
-
"date-fns": "2.
|
|
31
|
+
"date-fns": "2.28.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "0b3c4695d98527db9559444d81eaf9afcf2d1b6a"
|
|
34
34
|
}
|