@contentstack/cli 2.0.0-beta.19 → 2.0.0-beta.20

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
18
18
  $ csdx COMMAND
19
19
  running command...
20
20
  $ csdx (--version|-v)
21
- @contentstack/cli/2.0.0-beta.19 linux-x64 node-v22.22.1
21
+ @contentstack/cli/2.0.0-beta.20 linux-x64 node-v22.22.2
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -1735,7 +1735,7 @@ DESCRIPTION
1735
1735
  Display help for csdx.
1736
1736
  ```
1737
1737
 
1738
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.40/src/commands/help.ts)_
1738
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.44/src/commands/help.ts)_
1739
1739
 
1740
1740
  ## `csdx launch`
1741
1741
 
@@ -1744,10 +1744,11 @@ Launch related operations
1744
1744
  ```
1745
1745
  USAGE
1746
1746
  $ csdx launch [-d <value>] [-c <value>] [--type GitHub|FileUpload] [--framework Gatsby|NextJs|CRA (Create
1747
- React App)|CSR (Client-Side Rendered)|Angular|Nuxt|VueJs|Remix|Other] [--org <value>] [-n <value>] [-e <value>]
1748
- [--branch <value>] [--build-command <value>] [--out-dir <value>] [--server-command <value>] [--variable-type Import
1749
- variables from a stack|Manually add custom variables to the list|Import variables from the .env.local file|Skip
1750
- adding environment variables...] [-a <value>] [--env-variables <value>] [--redeploy-latest] [--redeploy-last-upload]
1747
+ React App)|CSR (Client-Side Rendered)|Analog|Angular|Nuxt|Astro|VueJs|Remix|Other] [--org <value>] [-n <value>] [-e
1748
+ <value>] [--branch <value>] [--build-command <value>] [--out-dir <value>] [--server-command <value>]
1749
+ [--variable-type Import variables from a stack|Manually add custom variables to the list|Import variables from the
1750
+ .env.local file|Skip adding environment variables...] [-a <value>] [--env-variables <value>] [--redeploy-latest]
1751
+ [--redeploy-last-upload]
1751
1752
 
1752
1753
  FLAGS
1753
1754
  -a, --alias=<value> [optional] Alias (name) for the delivery token.
@@ -1761,7 +1762,7 @@ FLAGS
1761
1762
  comma. For example: APP_ENV:prod, TEST_ENV:testVal.
1762
1763
  --framework=<option> [optional] Type of framework. <options: Gatsby|NextJS|Other>
1763
1764
  <options: Gatsby|NextJs|CRA (Create React App)|CSR (Client-Side
1764
- Rendered)|Angular|Nuxt|VueJs|Remix|Other>
1765
+ Rendered)|Analog|Angular|Nuxt|Astro|VueJs|Remix|Other>
1765
1766
  --org=<value> [optional] Provide the organization UID to create a new project or deployment.
1766
1767
  --out-dir=<value> [optional] Output Directory.
1767
1768
  --redeploy-last-upload [optional] Redeploy with last file upload
@@ -2054,7 +2055,7 @@ EXAMPLES
2054
2055
  $ csdx plugins
2055
2056
  ```
2056
2057
 
2057
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.59/src/commands/plugins/index.ts)_
2058
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/index.ts)_
2058
2059
 
2059
2060
  ## `csdx plugins:add PLUGIN`
2060
2061
 
@@ -2128,7 +2129,7 @@ EXAMPLES
2128
2129
  $ csdx plugins:inspect myplugin
2129
2130
  ```
2130
2131
 
2131
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.59/src/commands/plugins/inspect.ts)_
2132
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/inspect.ts)_
2132
2133
 
2133
2134
  ## `csdx plugins:install PLUGIN`
2134
2135
 
@@ -2177,7 +2178,7 @@ EXAMPLES
2177
2178
  $ csdx plugins:install someuser/someplugin
2178
2179
  ```
2179
2180
 
2180
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.59/src/commands/plugins/install.ts)_
2181
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/install.ts)_
2181
2182
 
2182
2183
  ## `csdx plugins:link PATH`
2183
2184
 
@@ -2208,7 +2209,7 @@ EXAMPLES
2208
2209
  $ csdx plugins:link myplugin
2209
2210
  ```
2210
2211
 
2211
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.59/src/commands/plugins/link.ts)_
2212
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/link.ts)_
2212
2213
 
2213
2214
  ## `csdx plugins:remove [PLUGIN]`
2214
2215
 
@@ -2249,7 +2250,7 @@ FLAGS
2249
2250
  --reinstall Reinstall all plugins after uninstalling.
2250
2251
  ```
2251
2252
 
2252
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.59/src/commands/plugins/reset.ts)_
2253
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/reset.ts)_
2253
2254
 
2254
2255
  ## `csdx plugins:uninstall [PLUGIN]`
2255
2256
 
@@ -2277,7 +2278,7 @@ EXAMPLES
2277
2278
  $ csdx plugins:uninstall myplugin
2278
2279
  ```
2279
2280
 
2280
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.59/src/commands/plugins/uninstall.ts)_
2281
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/uninstall.ts)_
2281
2282
 
2282
2283
  ## `csdx plugins:unlink [PLUGIN]`
2283
2284
 
@@ -2321,7 +2322,7 @@ DESCRIPTION
2321
2322
  Update installed plugins.
2322
2323
  ```
2323
2324
 
2324
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.59/src/commands/plugins/update.ts)_
2325
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.61/src/commands/plugins/update.ts)_
2325
2326
 
2326
2327
  ## `csdx tokens`
2327
2328
 
@@ -7,7 +7,7 @@ export interface InquirePayload {
7
7
  name: string;
8
8
  message: string;
9
9
  choices?: Array<any>;
10
- transformer?: Function;
10
+ transformer?: (value: any) => any;
11
11
  }
12
12
  export interface Region {
13
13
  name: string;
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "commands": {},
3
- "version": "2.0.0-beta.19"
3
+ "version": "2.0.0-beta.20"
4
4
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contentstack/cli",
3
3
  "description": "Command-line tool (CLI) to interact with Contentstack",
4
- "version": "2.0.0-beta.19",
4
+ "version": "2.0.0-beta.20",
5
5
  "author": "Contentstack",
6
6
  "bin": {
7
7
  "csdx": "./bin/run.js"
@@ -14,41 +14,38 @@
14
14
  "compile": "tsc -b tsconfig.json",
15
15
  "postpack": "rm -f oclif.manifest.json",
16
16
  "version": "oclif readme && git add README.md",
17
- "test:report": "tsc -p test && nyc --reporter=lcov --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
18
- "pretest": "tsc -p test",
19
- "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
20
- "posttest": "npm run lint",
17
+ "test": "mocha \"test/unit/**/*.test.ts\"",
21
18
  "lint": "eslint src/**/*.ts",
22
19
  "prepack": "pnpm compile && oclif manifest && oclif readme"
23
20
  },
24
21
  "dependencies": {
25
- "@contentstack/cli-audit": "~2.0.0-beta.9",
26
- "@contentstack/cli-cm-export": "~2.0.0-beta.14",
27
- "@contentstack/cli-cm-import": "~2.0.0-beta.14",
28
- "@contentstack/cli-auth": "~2.0.0-beta.10",
22
+ "@contentstack/cli-audit": "~2.0.0-beta.10",
23
+ "@contentstack/cli-cm-export": "~2.0.0-beta.15",
24
+ "@contentstack/cli-cm-import": "~2.0.0-beta.15",
25
+ "@contentstack/cli-auth": "~2.0.0-beta.11",
29
26
  "@contentstack/cli-bulk-operations": "^1.0.1",
30
- "@contentstack/cli-cm-bootstrap": "~2.0.0-beta.14",
31
- "@contentstack/cli-cm-branches": "~2.0.0-beta.5",
32
- "@contentstack/cli-cm-clone": "~2.0.0-beta.15",
33
- "@contentstack/cli-cm-export-to-csv": "~2.0.0-beta.5",
34
- "@contentstack/cli-cm-import-setup": "~2.0.0-beta.9",
35
- "@contentstack/cli-cm-seed": "~2.0.0-beta.13",
36
- "@contentstack/cli-command": "~2.0.0-beta.5",
37
- "@contentstack/cli-config": "~2.0.0-beta.6",
38
- "@contentstack/cli-launch": "^1.9.6",
39
- "@contentstack/cli-migration": "~2.0.0-beta.10",
40
- "@contentstack/cli-utilities": "~2.0.0-beta.5",
41
- "@contentstack/cli-variants": "~2.0.0-beta.11",
42
- "@contentstack/management": "~1.29.1",
43
- "@contentstack/utils": "~1.7.0",
44
- "@oclif/core": "^4.8.0",
45
- "@oclif/plugin-help": "^6.2.37",
46
- "@oclif/plugin-not-found": "^3.2.74",
47
- "@oclif/plugin-plugins": "^5.4.56",
27
+ "@contentstack/cli-cm-bootstrap": "~2.0.0-beta.15",
28
+ "@contentstack/cli-cm-branches": "~2.0.0-beta.6",
29
+ "@contentstack/cli-cm-clone": "~2.0.0-beta.16",
30
+ "@contentstack/cli-cm-export-to-csv": "~2.0.0-beta.6",
31
+ "@contentstack/cli-cm-import-setup": "~2.0.0-beta.10",
32
+ "@contentstack/cli-cm-seed": "~2.0.0-beta.14",
33
+ "@contentstack/cli-command": "~2.0.0-beta.6",
34
+ "@contentstack/cli-config": "~2.0.0-beta.8",
35
+ "@contentstack/cli-launch": "^1.9.7",
36
+ "@contentstack/cli-migration": "~2.0.0-beta.11",
37
+ "@contentstack/cli-utilities": "~2.0.0-beta.7",
38
+ "@contentstack/cli-variants": "~2.0.0-beta.12",
39
+ "@contentstack/management": "~1.30.1",
40
+ "@contentstack/utils": "~1.9.1",
41
+ "@oclif/core": "^4.10.5",
42
+ "@oclif/plugin-help": "^6.2.44",
43
+ "@oclif/plugin-not-found": "^3.2.80",
44
+ "@oclif/plugin-plugins": "^5.4.61",
48
45
  "chalk": "^5.6.2",
49
46
  "cli-progress": "^3.12.0",
50
47
  "debug": "^4.4.3",
51
- "figlet": "1.8.2",
48
+ "figlet": "1.11.0",
52
49
  "inquirer": "^12.11.1",
53
50
  "node-machine-id": "^1.1.12",
54
51
  "open": "^8.4.2",
@@ -58,27 +55,32 @@
58
55
  "uuid": "^9.0.1",
59
56
  "winston": "^3.19.0"
60
57
  },
58
+ "overrides": {
59
+ "@oclif/core": {
60
+ "picomatch": "^4.0.4"
61
+ }
62
+ },
61
63
  "devDependencies": {
62
- "@oclif/test": "^4.1.16",
64
+ "@oclif/test": "^4.1.18",
63
65
  "@types/chai": "^4.3.20",
64
66
  "@types/inquirer": "^9.0.9",
65
67
  "@types/mkdirp": "^1.0.2",
66
68
  "@types/mocha": "^8.2.3",
67
- "@types/node": "^18.11.9",
68
- "@types/semver": "^7.7.0",
69
+ "@types/node": "^18.19.130",
70
+ "@types/semver": "^7.7.1",
69
71
  "@types/sinon": "^10.0.20",
70
72
  "chai": "^4.5.0",
71
73
  "eslint": "^8.57.1",
72
- "eslint-config-oclif": "^6.0.137",
74
+ "eslint-config-oclif": "^6.0.157",
73
75
  "eslint-config-oclif-typescript": "^3.1.14",
74
76
  "globby": "^10.0.2",
75
77
  "mocha": "10.8.2",
76
78
  "nock": "^13.5.6",
77
79
  "nyc": "^15.1.0",
78
- "oclif": "^4.22.77",
80
+ "oclif": "^4.23.0",
79
81
  "rimraf": "^5.0.10",
80
82
  "shelljs": "^0.10.0",
81
- "sinon": "^21.0.1",
83
+ "sinon": "^21.1.2",
82
84
  "tmp": "^0.2.5",
83
85
  "ts-node": "^10.9.2",
84
86
  "tslib": "^2.8.1",