@cimplify/cli 0.6.10 → 0.6.11
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/dist/{add-GDHA7MKM.mjs → add-5G7UZ6DA.mjs} +1 -1
- package/dist/{chunk-R3FDBXR6.mjs → chunk-CLNS2NBR.mjs} +4 -1
- package/dist/{chunk-5L6LJE6I.mjs → chunk-KOJZB3S4.mjs} +1 -1
- package/dist/{chunk-EKJ6T66O.mjs → chunk-OLZMA2TM.mjs} +7 -7
- package/dist/{chunk-ZTKQOLAC.mjs → chunk-SNDMYYOK.mjs} +1 -1
- package/dist/{deploy-7BPO5BNB.mjs → deploy-YVCYHNSS.mjs} +48 -19
- package/dist/dispatcher.mjs +11 -11
- package/dist/{doctor-SSSYBYCL.mjs → doctor-3UOTPOJ6.mjs} +2 -2
- package/dist/{explain-VG7XUP62.mjs → explain-DXJ3R52F.mjs} +1 -1
- package/dist/{introspect-HYJ6VI3U.mjs → introspect-77SUZ5X5.mjs} +2 -2
- package/dist/{list-NQP4SU5K.mjs → list-QX7RM3P3.mjs} +1 -1
- package/dist/{repo-WOBWKEAO.mjs → repo-KNQMSPVV.mjs} +1 -1
- package/dist/{update-HHRCPKSU.mjs → update-UHKPFT6F.mjs} +1 -1
- package/package.json +1 -1
- package/templates/storefront-auto/bun.lock +428 -0
- package/templates/storefront-fashion/bun.lock +437 -0
- package/templates/storefront-grocery/bun.lock +428 -0
- package/templates/storefront-pharmacy/bun.lock +428 -0
- package/templates/storefront-restaurant/bun.lock +428 -0
- package/templates/storefront-retail/bun.lock +428 -0
- package/templates/storefront-services/bun.lock +428 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { REGISTRY_INDEX, REGISTRY } from './chunk-
|
|
2
|
+
import { REGISTRY_INDEX, REGISTRY } from './chunk-OLZMA2TM.mjs';
|
|
3
3
|
import { promptYesNo } from './chunk-ITAFAORS.mjs';
|
|
4
4
|
import { parseArgs, flagString, flagBool } from './chunk-C4M3DXKC.mjs';
|
|
5
5
|
import { CliError, CLI_ERROR_CODE, info, bold, dim, success, result, yellow } from './chunk-E2T2SBP5.mjs';
|
|
@@ -35,6 +35,9 @@ async function fetchCloneToken(client, businessId, projectId, purpose = TOKEN_PU
|
|
|
35
35
|
purpose
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
+
async function fetchRepoRecord(client, businessId, projectId) {
|
|
39
|
+
return client.get(repoEndpoint(businessId, projectId));
|
|
40
|
+
}
|
|
38
41
|
function resolveProvider(value, fallback) {
|
|
39
42
|
if (value === void 0) return fallback;
|
|
40
43
|
if (!REPO_PROVIDER_VALUES.has(value)) {
|
|
@@ -208,4 +211,4 @@ function repoPayload(repo) {
|
|
|
208
211
|
};
|
|
209
212
|
}
|
|
210
213
|
|
|
211
|
-
export { fetchCloneToken, run };
|
|
214
|
+
export { fetchCloneToken, fetchRepoRecord, run };
|