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.
@@ -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;
@@ -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;
@@ -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"
@@ -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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentful-import",
3
- "version": "10.2.3",
3
+ "version": "10.3.0",
4
4
  "description": "this tool allows you to import JSON dump exported by contentful-export",
5
5
  "main": "dist/index.mjs",
6
6
  "typings": "dist/index.d.ts",