@cimplify/cli 0.6.10 → 0.6.12
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-UZRM3FSU.mjs} +1 -1
- package/dist/{chunk-ZTKQOLAC.mjs → chunk-A2L5IV57.mjs} +1 -1
- package/dist/{chunk-R3FDBXR6.mjs → chunk-CLNS2NBR.mjs} +4 -1
- package/dist/{chunk-5L6LJE6I.mjs → chunk-E7P6GL73.mjs} +4 -1
- package/dist/chunk-VOQJ7GYE.mjs +5707 -0
- package/dist/{deploy-7BPO5BNB.mjs → deploy-YVCYHNSS.mjs} +48 -19
- package/dist/dispatcher.mjs +13 -11
- package/dist/{doctor-SSSYBYCL.mjs → doctor-Q6DWYG4D.mjs} +2 -2
- package/dist/{explain-VG7XUP62.mjs → explain-RA3PQCUF.mjs} +22 -1
- package/dist/inspect-CGYX4DDF.mjs +411 -0
- package/dist/{introspect-HYJ6VI3U.mjs → introspect-HKNLBZ73.mjs} +2 -2
- package/dist/{list-NQP4SU5K.mjs → list-U67HVMX5.mjs} +1 -1
- package/dist/{repo-WOBWKEAO.mjs → repo-KNQMSPVV.mjs} +1 -1
- package/dist/{update-HHRCPKSU.mjs → update-UT46Z6X4.mjs} +1 -1
- package/package.json +4 -1
- package/templates/storefront-auto/bun.lock +1167 -0
- package/templates/storefront-auto/package.json +1 -1
- package/templates/storefront-auto/tsconfig.json +24 -6
- package/templates/storefront-bakery/bun.lock +1167 -0
- package/templates/storefront-bakery/package.json +1 -1
- package/templates/storefront-bakery/tsconfig.json +24 -6
- package/templates/storefront-fashion/bun.lock +1176 -0
- package/templates/storefront-fashion/package.json +1 -1
- package/templates/storefront-fashion/tsconfig.json +24 -6
- package/templates/storefront-grocery/bun.lock +1167 -0
- package/templates/storefront-grocery/package.json +1 -1
- package/templates/storefront-grocery/tsconfig.json +24 -6
- package/templates/storefront-pharmacy/bun.lock +1167 -0
- package/templates/storefront-pharmacy/package.json +1 -1
- package/templates/storefront-pharmacy/tsconfig.json +24 -6
- package/templates/storefront-restaurant/bun.lock +1167 -0
- package/templates/storefront-restaurant/package.json +1 -1
- package/templates/storefront-restaurant/tsconfig.json +24 -6
- package/templates/storefront-retail/bun.lock +1167 -0
- package/templates/storefront-retail/package.json +1 -1
- package/templates/storefront-retail/tsconfig.json +24 -6
- package/templates/storefront-services/bun.lock +1167 -0
- package/templates/storefront-services/package.json +1 -1
- package/templates/storefront-services/tsconfig.json +24 -6
- package/dist/chunk-EKJ6T66O.mjs +0 -5707
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { REGISTRY_INDEX, REGISTRY } from './chunk-
|
|
2
|
+
import { REGISTRY_INDEX, REGISTRY } from './chunk-VOQJ7GYE.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';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { gitDetectRoot, gitCurrentBranch, gitCurrentSha, gitStatusPorcelain } from './chunk-K5464A3L.mjs';
|
|
3
3
|
import { parseEnvFile } from './chunk-DBZ3UOQ2.mjs';
|
|
4
|
-
import { package_default } from './chunk-
|
|
4
|
+
import { package_default } from './chunk-E7P6GL73.mjs';
|
|
5
5
|
import { parseArgs } from './chunk-C4M3DXKC.mjs';
|
|
6
6
|
import { readAuthOrNull, readProjectLinkOrNull, readProjectState } from './chunk-UBAI443T.mjs';
|
|
7
7
|
import { bold, dim, yellow, green, info, result, red } 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 };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// package.json
|
|
3
3
|
var package_default = {
|
|
4
4
|
name: "@cimplify/cli",
|
|
5
|
-
version: "0.6.
|
|
5
|
+
version: "0.6.12",
|
|
6
6
|
description: "Cimplify CLI \u2014 deploy, manage env vars, link projects, and scaffold storefronts",
|
|
7
7
|
keywords: [
|
|
8
8
|
"cimplify",
|
|
@@ -45,6 +45,9 @@ var package_default = {
|
|
|
45
45
|
tsup: "^8.5.1",
|
|
46
46
|
typescript: "5.9.3",
|
|
47
47
|
vitest: "^4.1.5"
|
|
48
|
+
},
|
|
49
|
+
dependencies: {
|
|
50
|
+
"@cimplify/sdk": "^0.48.2"
|
|
48
51
|
}
|
|
49
52
|
};
|
|
50
53
|
|