@cyclone-ui/cli 0.6.64 → 0.6.65
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-DXi40GfU.mjs → add-C3T23HAE.mjs} +1 -1
- package/dist/{add-XCN3iVAV.mjs → add-Cbwmb73n.mjs} +1 -1
- package/dist/{add-g3fSHbW6.mjs → add-CsgcKclH.mjs} +1 -1
- package/dist/add.mjs +1 -1
- package/dist/{analyze-a11y-ChZoqT0D.mjs → analyze-a11y-CR4ARG-V.mjs} +1 -1
- package/dist/{analyze-a11y-DTTyhykR.mjs → analyze-a11y-C_1d4NV4.mjs} +1 -1
- package/dist/{analyze-a11y-CIUgxof5.mjs → analyze-a11y-D9kcJd4V.mjs} +1 -1
- package/dist/analyze-a11y.mjs +1 -1
- package/dist/bin.mjs +7 -7
- package/dist/{build-CdrXnoeC.mjs → build-COYTpqLS.mjs} +1 -1
- package/dist/{build-DaUZ-2nh.mjs → build-Co_acl_m.mjs} +1 -1
- package/dist/{build-B8vpBstn.mjs → build-OXa5C-Js.mjs} +1 -1
- package/dist/{build-tokens-CgVRGhWn.mjs → build-tokens-CYvuLVnW.mjs} +1 -1
- package/dist/{build-tokens-MUVYxPgL.mjs → build-tokens-CvETV12u.mjs} +1 -1
- package/dist/{build-tokens-CXralqMI.mjs → build-tokens-TlRhtYpk.mjs} +1 -1
- package/dist/build-tokens.mjs +1 -1
- package/dist/build.mjs +1 -1
- package/dist/{changelog-CYBTYQwa.mjs → changelog-DQPyq2OM.mjs} +1 -1
- package/dist/{changelog-CqQ10VX7.mjs → changelog-Tq_FLxW8.mjs} +1 -1
- package/dist/{changelog-CEpOPh7g.mjs → changelog-WnNqx3-m.mjs} +1 -1
- package/dist/changelog.mjs +8 -1
- package/dist/{command-Ctc8sFzw.mjs → command-B2hIVpMd.mjs} +1 -1
- package/dist/{command-DN8Hh9nv.mjs → command-Dkh5I9AQ.mjs} +1 -1
- package/dist/{command-ma23aimr.mjs → command-HTnZcAMm.mjs} +1 -1
- package/dist/completions-bash-config.mjs +1 -1
- package/dist/completions-bash-script.mjs +1 -1
- package/dist/completions-fish-config.mjs +1 -1
- package/dist/completions-fish-script.mjs +1 -1
- package/dist/completions-powershell-config.mjs +1 -1
- package/dist/completions-powershell-script.mjs +1 -1
- package/dist/completions-zsh-config.mjs +1 -1
- package/dist/completions-zsh-script.mjs +1 -1
- package/dist/{config-B_cfAcHG.mjs → config-BDG7SGmT.mjs} +1 -1
- package/dist/{config-BG8Xa_R3.mjs → config-BPztUwm6.mjs} +1 -1
- package/dist/{config-DwHBWlmD.mjs → config-BRZW2CwA.mjs} +1 -1
- package/dist/{config-BglBeKfv.mjs → config-C051qncg.mjs} +1 -1
- package/dist/{config-_ugsHLDk.mjs → config-CKI9Km8m.mjs} +1 -1
- package/dist/{config-BVrg4X_h.mjs → config-CM9Viozf.mjs} +1 -1
- package/dist/{config-BjXBge0D.mjs → config-ClUPHQrV.mjs} +1 -1
- package/dist/{config-DwNsLqhK.mjs → config-DJo6Iwfs.mjs} +1 -1
- package/dist/{config-p3y_SMhM.mjs → config-DNYHfjZW.mjs} +1 -1
- package/dist/{config-BFHCKQeI.mjs → config-DOHV-YmV.mjs} +1 -1
- package/dist/{config-B1FQUY85.mjs → config-DVDTaJMG.mjs} +1 -1
- package/dist/{config-CobbKNJX.mjs → config-lIfODZZf.mjs} +1 -1
- package/dist/{console-DzNp5mZS.mjs → console-BA1i75Zc.mjs} +1 -1
- package/dist/{console-VU4t5-dd.mjs → console-UMG6HKzD.mjs} +1 -1
- package/dist/{console-oi0EGLkC.mjs → console-bRqcjT1h.mjs} +1 -1
- package/dist/{design-system-7uB7cq4C.mjs → design-system-BEyQyTXJ.mjs} +1 -1
- package/dist/{diff-CbmHElwd.mjs → diff-BW0Di47p.mjs} +1 -1
- package/dist/{diff-xpGQQAkY.mjs → diff-CwYt7jk-.mjs} +1 -1
- package/dist/{diff-BOGXnQvf.mjs → diff-fHW5UuIO.mjs} +1 -1
- package/dist/diff.mjs +1 -1
- package/dist/{docs-COvD5MrU.mjs → docs-BmIxwi38.mjs} +1 -1
- package/dist/{docs-DtOj8VZ2.mjs → docs-Dh80_wSF.mjs} +1 -1
- package/dist/{docs-B9MVL7Tt.mjs → docs-W0ZOZkUs.mjs} +1 -1
- package/dist/docs.mjs +1 -1
- package/dist/{guidelines-CO6QiHe0.mjs → guidelines-Besp2klo.mjs} +1 -1
- package/dist/{guidelines-DzzPVRep.mjs → guidelines-DzwylDxU.mjs} +1 -1
- package/dist/{guidelines-B_Je-oxs.mjs → guidelines-Ya2zYILf.mjs} +1 -1
- package/dist/guidelines.mjs +1 -1
- package/dist/help.mjs +1 -1
- package/dist/{info-DeLi1qqw.mjs → info-BHpdJCyP.mjs} +1 -1
- package/dist/{info-dlZeCrRz.mjs → info-CUg4xV4D.mjs} +1 -1
- package/dist/{info-B32eZvbO.mjs → info-FYdMgEG8.mjs} +1 -1
- package/dist/info.mjs +1 -1
- package/dist/{init-CUEl2J_i.mjs → init-CpD7aphv.mjs} +1 -1
- package/dist/{init-ClD2MIjC.mjs → init-CyflWhLF.mjs} +1 -1
- package/dist/{init-C-c47Cw3.mjs → init-Dluk3bQq.mjs} +1 -1
- package/dist/init.mjs +1 -1
- package/dist/{list-components-BapkcuIc.mjs → list-components-Ciwb-giO.mjs} +1 -1
- package/dist/{list-components-Bx6kVpfL.mjs → list-components-FzIZYBx3.mjs} +1 -1
- package/dist/{list-components-BDkugFhD.mjs → list-components-zDz6Jct2.mjs} +1 -1
- package/dist/list-components.mjs +1 -1
- package/dist/{list-fonts-DIq2X9Dk.mjs → list-fonts-75rW6Ou7.mjs} +1 -1
- package/dist/{list-fonts-Y8vCu4Ke.mjs → list-fonts-C6Wm7fEj.mjs} +1 -1
- package/dist/{list-fonts-BrRYOX_9.mjs → list-fonts-CF2cQcoO.mjs} +1 -1
- package/dist/list-fonts.mjs +1 -1
- package/dist/{list-icons-DBOxqZ4z.mjs → list-icons-CZPNEVaJ.mjs} +1 -1
- package/dist/{list-icons-mgPtmN2_.mjs → list-icons-CcKp7ofD.mjs} +1 -1
- package/dist/{list-icons-CxGSl7iP.mjs → list-icons-Da-UuzRK.mjs} +1 -1
- package/dist/list-icons.mjs +1 -1
- package/dist/{list-tokens-DFzcsVYF.mjs → list-tokens-BS9cxKts.mjs} +1 -1
- package/dist/{list-tokens-Dl-YP1Zo.mjs → list-tokens-CUsCSGqA.mjs} +1 -1
- package/dist/{list-tokens-aG6ghpRP.mjs → list-tokens-WpYq1_25.mjs} +1 -1
- package/dist/list-tokens.mjs +1 -1
- package/dist/{mcp-AdPKHa-a.mjs → mcp-6jFL3ATe.mjs} +1 -1
- package/dist/{mcp-DwJRBip7.mjs → mcp-DACKzepT.mjs} +1 -1
- package/dist/{mcp-iFvmZp2s.mjs → mcp-DxgI7C6C.mjs} +1 -1
- package/dist/mcp.mjs +1 -1
- package/dist/{plan-Ctr2nNia.mjs → plan-Bw9VdOS2.mjs} +1 -1
- package/dist/{plan-LWfDD_K_.mjs → plan-BwUx0IJL.mjs} +1 -1
- package/dist/{plan-NgHhDx8V.mjs → plan-Db9OVLCK.mjs} +1 -1
- package/dist/plan.mjs +1 -1
- package/dist/{prompts-C4lYYnBP.mjs → prompts-CfcLMop5.mjs} +1 -1
- package/dist/{prompts-ChzR6Fvt.mjs → prompts-eNB1V-LH.mjs} +1 -1
- package/dist/{prompts-Ds-RgQW6.mjs → prompts-wMT97zmH.mjs} +1 -1
- package/dist/{registry-D34oJBe9.mjs → registry-Btxde2Df.mjs} +1 -1
- package/dist/{registry-IcpyEv53.mjs → registry-DTu7dRe3.mjs} +1 -1
- package/dist/{registry-kX5h1kc8.mjs → registry-FUN9cO_c.mjs} +1 -1
- package/dist/registry-validate.mjs +1 -1
- package/dist/{script-CS5tI7ub.mjs → script-BJGJXn0D.mjs} +1 -1
- package/dist/{script-DEre0PVy.mjs → script-Bu4_Nyn_.mjs} +1 -1
- package/dist/{script-JtnuiJoT.mjs → script-BuvrJAN8.mjs} +1 -1
- package/dist/{script-tJwJ8OLe.mjs → script-Bzm1_4Gf.mjs} +1 -1
- package/dist/{script-CEHvOLiG.mjs → script-CGi8FBHr.mjs} +1 -1
- package/dist/{script-FpoUSJBI.mjs → script-CKjmQG7T.mjs} +1 -1
- package/dist/{script-DYOtXv8m.mjs → script-Cc6WGtgY.mjs} +1 -1
- package/dist/{script-DDdEeVqq.mjs → script-ChRVV66C.mjs} +1 -1
- package/dist/{script-DATAWsnZ.mjs → script-D6Y-HCKs.mjs} +1 -1
- package/dist/{script-E95HdCu8.mjs → script-Fc4j1Caf.mjs} +1 -1
- package/dist/{script-9dWxYt98.mjs → script-HG0YHgfx.mjs} +1 -1
- package/dist/{script-11HwTuOv.mjs → script-rEjjnVoS.mjs} +1 -1
- package/dist/{search-C2j3YNMd.mjs → search-BFHOlS29.mjs} +1 -1
- package/dist/{search-Dz0OMbd2.mjs → search-DEQIGuTu.mjs} +1 -1
- package/dist/{search-components-BTTtnD9Q.mjs → search-components-BbLV2xTU.mjs} +1 -1
- package/dist/{search-components-BoXvZEQy.mjs → search-components-CKG5VqWz.mjs} +1 -1
- package/dist/{search-components-3uPqwiD1.mjs → search-components-Cg9bCFxC.mjs} +1 -1
- package/dist/search-components.mjs +1 -1
- package/dist/{search-fonts-CY9c4tWE.mjs → search-fonts-BUiXLcNa.mjs} +1 -1
- package/dist/{search-fonts-DHEVSzV9.mjs → search-fonts-CPnKY_l0.mjs} +1 -1
- package/dist/{search-fonts-BwzZxmBd.mjs → search-fonts-DHVi0Gsu.mjs} +1 -1
- package/dist/search-fonts.mjs +1 -1
- package/dist/{search-icons-Cifh8s-C.mjs → search-icons-BOxUuic5.mjs} +1 -1
- package/dist/{search-icons-bJMdIyLu.mjs → search-icons-C9SmDjFx.mjs} +1 -1
- package/dist/{search-icons-CDqCHerA.mjs → search-icons-CiHphJP-.mjs} +1 -1
- package/dist/search-icons.mjs +1 -1
- package/dist/{search-tokens-Be0373F2.mjs → search-tokens-8jQdIKED.mjs} +1 -1
- package/dist/{search-tokens-Bur42WTj.mjs → search-tokens-D9BQhckp.mjs} +1 -1
- package/dist/{search-tokens-EihPwLXY.mjs → search-tokens-DzEHeP-1.mjs} +1 -1
- package/dist/search-tokens.mjs +1 -1
- package/dist/{search-BpPhcQMU.mjs → search-uvjlZxAY.mjs} +1 -1
- package/dist/search.mjs +1 -1
- package/dist/{update-B7umL4kh.mjs → update-BG7LbwUM.mjs} +1 -1
- package/dist/{update-BWdBHUxz.mjs → update-BlGz1XKy.mjs} +1 -1
- package/dist/{update-Dw7dseyF.mjs → update-CEVTDe01.mjs} +1 -1
- package/dist/{update-CJ3OWyg2.mjs → update-CWbVqTWp.mjs} +1 -1
- package/dist/{update-CQOgL_PK.mjs → update-CblTd-yS.mjs} +1 -1
- package/dist/{update-B9wZ_4T9.mjs → update-CdQ-NTCo.mjs} +1 -1
- package/dist/{update-components-BUDJEkGq.mjs → update-components-CTWwQEPF.mjs} +1 -1
- package/dist/{update-components-C5cVQqPd.mjs → update-components-CrW7hYk-.mjs} +1 -1
- package/dist/{update-components-DdCo44cS.mjs → update-components-E8U93Cd0.mjs} +1 -1
- package/dist/update-components.mjs +1 -1
- package/dist/update.mjs +1 -1
- package/dist/{validate-C4V2Dqa0.mjs → validate-C6GWLzFM.mjs} +1 -1
- package/dist/{validate-CPi1nhg5.mjs → validate-DhRoN9kh.mjs} +1 -1
- package/dist/{validate-A0Ri0Wrt.mjs → validate-Dq1d3eER.mjs} +1 -1
- package/dist/{view-BRYJ0iQ9.mjs → view-BJ-Y3qlo.mjs} +1 -1
- package/dist/{view-awb3ttEK.mjs → view-D3JvpGYi.mjs} +1 -1
- package/dist/{view-B1r3g2pm.mjs → view-Dtx4G8kk.mjs} +1 -1
- package/dist/view.mjs +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-
|
|
1
|
+
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-BA1i75Zc.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.utility?a.tags.utility(n(` Utility `)):a.tags.default(n(` Utility `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`update`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`upgrade`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--latest`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Whether to update to the latest version (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--version <version>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`A specific application version to update to (default: "latest").`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Update command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/update`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-BA1i75Zc.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`update-components`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`update-components`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--diff`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the changes as a diff without writing files.`),align:`left`,border:`none`}],[{value:i.body.primary(`--dry-run`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Preview changes without writing files.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Override the configured registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Update Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/update-components`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-UMG6HKzD.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`update-components`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`update-components`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--diff`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the changes as a diff without writing files.`),align:`left`,border:`none`}],[{value:i.body.primary(`--dry-run`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Preview changes without writing files.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Override the configured registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Update Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/update-components`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-bRqcjT1h.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`update-components`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`update-components`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--diff`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the changes as a diff without writing files.`),align:`left`,border:`none`}],[{value:i.body.primary(`--dry-run`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Preview changes without writing files.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Override the configured registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Update Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/update-components`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./prompts-
|
|
1
|
+
import{a as e}from"./prompts-CfcLMop5.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,O as c,R as l,U as u,V as d,d as f,j as p,k as m,n as h,q as g,s as _,t as v,u as y,v as b,w as x,x as S,y as C,z as w}from"./console-UMG6HKzD.mjs";import{t as T}from"./update-components-CrW7hYk-.mjs";import{t as E}from"./update-BG7LbwUM.mjs";import{i as D,n as O,o as k,r as A,t as j}from"./components-DgGs4QvU.mjs";import{a as M,l as N,o as P,u as F}from"./config-BwGb7RTa.mjs";import{resolve as I}from"node:path";import{rm as L}from"node:fs/promises";async function R(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),m(``),m(h.banner.outline.primary(`┏`)+h.banner.outline.primary(`━`.repeat(6))+` `+x.banner.header.primary(`⬤`)+` `+h.banner.outline.primary(`━`)+` `+v(x.banner.header.primary(`Cyclone CLI v0.6.64`))+` `+h.banner.outline.primary(`━`.repeat(Math.max(p().columns-33,0)))+h.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>S(e).length))>Math.max(p().columns+30,20)?`Cyclone UI`:`\n${e.join(`
|
|
2
2
|
`)}\n`;C(i,Math.max(p().columns-30,20)).forEach(e=>{m(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((p().columns-(S(e).length+2))/2),0))+v(x.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((p().columns-(S(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),m(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((p().columns-(S(`Update Components`).length+2))/2),0))+v(x.banner.command.primary(`Update Components`))+` `.repeat(Math.max(Math.ceil((p().columns-(S(`Update Components`).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),C(v(x.banner.description.primary(`Updates installed components to the latest registry version. Local edits to their files are overwritten. Do not change installed or added Cyclone UI component files unless the user specifically instructs you to do so.`)),Math.max(60>p().columns/2?p().columns-6:p().columns-30,20)).forEach(e=>{m(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((p().columns-(S(e).length+2))/2),0))+x.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((p().columns-(S(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),m(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(p().columns-2,0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),m(h.banner.outline.primary(`┗`)+h.banner.outline.primary(`━`.repeat(Math.max(p().columns-32,0)))+` `+v(x.banner.footer.primary(`https://cyclone-ui.com`))+` `+h.banner.outline.primary(`━`.repeat(6))+h.banner.outline.primary(`┛`),{consoleFn:console.log}),m(``),o&&!l()&&await t(n)}async function z(e,t=[]){let n=I(e.cwd??process.cwd()),r=await M(n),i=Object.keys(r.components),a=t.length>0?t.map(N):i,o=a.filter(e=>!r.components[e]);if(o.length>0)throw Error(`Not installed: ${o.join(`, `)}. Use "cyclone-ui add" instead.`);if(a.length===0)throw Error(`No installed components to update.`);let s=e.dryRun===!0||e.diff===!0,l=await A(F(e.registry??r.registry),r,a,{root:n,overwrite:!0,dryRun:s}),u=O(r,l,n);if(e.diff?c(D(l,n)):e.silent||c(k(u,{gray:y,green:f,red:b,dim:_})),await j(r,l,{root:n,overwrite:!0,dryRun:s}),!s){let e=u.flatMap(e=>e.files.filter(e=>e.status===`removed`).map(e=>e.path));await Promise.all(e.map(async e=>L(P(n,e),{force:!0})))}}async function B(e=w()){let t={...d()};for(let n=0;n<e.slice(0).length;n++){let r=e[n].length>3&&e[n].startsWith(`--`)?`--${e[n].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[n].length>2&&e[n].startsWith(`-`)?`-${e[n].slice(1).replaceAll(`-`,``)}`:e[n];if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`)/^--?(cwd)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.cwd=r.replace(/^--?(cwd)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.cwd=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`dryrun=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`dryrun`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`dryrun=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`dryrun`){if(/^--?(dryrun)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(dryrun)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.dryRun=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else t.dryRun=!0}else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`diff=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`diff`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`diff=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`diff`){if(/^--?(diff)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(diff)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.diff=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else t.diff=!0}else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`silent=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`silent`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`silent=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`silent`){if(/^--?(silent)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(silent)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.silent=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else t.silent=!0}else(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`)&&(/^--?(registry)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.registry=r.replace(/^--?(registry)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.registry=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``)))}let r=[];for(let t=3;t<e.length;t++)e[t].length>1&&e[t].startsWith(`-`)?!e[t].includes(`=`)&&/^(cwd|registry)$/.test(e[t].startsWith(`--`)?e[t].slice(2).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``):e[t].slice(1))&&t++:r.push(e[t]);let o=[];return r.length>0&&(o=r.slice(0,r.length-0).flatMap(e=>e.split(`,`)).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)),a(`quiet`)||(await R(),await E()),!l()&&!a(`quiet`)&&(m(``),(i||g||n.LOG_LEVEL===`debug`)&&m(x.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?T():u(`update-components`,[`update-components`],[t,o],z)}export{B as handler};
|
package/dist/update.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./prompts-
|
|
1
|
+
import{a as e}from"./prompts-CfcLMop5.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,R as c,U as l,V as u,j as d,k as f,n as p,q as m,t as h,w as g,x as _,y as v,z as y}from"./console-UMG6HKzD.mjs";import{t as b}from"./update-CWbVqTWp.mjs";import{t as x}from"./update-BG7LbwUM.mjs";async function S(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),f(``),f(p.banner.outline.primary(`┏`)+p.banner.outline.primary(`━`.repeat(6))+` `+g.banner.header.primary(`⬤`)+` `+p.banner.outline.primary(`━`)+` `+h(g.banner.header.primary(`Cyclone CLI v0.6.64`))+` `+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-33,0)))+p.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>_(e).length))>Math.max(d().columns+30,20)?`Cyclone UI`:`\n${e.join(`
|
|
2
2
|
`)}\n`;v(i,Math.max(d().columns-30,20)).forEach(e=>{f(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(_(e).length+2))/2),0))+h(g.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((d().columns-(_(e).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log})}),f(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(_(`Update`).length+2))/2),0))+h(g.banner.command.primary(`Update`))+` `.repeat(Math.max(Math.ceil((d().columns-(_(`Update`).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log}),v(h(g.banner.description.primary(`A command for checking and updating the version of the Cyclone User Interface command-line interface application.`)),Math.max(60>d().columns/2?d().columns-6:d().columns-30,20)).forEach(e=>{f(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(_(e).length+2))/2),0))+g.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((d().columns-(_(e).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log})}),f(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(d().columns-2,0))+p.banner.outline.primary(`┃`),{consoleFn:console.log}),f(p.banner.outline.primary(`┗`)+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-32,0)))+` `+h(g.banner.footer.primary(`https://cyclone-ui.com`))+` `+p.banner.outline.primary(`━`.repeat(6))+p.banner.outline.primary(`┛`),{consoleFn:console.log}),f(``),o&&!c()&&await t(n)}async function C(e){}async function w(e=y()){let t={...u(),latest:!1,version:`latest`};for(let n=0;n<e.slice(0).length;n++){let r=e[n].length>3&&e[n].startsWith(`--`)?`--${e[n].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[n].length>2&&e[n].startsWith(`-`)?`-${e[n].slice(1).replaceAll(`-`,``)}`:e[n];if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`latest=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`latest`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`latest=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`latest`){if(/^--?(latest)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(latest)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.latest=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else t.latest=!0}else(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`version=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`version`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`version=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`version`)&&(/^--?(version)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.version=r.replace(/^--?(version)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.version=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``)))}return a(`quiet`)||(await S(),await x()),!c()&&!a(`quiet`)&&(f(``),(i||m||n.LOG_LEVEL===`debug`)&&f(g.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?b():l(`update`,[`update`],[t],C)}export{w as handler};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-BA1i75Zc.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`registry`)} ${i.usage.command(`validate`)} ${i.usage.args(`<registry>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`registry`)} ${i.usage.command(`validate`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<registry>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Validate Registry command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/registry/validate`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-bRqcjT1h.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`registry`)} ${i.usage.command(`validate`)} ${i.usage.args(`<registry>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`registry`)} ${i.usage.command(`validate`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<registry>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Validate Registry command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/registry/validate`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-UMG6HKzD.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`registry`)} ${i.usage.command(`validate`)} ${i.usage.args(`<registry>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`registry`)} ${i.usage.command(`validate`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<registry>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Validate Registry command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/registry/validate`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-UMG6HKzD.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`view`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`view`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the View Registry Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/view`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-bRqcjT1h.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`view`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`view`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the View Registry Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/view`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-BA1i75Zc.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`view`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`view`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the View Registry Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/view`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
package/dist/view.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as e,r as t,t as n}from"./prompts-
|
|
1
|
+
import{a as e,r as t,t as n}from"./prompts-CfcLMop5.mjs";import{F as r,G as i,H as a,J as o,L as s,M as c,N as l,O as u,R as d,U as f,V as p,g as m,j as h,k as g,l as _,n as v,q as y,t as b,w as x,x as S,y as C,z as w}from"./console-UMG6HKzD.mjs";import{t as T}from"./view-BJ-Y3qlo.mjs";import{t as E}from"./update-BG7LbwUM.mjs";import{i as D,u as O}from"./config-BwGb7RTa.mjs";import{resolve as k}from"node:path";async function A(t=500){if(a().get(`is-banner-displayed`)||s(`no-banner`)||s(`hide-banner`)||l)return;a().set(`is-banner-displayed`,!0),g(``),g(v.banner.outline.primary(`┏`)+v.banner.outline.primary(`━`.repeat(6))+` `+x.banner.header.primary(`⬤`)+` `+v.banner.outline.primary(`━`)+` `+b(x.banner.header.primary(`Cyclone CLI v0.6.64`))+` `+v.banner.outline.primary(`━`.repeat(Math.max(h().columns-33,0)))+v.banner.outline.primary(`┓`),{consoleFn:console.log});let n=Math.max(...e.map(e=>S(e).length))>Math.max(h().columns+30,20)?`Cyclone UI`:`\n${e.join(`
|
|
2
2
|
`)}\n`;C(n,Math.max(h().columns-30,20)).forEach(e=>{g(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(S(e).length+2))/2),0))+b(x.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((h().columns-(S(e).length+2))/2),0))+v.banner.outline.primary(`┃`),{consoleFn:console.log})}),g(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(S(`View Registry Components`).length+2))/2),0))+b(x.banner.command.primary(`View Registry Components`))+` `.repeat(Math.max(Math.ceil((h().columns-(S(`View Registry Components`).length+2))/2),0))+v.banner.outline.primary(`┃`),{consoleFn:console.log}),C(b(x.banner.description.primary(`View component metadata and files from the registry. Do not change installed or added Cyclone UI component files unless the user specifically instructs you to do so.`)),Math.max(60>h().columns/2?h().columns-6:h().columns-30,20)).forEach(e=>{g(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(S(e).length+2))/2),0))+x.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((h().columns-(S(e).length+2))/2),0))+v.banner.outline.primary(`┃`),{consoleFn:console.log})}),g(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(h().columns-2,0))+v.banner.outline.primary(`┃`),{consoleFn:console.log}),g(v.banner.outline.primary(`┗`)+v.banner.outline.primary(`━`.repeat(Math.max(h().columns-32,0)))+` `+b(x.banner.footer.primary(`https://cyclone-ui.com`))+` `+v.banner.outline.primary(`━`.repeat(6))+v.banner.outline.primary(`┛`),{consoleFn:console.log}),g(``),c&&!d()&&await r(t)}async function j(e,t){let n=k(e.cwd??process.cwd()),r=await D(n),i=O(e.registry??r?.registry??`https://public.storm-cdn.com/cyclone-ui/registry`);u(JSON.stringify(await Promise.all(t.map(e=>i.components.get.query(e))),null,2))}async function M(e=w()){let r={...p()};for(let t=0;t<e.slice(0).length;t++){let n=e[t].length>3&&e[t].startsWith(`--`)?`--${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`-${e[t].slice(1).replaceAll(`-`,``)}`:e[t];n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`?/^--?(cwd)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?r.cwd=n.replace(/^--?(cwd)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>t+1&&(r.cwd=e[++t].trim().replace(/^("|')/,``).replace(/("|')$/,``)):(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`)&&(/^--?(registry)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?r.registry=n.replace(/^--?(registry)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>t+1&&(r.registry=e[++t].trim().replace(/^("|')/,``).replace(/("|')$/,``)))}let a=[];for(let t=3;t<e.length;t++)e[t].length>1&&e[t].startsWith(`-`)?!e[t].includes(`=`)&&/^(cwd|registry)$/.test(e[t].startsWith(`--`)?e[t].slice(2).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``):e[t].slice(1))&&t++:a.push(e[t]);let l=[];if(a.length>0&&(l=a.slice(0,a.length-0).flatMap(e=>e.split(`,`)).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)),s(`quiet`)||(await A(),await E()),!d()&&!s(`quiet`)&&(g(``),(o||y||i.LOG_LEVEL===`debug`)&&g(x.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),!c){let e=[];l?l.length===0&&e.push(`No values were provided to the required "components" array positional argument`):e.push(`Missing required "components" positional argument`)}else if(!d()&&(!l||l.length===0)){if(g(``),!l){let e=await t({message:`Please provide a value for the ${m(`components`)} argument`,description:`Component names to view.`,validate(e){return!e||e.trim()===``?`A value must be provided for this argument`:null}});if(n(e))return;l=e}else if(l.length===0){let e=await t({message:`Please provide one or more values for the ${m(`components`)} argument (values are separated by a \",\" character)`,description:`Component names to view.`,validate(e){if(!e||e.trim()===``)return`A value must be provided for this argument`;if(e.split(`,`).map(e=>e.trim()).filter(Boolean).length===0)return`At least one value must be provided for this argument`}});if(n(e))return;l=e.split(`,`).map(e=>e.trim()).filter(Boolean)}g(``);let e=[];l?l.length===0&&e.push(`No values were provided to the required "components" array positional argument`):e.push(`Missing required "components" positional argument`),e.length>0&&(_(`The following validation failures were found while processing the user provided input, and must be corrected before the ${m(`View Registry Components`)} command can be executed: \n\n${e.map(e=>` - `+e).join(`
|
|
3
3
|
`)}`),r.help=!0)}return r.help?T():f(`view`,[`view`],[r,l],j)}export{M as handler};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyclone-ui/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.65",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "🌀 Tamagui based design components used by Storm Software. Like shadcn/ui, the components are copied into other repositories via the Cyclone CLI.",
|
|
6
6
|
"repository": {
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"files": ["dist"],
|
|
42
42
|
"keywords": ["cli", "cyclone-ui", "storm-software", "shell-shock"],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@cyclone-ui/registry-api": "0.3.
|
|
45
|
-
"@cyclone-ui/theme-builder": "0.0.
|
|
44
|
+
"@cyclone-ui/registry-api": "0.3.73",
|
|
45
|
+
"@cyclone-ui/theme-builder": "0.0.63",
|
|
46
46
|
"@modelcontextprotocol/server": "^2.4.0",
|
|
47
47
|
"@powerlines/plugin-env": "^0.16.428",
|
|
48
48
|
"@razorwind/core": "^0.0.110",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"./update-components": "./dist/update-components.mjs",
|
|
102
102
|
"./view": "./dist/view.mjs"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "7cee19f88ba9fe0b471f1a9955ae972c5474c6c0"
|
|
105
105
|
}
|