@cloudcommerce/cli 0.0.112 → 0.0.114

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,5 +1,5 @@
1
- @cloudcommerce/cli:build: cache hit, replaying output f11089f087303b69
1
+ @cloudcommerce/cli:build: cache hit, replaying output b7936a96d6d0115b
2
2
  @cloudcommerce/cli:build: 
3
- @cloudcommerce/cli:build: > @cloudcommerce/cli@0.0.111 build /home/leo/code/ecomplus/cloud-commerce/packages/cli
3
+ @cloudcommerce/cli:build: > @cloudcommerce/cli@0.0.113 build /home/leo/code/ecomplus/cloud-commerce/packages/cli
4
4
  @cloudcommerce/cli:build: > sh ../../scripts/build-lib.sh
5
5
  @cloudcommerce/cli:build: 
package/lib/index.js CHANGED
@@ -140,5 +140,9 @@ Finish by saving the following secrets to your GitHub repository:
140
140
  -- More info at https://github.com/ecomplus/store#getting-started
141
141
  `;
142
142
  }
143
+ if (argv._.includes('dev') || !argv._.length) {
144
+ await $`npm run build -- --codebase ssr`;
145
+ return $`npm --prefix "${path.join(pwd, 'functions/ssr')}" run dev`;
146
+ }
143
147
  return $`echo 'Hello from @cloudcommerce/cli'`;
144
148
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "0.0.112",
4
+ "version": "0.0.114",
5
5
  "description": "E-Com Plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "homepage": "https://github.com/ecomplus/cloud-commerce/tree/main/packages/cli#readme",
25
25
  "dependencies": {
26
- "@cloudcommerce/api": "0.0.112",
26
+ "@cloudcommerce/api": "0.0.114",
27
27
  "libsodium-wrappers": "^0.7.10",
28
28
  "md5": "^2.3.0",
29
29
  "zx": "^7.0.8"
package/src/index.ts CHANGED
@@ -171,5 +171,10 @@ Finish by saving the following secrets to your GitHub repository:
171
171
  -- More info at https://github.com/ecomplus/store#getting-started
172
172
  `;
173
173
  }
174
+
175
+ if (argv._.includes('dev') || !argv._.length) {
176
+ await $`npm run build -- --codebase ssr`;
177
+ return $`npm --prefix "${path.join(pwd, 'functions/ssr')}" run dev`;
178
+ }
174
179
  return $`echo 'Hello from @cloudcommerce/cli'`;
175
180
  };