@cimplify/cli 0.13.2 → 0.13.4

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.
Files changed (96) hide show
  1. package/README.md +11 -8
  2. package/dist/{add-F7GKDXAD.mjs → add-542NLKYG.mjs} +4 -5
  3. package/dist/{assets-Y4JE6MSG.mjs → assets-OEY6FHHZ.mjs} +4 -5
  4. package/dist/{auth-step-up-EHL5PM2L.mjs → auth-step-up-ALEUQUCE.mjs} +5 -6
  5. package/dist/{cancel-QSZE2XC2.mjs → cancel-FD66LTTS.mjs} +4 -5
  6. package/dist/chunk-4O4G2CDE.mjs +162 -0
  7. package/dist/{chunk-C4M3DXKC.mjs → chunk-5KYR6WJB.mjs} +10 -2
  8. package/dist/{chunk-4YIFBYBV.mjs → chunk-5ZQURRIM.mjs} +1 -2
  9. package/dist/{chunk-QA36VSLX.mjs → chunk-6CHBU7O4.mjs} +1 -1
  10. package/dist/{chunk-QKRGKFHE.mjs → chunk-7NUSJVN3.mjs} +3 -2
  11. package/dist/{chunk-D7DVYTVI.mjs → chunk-HJQ6PF5N.mjs} +6 -6
  12. package/dist/{chunk-UP7N53C4.mjs → chunk-IK6NQHTG.mjs} +1 -1
  13. package/dist/{chunk-OVHZV57L.mjs → chunk-MLVBE5V2.mjs} +1 -1
  14. package/dist/{chunk-RR4NOZGY.mjs → chunk-OE7YRDLH.mjs} +5 -6
  15. package/dist/{chunk-VJJDGHZC.mjs → chunk-PDGKBATF.mjs} +1 -2
  16. package/dist/{chunk-5U5OXOPN.mjs → chunk-RU53TQLZ.mjs} +1 -1
  17. package/dist/{chunk-JPXK5BLA.mjs → chunk-TOQGLBWF.mjs} +1 -1
  18. package/dist/{chunk-SVJPU4K7.mjs → chunk-VCDGYXFU.mjs} +51 -43
  19. package/dist/{deploy-UTAYLZOM.mjs → deploy-SLRFPGTH.mjs} +8 -9
  20. package/dist/{dev-3U6WW5D7.mjs → dev-L3W6UXYN.mjs} +19 -26
  21. package/dist/dispatcher.mjs +41 -33
  22. package/dist/{doctor-6NYHQ7YE.mjs → doctor-E6JH4VSN.mjs} +8 -9
  23. package/dist/{domains-OS3DXSDN.mjs → domains-7D7WJAMC.mjs} +5 -6
  24. package/dist/{env-UVO4OIEO.mjs → env-PAENNABF.mjs} +6 -7
  25. package/dist/{explain-O363MCQ2.mjs → explain-SZPLL5MP.mjs} +3 -4
  26. package/dist/{inspect-ULWQHT7J.mjs → inspect-MGVG4Z44.mjs} +3 -4
  27. package/dist/introspect-SDHD3PVX.mjs +8 -0
  28. package/dist/{link-VQN2WPZO.mjs → link-KGNQWCSZ.mjs} +4 -5
  29. package/dist/lint-NM3APP7L.mjs +1327 -0
  30. package/dist/{list-DZTPWNU3.mjs → list-W5JABY7B.mjs} +3 -4
  31. package/dist/{login-UZ5Y7GIO.mjs → login-NCO4P5G5.mjs} +5 -6
  32. package/dist/{logout-XYWZR6QJ.mjs → logout-MF6SOLPE.mjs} +2 -3
  33. package/dist/{logs-YNXDXAF7.mjs → logs-76TCJBIQ.mjs} +4 -5
  34. package/dist/{mock-HFVAAYK2.mjs → mock-CAWNXSGC.mjs} +2 -3
  35. package/dist/{projects-RJ44DJKZ.mjs → projects-U75DOOR7.mjs} +4 -5
  36. package/dist/repo-IE5IOLR5.mjs +8 -0
  37. package/dist/{rollback-Z2PRL7FS.mjs → rollback-ZL3V7SYH.mjs} +5 -6
  38. package/dist/{status-RR3GGTVU.mjs → status-52HG63FE.mjs} +4 -5
  39. package/dist/{unlink-JBVZYOA3.mjs → unlink-TCG3NBAR.mjs} +2 -3
  40. package/dist/{update-QA5WJ6YL.mjs → update-447FR363.mjs} +4 -5
  41. package/dist/{whoami-5G32NNEP.mjs → whoami-B5Y5KSOZ.mjs} +3 -4
  42. package/package.json +3 -2
  43. package/templates/storefront-auto/app/categories/[slug]/page.tsx +1 -0
  44. package/templates/storefront-auto/app/collections/[slug]/page.tsx +1 -0
  45. package/templates/storefront-auto/app/page.tsx +4 -1
  46. package/templates/storefront-auto/app/products/[slug]/page.tsx +1 -0
  47. package/templates/storefront-auto/components/auth-error-toast.tsx +2 -2
  48. package/templates/storefront-auto/package.json +1 -1
  49. package/templates/storefront-bakery/app/categories/[slug]/page.tsx +1 -0
  50. package/templates/storefront-bakery/app/collections/[slug]/page.tsx +1 -0
  51. package/templates/storefront-bakery/app/page.tsx +1 -1
  52. package/templates/storefront-bakery/components/auth-error-toast.tsx +2 -2
  53. package/templates/storefront-bakery/package.json +1 -1
  54. package/templates/storefront-fashion/app/categories/[slug]/page.tsx +1 -0
  55. package/templates/storefront-fashion/app/collections/[slug]/page.tsx +1 -0
  56. package/templates/storefront-fashion/app/page.tsx +1 -1
  57. package/templates/storefront-fashion/app/products/[slug]/page.tsx +1 -0
  58. package/templates/storefront-fashion/components/auth-error-toast.tsx +2 -2
  59. package/templates/storefront-fashion/package.json +1 -1
  60. package/templates/storefront-grocery/app/categories/[slug]/page.tsx +1 -0
  61. package/templates/storefront-grocery/app/collections/[slug]/page.tsx +1 -0
  62. package/templates/storefront-grocery/app/page.tsx +1 -1
  63. package/templates/storefront-grocery/components/auth-error-toast.tsx +2 -2
  64. package/templates/storefront-grocery/package.json +1 -1
  65. package/templates/storefront-pharmacy/app/categories/[slug]/page.tsx +1 -0
  66. package/templates/storefront-pharmacy/app/collections/[slug]/page.tsx +1 -0
  67. package/templates/storefront-pharmacy/app/globals.css +11 -3
  68. package/templates/storefront-pharmacy/app/page.tsx +4 -1
  69. package/templates/storefront-pharmacy/app/products/[slug]/page.tsx +1 -0
  70. package/templates/storefront-pharmacy/components/auth-error-toast.tsx +2 -2
  71. package/templates/storefront-pharmacy/components/pharmacy-hero.tsx +10 -3
  72. package/templates/storefront-pharmacy/components/urgent-ctas.tsx +30 -5
  73. package/templates/storefront-pharmacy/package.json +1 -1
  74. package/templates/storefront-restaurant/app/categories/[slug]/page.tsx +1 -0
  75. package/templates/storefront-restaurant/app/collections/[slug]/page.tsx +1 -0
  76. package/templates/storefront-restaurant/app/page.tsx +1 -1
  77. package/templates/storefront-restaurant/components/auth-error-toast.tsx +2 -2
  78. package/templates/storefront-restaurant/package.json +1 -1
  79. package/templates/storefront-retail/app/categories/[slug]/page.tsx +1 -0
  80. package/templates/storefront-retail/app/collections/[slug]/page.tsx +1 -0
  81. package/templates/storefront-retail/app/page.tsx +1 -1
  82. package/templates/storefront-retail/app/products/[slug]/page.tsx +1 -0
  83. package/templates/storefront-retail/components/auth-error-toast.tsx +2 -2
  84. package/templates/storefront-retail/package.json +1 -1
  85. package/templates/storefront-services/app/book/book-client.tsx +3 -5
  86. package/templates/storefront-services/app/categories/[slug]/page.tsx +1 -0
  87. package/templates/storefront-services/app/collections/[slug]/page.tsx +1 -0
  88. package/templates/storefront-services/app/page.tsx +1 -1
  89. package/templates/storefront-services/components/auth-error-toast.tsx +2 -2
  90. package/templates/storefront-services/package.json +1 -1
  91. package/dist/agent-24IISIOQ.mjs +0 -25
  92. package/dist/chunk-YPC4VU65.mjs +0 -76
  93. package/dist/chunk-YTZ233XM.mjs +0 -2046
  94. package/dist/chunk-ZPVN6UXL.mjs +0 -74
  95. package/dist/introspect-UKSR3JBF.mjs +0 -9
  96. package/dist/repo-OK6CVG3G.mjs +0 -9
@@ -1,74 +0,0 @@
1
- #!/usr/bin/env node
2
- // src/output.ts
3
- var RESET = "\x1B[0m";
4
- var BOLD_OPEN = "\x1B[1m";
5
- var DIM_OPEN = "\x1B[2m";
6
- var RED_OPEN = "\x1B[31m";
7
- var GREEN_OPEN = "\x1B[32m";
8
- var YELLOW_OPEN = "\x1B[33m";
9
- var CYAN_OPEN = "\x1B[36m";
10
- var PREFIX_STEP = "\u25B8";
11
- var PREFIX_SUCCESS = "\u2713";
12
- var PREFIX_FAILURE = "\u2717";
13
- var ENV_JSON = "CIMPLIFY_JSON";
14
- var ENV_YES = "CIMPLIFY_YES";
15
- function envFlag(name) {
16
- const v = process.env[name];
17
- return v === "1" || v === "true";
18
- }
19
- function isJsonMode() {
20
- return envFlag(ENV_JSON);
21
- }
22
- function isAutoYes() {
23
- return envFlag(ENV_YES);
24
- }
25
- function isInteractive() {
26
- return Boolean(process.stdout.isTTY) && Boolean(process.stdin.isTTY);
27
- }
28
- function wrap(open, value) {
29
- return `${open}${value}${RESET}`;
30
- }
31
- function bold(value) {
32
- return isJsonMode() ? value : wrap(BOLD_OPEN, value);
33
- }
34
- function dim(value) {
35
- return isJsonMode() ? value : wrap(DIM_OPEN, value);
36
- }
37
- function red(value) {
38
- return isJsonMode() ? value : wrap(RED_OPEN, value);
39
- }
40
- function green(value) {
41
- return isJsonMode() ? value : wrap(GREEN_OPEN, value);
42
- }
43
- function yellow(value) {
44
- return isJsonMode() ? value : wrap(YELLOW_OPEN, value);
45
- }
46
- function cyan(value) {
47
- return isJsonMode() ? value : wrap(CYAN_OPEN, value);
48
- }
49
- function step(message) {
50
- if (isJsonMode()) return;
51
- console.log(`${cyan(PREFIX_STEP)} ${message}`);
52
- }
53
- function success(message) {
54
- if (isJsonMode()) return;
55
- console.log(`${green(PREFIX_SUCCESS)} ${message}`);
56
- }
57
- function failure(message) {
58
- if (isJsonMode()) return;
59
- console.error(`${red(PREFIX_FAILURE)} ${message}`);
60
- }
61
- function info(message) {
62
- if (isJsonMode()) return;
63
- console.log(message);
64
- }
65
- var ENV_EMITTED = "__CIMPLIFY_RESULT_EMITTED";
66
- function result(data) {
67
- if (!isJsonMode()) return;
68
- if (process.env[ENV_EMITTED] === "1") return;
69
- process.env[ENV_EMITTED] = "1";
70
- process.stdout.write(`${JSON.stringify({ ok: true, data })}
71
- `);
72
- }
73
-
74
- export { bold, dim, failure, green, info, isAutoYes, isInteractive, isJsonMode, red, result, step, success, yellow };
@@ -1,9 +0,0 @@
1
- #!/usr/bin/env node
2
- export { run as default, extractMockSeed, gatherIntrospection, renderIntrospection } from './chunk-D7DVYTVI.mjs';
3
- import './chunk-OVHZV57L.mjs';
4
- import './chunk-5U5OXOPN.mjs';
5
- import './chunk-QKRGKFHE.mjs';
6
- import './chunk-C4M3DXKC.mjs';
7
- import './chunk-QA36VSLX.mjs';
8
- import './chunk-YPC4VU65.mjs';
9
- import './chunk-ZPVN6UXL.mjs';
@@ -1,9 +0,0 @@
1
- #!/usr/bin/env node
2
- export { run as default, fetchCloneToken, fetchRepoRecord } from './chunk-RR4NOZGY.mjs';
3
- import './chunk-4YIFBYBV.mjs';
4
- import './chunk-MXYUAJEW.mjs';
5
- import './chunk-C4M3DXKC.mjs';
6
- import './chunk-JPXK5BLA.mjs';
7
- import './chunk-QA36VSLX.mjs';
8
- import './chunk-YPC4VU65.mjs';
9
- import './chunk-ZPVN6UXL.mjs';