@cloudcommerce/cli 2.20.5 → 2.20.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,6 +38,7 @@ const getGcpAccessToken = async () => {
38
38
  return question('Google Cloud access token: ');
39
39
  };
40
40
  const checkServiceAccountExists = async (projectId) => {
41
+ $.verbose = true;
41
42
  let hasServiceAccount;
42
43
  try {
43
44
  if (!gcpAccessToken) {
@@ -56,6 +57,7 @@ const checkServiceAccountExists = async (projectId) => {
56
57
  return hasServiceAccount;
57
58
  };
58
59
  const siginGcloudAndSetIAM = async (projectId, pwd) => {
60
+ $.verbose = true;
59
61
  let hasGcloud;
60
62
  try {
61
63
  hasGcloud = Boolean(await $`command -v gcloud`);
@@ -171,6 +173,7 @@ const siginGcloudAndSetIAM = async (projectId, pwd) => {
171
173
  return null;
172
174
  };
173
175
  const createServiceAccountKey = async (projectId, pwd) => {
176
+ $.verbose = true;
174
177
  try {
175
178
  const pathFileKey = path.join(pwd, '.cloudcommerce', 'serviceAccountKey.json');
176
179
  if (!gcpAccessToken) {
package/lib/setup-gh.js CHANGED
@@ -2,6 +2,7 @@ import { fetch, $ } from 'zx';
2
2
  import libsodium from 'libsodium-wrappers';
3
3
 
4
4
  const getRemoteRepo = async () => {
5
+ $.verbose = true;
5
6
  try {
6
7
  return (await $`git config --get remote.origin.url`).stdout
7
8
  .replace(/.*github.com[/:]/, '')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "2.20.5",
4
+ "version": "2.20.6",
5
5
  "description": "e-com.plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -35,8 +35,8 @@
35
35
  "libsodium-wrappers": "^0.7.13",
36
36
  "md5": "^2.3.0",
37
37
  "typescript": "~5.4.5",
38
- "zx": "^7.2.3",
39
- "@cloudcommerce/api": "2.20.5"
38
+ "zx": "^8.1.2",
39
+ "@cloudcommerce/api": "2.20.6"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "bash ../../scripts/build-lib.sh"