@contentstack/cli-cm-import 1.32.1 → 1.32.3
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 +1 -1
- package/lib/import/modules/assets.js +1 -2
- package/oclif.manifest.json +1 -1
- package/package.json +10 -15
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ $ npm install -g @contentstack/cli-cm-import
|
|
|
47
47
|
$ csdx COMMAND
|
|
48
48
|
running command...
|
|
49
49
|
$ csdx (--version)
|
|
50
|
-
@contentstack/cli-cm-import/1.32.
|
|
50
|
+
@contentstack/cli-cm-import/1.32.3 linux-x64 node-v22.22.2
|
|
51
51
|
$ csdx --help [COMMAND]
|
|
52
52
|
USAGE
|
|
53
53
|
$ csdx COMMAND
|
|
@@ -10,7 +10,6 @@ const isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
|
|
|
10
10
|
const uniq_1 = tslib_1.__importDefault(require("lodash/uniq"));
|
|
11
11
|
const node_fs_1 = require("node:fs");
|
|
12
12
|
const includes_1 = tslib_1.__importDefault(require("lodash/includes"));
|
|
13
|
-
const uuid_1 = require("uuid");
|
|
14
13
|
const node_path_1 = require("node:path");
|
|
15
14
|
const cli_utilities_1 = require("@contentstack/cli-utilities");
|
|
16
15
|
const config_1 = tslib_1.__importDefault(require("../../config"));
|
|
@@ -339,7 +338,7 @@ class ImportAssets extends base_class_1.default {
|
|
|
339
338
|
// 2. if there are multiple assets fetched with same query, then check the parent uid against mapper created while importing folders
|
|
340
339
|
// 3. Replace matched assets
|
|
341
340
|
this.rootFolder = {
|
|
342
|
-
uid: (0,
|
|
341
|
+
uid: (0, cli_utilities_1.generateUid)(),
|
|
343
342
|
name: `Import-${(0, utils_1.formatDate)()}`,
|
|
344
343
|
parent_uid: null,
|
|
345
344
|
created_at: null,
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,46 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli-cm-import",
|
|
3
3
|
"description": "Contentstack CLI plugin to import content into stack",
|
|
4
|
-
"version": "1.32.
|
|
4
|
+
"version": "1.32.3",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bugs": "https://github.com/contentstack/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@contentstack/cli-audit": "~1.19.
|
|
9
|
-
"@contentstack/cli-command": "~1.8.
|
|
10
|
-
"@contentstack/cli-utilities": "~1.18.
|
|
11
|
-
"@contentstack/cli-variants": "~1.4.
|
|
12
|
-
"@oclif/core": "^4.
|
|
8
|
+
"@contentstack/cli-audit": "~1.19.3",
|
|
9
|
+
"@contentstack/cli-command": "~1.8.2",
|
|
10
|
+
"@contentstack/cli-utilities": "~1.18.3",
|
|
11
|
+
"@contentstack/cli-variants": "~1.4.3",
|
|
12
|
+
"@oclif/core": "^4.10.5",
|
|
13
13
|
"big-json": "^3.2.0",
|
|
14
14
|
"bluebird": "^3.7.2",
|
|
15
15
|
"chalk": "^4.1.2",
|
|
16
16
|
"debug": "^4.4.3",
|
|
17
17
|
"fs-extra": "^11.3.3",
|
|
18
|
-
"lodash": "4.18.1",
|
|
18
|
+
"lodash": "^4.18.1",
|
|
19
19
|
"marked": "^4.3.0",
|
|
20
20
|
"merge": "^2.1.1",
|
|
21
21
|
"mkdirp": "^1.0.4",
|
|
22
22
|
"promise-limit": "^2.7.0",
|
|
23
|
-
"
|
|
24
|
-
"winston": "^3.17.0"
|
|
23
|
+
"winston": "^3.19.0"
|
|
25
24
|
},
|
|
26
25
|
"devDependencies": {
|
|
27
|
-
"@oclif/test": "^4.1.
|
|
26
|
+
"@oclif/test": "^4.1.18",
|
|
28
27
|
"@types/big-json": "^3.2.5",
|
|
29
28
|
"@types/bluebird": "^3.5.42",
|
|
30
29
|
"@types/fs-extra": "^11.0.4",
|
|
31
30
|
"@types/mkdirp": "^1.0.2",
|
|
32
31
|
"@types/mocha": "^8.2.3",
|
|
33
32
|
"@types/node": "^14.18.63",
|
|
34
|
-
"@types/rewire": "^2.5.30",
|
|
35
|
-
"@types/tar": "^6.1.13",
|
|
36
|
-
"@types/uuid": "^9.0.8",
|
|
37
33
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
38
|
-
"eslint": "^
|
|
34
|
+
"eslint": "^9.26.0",
|
|
39
35
|
"eslint-config-oclif": "^6.0.89",
|
|
40
36
|
"mocha": "^10.8.2",
|
|
41
37
|
"nyc": "^15.1.0",
|
|
42
38
|
"oclif": "^4.17.46",
|
|
43
|
-
"rewire": "^9.0.1",
|
|
44
39
|
"ts-node": "^10.9.2",
|
|
45
40
|
"typescript": "^4.9.5"
|
|
46
41
|
},
|