Skip to content

Commit 1293503

Browse files
Merge pull request #247 from contentstack/development
DX | 29-06-2026 | Release
2 parents e81a662 + c0d0aba commit 1293503

90 files changed

Lines changed: 3026 additions & 4075 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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/.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/contentstack-apps-cli/.eslintrc

Lines changed: 0 additions & 42 deletions
This file was deleted.

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 -->
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
import tseslint from 'typescript-eslint';
2+
import globals from 'globals';
3+
4+
export default [
5+
...tseslint.configs.recommended,
6+
{
7+
ignores: [
8+
'lib/**/*',
9+
'test/**/*',
10+
'dist/**/*',
11+
],
12+
},
13+
{
14+
languageOptions: {
15+
parser: tseslint.parser,
16+
parserOptions: {
17+
project: './tsconfig.json',
18+
},
19+
sourceType: 'module',
20+
globals: {
21+
...globals.node,
22+
},
23+
},
24+
plugins: {
25+
'@typescript-eslint': tseslint.plugin,
26+
},
27+
rules: {
28+
'@typescript-eslint/no-unused-vars': [
29+
'error',
30+
{
31+
args: 'none',
32+
},
33+
],
34+
'@typescript-eslint/prefer-namespace-keyword': 'error',
35+
quotes: 'off',
36+
semi: 'off',
37+
'@typescript-eslint/no-redeclare': 'off',
38+
eqeqeq: ['error', 'smart'],
39+
'id-match': 'error',
40+
'no-eval': 'error',
41+
'no-var': 'error',
42+
'@typescript-eslint/no-explicit-any': 'off',
43+
'@typescript-eslint/no-require-imports': 'off',
44+
'prefer-const': 'error',
45+
},
46+
},
47+
];

packages/contentstack-apps-cli/package.json

Lines changed: 7 additions & 7 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,9 +22,9 @@
2222
],
2323
"dependencies": {
2424
"@apollo/client": "^3.14.1",
25-
"@contentstack/cli-command": "~1.8.3",
26-
"@contentstack/cli-launch": "^1.10.0",
27-
"@contentstack/cli-utilities": "~1.18.4",
25+
"@contentstack/cli-command": "~1.8.4",
26+
"@contentstack/cli-launch": "^1.11.1",
27+
"@contentstack/cli-utilities": "~1.18.5",
2828
"adm-zip": "^0.5.17",
2929
"chalk": "^4.1.2",
3030
"lodash": "^4.18.1",
@@ -46,7 +46,7 @@
4646
"axios": "^1.16.1",
4747
"chai": "^4.5.0",
4848
"dotenv": "^16.6.1",
49-
"eslint": "^8.57.1",
49+
"eslint": "^10.5.0",
5050
"eslint-config-oclif": "^6.0.157",
5151
"eslint-config-oclif-typescript": "^3.1.14",
5252
"mocha": "^10.8.2",
@@ -77,7 +77,7 @@
7777
},
7878
"scripts": {
7979
"build": "pnpm clean && tsc -b",
80-
"lint": "eslint . --ext .ts --config .eslintrc",
80+
"lint": "eslint . --ext .ts",
8181
"postpack": "shx rm -f oclif.manifest.json",
8282
"posttest": "pnpm lint",
8383
"prepack": "pnpm build && oclif manifest && oclif readme",
@@ -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/.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/contentstack-audit/.eslintrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

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
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import oclif from 'eslint-config-oclif';
2+
import oclifTypescript from 'eslint-config-oclif-typescript';
3+
4+
export default [
5+
oclif,
6+
oclifTypescript,
7+
{
8+
ignores: [
9+
'dist/**/*',
10+
],
11+
},
12+
];

0 commit comments

Comments
 (0)