@contentstack/cli-config 2.0.0-beta.6 → 2.0.0-beta.8

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
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-config
18
18
  $ csdx COMMAND
19
19
  running command...
20
20
  $ csdx (--version)
21
- @contentstack/cli-config/2.0.0-beta.6 linux-x64 node-v22.22.1
21
+ @contentstack/cli-config/2.0.0-beta.8 linux-x64 node-v22.22.2
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -38,7 +38,7 @@ function getRegionObject(regionKey) {
38
38
  assetManagementUrl: endpoints.assetManagement,
39
39
  };
40
40
  }
41
- catch (error) {
41
+ catch (_a) {
42
42
  return null;
43
43
  }
44
44
  }
@@ -673,5 +673,5 @@
673
673
  ]
674
674
  }
675
675
  },
676
- "version": "2.0.0-beta.6"
676
+ "version": "2.0.0-beta.8"
677
677
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contentstack/cli-config",
3
3
  "description": "Contentstack CLI plugin for configuration",
4
- "version": "2.0.0-beta.6",
4
+ "version": "2.0.0-beta.8",
5
5
  "author": "Contentstack",
6
6
  "scripts": {
7
7
  "build": "pnpm compile && oclif manifest && oclif readme",
@@ -10,38 +10,36 @@
10
10
  "postpack": "rm -f oclif.manifest.json",
11
11
  "prepack": "pnpm compile && oclif manifest && oclif readme",
12
12
  "version": "oclif readme && git add README.md",
13
- "test:report": "tsc -p test && nyc --reporter=lcov --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
14
- "pretest": "tsc -p test",
15
- "test": "mocha --require ts-node/register 'test/**/*.test.ts'",
16
- "posttest": "npm run lint",
17
- "lint": "eslint src/**/*.ts",
18
- "format": "eslint src/**/*.ts --fix",
19
- "test:integration": "mocha --forbid-only \"test/run.test.ts\" --integration-test",
20
- "test:unit": "mocha --forbid-only \"test/unit/**/*.test.ts\" --unit-test",
21
- "test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
13
+ "test": "mocha \"test/unit/**/*.test.ts\"",
14
+ "lint": "eslint src/**/*.ts"
22
15
  },
23
16
  "dependencies": {
24
- "@contentstack/cli-command": "~2.0.0-beta.5",
25
- "@contentstack/cli-utilities": "~2.0.0-beta.5",
26
- "@contentstack/utils": "~1.7.0",
27
- "@oclif/core": "^4.8.1",
28
- "@oclif/plugin-help": "^6.2.28",
29
- "lodash": "^4.17.23"
17
+ "@contentstack/cli-command": "~2.0.0-beta.6",
18
+ "@contentstack/cli-utilities": "~2.0.0-beta.7",
19
+ "@contentstack/utils": "~1.9.1",
20
+ "@oclif/core": "^4.10.5",
21
+ "@oclif/plugin-help": "^6.2.44",
22
+ "lodash": "^4.18.1"
23
+ },
24
+ "overrides": {
25
+ "@oclif/core": {
26
+ "picomatch": "^4.0.4"
27
+ }
30
28
  },
31
29
  "devDependencies": {
32
- "@oclif/test": "^4.1.13",
30
+ "@oclif/test": "^4.1.18",
33
31
  "@types/chai": "^4.3.20",
34
32
  "@types/mocha": "^8.2.3",
35
33
  "@types/node": "^14.18.63",
36
- "@types/sinon": "^21.0.0",
34
+ "@types/sinon": "^21.0.1",
37
35
  "chai": "^4.5.0",
38
36
  "eslint": "^8.57.1",
39
- "eslint-config-oclif": "^6.0.62",
37
+ "eslint-config-oclif": "^6.0.157",
40
38
  "eslint-config-oclif-typescript": "^3.1.14",
41
39
  "mocha": "10.8.2",
42
40
  "nyc": "^15.1.0",
43
- "oclif": "^4.17.46",
44
- "sinon": "^21.0.1",
41
+ "oclif": "^4.23.0",
42
+ "sinon": "^21.1.2",
45
43
  "ts-node": "^10.9.2",
46
44
  "typescript": "^4.9.5"
47
45
  },
@@ -67,7 +65,21 @@
67
65
  "protected": [
68
66
  "config:get:region"
69
67
  ],
70
- "repositoryPrefix": "<%- repo %>/blob/main/packages/contentstack-config/<%- commandPath %>"
68
+ "repositoryPrefix": "<%- repo %>/blob/main/packages/contentstack-config/<%- commandPath %>",
69
+ "topics": {
70
+ "config": {
71
+ "description": "Perform configuration related activities"
72
+ },
73
+ "config:get": {
74
+ "description": "View the list of set configuration values"
75
+ },
76
+ "config:set": {
77
+ "description": "Set configuration values"
78
+ },
79
+ "config:remove": {
80
+ "description": "Remove set configuration values"
81
+ }
82
+ }
71
83
  },
72
84
  "csdxConfig": {
73
85
  "shortCommandName": {