Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DX | 14-10-2024 | Release #331

Merged
merged 49 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
102861b
Merge pull request #301 from contentstack/staging
cs-raj Aug 12, 2024
a6bb2ea
Axios version Bump (#305)
sunil-lakshman Aug 23, 2024
57acca2
Merge branch 'staging' into stage-to-dev
cs-raj Aug 26, 2024
dbcfd99
Merge pull request #309 from contentstack/stage-to-dev
cs-raj Aug 26, 2024
d7432ff
fixed receiving eexit after encountering error
harshithad0703 Aug 26, 2024
e53afcd
updated readme
harshithad0703 Aug 26, 2024
d0bcbcc
replaced getDeveloperHubUrl with getter method
harshithad0703 Aug 28, 2024
ac72dee
Merge pull request #311 from contentstack/fix/dx-1157-error-eexit
harshithad0703 Aug 28, 2024
aa20b56
Merge branch 'development' into feat/dx-1170-replace-getDeveloperHubU…
harshithad0703 Aug 28, 2024
c8ac464
Merge pull request #312 from contentstack/feat/dx-1170-replace-getDev…
harshithad0703 Aug 28, 2024
0e77ffd
Merge pull request #314 from contentstack/staging
cs-raj Sep 2, 2024
ab35e3b
Migrated oclif/test v2 to v4
sunil-lakshman Sep 9, 2024
e5c9329
revered changes
sunil-lakshman Sep 10, 2024
a48ff02
handled case when organization_uid is empty
harshithad0703 Sep 17, 2024
b237191
Removed unused manifest files
sunil-lakshman Sep 17, 2024
246c162
upgraded cli plugin packages
harshithad0703 Sep 17, 2024
a274c69
to set only the host name
harshithad0703 Sep 17, 2024
41c242a
version bump to 1.3.4
harshithad0703 Sep 17, 2024
e99cd39
handled case when organization_uid is empty in all commands
harshithad0703 Sep 17, 2024
e4c2160
updated developerHubUrl to handle host
harshithad0703 Sep 18, 2024
55556f9
updated the mehtod of handling when organization_uid is empty and whe…
harshithad0703 Sep 18, 2024
8bd0656
refactor: deploy org prompt logic & formatting
aman19K Sep 18, 2024
df28682
Merge pull request #316 from contentstack/fix/dx-1302-handle-org-uid-…
harshithad0703 Sep 18, 2024
4267369
Merge branch 'development' into dx-1120-merge-conflicts
harshithad0703 Sep 23, 2024
68c95d7
Merge pull request #317 from contentstack/dx-1120-merge-conflicts
harshithad0703 Sep 23, 2024
8e575a1
update create test suit
harshithad0703 Sep 23, 2024
5116aa1
update deploy, create, delete (1 test in each is failing)
harshithad0703 Sep 25, 2024
d7e83b2
update hosting types with to custom-hosting and hosting-with-launch
harshithad0703 Sep 26, 2024
d87a027
update get test suit
harshithad0703 Sep 26, 2024
ad59519
updated install test suits
harshithad0703 Sep 26, 2024
cfb9afd
updated reinstall test suit
harshithad0703 Sep 26, 2024
28065eb
updated uninstall test cases
harshithad0703 Sep 26, 2024
861be68
code refactor for test cases
harshithad0703 Sep 27, 2024
affbff1
refactor create and delete suits
harshithad0703 Sep 27, 2024
2ebdf09
updated common utils test suit
harshithad0703 Sep 27, 2024
efbd52c
update inquirer test and removed unwanted manifest files
harshithad0703 Sep 30, 2024
5750f66
update test suit passing
harshithad0703 Sep 30, 2024
ef0f39b
updated manifest file
harshithad0703 Sep 30, 2024
b844eb2
updated get test suit
harshithad0703 Sep 30, 2024
4a1e998
updated delete test suit
harshithad0703 Sep 30, 2024
aa31014
updated inquirer test case
harshithad0703 Sep 30, 2024
869a355
removed unwanted afterEach from test suits
harshithad0703 Sep 30, 2024
01e3c02
remove manifest10
harshithad0703 Sep 30, 2024
8eb45b4
updated package-lock file
harshithad0703 Sep 30, 2024
80791b2
updated cli packages
harshithad0703 Sep 30, 2024
18816f7
skipped the a line in expected part at the url depends on the region
harshithad0703 Sep 30, 2024
171a180
Merge pull request #328 from contentstack/fix/dx-1459-unit-test-cases
harshithad0703 Oct 1, 2024
6211dbb
version bump
cs-raj Oct 8, 2024
db69101
Merge pull request #330 from contentstack/update/versionBump
cs-raj Oct 8, 2024
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
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ npm install -g @contentstack/apps-cli
$ csdx COMMAND
running command...
$ csdx (--version|-v)
@contentstack/apps-cli/1.3.3 darwin-arm64 node-v18.12.1
@contentstack/apps-cli/1.3.4 darwin-arm64 node-v22.2.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down Expand Up @@ -69,7 +69,7 @@ EXAMPLES
$ csdx app:update
```

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

## `csdx app:create`

Expand Down Expand Up @@ -109,7 +109,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.3.3/src/commands/app/create.ts)_
_See code: [src/commands/app/create.ts](https://github.com/contentstack/apps-cli/blob/v1.3.4/src/commands/app/create.ts)_

## `csdx app:delete`

Expand All @@ -134,23 +134,23 @@ EXAMPLES
$ csdx app:delete --app-uid <value> --org <value> -d ./boilerplate
```

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

## `csdx app:deploy`

Deploy an app

```
USAGE
$ csdx app:deploy [--app-uid <value>] [--hosting-type Hosting with Launch|Custom Hosting] [--app-url <value>]
$ csdx app:deploy [--app-uid <value>] [--hosting-type hosting-with-launch|custom-hosting] [--app-url <value>]
[--launch-project existing|new] [-c <value>] [--org <value>]

FLAGS
-c, --config=<value> [optional] Please enter the path of the config file.
--app-uid=<value> Provide the app UID of an existing app.
--app-url=<value> Please enter the URL of the app you want to deploy.
--hosting-type=<option> Choose a valid Hosting Type.
<options: Hosting with Launch|Custom Hosting>
<options: hosting-with-launch|custom-hosting>
--launch-project=<option> Choose a new or an existing Launch project.
<options: existing|new>
--org=<value> Provide the organization UID to fetch the app details for the operation.
Expand All @@ -163,16 +163,16 @@ EXAMPLES

$ csdx app:deploy --org <UID> --app-uid <APP-UID-1>

$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Custom Hosting> --app-url <https://localhost:3000>
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <custom-hosting> --app-url <https://localhost:3000>

$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Hosting with Launch> --launch-project <existing>
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <hosting-with-launch> --launch-project <existing>

$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Hosting with Launch> --launch-project <new>
$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <hosting-with-launch> --launch-project <new>

$ csdx app:deploy --org <UID> --app-uid <APP-UID-1> --hosting-type <Hosting with Launch> --launch-project <new> --config <config-path>
$ 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.3.3/src/commands/app/deploy.ts)_
_See code: [src/commands/app/deploy.ts](https://github.com/contentstack/apps-cli/blob/v1.3.4/src/commands/app/deploy.ts)_

## `csdx app:get`

Expand Down Expand Up @@ -202,7 +202,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.3.3/src/commands/app/get.ts)_
_See code: [src/commands/app/get.ts](https://github.com/contentstack/apps-cli/blob/v1.3.4/src/commands/app/get.ts)_

## `csdx app:install`

Expand All @@ -228,7 +228,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.3.3/src/commands/app/install.ts)_
_See code: [src/commands/app/install.ts](https://github.com/contentstack/apps-cli/blob/v1.3.4/src/commands/app/install.ts)_

## `csdx app:reinstall`

Expand All @@ -254,7 +254,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.3.3/src/commands/app/reinstall.ts)_
_See code: [src/commands/app/reinstall.ts](https://github.com/contentstack/apps-cli/blob/v1.3.4/src/commands/app/reinstall.ts)_

## `csdx app:uninstall`

Expand All @@ -281,7 +281,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.3.3/src/commands/app/uninstall.ts)_
_See code: [src/commands/app/uninstall.ts](https://github.com/contentstack/apps-cli/blob/v1.3.4/src/commands/app/uninstall.ts)_

## `csdx app:update`

Expand All @@ -304,5 +304,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.3.3/src/commands/app/update.ts)_
_See code: [src/commands/app/update.ts](https://github.com/contentstack/apps-cli/blob/v1.3.4/src/commands/app/update.ts)_
<!-- commandsstop -->
Loading
Loading