@contentstack/cli 1.45.0 → 1.46.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.45.0 linux-x64 node-v22.18.0
21
+ @contentstack/cli/1.46.0 linux-x64 node-v22.18.0
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -578,18 +578,19 @@ Bootstrap contentstack apps
578
578
  ```
579
579
  USAGE
580
580
  $ csdx cm:bootstrap [--app-name <value>] [--project-dir <value>] [-k <value> | --org <value> | -n <value>] [-y
581
- <value>] [-a <value>]
581
+ <value>] [--run-dev-server] [-a <value>]
582
582
 
583
583
  FLAGS
584
584
  -a, --alias=<value> Alias of the management token
585
585
  -k, --stack-api-key=<value> Provide stack API key to seed content
586
586
  -n, --stack-name=<value> Name of the new stack that will be created.
587
587
  -y, --yes=<value> [Optional] Skip stack confirmation
588
- --app-name=<value> App name, reactjs-starter, nextjs-starter, gatsby-starter, angular-starter, nuxt-starter,
589
- vue-starter, stencil-starter
588
+ --app-name=<value> App name, kickstart-next, kickstart-next-ssr, kickstart-next-ssg, kickstart-next-graphql,
589
+ kickstart-next-middleware, kickstart-nuxt, kickstart-nuxt-ssr
590
590
  --org=<value> Provide organization UID to create a new stack
591
591
  --project-dir=<value> Directory to setup the project. If directory name has a space then provide the path as a
592
592
  string or escap the space using back slash eg: "../../test space" or ../../test\ space
593
+ --run-dev-server Automatically start the development server after setup
593
594
 
594
595
  DESCRIPTION
595
596
  Bootstrap contentstack apps
@@ -599,11 +600,13 @@ EXAMPLES
599
600
 
600
601
  $ csdx cm:bootstrap --project-dir <path/to/setup/the/app>
601
602
 
602
- $ csdx cm:bootstrap --app-name "reactjs-starter" --project-dir <path/to/setup/the/app>
603
+ $ csdx cm:bootstrap --app-name "kickstart-next" --project-dir <path/to/setup/the/app>
603
604
 
604
- $ csdx cm:bootstrap --app-name "reactjs-starter" --project-dir <path/to/setup/the/app> --stack-api-key "stack-api-key"
605
+ $ csdx cm:bootstrap --app-name "kickstart-next" --project-dir <path/to/setup/the/app> --stack-api-key "stack-api-key"
605
606
 
606
- $ csdx cm:bootstrap --app-name "reactjs-starter" --project-dir <path/to/setup/the/app> --org "your-org-uid" --stack-name "stack-name"
607
+ $ csdx cm:bootstrap --app-name "kickstart-next" --project-dir <path/to/setup/the/app> --org "your-org-uid" --stack-name "stack-name"
608
+
609
+ $ csdx cm:bootstrap --app-name "kickstart-next" --project-dir <path/to/setup/the/app> --run-dev-server
607
610
  ```
608
611
 
609
612
  _See code: [@contentstack/cli-cm-bootstrap](https://github.com/contentstack/cli/blob/main/packages/contentstack-bootstrap/src/commands/cm/bootstrap.ts)_
@@ -2184,6 +2187,7 @@ FLAGS
2184
2187
  mention the branch name, then by default the content will be exported from all the
2185
2188
  branches of your stack.
2186
2189
  -a, --alias=<value> The management token alias of the source stack from which you will export content.
2190
+ -b, --branch-alias=<value> (Optional) The alias of the branch from which you want to export content.
2187
2191
  -c, --config=<value> [optional] Path of the config
2188
2192
  -d, --data-dir=<value> The path or the location in your file system to store the exported content. For e.g.,
2189
2193
  ./content
@@ -2357,6 +2361,9 @@ FLAGS
2357
2361
  extensions, marketplace-apps, global-fields, labels, locales, webhooks,
2358
2362
  workflows, custom-roles, personalize projects, and taxonomies.
2359
2363
  -y, --yes [optional] Force override all Marketplace prompts.
2364
+ --branch-alias=<value> The alias of the branch where you want to import your content. If you don't
2365
+ mention the branch alias, then by default the content will be imported to the
2366
+ main branch.
2360
2367
  --exclude-global-modules Excludes the branch-independent module from the import operation.
2361
2368
  --import-webhook-status=<option> [default: disable] [default: disable] (optional) This webhook state keeps the
2362
2369
  same state of webhooks as the source stack. <options: disable|current>
@@ -2590,9 +2597,11 @@ FLAGS
2590
2597
  --skip-audit (optional) Skips the audit fix that occurs during an import
2591
2598
  operation.
2592
2599
  --source-branch=<value> Branch of the source stack.
2600
+ --source-branch-alias=<value> Alias of Branch of the source stack.
2593
2601
  --source-management-token-alias=<value> Source management token alias.
2594
2602
  --source-stack-api-key=<value> Source stack API key
2595
2603
  --target-branch=<value> Branch of the target stack.
2604
+ --target-branch-alias=<value> Alias of Branch of the target stack.
2596
2605
  --type=<option> Type of data to clone. You can select option a or b.
2597
2606
  a) Structure (all modules except entries & assets).
2598
2607
  b) Structure with content (all modules including entries & assets).
@@ -2754,9 +2763,11 @@ FLAGS
2754
2763
  --skip-audit (optional) Skips the audit fix that occurs during an import
2755
2764
  operation.
2756
2765
  --source-branch=<value> Branch of the source stack.
2766
+ --source-branch-alias=<value> Alias of Branch of the source stack.
2757
2767
  --source-management-token-alias=<value> Source management token alias.
2758
2768
  --source-stack-api-key=<value> Source stack API key
2759
2769
  --target-branch=<value> Branch of the target stack.
2770
+ --target-branch-alias=<value> Alias of Branch of the target stack.
2760
2771
  --type=<option> Type of data to clone. You can select option a or b.
2761
2772
  a) Structure (all modules except entries & assets).
2762
2773
  b) Structure with content (all modules including entries & assets).
@@ -2801,6 +2812,7 @@ FLAGS
2801
2812
  mention the branch name, then by default the content will be exported from all the
2802
2813
  branches of your stack.
2803
2814
  -a, --alias=<value> The management token alias of the source stack from which you will export content.
2815
+ -b, --branch-alias=<value> (Optional) The alias of the branch from which you want to export content.
2804
2816
  -c, --config=<value> [optional] Path of the config
2805
2817
  -d, --data-dir=<value> The path or the location in your file system to store the exported content. For e.g.,
2806
2818
  ./content
@@ -2868,6 +2880,9 @@ FLAGS
2868
2880
  extensions, marketplace-apps, global-fields, labels, locales, webhooks,
2869
2881
  workflows, custom-roles, personalize projects, and taxonomies.
2870
2882
  -y, --yes [optional] Force override all Marketplace prompts.
2883
+ --branch-alias=<value> The alias of the branch where you want to import your content. If you don't
2884
+ mention the branch alias, then by default the content will be imported to the
2885
+ main branch.
2871
2886
  --exclude-global-modules Excludes the branch-independent module from the import operation.
2872
2887
  --import-webhook-status=<option> [default: disable] [default: disable] (optional) This webhook state keeps the
2873
2888
  same state of webhooks as the source stack. <options: disable|current>
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "commands": {},
3
- "version": "1.45.0"
3
+ "version": "1.46.0"
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.45.0",
4
+ "version": "1.46.0",
5
5
  "author": "Contentstack",
6
6
  "bin": {
7
7
  "csdx": "./bin/run.js"
@@ -22,24 +22,24 @@
22
22
  "prepack": "pnpm compile && oclif manifest && oclif readme"
23
23
  },
24
24
  "dependencies": {
25
- "@contentstack/cli-audit": "~1.14.0",
26
- "@contentstack/cli-auth": "~1.6.0",
27
- "@contentstack/cli-cm-bootstrap": "~1.15.0",
28
- "@contentstack/cli-cm-branches": "~1.5.0",
29
- "@contentstack/cli-cm-bulk-publish": "~1.9.0",
30
- "@contentstack/cli-cm-clone": "~1.15.1",
31
- "@contentstack/cli-cm-export": "~1.19.0",
32
- "@contentstack/cli-cm-export-to-csv": "~1.9.0",
33
- "@contentstack/cli-cm-import": "~1.26.2",
34
- "@contentstack/cli-cm-import-setup": "1.4.1",
35
- "@contentstack/cli-cm-migrate-rte": "~1.6.0",
36
- "@contentstack/cli-cm-seed": "~1.12.0",
37
- "@contentstack/cli-command": "~1.6.0",
38
- "@contentstack/cli-config": "~1.15.0",
25
+ "@contentstack/cli-audit": "~1.14.1",
26
+ "@contentstack/cli-auth": "~1.6.1",
27
+ "@contentstack/cli-cm-bootstrap": "~1.16.0",
28
+ "@contentstack/cli-cm-branches": "~1.5.1",
29
+ "@contentstack/cli-cm-bulk-publish": "~1.10.0",
30
+ "@contentstack/cli-cm-clone": "~1.16.0",
31
+ "@contentstack/cli-cm-export": "~1.20.0",
32
+ "@contentstack/cli-cm-export-to-csv": "~1.9.1",
33
+ "@contentstack/cli-cm-import": "~1.27.0",
34
+ "@contentstack/cli-cm-import-setup": "1.4.2",
35
+ "@contentstack/cli-cm-migrate-rte": "~1.6.1",
36
+ "@contentstack/cli-cm-seed": "~1.12.1",
37
+ "@contentstack/cli-command": "~1.6.1",
38
+ "@contentstack/cli-config": "~1.15.1",
39
39
  "@contentstack/cli-launch": "^1.9.2",
40
- "@contentstack/cli-migration": "~1.8.0",
41
- "@contentstack/cli-utilities": "~1.13.1",
42
- "@contentstack/cli-variants": "~1.3.0",
40
+ "@contentstack/cli-migration": "~1.8.1",
41
+ "@contentstack/cli-utilities": "~1.14.0",
42
+ "@contentstack/cli-variants": "~1.3.1",
43
43
  "@contentstack/management": "~1.22.0",
44
44
  "@oclif/core": "^4.3.0",
45
45
  "@oclif/plugin-help": "^6.2.28",
@@ -167,4 +167,4 @@
167
167
  }
168
168
  },
169
169
  "repository": "https://github.com/contentstack/cli"
170
- }
170
+ }