@cimplify/cli 0.8.0 → 0.9.0

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 (50) hide show
  1. package/README.md +1 -1
  2. package/dist/{add-TCU5T7Q2.mjs → add-HCVYD33F.mjs} +1 -1
  3. package/dist/{assets-EHRFAWZI.mjs → assets-4D7VXRUE.mjs} +1 -1
  4. package/dist/{auth-step-up-RWBXYJKR.mjs → auth-step-up-NOSM4PUR.mjs} +1 -1
  5. package/dist/{cancel-DAO23NIX.mjs → cancel-PPNH6K67.mjs} +1 -1
  6. package/dist/{chunk-IV7SOUH3.mjs → chunk-6C2QY3ZP.mjs} +1 -1
  7. package/dist/chunk-DE4MI2UK.mjs +6455 -0
  8. package/dist/{chunk-CV3ZFCX6.mjs → chunk-F4S5KETY.mjs} +3 -2
  9. package/dist/{chunk-BQ5CWVHQ.mjs → chunk-VHXZ4SGF.mjs} +2 -2
  10. package/dist/{chunk-7DOC7MLJ.mjs → chunk-WNZ6N634.mjs} +1 -1
  11. package/dist/{deploy-M63QHHOD.mjs → deploy-H7245HMP.mjs} +2 -2
  12. package/dist/{dev-VE6VVDEU.mjs → dev-OLW755ID.mjs} +1 -1
  13. package/dist/dispatcher.mjs +25 -25
  14. package/dist/{doctor-TBQN7ZSR.mjs → doctor-2OIPFMDS.mjs} +31 -6
  15. package/dist/{domains-7QM444PU.mjs → domains-H3K2WW55.mjs} +1 -1
  16. package/dist/{env-VKTOPGSZ.mjs → env-3HY7HFVT.mjs} +1 -1
  17. package/dist/{explain-LFL4IXXK.mjs → explain-JBPAC2ZB.mjs} +1 -1
  18. package/dist/{introspect-SHUBKCPY.mjs → introspect-5BX4KGO4.mjs} +2 -2
  19. package/dist/{link-746RR2HY.mjs → link-O4WAUWWE.mjs} +1 -1
  20. package/dist/{list-BVSFEBG7.mjs → list-5WLNIKFF.mjs} +1 -1
  21. package/dist/{login-EMJ33OD4.mjs → login-SCWIIEGR.mjs} +1 -1
  22. package/dist/{logs-DSYUOYQJ.mjs → logs-2ECJQ3MU.mjs} +1 -1
  23. package/dist/{projects-QKI6CTCD.mjs → projects-2BITX2YE.mjs} +1 -1
  24. package/dist/{repo-3BEDOFZX.mjs → repo-WSUAHXWO.mjs} +2 -2
  25. package/dist/{rollback-ZR6X6IQ5.mjs → rollback-4YLTZRXP.mjs} +1 -1
  26. package/dist/{status-AIENVHAV.mjs → status-IA7PJ4TV.mjs} +1 -1
  27. package/dist/{update-THXRRDNG.mjs → update-6EVYEGKD.mjs} +1 -1
  28. package/dist/{whoami-LPQMPYTE.mjs → whoami-6GFMOY2M.mjs} +1 -1
  29. package/package.json +2 -2
  30. package/templates/storefront-auto/lib/brand.ts +1 -1
  31. package/templates/storefront-auto/next.config.ts +2 -0
  32. package/templates/storefront-auto/package.json +1 -1
  33. package/templates/storefront-bakery/next.config.ts +2 -0
  34. package/templates/storefront-bakery/package.json +1 -1
  35. package/templates/storefront-fashion/lib/brand.ts +1 -1
  36. package/templates/storefront-fashion/next.config.ts +2 -0
  37. package/templates/storefront-fashion/package.json +1 -1
  38. package/templates/storefront-grocery/next.config.ts +2 -0
  39. package/templates/storefront-grocery/package.json +1 -1
  40. package/templates/storefront-pharmacy/lib/brand.ts +1 -1
  41. package/templates/storefront-pharmacy/next.config.ts +2 -0
  42. package/templates/storefront-pharmacy/package.json +1 -1
  43. package/templates/storefront-restaurant/next.config.ts +2 -0
  44. package/templates/storefront-restaurant/package.json +1 -1
  45. package/templates/storefront-retail/lib/brand.ts +1 -1
  46. package/templates/storefront-retail/next.config.ts +2 -0
  47. package/templates/storefront-retail/package.json +1 -1
  48. package/templates/storefront-services/next.config.ts +2 -0
  49. package/templates/storefront-services/package.json +1 -1
  50. package/dist/chunk-MBLJKDCR.mjs +0 -6455
package/README.md CHANGED
@@ -38,7 +38,7 @@ cimplify status # latest deployment summary
38
38
 
39
39
  ## How it talks to Cimplify
40
40
 
41
- Every cloud command is a thin HTTP client over `https://api.cimplify.io` (override with `CIMPLIFY_API_URL`). The deploy flow specifically:
41
+ Every cloud command is a thin HTTP client over `https://api.cimplify.io` (override with `CIMPLIFY_CLI_API_URL` — not `CIMPLIFY_API_URL`, which is the SDK's storefront-API variable). The deploy flow specifically:
42
42
 
43
43
  1. `git push` to the project's git remote (uses a short-TTL token minted by Cimplify when the remote is Freestyle-hosted; falls back to your existing git auth otherwise).
44
44
  2. `POST /v1/businesses/<bid>/projects/<pid>/deploy` with the local SHA.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { REGISTRY_INDEX, REGISTRY } from './chunk-MBLJKDCR.mjs';
2
+ import { REGISTRY_INDEX, REGISTRY } from './chunk-DE4MI2UK.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,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { parseArgs, flagString, flagBool } from './chunk-C4M3DXKC.mjs';
3
- import { ApiClient } from './chunk-CV3ZFCX6.mjs';
3
+ import { ApiClient } from './chunk-F4S5KETY.mjs';
4
4
  import { readAuth } from './chunk-UBAI443T.mjs';
5
5
  import { CliError, CLI_ERROR_CODE, step, yellow, dim, success, info, result, bold, green } from './chunk-E2T2SBP5.mjs';
6
6
  import { createHash } from 'crypto';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { startLoopbackServer, generateState, openBrowser } from './chunk-GLXONXS3.mjs';
3
3
  import { parseArgs, flagString, flagBool } from './chunk-C4M3DXKC.mjs';
4
- import { resolveBaseUrl } from './chunk-CV3ZFCX6.mjs';
4
+ import { resolveBaseUrl } from './chunk-F4S5KETY.mjs';
5
5
  import { readAuth, writeStepUp } from './chunk-UBAI443T.mjs';
6
6
  import { isJsonMode, CliError, CLI_ERROR_CODE, step, info, dim, success, result } from './chunk-E2T2SBP5.mjs';
7
7
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { parseArgs } from './chunk-C4M3DXKC.mjs';
3
- import { ApiClient } from './chunk-CV3ZFCX6.mjs';
3
+ import { ApiClient } from './chunk-F4S5KETY.mjs';
4
4
  import { readAuth, readProjectLink } from './chunk-UBAI443T.mjs';
5
5
  import { CliError, CLI_ERROR_CODE, success, result } from './chunk-E2T2SBP5.mjs';
6
6
 
@@ -2,7 +2,7 @@
2
2
  import { promptYesNo } from './chunk-ITAFAORS.mjs';
3
3
  import { TOKEN_PURPOSE, REPO_PROVIDER, REPO_PROVIDER_VALUES } from './chunk-MXYUAJEW.mjs';
4
4
  import { parseArgs, flagString, flagBool } from './chunk-C4M3DXKC.mjs';
5
- import { ApiClient } from './chunk-CV3ZFCX6.mjs';
5
+ import { ApiClient } from './chunk-F4S5KETY.mjs';
6
6
  import { readAuth, readProjectLink } from './chunk-UBAI443T.mjs';
7
7
  import { CliError, CLI_ERROR_CODE, isJsonMode, result, dim, success, info, bold } from './chunk-E2T2SBP5.mjs';
8
8