Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"pnpm": "^10.28.0"
},
"engines": {
"node": ">=18.0.0"
"node": ">=22.0.0"
},
"private": true,
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion packages/contentstack-apps-cli/.eslintignore

This file was deleted.

42 changes: 0 additions & 42 deletions packages/contentstack-apps-cli/.eslintrc

This file was deleted.

32 changes: 13 additions & 19 deletions packages/contentstack-apps-cli/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
> **Source of truth:** [cli-plugins](https://github.com/contentstack/cli-plugins) — `packages/contentstack-apps-cli` (v1 line: `v1-dev` / `v1-beta`)
> Migrated from [contentstack-apps-cli](https://github.com/contentstack/contentstack-apps-cli). See [APPS-CLI-MIGRATION.md](../../APPS-CLI-MIGRATION.md).

<!-- Insert Nodejs CI here -->
<!-- Insert Apps CLI version here -->

# @contentstack/apps-cli

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.
Expand All @@ -23,8 +17,8 @@ This plugin requires you to be authenticated using [csdx auth:login](https://www
$ npm install -g @contentstack/apps-cli
$ csdx COMMAND
running command...
$ csdx (--version|-v)
@contentstack/apps-cli/1.6.1 darwin-arm64 node-v18.20.2
$ csdx (--version)
@contentstack/apps-cli/1.6.1 darwin-arm64 node-v22.21.1
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down Expand Up @@ -74,7 +68,7 @@ EXAMPLES
$ csdx app:update
```

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

## `csdx app:create`

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

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

## `csdx app:delete`

Expand All @@ -136,10 +130,10 @@ EXAMPLES

$ csdx app:delete --app-uid <value>

$ csdx app:delete --app-uid <value> --org <value> -d ./boilerplate
$ csdx app:delete --app-uid <value> --org <value>
```

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

## `csdx app:deploy`

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

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

## `csdx app:get`

Expand Down Expand Up @@ -207,7 +201,7 @@ EXAMPLES
$ csdx app:get --org <value> --app-uid <value> --app-type organization
```

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

## `csdx app:install`

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

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

## `csdx app:reinstall`

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

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

## `csdx app:uninstall`

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

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

## `csdx app:update`

Expand All @@ -297,7 +291,7 @@ USAGE
$ csdx app:update [--org <value>] [--app-manifest <value>]

FLAGS
--app-manifest=<value> Path to the app manifest.json file:
--app-manifest=<value> Path to the app manifest.json file.
--org=<value> Provide the organization UID to fetch the app details for the operation.

DESCRIPTION
Expand All @@ -309,5 +303,5 @@ EXAMPLES
$ csdx app:update --app-manifest ./boilerplate/manifest.json
```

_See code: [src/commands/app/update.ts](https://github.com/contentstack/apps-cli/blob/v1.6.1/src/commands/app/update.ts)_
_See code: [src/commands/app/update.ts](https://github.com/contentstack/cli-plugins/blob/main/packages/contentstack-apps-cli/src/commands/app/update.ts)_
<!-- commandsstop -->
47 changes: 47 additions & 0 deletions packages/contentstack-apps-cli/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import tseslint from 'typescript-eslint';
import globals from 'globals';

export default [
...tseslint.configs.recommended,
{
ignores: [
'lib/**/*',
'test/**/*',
'dist/**/*',
],
},
{
languageOptions: {
parser: tseslint.parser,
parserOptions: {
project: './tsconfig.json',
},
sourceType: 'module',
globals: {
...globals.node,
},
},
plugins: {
'@typescript-eslint': tseslint.plugin,
},
rules: {
'@typescript-eslint/no-unused-vars': [
'error',
{
args: 'none',
},
],
'@typescript-eslint/prefer-namespace-keyword': 'error',
quotes: 'off',
semi: 'off',
'@typescript-eslint/no-redeclare': 'off',
eqeqeq: ['error', 'smart'],
'id-match': 'error',
'no-eval': 'error',
'no-var': 'error',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-require-imports': 'off',
'prefer-const': 'error',
},
},
];
12 changes: 6 additions & 6 deletions packages/contentstack-apps-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/apps-cli",
"version": "1.7.0",
"version": "1.7.1",
"description": "App ClI",
"author": "Contentstack CLI",
"homepage": "https://github.com/contentstack/cli-plugins/tree/main/packages/contentstack-apps-cli",
Expand All @@ -22,8 +22,8 @@
],
"dependencies": {
"@apollo/client": "^3.14.1",
"@contentstack/cli-command": "~1.8.3",
"@contentstack/cli-launch": "^1.10.0",
"@contentstack/cli-command": "~1.8.4",
"@contentstack/cli-launch": "^1.11.1",
"@contentstack/cli-utilities": "~1.18.4",
"adm-zip": "^0.5.17",
"chalk": "^4.1.2",
Expand All @@ -46,7 +46,7 @@
"axios": "^1.16.1",
"chai": "^4.5.0",
"dotenv": "^16.6.1",
"eslint": "^8.57.1",
"eslint": "^10.5.0",
"eslint-config-oclif": "^6.0.157",
"eslint-config-oclif-typescript": "^3.1.14",
"mocha": "^10.8.2",
Expand Down Expand Up @@ -77,7 +77,7 @@
},
"scripts": {
"build": "pnpm clean && tsc -b",
"lint": "eslint . --ext .ts --config .eslintrc",
"lint": "eslint . --ext .ts",
"postpack": "shx rm -f oclif.manifest.json",
"posttest": "pnpm lint",
"prepack": "pnpm build && oclif manifest && oclif readme",
Expand All @@ -88,7 +88,7 @@
"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\""
},
"engines": {
"node": ">=16"
"node": ">=22.0.0"
},
"bugs": "https://github.com/contentstack/cli-plugins/issues",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion packages/contentstack-audit/.eslintignore

This file was deleted.

6 changes: 0 additions & 6 deletions packages/contentstack-audit/.eslintrc

This file was deleted.

5 changes: 1 addition & 4 deletions packages/contentstack-audit/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<!-- Insert Nodejs CI here -->
<!-- Insert Audit version here -->

# @contentstack/cli-audit

Audit plugin
Expand All @@ -19,7 +16,7 @@ $ npm install -g @contentstack/cli-audit
$ csdx COMMAND
running command...
$ csdx (--version|-v)
@contentstack/cli-audit/1.19.4 darwin-arm64 node-v24.14.0
@contentstack/cli-audit/1.19.5 darwin-arm64 node-v22.21.1
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
12 changes: 12 additions & 0 deletions packages/contentstack-audit/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import oclif from 'eslint-config-oclif';
import oclifTypescript from 'eslint-config-oclif-typescript';

export default [
oclif,
oclifTypescript,
{
ignores: [
'dist/**/*',
],
},
];
10 changes: 5 additions & 5 deletions packages/contentstack-audit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/cli-audit",
"version": "1.19.4",
"version": "1.19.5",
"description": "Contentstack audit plugin",
"author": "Contentstack CLI",
"homepage": "https://github.com/contentstack/cli",
Expand All @@ -18,7 +18,7 @@
"/oclif.manifest.json"
],
"dependencies": {
"@contentstack/cli-command": "~1.8.3",
"@contentstack/cli-command": "~1.8.4",
"@contentstack/cli-utilities": "~1.18.4",
"@oclif/core": "^4.11.4",
"chalk": "^4.1.2",
Expand All @@ -34,7 +34,7 @@
"@types/mocha": "^10.0.10",
"@types/node": "^20.17.50",
"chai": "^4.5.0",
"eslint": "^9.26.0",
"eslint": "^10.5.0",
"eslint-config-oclif": "^6.0.62",
"eslint-config-oclif-typescript": "^3.1.14",
"mocha": "^10.8.2",
Expand All @@ -59,7 +59,7 @@
},
"scripts": {
"build": "pnpm compile && oclif manifest && oclif readme",
"lint": "eslint . --ext .ts --config .eslintrc",
"lint": "eslint . --ext .ts",
"postpack": "shx rm -f oclif.manifest.json",
"posttest": "npm run lint",
"compile": "tsc -b tsconfig.json",
Expand All @@ -71,7 +71,7 @@
"test:unit": "mocha --timeout 10000 --forbid-only \"test/unit/**/*.test.ts\""
},
"engines": {
"node": ">=16"
"node": ">=22.0.0"
},
"bugs": "https://github.com/contentstack/cli/issues",
"keywords": [
Expand Down
Empty file.
41 changes: 0 additions & 41 deletions packages/contentstack-bootstrap/.eslintrc

This file was deleted.

Loading
Loading