Skip to content

Commit 7a56bec

Browse files
Merge branch 'development' into enh/dx-9335-eslint-upgrade
2 parents e86d7a7 + da5c9ea commit 7a56bec

40 files changed

Lines changed: 494 additions & 336 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"pnpm": "^10.28.0"
77
},
88
"engines": {
9-
"node": ">=18.0.0"
9+
"node": ">=22.0.0"
1010
},
1111
"private": true,
1212
"scripts": {

packages/contentstack-apps-cli/README.md

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
> **Source of truth:** [cli-plugins](https://github.com/contentstack/cli-plugins)`packages/contentstack-apps-cli` (v1 line: `v1-dev` / `v1-beta`)
2-
> Migrated from [contentstack-apps-cli](https://github.com/contentstack/contentstack-apps-cli). See [APPS-CLI-MIGRATION.md](../../APPS-CLI-MIGRATION.md).
3-
4-
<!-- Insert Nodejs CI here -->
5-
<!-- Insert Apps CLI version here -->
6-
71
# @contentstack/apps-cli
82

93
Contentstack lets you develop apps in your organization using the Developer Hub portal. With the Apps CLI plugin, Contentstack CLI allows you to perform the CRUD operations on your app in Developer Hub and then use the app in your organization or stack by installing or uninstalling your app as required.
@@ -23,8 +17,8 @@ This plugin requires you to be authenticated using [csdx auth:login](https://www
2317
$ npm install -g @contentstack/apps-cli
2418
$ csdx COMMAND
2519
running command...
26-
$ csdx (--version|-v)
27-
@contentstack/apps-cli/1.6.1 darwin-arm64 node-v18.20.2
20+
$ csdx (--version)
21+
@contentstack/apps-cli/1.6.1 darwin-arm64 node-v22.21.1
2822
$ csdx --help [COMMAND]
2923
USAGE
3024
$ csdx COMMAND
@@ -74,7 +68,7 @@ EXAMPLES
7468
$ csdx app:update
7569
```
7670

77-
_See code: [src/commands/app/index.ts](https://github.com/contentstack/apps-cli/blob/v1.6.1/src/commands/app/index.ts)_
71+
_See code: [src/commands/app/index.ts](https://github.com/contentstack/cli-plugins/blob/main/packages/contentstack-apps-cli/src/commands/app/index.ts)_
7872

7973
## `csdx app:create`
8074

@@ -114,7 +108,7 @@ EXAMPLES
114108
$ csdx app:create --name App-4 --app-type organization --org <UID> --boilerplate <Ecommerce App Boilerplate>
115109
```
116110

117-
_See code: [src/commands/app/create.ts](https://github.com/contentstack/apps-cli/blob/v1.6.1/src/commands/app/create.ts)_
111+
_See code: [src/commands/app/create.ts](https://github.com/contentstack/cli-plugins/blob/main/packages/contentstack-apps-cli/src/commands/app/create.ts)_
118112

119113
## `csdx app:delete`
120114

@@ -136,10 +130,10 @@ EXAMPLES
136130
137131
$ csdx app:delete --app-uid <value>
138132
139-
$ csdx app:delete --app-uid <value> --org <value> -d ./boilerplate
133+
$ csdx app:delete --app-uid <value> --org <value>
140134
```
141135

142-
_See code: [src/commands/app/delete.ts](https://github.com/contentstack/apps-cli/blob/v1.6.1/src/commands/app/delete.ts)_
136+
_See code: [src/commands/app/delete.ts](https://github.com/contentstack/cli-plugins/blob/main/packages/contentstack-apps-cli/src/commands/app/delete.ts)_
143137

144138
## `csdx app:deploy`
145139

@@ -177,7 +171,7 @@ EXAMPLES
177171
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <hosting-with-launch> --launch-project <new> --config <config-path>
178172
```
179173

180-
_See code: [src/commands/app/deploy.ts](https://github.com/contentstack/apps-cli/blob/v1.6.1/src/commands/app/deploy.ts)_
174+
_See code: [src/commands/app/deploy.ts](https://github.com/contentstack/cli-plugins/blob/main/packages/contentstack-apps-cli/src/commands/app/deploy.ts)_
181175

182176
## `csdx app:get`
183177

@@ -207,7 +201,7 @@ EXAMPLES
207201
$ csdx app:get --org <value> --app-uid <value> --app-type organization
208202
```
209203

210-
_See code: [src/commands/app/get.ts](https://github.com/contentstack/apps-cli/blob/v1.6.1/src/commands/app/get.ts)_
204+
_See code: [src/commands/app/get.ts](https://github.com/contentstack/cli-plugins/blob/main/packages/contentstack-apps-cli/src/commands/app/get.ts)_
211205

212206
## `csdx app:install`
213207

@@ -233,7 +227,7 @@ EXAMPLES
233227
$ csdx app:install --org <UID> --app-uid <APP-UID-1> --stack-api-key <STACK-API-KEY-1>
234228
```
235229

236-
_See code: [src/commands/app/install.ts](https://github.com/contentstack/apps-cli/blob/v1.6.1/src/commands/app/install.ts)_
230+
_See code: [src/commands/app/install.ts](https://github.com/contentstack/cli-plugins/blob/main/packages/contentstack-apps-cli/src/commands/app/install.ts)_
237231

238232
## `csdx app:reinstall`
239233

@@ -259,7 +253,7 @@ EXAMPLES
259253
$ csdx app:reinstall --org <UID> --app-uid <APP-UID-1> --stack-api-key <STACK-API-KEY-1>
260254
```
261255

262-
_See code: [src/commands/app/reinstall.ts](https://github.com/contentstack/apps-cli/blob/v1.6.1/src/commands/app/reinstall.ts)_
256+
_See code: [src/commands/app/reinstall.ts](https://github.com/contentstack/cli-plugins/blob/main/packages/contentstack-apps-cli/src/commands/app/reinstall.ts)_
263257

264258
## `csdx app:uninstall`
265259

@@ -286,7 +280,7 @@ EXAMPLES
286280
$ csdx app:uninstall --org <UID> --app-uid <APP-UID-1> --installation-uid <INSTALLATION-UID-1>
287281
```
288282

289-
_See code: [src/commands/app/uninstall.ts](https://github.com/contentstack/apps-cli/blob/v1.6.1/src/commands/app/uninstall.ts)_
283+
_See code: [src/commands/app/uninstall.ts](https://github.com/contentstack/cli-plugins/blob/main/packages/contentstack-apps-cli/src/commands/app/uninstall.ts)_
290284

291285
## `csdx app:update`
292286

@@ -297,7 +291,7 @@ USAGE
297291
$ csdx app:update [--org <value>] [--app-manifest <value>]
298292
299293
FLAGS
300-
--app-manifest=<value> Path to the app manifest.json file:
294+
--app-manifest=<value> Path to the app manifest.json file.
301295
--org=<value> Provide the organization UID to fetch the app details for the operation.
302296
303297
DESCRIPTION
@@ -309,5 +303,5 @@ EXAMPLES
309303
$ csdx app:update --app-manifest ./boilerplate/manifest.json
310304
```
311305

312-
_See code: [src/commands/app/update.ts](https://github.com/contentstack/apps-cli/blob/v1.6.1/src/commands/app/update.ts)_
306+
_See code: [src/commands/app/update.ts](https://github.com/contentstack/cli-plugins/blob/main/packages/contentstack-apps-cli/src/commands/app/update.ts)_
313307
<!-- commandsstop -->

packages/contentstack-apps-cli/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/apps-cli",
3-
"version": "1.7.0",
3+
"version": "1.7.1",
44
"description": "App ClI",
55
"author": "Contentstack CLI",
66
"homepage": "https://github.com/contentstack/cli-plugins/tree/main/packages/contentstack-apps-cli",
@@ -22,8 +22,8 @@
2222
],
2323
"dependencies": {
2424
"@apollo/client": "^3.14.1",
25-
"@contentstack/cli-command": "~1.8.3",
26-
"@contentstack/cli-launch": "^1.10.0",
25+
"@contentstack/cli-command": "~1.8.4",
26+
"@contentstack/cli-launch": "^1.11.1",
2727
"@contentstack/cli-utilities": "~1.18.4",
2828
"adm-zip": "^0.5.17",
2929
"chalk": "^4.1.2",
@@ -88,7 +88,7 @@
8888
"test:unit:report:json": "mocha --reporter json --reporter-options output=report.json --forbid-only \"test/unit/**/*.test.ts\" && nyc --reporter=clover --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
8989
},
9090
"engines": {
91-
"node": ">=16"
91+
"node": ">=22.0.0"
9292
},
9393
"bugs": "https://github.com/contentstack/cli-plugins/issues",
9494
"keywords": [

packages/contentstack-audit/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
<!-- Insert Nodejs CI here -->
2-
<!-- Insert Audit version here -->
3-
41
# @contentstack/cli-audit
52

63
Audit plugin
@@ -19,7 +16,7 @@ $ npm install -g @contentstack/cli-audit
1916
$ csdx COMMAND
2017
running command...
2118
$ csdx (--version|-v)
22-
@contentstack/cli-audit/1.19.4 darwin-arm64 node-v24.14.0
19+
@contentstack/cli-audit/1.19.5 darwin-arm64 node-v22.21.1
2320
$ csdx --help [COMMAND]
2421
USAGE
2522
$ csdx COMMAND

packages/contentstack-audit/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/cli-audit",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "Contentstack audit plugin",
55
"author": "Contentstack CLI",
66
"homepage": "https://github.com/contentstack/cli",
@@ -18,7 +18,7 @@
1818
"/oclif.manifest.json"
1919
],
2020
"dependencies": {
21-
"@contentstack/cli-command": "~1.8.3",
21+
"@contentstack/cli-command": "~1.8.4",
2222
"@contentstack/cli-utilities": "~1.18.4",
2323
"@oclif/core": "^4.11.4",
2424
"chalk": "^4.1.2",
@@ -71,7 +71,7 @@
7171
"test:unit": "mocha --timeout 10000 --forbid-only \"test/unit/**/*.test.ts\""
7272
},
7373
"engines": {
74-
"node": ">=16"
74+
"node": ">=22.0.0"
7575
},
7676
"bugs": "https://github.com/contentstack/cli/issues",
7777
"keywords": [

packages/contentstack-bootstrap/README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
# @contentstack/cli-cm-bootstrap
2+
13
Contentstack CLI’s “Bootstrap” plugin enables you to automate the process of setting up projects for sample and starter apps in Contentstack.
24

35
This means that all the required steps such as stack, environment, and content type creation, entry and asset publishing are performed just by using a single command.
46

57
<!-- toc -->
8+
* [@contentstack/cli-cm-bootstrap](#contentstackcli-cm-bootstrap)
69
* [Usage](#usage)
710
* [Commands](#commands)
811
<!-- tocstop -->
@@ -15,24 +18,14 @@ $ npm install -g @contentstack/cli-cm-bootstrap
1518
$ csdx COMMAND
1619
running command...
1720
$ csdx (--version)
18-
@contentstack/cli-cm-bootstrap/1.19.6 darwin-arm64 node-v24.14.0
21+
@contentstack/cli-cm-bootstrap/1.19.7 darwin-arm64 node-v22.21.1
1922
$ csdx --help [COMMAND]
2023
USAGE
2124
$ csdx COMMAND
2225
...
2326
```
2427
<!-- usagestop -->
2528

26-
```sh-session
27-
$ npm install -g @contentstack/cli-cm-clone
28-
$ csdx COMMAND
29-
running command...
30-
$ csdx --help [COMMAND]
31-
USAGE
32-
$ csdx COMMAND
33-
...
34-
```
35-
3629
# Commands
3730

3831
<!-- commands -->

packages/contentstack-bootstrap/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@contentstack/cli-cm-bootstrap",
33
"description": "Bootstrap contentstack apps",
4-
"version": "1.19.6",
4+
"version": "1.19.7",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"scripts": {
@@ -16,9 +16,9 @@
1616
"test:report": "nyc --reporter=lcov mocha \"test/**/*.test.js\""
1717
},
1818
"dependencies": {
19-
"@contentstack/cli-cm-seed": "~1.15.6",
20-
"@contentstack/cli-command": "~1.8.3",
21-
"@contentstack/cli-config": "~1.20.4",
19+
"@contentstack/cli-cm-seed": "~1.15.7",
20+
"@contentstack/cli-command": "~1.8.4",
21+
"@contentstack/cli-config": "~1.20.5",
2222
"@contentstack/cli-utilities": "~1.18.4",
2323
"@oclif/core": "^4.11.4",
2424
"inquirer": "8.2.7",
@@ -40,7 +40,7 @@
4040
"typescript": "^4.9.5"
4141
},
4242
"engines": {
43-
"node": ">=14.0.0"
43+
"node": ">=22.0.0"
4444
},
4545
"files": [
4646
"/lib",

packages/contentstack-branches/README.md

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,18 @@
11
# @contentstack/cli-cm-branches
22

33
It is Contentstack’s CLI plugin to compare and merge content.
4-
[![License](https://img.shields.io/npm/l/@contentstack/cli)](https://github.com/contentstack/cli/blob/main/LICENSE)
4+
[![License](https://img.shields.io/npm/l/@contentstack/cli-cm-branches)](https://github.com/contentstack/cli-plugins/blob/main/LICENSE)
55

66
<!-- toc -->
77
* [@contentstack/cli-cm-branches](#contentstackcli-cm-branches)
88
* [Usage](#usage)
99
* [Commands](#commands)
1010
<!-- tocstop -->
1111

12-
For switching to EU region update the hosts at config/default.js
12+
To switch regions, use:
1313

14-
```js
15-
{
16-
host:'https://eu-api.contentstack.com/v3',
17-
cdn: 'https://eu-cdn.contentstack.com/v3',
18-
...
19-
}
20-
```
21-
22-
For switching to AZURE-NA region update the hosts at config/default.js
23-
24-
```js
25-
{
26-
host:'https://azure-na-api.contentstack.com/v3',
27-
cdn: 'https://azure-na-cdn.contentstack.com/v3',
28-
...
29-
}
14+
```sh-session
15+
$ csdx config:set:region [EU | AZURE-NA | AZURE-EU]
3016
```
3117

3218
# Usage
@@ -37,7 +23,7 @@ $ npm install -g @contentstack/cli-cm-branches
3723
$ csdx COMMAND
3824
running command...
3925
$ csdx (--version)
40-
@contentstack/cli-cm-branches/1.8.2 darwin-arm64 node-v24.14.0
26+
@contentstack/cli-cm-branches/1.8.3 darwin-arm64 node-v22.21.1
4127
$ csdx --help [COMMAND]
4228
USAGE
4329
$ csdx COMMAND

packages/contentstack-branches/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "@contentstack/cli-cm-branches",
33
"description": "Contentstack CLI plugin to do branches operations",
4-
"version": "1.8.2",
4+
"version": "1.8.3",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"dependencies": {
8-
"@contentstack/cli-command": "~1.8.3",
8+
"@contentstack/cli-command": "~1.8.4",
99
"@oclif/core": "^4.11.4",
1010
"@contentstack/cli-utilities": "~1.18.4",
1111
"chalk": "^4.1.2",
@@ -43,7 +43,7 @@
4343
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
4444
},
4545
"engines": {
46-
"node": ">=14.0.0"
46+
"node": ">=22.0.0"
4747
},
4848
"files": [
4949
"/lib",

0 commit comments

Comments
 (0)