@contentstack/cli-cm-import-setup 1.3.0 → 1.4.1

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
@@ -47,7 +47,7 @@ $ npm install -g @contentstack/cli-cm-import-setup
47
47
  $ csdx COMMAND
48
48
  running command...
49
49
  $ csdx (--version)
50
- @contentstack/cli-cm-import-setup/1.3.0 linux-x64 node-v22.16.0
50
+ @contentstack/cli-cm-import-setup/1.4.1 linux-x64 node-v22.18.0
51
51
  $ csdx --help [COMMAND]
52
52
  USAGE
53
53
  $ csdx COMMAND
@@ -3,7 +3,7 @@ import ImportConfig from './import-config';
3
3
  export type ModuleClassParams = {
4
4
  stackAPIClient: ReturnType<ContentstackClient['stack']>;
5
5
  config: ImportConfig;
6
- dependencies: Modules;
6
+ dependencies: Modules[];
7
7
  };
8
8
  export interface AuthOptions {
9
9
  contentstackClient: ContentstackClient;
@@ -75,5 +75,5 @@
75
75
  ]
76
76
  }
77
77
  },
78
- "version": "1.3.0"
78
+ "version": "1.4.1"
79
79
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@contentstack/cli-cm-import-setup",
3
3
  "description": "Contentstack CLI plugin to setup the mappers and configurations for the import command",
4
- "version": "1.3.0",
4
+ "version": "1.4.1",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/contentstack/cli/issues",
7
7
  "dependencies": {
8
- "@contentstack/cli-command": "~1.5.0",
8
+ "@contentstack/cli-command": "~1.6.0",
9
+ "@contentstack/cli-utilities": "~1.13.1",
9
10
  "@oclif/core": "^4.3.0",
10
- "@contentstack/cli-utilities": "~1.12.0",
11
11
  "big-json": "^3.2.0",
12
12
  "chalk": "^4.1.2",
13
13
  "fs-extra": "^11.3.0",
@@ -24,6 +24,7 @@
24
24
  "@types/mkdirp": "^1.0.2",
25
25
  "@types/mocha": "^8.2.3",
26
26
  "@types/node": "^14.18.63",
27
+ "@types/proxyquire": "^1.3.31",
27
28
  "@types/tar": "^6.1.13",
28
29
  "@types/uuid": "^9.0.8",
29
30
  "@typescript-eslint/eslint-plugin": "^5.62.0",
@@ -33,7 +34,9 @@
33
34
  "mocha": "^10.8.2",
34
35
  "nyc": "^15.1.0",
35
36
  "oclif": "^4.17.46",
37
+ "proxyquire": "^2.1.3",
36
38
  "ts-node": "^10.9.2",
39
+ "tsx": "^4.20.3",
37
40
  "typescript": "^4.9.5"
38
41
  },
39
42
  "scripts": {
@@ -42,15 +45,14 @@
42
45
  "compile": "tsc -b tsconfig.json",
43
46
  "postpack": "rm -f oclif.manifest.json",
44
47
  "prepack": "pnpm compile && oclif manifest && oclif readme",
45
- "version": "oclif readme && git add README.md",
46
48
  "test:report": "tsc -p test && nyc --reporter=lcov --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
47
49
  "pretest": "tsc -p test",
48
- "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
49
50
  "posttest": "npm run lint",
50
51
  "lint": "eslint src/**/*.ts",
51
- "format": "eslint src/**/*.ts --fix",
52
- "test:integration": "mocha --forbid-only \"test/run.test.js\" --integration-test --timeout 60000",
53
- "test:unit": "mocha --forbid-only \"test/unit/*.test.ts\""
52
+ "test": "mocha --forbid-only \"test/**/*.test.ts\"",
53
+ "version": "oclif readme && git add README.md",
54
+ "test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\"",
55
+ "test:unit": "mocha --timeout 10000 --forbid-only \"test/unit/**/*.test.ts\""
54
56
  },
55
57
  "engines": {
56
58
  "node": ">=14.0.0"