@cloudcommerce/cli 0.8.7 → 0.9.1
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 +1 -1
- package/lib/build.js +2 -0
- package/lib/cli.js +2 -2
- package/package.json +2 -2
- package/src/build.ts +2 -0
- package/src/cli.ts +2 -2
package/.turbo/turbo-build.log
CHANGED
package/lib/build.js
CHANGED
package/lib/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
$, argv, fs, echo, chalk,
|
|
5
5
|
} from 'zx';
|
|
6
6
|
import login from './login.js';
|
|
7
|
-
import build from './build.js';
|
|
7
|
+
import build, { prepareCodebases } from './build.js';
|
|
8
8
|
import { siginGcloudAndSetIAM, createServiceAccountKey } from './setup-gcloud.js';
|
|
9
9
|
import createGhSecrets from './setup-gh.js';
|
|
10
10
|
|
|
@@ -144,7 +144,7 @@ Finish by saving the following secrets to your GitHub repository:
|
|
|
144
144
|
`;
|
|
145
145
|
}
|
|
146
146
|
if (argv._.includes('dev') || !argv._.length) {
|
|
147
|
-
await
|
|
147
|
+
await prepareCodebases();
|
|
148
148
|
return $`npm --prefix "${path.join(pwd, 'functions/ssr')}" run dev`;
|
|
149
149
|
}
|
|
150
150
|
return $`echo 'Hello from @cloudcommerce/cli'`;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.9.1",
|
|
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.1",
|
|
29
|
-
"@cloudcommerce/api": "0.
|
|
29
|
+
"@cloudcommerce/api": "0.9.1"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build": "bash ../../scripts/build-lib.sh"
|
package/src/build.ts
CHANGED
package/src/cli.ts
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
chalk,
|
|
9
9
|
} from 'zx';
|
|
10
10
|
import login from './login';
|
|
11
|
-
import build from './build';
|
|
11
|
+
import build, { prepareCodebases } from './build';
|
|
12
12
|
import { siginGcloudAndSetIAM, createServiceAccountKey } from './setup-gcloud';
|
|
13
13
|
import createGhSecrets from './setup-gh';
|
|
14
14
|
|
|
@@ -176,7 +176,7 @@ Finish by saving the following secrets to your GitHub repository:
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
if (argv._.includes('dev') || !argv._.length) {
|
|
179
|
-
await
|
|
179
|
+
await prepareCodebases();
|
|
180
180
|
return $`npm --prefix "${path.join(pwd, 'functions/ssr')}" run dev`;
|
|
181
181
|
}
|
|
182
182
|
return $`echo 'Hello from @cloudcommerce/cli'`;
|