From b56cab16f811fc36ced2ef452b8fada41afc217f Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Mon, 25 Sep 2023 16:37:21 +0530 Subject: [PATCH 1/3] fix: added csdxConfig --- package-lock.json | 4 ++-- package.json | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9916e6f..b406769 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "contentstack-cli-content-type", - "version": "1.1.1", + "version": "1.1.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "contentstack-cli-content-type", - "version": "1.1.1", + "version": "1.1.2", "license": "MIT", "dependencies": { "@contentstack/cli-command": "^1.2.8", diff --git a/package.json b/package.json index ab48762..e50901d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "contentstack-cli-content-type", "description": "Retrieve information about Content Types in a Stack.", - "version": "1.1.1", + "version": "1.1.2", "author": "Michael Davis", "bugs": "https://github.com/Contentstack-Solutions/contentstack-cli-content-type/issues", "dependencies": { @@ -67,5 +67,10 @@ "posttest": "eslint . --ext .ts --config .eslintrc", "prepack": "rm -rf lib && tsc -b && oclif manifest && oclif readme", "version": "oclif readme && git add README.md" + }, + "csdxConfig": { + "shortCommandName": { + "cm:stacks:validate-regex": "CTVLD" + } } } From 7e28eb67a7777f0a72c4b277109823e6a1ea3e3d Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Wed, 27 Sep 2023 11:11:13 +0530 Subject: [PATCH 2/3] fix: corrected commands and their short names --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e50901d..6635357 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,12 @@ }, "csdxConfig": { "shortCommandName": { - "cm:stacks:validate-regex": "CTVLD" + "content-type:audit": "CTAUDIT", + "content-type:compare": "CTCMP", + "content-type:compare-remote": "CTCMP_R", + "content-type:details": "CTDET", + "content-type:diagram": "CTDIAG", + "content-type:list": "CTLS" } } } From 9215034890e3a44bd551ed2cf5a4cb136b898dab Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Mon, 23 Oct 2023 15:42:59 +0530 Subject: [PATCH 3/3] fix: removed workflow and corrected analytics code --- .github/workflows/sast-scan.yml | 11 ----------- package.json | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 .github/workflows/sast-scan.yml diff --git a/.github/workflows/sast-scan.yml b/.github/workflows/sast-scan.yml deleted file mode 100644 index 5062f97..0000000 --- a/.github/workflows/sast-scan.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: SAST Scan -on: - pull_request: - types: [opened, synchronize, reopened] -jobs: - security: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3.5.3 - - name: Horusec Scan - run: docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/src horuszup/horusec-cli:latest horusec start -p /src -P $(pwd) diff --git a/package.json b/package.json index 6635357..fb59aa7 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "shortCommandName": { "content-type:audit": "CTAUDIT", "content-type:compare": "CTCMP", - "content-type:compare-remote": "CTCMP_R", + "content-type:compare-remote": "CTCMP-R", "content-type:details": "CTDET", "content-type:diagram": "CTDIAG", "content-type:list": "CTLS"