@contentstack/cli 1.37.0 → 1.38.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
@@ -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/1.37.0 linux-x64 node-v22.14.0
21
+ @contentstack/cli/1.38.0 linux-x64 node-v22.14.0
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -3649,10 +3649,12 @@ EXAMPLES
3649
3649
 
3650
3650
  $ csdx launch --data-dir <path/of/current/working/dir> --redeploy-latest
3651
3651
 
3652
- $ csdx launch --data-dir <path/of/current/working/dir> --redeploy-latest --redeploy-last-upload
3652
+ $ csdx launch --data-dir <path/of/current/working/dir> --redeploy-last-upload
3653
3653
 
3654
3654
  $ csdx launch --config <path/to/launch/config/file> --type <options: GitHub|FileUpload>
3655
3655
 
3656
+ $ csdx launch --environment=<value> --redeploy-latest
3657
+
3656
3658
  $ csdx launch --config <path/to/launch/config/file> --type <options: GitHub|FileUpload> --name=<value> --environment=<value> --branch=<value> --build-command=<value> --framework=<option> --org=<value> --out-dir=<value>
3657
3659
 
3658
3660
  $ csdx launch --config <path/to/launch/config/file> --type <options: GitHub|FileUpload> --name=<value> --environment=<value> --branch=<value> --build-command=<value> --framework=<option> --org=<value> --out-dir=<value> --server-command=<value>
@@ -3725,10 +3727,11 @@ Serve cloud functions
3725
3727
 
3726
3728
  ```
3727
3729
  USAGE
3728
- $ csdx launch:functions [-p <value>]
3730
+ $ csdx launch:functions [-p <value>] [-d <value>]
3729
3731
 
3730
3732
  FLAGS
3731
- -p, --port=<value> [default: 3000] Port number
3733
+ -d, --data-dir=<value> Current working directory
3734
+ -p, --port=<value> [default: 3000] Port number
3732
3735
 
3733
3736
  DESCRIPTION
3734
3737
  Serve cloud functions
@@ -3740,11 +3743,7 @@ EXAMPLES
3740
3743
 
3741
3744
  $ csdx launch:functions --data-dir <path/of/current/working/dir>
3742
3745
 
3743
- $ csdx launch:functions --config <path/to/launch/config/file>
3744
-
3745
3746
  $ csdx launch:functions --data-dir <path/of/current/working/dir> -p "port number"
3746
-
3747
- $ csdx launch:functions --config <path/to/launch/config/file> --port=port
3748
3747
  ```
3749
3748
 
3750
3749
  _See code: [@contentstack/cli-launch](https://github.com/contentstack/launch-cli/blob/main/packages/contentstack-launch/src/commands/launch/functions.ts)_
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "1.37.0",
2
+ "version": "1.38.0",
3
3
  "commands": {}
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": "1.37.0",
4
+ "version": "1.38.0",
5
5
  "author": "Contentstack",
6
6
  "bin": {
7
7
  "csdx": "./bin/run.js"
@@ -22,29 +22,29 @@
22
22
  "prepack": "pnpm compile && oclif manifest && oclif readme"
23
23
  },
24
24
  "dependencies": {
25
- "@contentstack/cli-audit": "~1.9.0",
26
- "@contentstack/cli-auth": "~1.3.24",
27
- "@contentstack/cli-cm-bootstrap": "~1.13.2",
28
- "@contentstack/cli-cm-branches": "~1.3.0",
29
- "@contentstack/cli-cm-bulk-publish": "~1.7.3",
30
- "@contentstack/cli-cm-clone": "~1.13.2",
31
- "@contentstack/cli-cm-export": "~1.15.0",
32
- "@contentstack/cli-cm-export-to-csv": "~1.7.3",
33
- "@contentstack/cli-cm-import": "~1.20.0",
34
- "@contentstack/cli-cm-import-setup": "1.1.0",
35
- "@contentstack/cli-cm-migrate-rte": "~1.4.21",
36
- "@contentstack/cli-cm-seed": "~1.10.2",
25
+ "@contentstack/cli-audit": "~1.10.0",
26
+ "@contentstack/cli-auth": "~1.3.25",
27
+ "@contentstack/cli-cm-bootstrap": "~1.13.3",
28
+ "@contentstack/cli-cm-branches": "~1.3.1",
29
+ "@contentstack/cli-cm-bulk-publish": "~1.7.4",
30
+ "@contentstack/cli-cm-clone": "~1.13.3",
31
+ "@contentstack/cli-cm-export": "~1.15.2",
32
+ "@contentstack/cli-cm-export-to-csv": "~1.7.4",
33
+ "@contentstack/cli-cm-import": "~1.20.2",
34
+ "@contentstack/cli-cm-import-setup": "~1.1.2",
35
+ "@contentstack/cli-cm-migrate-rte": "~1.4.22",
36
+ "@contentstack/cli-cm-seed": "~1.10.3",
37
37
  "@contentstack/cli-command": "~1.3.3",
38
- "@contentstack/cli-config": "~1.10.0",
38
+ "@contentstack/cli-config": "~1.10.1",
39
39
  "@contentstack/cli-launch": "^1.6.0",
40
- "@contentstack/cli-migration": "~1.6.5",
41
- "@contentstack/cli-utilities": "~1.8.4",
42
- "@contentstack/cli-variants": "~1.1.5",
40
+ "@contentstack/cli-migration": "~1.6.6",
41
+ "@contentstack/cli-utilities": "~1.9.0",
42
+ "@contentstack/cli-variants": "~1.1.6",
43
43
  "@contentstack/management": "~1.18.4",
44
44
  "@oclif/core": "^3.27.0",
45
45
  "@oclif/plugin-help": "^5.2.20",
46
46
  "@oclif/plugin-not-found": "^2.4.3",
47
- "@oclif/plugin-plugins": "^5.4.24",
47
+ "@oclif/plugin-plugins": "^5.4.36",
48
48
  "chalk": "^4.1.2",
49
49
  "debug": "^4.4.0",
50
50
  "figlet": "^1.8.0",
@@ -74,9 +74,9 @@
74
74
  "nock": "^13.5.6",
75
75
  "nyc": "^15.1.0",
76
76
  "oclif": "^3.17.2",
77
- "rimraf": "^2.7.1",
78
- "shelljs": "^0.8.5",
79
- "sinon": "^19.0.2",
77
+ "rimraf": "^5.0.10",
78
+ "shelljs": "^0.9.2",
79
+ "sinon": "^19.0.5",
80
80
  "tmp": "^0.2.3",
81
81
  "ts-node": "^10.9.2",
82
82
  "tslib": "^2.8.1",