@cloudcommerce/cli 0.26.4 → 0.26.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @cloudcommerce/cli@0.26.3 build /home/leo/code/ecomplus/cloud-commerce/packages/cli
2
+ > @cloudcommerce/cli@0.26.5 build /home/leo/code/ecomplus/cloud-commerce/packages/cli
3
3
  > bash ../../scripts/build-lib.sh
4
4
 
package/lib/cli.js CHANGED
@@ -145,6 +145,9 @@ Finish by saving the following secrets to your GitHub repository:
145
145
  -- More info at https://github.com/ecomplus/store#getting-started
146
146
  `;
147
147
  }
148
+ if (argv._.includes('prepare')) {
149
+ return prepareCodebases();
150
+ }
148
151
  if (argv._.includes('dev') || !argv._.length) {
149
152
  await prepareCodebases(true);
150
153
  const prefix = path.join(pwd, 'functions/ssr');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "0.26.4",
4
+ "version": "0.26.6",
5
5
  "description": "E-Com Plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -26,7 +26,7 @@
26
26
  "libsodium-wrappers": "^0.7.11",
27
27
  "md5": "^2.3.0",
28
28
  "zx": "^7.2.3",
29
- "@cloudcommerce/api": "0.26.4"
29
+ "@cloudcommerce/api": "0.26.6"
30
30
  },
31
31
  "scripts": {
32
32
  "build": "bash ../../scripts/build-lib.sh"
package/src/cli.ts CHANGED
@@ -178,6 +178,10 @@ Finish by saving the following secrets to your GitHub repository:
178
178
  `;
179
179
  }
180
180
 
181
+ if (argv._.includes('prepare')) {
182
+ return prepareCodebases();
183
+ }
184
+
181
185
  if (argv._.includes('dev') || !argv._.length) {
182
186
  await prepareCodebases(true);
183
187
  const prefix = path.join(pwd, 'functions/ssr');