@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.
- package/.turbo/turbo-build.log +2 -2
- package/lib/index.js +4 -0
- package/package.json +2 -2
- package/src/index.ts +5 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
[33m@cloudcommerce/cli:build[0m: cache hit, replaying output [
|
|
1
|
+
[33m@cloudcommerce/cli:build[0m: cache hit, replaying output [2mb7936a96d6d0115b[0m
|
|
2
2
|
[33m@cloudcommerce/cli:build: [0m
|
|
3
|
-
[33m@cloudcommerce/cli:build: [0m> @cloudcommerce/cli@0.0.
|
|
3
|
+
[33m@cloudcommerce/cli:build: [0m> @cloudcommerce/cli@0.0.113 build /home/leo/code/ecomplus/cloud-commerce/packages/cli
|
|
4
4
|
[33m@cloudcommerce/cli:build: [0m> sh ../../scripts/build-lib.sh
|
|
5
5
|
[33m@cloudcommerce/cli:build: [0m
|
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.
|
|
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.
|
|
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
|
};
|