From dc47007caca293ca6967193fa41c40e45a66f677 Mon Sep 17 00:00:00 2001 From: Shubham Date: Thu, 18 Jan 2024 11:59:51 +0530 Subject: [PATCH 1/7] chore: upgraded cli-core version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a88062de..522ceef4 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "@oclif/plugin-version": "^1.1.1", "@oclif/plugin-warn-if-update-available": "^2.0.2", "@sendgrid/mail": "^8.0.0", - "@twilio/cli-core": "^7.0.0", + "@twilio/cli-core": "^7.19.1", "chalk": "^4.1.2", "file-type": "^16.5.4", "hyperlinker": "1.0.0", From 17a7fea84fe45af156704302d3575dd5a45ce2c8 Mon Sep 17 00:00:00 2001 From: Shubham Date: Mon, 22 Jan 2024 14:26:30 +0530 Subject: [PATCH 2/7] chore: skipping healthcheck api --- src/hooks/init/twilio-api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hooks/init/twilio-api.js b/src/hooks/init/twilio-api.js index 814c7df8..89860b41 100644 --- a/src/hooks/init/twilio-api.js +++ b/src/hooks/init/twilio-api.js @@ -61,6 +61,7 @@ class TwilioRestApiPlugin extends Plugin { }; Object.keys(actionDefinition.domain.paths).forEach((pathName) => { + if(pathName === '/healthcheck') return; const versionName = pathName.split('/')[1]; const shortVersion = versionName.replace(/v/g, ''); From 207a29f17df66c26d03ff3b74cf31822856e733e Mon Sep 17 00:00:00 2001 From: Shubham Tiwari Date: Mon, 22 Jan 2024 14:35:29 +0530 Subject: [PATCH 3/7] chore: run prettier --- src/hooks/init/twilio-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/init/twilio-api.js b/src/hooks/init/twilio-api.js index 89860b41..38a598a5 100644 --- a/src/hooks/init/twilio-api.js +++ b/src/hooks/init/twilio-api.js @@ -61,7 +61,7 @@ class TwilioRestApiPlugin extends Plugin { }; Object.keys(actionDefinition.domain.paths).forEach((pathName) => { - if(pathName === '/healthcheck') return; + if (pathName === '/healthcheck') return; const versionName = pathName.split('/')[1]; const shortVersion = versionName.replace(/v/g, ''); From ef14e9dd4b31736a6861ce3b9b1b8b5acc1b4354 Mon Sep 17 00:00:00 2001 From: Shubham Date: Mon, 22 Jan 2024 16:24:22 +0530 Subject: [PATCH 4/7] chore: add --moit flag in npm install --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e6e7b3ba..27af45fa 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ clean: install: githooks clean rm -f package-lock.json - npm install --no-optional + npm install --omit=optional test: npm test From 7605e081d219750e6dfdfa55dd4e2d03f40460bb Mon Sep 17 00:00:00 2001 From: Shubham Tiwari Date: Mon, 22 Jan 2024 17:08:28 +0530 Subject: [PATCH 5/7] chore: run make install before audit --- .github/workflows/cli-audit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cli-audit.yml b/.github/workflows/cli-audit.yml index 50c3f54c..e1cf3f9e 100644 --- a/.github/workflows/cli-audit.yml +++ b/.github/workflows/cli-audit.yml @@ -16,12 +16,12 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - run: make install - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: make install - name: Run audit check run: npm audit --audit-level=moderate --production # minimum vulnerability level that will cause the command to fail From cd5a03f448d11daf4b9e88519f7b5628b3459f35 Mon Sep 17 00:00:00 2001 From: Shubham Tiwari Date: Mon, 22 Jan 2024 17:20:12 +0530 Subject: [PATCH 6/7] chore: removed unused oclif/color dependency --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 522ceef4..20983609 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,6 @@ "version": "oclif readme && git add README.md" }, "dependencies": { - "@oclif/color": "^1.0.1", "@oclif/core": "^1.16.0", "@oclif/plugin-autocomplete": "^1.3.0", "@oclif/plugin-plugins": "^2.1.0", From c64b16c97dc982dfc56dacfe01e5fe033dfb4ea2 Mon Sep 17 00:00:00 2001 From: Shubham Tiwari Date: Thu, 25 Jan 2024 15:39:17 +0530 Subject: [PATCH 7/7] chore: removed node v14 --- .github/workflows/cli-audit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cli-audit.yml b/.github/workflows/cli-audit.yml index e1cf3f9e..029e9ad0 100644 --- a/.github/workflows/cli-audit.yml +++ b/.github/workflows/cli-audit.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18.x, 16.x, 14.x] + node-version: [18.x, 16.x] steps: - name: Checkout cli repo uses: actions/checkout@v2