contentful-import 10.2.3 → 10.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.
- package/README.md +14 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +305 -76
- package/dist/index.mjs +305 -76
- package/dist/usageParams.d.mts +4 -0
- package/dist/usageParams.d.ts +4 -0
- package/dist/usageParams.js +4 -0
- package/dist/usageParams.mjs +4 -0
- package/package.json +1 -1
package/dist/usageParams.d.mts
CHANGED
|
@@ -16,6 +16,8 @@ declare const _default: {
|
|
|
16
16
|
skipLocales: boolean;
|
|
17
17
|
"skip-content-publishing": boolean;
|
|
18
18
|
skipContentPublishing: boolean;
|
|
19
|
+
"unpublish-draft-locales": boolean;
|
|
20
|
+
unpublishDraftLocales: boolean;
|
|
19
21
|
"upload-assets": boolean | undefined;
|
|
20
22
|
uploadAssets: boolean | undefined;
|
|
21
23
|
"assets-directory": string | undefined;
|
|
@@ -54,6 +56,8 @@ declare const _default: {
|
|
|
54
56
|
skipLocales: boolean;
|
|
55
57
|
"skip-content-publishing": boolean;
|
|
56
58
|
skipContentPublishing: boolean;
|
|
59
|
+
"unpublish-draft-locales": boolean;
|
|
60
|
+
unpublishDraftLocales: boolean;
|
|
57
61
|
"upload-assets": boolean | undefined;
|
|
58
62
|
uploadAssets: boolean | undefined;
|
|
59
63
|
"assets-directory": string | undefined;
|
package/dist/usageParams.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ declare const _default: {
|
|
|
16
16
|
skipLocales: boolean;
|
|
17
17
|
"skip-content-publishing": boolean;
|
|
18
18
|
skipContentPublishing: boolean;
|
|
19
|
+
"unpublish-draft-locales": boolean;
|
|
20
|
+
unpublishDraftLocales: boolean;
|
|
19
21
|
"upload-assets": boolean | undefined;
|
|
20
22
|
uploadAssets: boolean | undefined;
|
|
21
23
|
"assets-directory": string | undefined;
|
|
@@ -54,6 +56,8 @@ declare const _default: {
|
|
|
54
56
|
skipLocales: boolean;
|
|
55
57
|
"skip-content-publishing": boolean;
|
|
56
58
|
skipContentPublishing: boolean;
|
|
59
|
+
"unpublish-draft-locales": boolean;
|
|
60
|
+
unpublishDraftLocales: boolean;
|
|
57
61
|
"upload-assets": boolean | undefined;
|
|
58
62
|
uploadAssets: boolean | undefined;
|
|
59
63
|
"assets-directory": string | undefined;
|
package/dist/usageParams.js
CHANGED
|
@@ -76,6 +76,10 @@ var usageParams_default = import_yargs.default.version(version || "Version only
|
|
|
76
76
|
describe: "Skips content publishing. Creates content but does not publish it",
|
|
77
77
|
type: "boolean",
|
|
78
78
|
default: false
|
|
79
|
+
}).option("unpublish-draft-locales", {
|
|
80
|
+
describe: "Unpublish locales that the content file marks as draft but that are still published in the destination. Only relevant when importing over content that is already published",
|
|
81
|
+
type: "boolean",
|
|
82
|
+
default: false
|
|
79
83
|
}).option("upload-assets", {
|
|
80
84
|
describe: "Uses local asset files and uploads them instead of pointing to the URLs of previously uploaded assets. Requires assets-directory",
|
|
81
85
|
type: "boolean"
|
package/dist/usageParams.mjs
CHANGED
|
@@ -38,6 +38,10 @@ var usageParams_default = yargs.version(version || "Version only available on in
|
|
|
38
38
|
describe: "Skips content publishing. Creates content but does not publish it",
|
|
39
39
|
type: "boolean",
|
|
40
40
|
default: false
|
|
41
|
+
}).option("unpublish-draft-locales", {
|
|
42
|
+
describe: "Unpublish locales that the content file marks as draft but that are still published in the destination. Only relevant when importing over content that is already published",
|
|
43
|
+
type: "boolean",
|
|
44
|
+
default: false
|
|
41
45
|
}).option("upload-assets", {
|
|
42
46
|
describe: "Uses local asset files and uploads them instead of pointing to the URLs of previously uploaded assets. Requires assets-directory",
|
|
43
47
|
type: "boolean"
|