contentful-import 9.4.140 → 10.0.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 CHANGED
@@ -19,7 +19,7 @@ This library helps you to import files generated by [contentful-export](https://
19
19
 
20
20
  ### Pre-requisites
21
21
 
22
- - Node LTS
22
+ - Node >= 22
23
23
 
24
24
  ### Installation
25
25
 
package/dist/index.js CHANGED
@@ -58,7 +58,7 @@ function initClient(opts) {
58
58
  ...defaultOpts,
59
59
  ...opts
60
60
  };
61
- return (0, import_contentful_management.createClient)(config);
61
+ return (0, import_contentful_management.createClient)(config, { type: "legacy" });
62
62
  }
63
63
 
64
64
  // lib/tasks/get-destination-data.ts
package/dist/index.mjs CHANGED
@@ -31,7 +31,7 @@ function initClient(opts) {
31
31
  ...defaultOpts,
32
32
  ...opts
33
33
  };
34
- return createClient(config);
34
+ return createClient(config, { type: "legacy" });
35
35
  }
36
36
 
37
37
  // lib/tasks/get-destination-data.ts
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "contentful-import",
3
- "version": "9.4.140",
3
+ "version": "10.0.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",
7
7
  "module": "dist/index.mjs",
8
8
  "engines": {
9
- "node": ">=18"
9
+ "node": ">=22"
10
10
  },
11
11
  "exports": {
12
12
  "require": "./dist/index.js",
@@ -64,7 +64,7 @@
64
64
  "bluebird": "^3.7.2",
65
65
  "cli-table3": "^0.6.5",
66
66
  "contentful-batch-libs": "^9.7.0",
67
- "contentful-management": "^11.74.0",
67
+ "contentful-management": "^12.2.0",
68
68
  "date-fns": "^2.30.0",
69
69
  "joi": "^18.0.2",
70
70
  "listr": "^0.14.3",
@@ -90,12 +90,12 @@
90
90
  "eslint-plugin-promise": "^6.6.0",
91
91
  "eslint-plugin-standard": "^5.0.0",
92
92
  "jest": "^29.7.0",
93
+ "nixt": "^0.5.1",
93
94
  "rimraf": "^6.1.3",
94
95
  "semantic-release": "^25.0.3",
95
96
  "ts-jest": "^29.4.6",
96
97
  "tsup": "^8.5.1",
97
- "typescript": "^5.9.3",
98
- "nixt": "^0.5.1"
98
+ "typescript": "^5.9.3"
99
99
  },
100
100
  "files": [
101
101
  "bin",
@@ -126,6 +126,10 @@
126
126
  "@semantic-release/commit-analyzer",
127
127
  {
128
128
  "releaseRules": [
129
+ {
130
+ "breaking": true,
131
+ "release": "major"
132
+ },
129
133
  {
130
134
  "type": "build",
131
135
  "scope": "deps",