powerlines 0.47.124 → 0.47.126
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/bin/bin.mjs +9 -0
- package/bin/build-CJIAgNA5.mjs +1 -0
- package/bin/build.mjs +5 -0
- package/bin/changelog-d-cmenYB.mjs +1 -0
- package/bin/changelog.mjs +527 -0
- package/bin/clean-dutxbMO3.mjs +1 -0
- package/bin/clean.mjs +5 -0
- package/bin/completions-bash-config.mjs +9 -0
- package/bin/completions-bash-script.mjs +9 -0
- package/bin/completions-fish-config.mjs +9 -0
- package/bin/completions-fish-script.mjs +9 -0
- package/bin/completions-powershell-config.mjs +9 -0
- package/bin/completions-powershell-script.mjs +9 -0
- package/bin/completions-zsh-config.mjs +9 -0
- package/bin/completions-zsh-script.mjs +9 -0
- package/bin/config-B0hTZO6E.mjs +1 -0
- package/bin/config-BJFVoVkf.mjs +1 -0
- package/bin/config-BaNVYrnl.mjs +1 -0
- package/bin/config-Bf2LnULJ.mjs +1 -0
- package/bin/create-DYKxyvzg.mjs +1 -0
- package/bin/create-powerlines-DvusHjN3.mjs +1 -0
- package/bin/create.mjs +5 -0
- package/bin/deploy-BMhOgvx4.mjs +1 -0
- package/bin/deploy.mjs +5 -0
- package/bin/docs-CAUeTrLz.mjs +1 -0
- package/bin/docs.mjs +5 -0
- package/bin/gc-DZjHvUuc.mjs +1 -0
- package/bin/gc.mjs +7 -0
- package/bin/help.mjs +5 -0
- package/bin/lint-DdDmoyDN.mjs +1 -0
- package/bin/lint.mjs +5 -0
- package/bin/prepare-Yz_6EWzB.mjs +1 -0
- package/bin/prepare.mjs +5 -0
- package/bin/prompts-BnlPjHFR.mjs +26 -0
- package/bin/script-B97oHT_M.mjs +1 -0
- package/bin/script-Bn4yCHJR.mjs +1 -0
- package/bin/script-DGDOPq0P.mjs +1 -0
- package/bin/script-Di-8LIT0.mjs +1 -0
- package/bin/shared-BiFPKQIb.mjs +235 -0
- package/bin/shared-CLQvIZ7z.mjs +216 -0
- package/bin/shared-ClfTGQiY.mjs +249 -0
- package/bin/shared-D6Uc3liR.mjs +103 -0
- package/bin/types-BhiTsmcq.mjs +1 -0
- package/bin/types.mjs +5 -0
- package/bin/upgrade-aCJAI3aA.mjs +1 -0
- package/bin/upgrade-yP6Jdrm0.mjs +1 -0
- package/bin/upgrade.mjs +5 -0
- package/bin/zsh-Cve0Syog.mjs +3 -0
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/package.json +7 -7
package/bin/bin.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import{B as e,F as t,G as n,H as r,I as i,J as a,M as o,N as s,O as c,P as l,R as u,T as d,U as f,V as p,X as m,Z as h,a as g,f as _,k as v,n as y,o as b,q as x,r as S,t as C,w}from"./prompts-BnlPjHFR.mjs";import{a as T,i as E,n as D,o as O,r as k,t as A}from"./zsh-Cve0Syog.mjs";async function j(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),o(``),o(b.banner.outline.primary(`┏`)+b.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+b.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.47.125`))+` `+b.banner.outline.primary(`━`.repeat(Math.max(l().columns-38,0)))+b.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];w(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
|
|
4
|
+
`)}\n`,Math.max(l().columns-30,20)).forEach(e=>{o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Command Line Interface`).length+2))/2),0))+g(c.banner.command.primary(`Command Line Interface`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Command Line Interface`).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),w(g(c.banner.description.primary(`The "framework framework" that simplifies modern dev tool usage, generates virtual (or actual) code modules, and improves DX across the board.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),o(b.banner.outline.primary(`┗`)+b.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+b.banner.outline.primary(`━`.repeat(6))+b.banner.outline.primary(`┛`),{consoleFn:console.log}),o(``),t&&!p()&&await u(r)}async function M(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),o(``),o(b.banner.outline.primary(`┏`)+b.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+b.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.47.125`))+` `+b.banner.outline.primary(`━`.repeat(Math.max(l().columns-38,0)))+b.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];w(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
|
|
5
|
+
`)}\n`,Math.max(l().columns-30,20)).forEach(e=>{o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Completions`).length+2))/2),0))+g(c.banner.command.primary(`Completions`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Completions`).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),w(g(c.banner.description.primary(`Commands for generating shell completion scripts for Command Line Interface.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),o(b.banner.outline.primary(`┗`)+b.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+b.banner.outline.primary(`━`.repeat(6))+b.banner.outline.primary(`┛`),{consoleFn:console.log}),o(``),t&&!p()&&await u(r)}async function N(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),o(``),o(b.banner.outline.primary(`┏`)+b.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+b.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.47.125`))+` `+b.banner.outline.primary(`━`.repeat(Math.max(l().columns-38,0)))+b.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];w(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
|
|
6
|
+
`)}\n`,Math.max(l().columns-30,20)).forEach(e=>{o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Completions - Bash`).length+2))/2),0))+g(c.banner.command.primary(`Completions - Bash`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Completions - Bash`).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),w(g(c.banner.description.primary(`Commands to setup bash completions for the command-line interface.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),o(b.banner.outline.primary(`┗`)+b.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+b.banner.outline.primary(`━`.repeat(6))+b.banner.outline.primary(`┛`),{consoleFn:console.log}),o(``),t&&!p()&&await u(r)}async function P(e=r()){let n=``;if(e.length>4&&e[4]&&(n=e[4]),!n.startsWith(`-`)){if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`config`)return(await import(`./completions-bash-config.mjs`).then(e=>e.handler))(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`script`)return(await import(`./completions-bash-script.mjs`).then(e=>e.handler))(e);if(n&&!n.startsWith(`-`)){let e=s(n,[`config`,`script`]).slice(0,3);_(`Unknown command: "${n}"${e&&e.length>0?`, did you mean: ${e.length===1?`"${e[0]}"`:e.map((t,n)=>n<e.length-1?`"${t}", `:`or "${t}"`)}?`:``} `)}}if(t&&!p()){await N();let t=await y({message:`Which command would you like to execute?`,options:[{value:[`completions`,`bash`,`config`],label:`Completions - Bash Configuration`,description:`(cli completions bash config)`,icon:`🖵`},{value:[`completions`,`bash`,`script`],label:`Completions - Bash Script`,description:`(cli completions bash script)`,icon:`🖵`}]});if(C(t))return;let r={};for(let e of t.filter(e=>e.startsWith(`[`)&&e.endsWith(`]`))){let t=await S({message:`Please provide a value for ${e.replace(/^[+/, "").replace(/]+$/,``)}:`});if(C(t))return;r[e]=t}t=t.map(e=>r[e]||e);let i=f();if(i&&(i.inputArgs=[e.length>0?e[0]:void 0,e.length>1?e[1]:void 0,...t,...e.slice(4)].filter(Boolean)),n=t[0],e=i.inputArgs,!n.startsWith(`-`)){if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`config`)return(await import(`./completions-bash-config.mjs`).then(e=>e.handler))(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`script`)return(await import(`./completions-bash-script.mjs`).then(e=>e.handler))(e);if(n&&!n.startsWith(`-`)){let e=s(n,[`config`,`script`]).slice(0,3);_(`Unknown command: "${n}"${e&&e.length>0?`, did you mean: ${e.length===1?`"${e[0]}"`:e.map((t,n)=>n<e.length-1?`"${t}", `:`or "${t}"`)}?`:``} `)}}}return E()}async function F(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),o(``),o(b.banner.outline.primary(`┏`)+b.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+b.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.47.125`))+` `+b.banner.outline.primary(`━`.repeat(Math.max(l().columns-38,0)))+b.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];w(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
|
|
7
|
+
`)}\n`,Math.max(l().columns-30,20)).forEach(e=>{o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Completions - Fish`).length+2))/2),0))+g(c.banner.command.primary(`Completions - Fish`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Completions - Fish`).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),w(g(c.banner.description.primary(`Commands to setup Fish completions for the command-line interface.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),o(b.banner.outline.primary(`┗`)+b.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+b.banner.outline.primary(`━`.repeat(6))+b.banner.outline.primary(`┛`),{consoleFn:console.log}),o(``),t&&!p()&&await u(r)}async function I(e=r()){let n=``;if(e.length>4&&e[4]&&(n=e[4]),!n.startsWith(`-`)){if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`config`)return(await import(`./completions-fish-config.mjs`).then(e=>e.handler))(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`script`)return(await import(`./completions-fish-script.mjs`).then(e=>e.handler))(e);if(n&&!n.startsWith(`-`)){let e=s(n,[`config`,`script`]).slice(0,3);_(`Unknown command: "${n}"${e&&e.length>0?`, did you mean: ${e.length===1?`"${e[0]}"`:e.map((t,n)=>n<e.length-1?`"${t}", `:`or "${t}"`)}?`:``} `)}}if(t&&!p()){await F();let t=await y({message:`Which command would you like to execute?`,options:[{value:[`completions`,`fish`,`config`],label:`Completions - Fish Configuration`,description:`(cli completions fish config)`,icon:`🖵`},{value:[`completions`,`fish`,`script`],label:`Completions - Fish Script`,description:`(cli completions fish script)`,icon:`🖵`}]});if(C(t))return;let r={};for(let e of t.filter(e=>e.startsWith(`[`)&&e.endsWith(`]`))){let t=await S({message:`Please provide a value for ${e.replace(/^[+/, "").replace(/]+$/,``)}:`});if(C(t))return;r[e]=t}t=t.map(e=>r[e]||e);let i=f();if(i&&(i.inputArgs=[e.length>0?e[0]:void 0,e.length>1?e[1]:void 0,...t,...e.slice(4)].filter(Boolean)),n=t[0],e=i.inputArgs,!n.startsWith(`-`)){if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`config`)return(await import(`./completions-fish-config.mjs`).then(e=>e.handler))(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`script`)return(await import(`./completions-fish-script.mjs`).then(e=>e.handler))(e);if(n&&!n.startsWith(`-`)){let e=s(n,[`config`,`script`]).slice(0,3);_(`Unknown command: "${n}"${e&&e.length>0?`, did you mean: ${e.length===1?`"${e[0]}"`:e.map((t,n)=>n<e.length-1?`"${t}", `:`or "${t}"`)}?`:``} `)}}}return k()}async function L(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),o(``),o(b.banner.outline.primary(`┏`)+b.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+b.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.47.125`))+` `+b.banner.outline.primary(`━`.repeat(Math.max(l().columns-38,0)))+b.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];w(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
|
|
8
|
+
`)}\n`,Math.max(l().columns-30,20)).forEach(e=>{o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Completions - PowerShell`).length+2))/2),0))+g(c.banner.command.primary(`Completions - PowerShell`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Completions - PowerShell`).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),w(g(c.banner.description.primary(`Commands to setup PowerShell completions for the command-line interface.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),o(b.banner.outline.primary(`┗`)+b.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+b.banner.outline.primary(`━`.repeat(6))+b.banner.outline.primary(`┛`),{consoleFn:console.log}),o(``),t&&!p()&&await u(r)}async function R(e=r()){let n=``;if(e.length>4&&e[4]&&(n=e[4]),!n.startsWith(`-`)){if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`script`)return(await import(`./completions-powershell-script.mjs`).then(e=>e.handler))(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`config`)return(await import(`./completions-powershell-config.mjs`).then(e=>e.handler))(e);if(n&&!n.startsWith(`-`)){let e=s(n,[`script`,`config`]).slice(0,3);_(`Unknown command: "${n}"${e&&e.length>0?`, did you mean: ${e.length===1?`"${e[0]}"`:e.map((t,n)=>n<e.length-1?`"${t}", `:`or "${t}"`)}?`:``} `)}}if(t&&!p()){await L();let t=await y({message:`Which command would you like to execute?`,options:[{value:[`completions`,`powershell`,`script`],label:`Completions - PowerShell Script`,description:`(cli completions powershell script)`,icon:`🖵`},{value:[`completions`,`powershell`,`config`],label:`Completions - PowerShell Configuration`,description:`(cli completions powershell config)`,icon:`🖵`}]});if(C(t))return;let r={};for(let e of t.filter(e=>e.startsWith(`[`)&&e.endsWith(`]`))){let t=await S({message:`Please provide a value for ${e.replace(/^[+/, "").replace(/]+$/,``)}:`});if(C(t))return;r[e]=t}t=t.map(e=>r[e]||e);let i=f();if(i&&(i.inputArgs=[e.length>0?e[0]:void 0,e.length>1?e[1]:void 0,...t,...e.slice(4)].filter(Boolean)),n=t[0],e=i.inputArgs,!n.startsWith(`-`)){if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`script`)return(await import(`./completions-powershell-script.mjs`).then(e=>e.handler))(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`config`)return(await import(`./completions-powershell-config.mjs`).then(e=>e.handler))(e);if(n&&!n.startsWith(`-`)){let e=s(n,[`script`,`config`]).slice(0,3);_(`Unknown command: "${n}"${e&&e.length>0?`, did you mean: ${e.length===1?`"${e[0]}"`:e.map((t,n)=>n<e.length-1?`"${t}", `:`or "${t}"`)}?`:``} `)}}}return D()}async function z(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),o(``),o(b.banner.outline.primary(`┏`)+b.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+b.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.47.125`))+` `+b.banner.outline.primary(`━`.repeat(Math.max(l().columns-38,0)))+b.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];w(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
|
|
9
|
+
`)}\n`,Math.max(l().columns-30,20)).forEach(e=>{o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Completions - Zsh`).length+2))/2),0))+g(c.banner.command.primary(`Completions - Zsh`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Completions - Zsh`).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),w(g(c.banner.description.primary(`Commands to setup Zsh completions for the command-line interface.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),o(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),o(b.banner.outline.primary(`┗`)+b.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+b.banner.outline.primary(`━`.repeat(6))+b.banner.outline.primary(`┛`),{consoleFn:console.log}),o(``),t&&!p()&&await u(r)}async function B(e=r()){let n=``;if(e.length>4&&e[4]&&(n=e[4]),!n.startsWith(`-`)){if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`script`)return(await import(`./completions-zsh-script.mjs`).then(e=>e.handler))(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`config`)return(await import(`./completions-zsh-config.mjs`).then(e=>e.handler))(e);if(n&&!n.startsWith(`-`)){let e=s(n,[`script`,`config`]).slice(0,3);_(`Unknown command: "${n}"${e&&e.length>0?`, did you mean: ${e.length===1?`"${e[0]}"`:e.map((t,n)=>n<e.length-1?`"${t}", `:`or "${t}"`)}?`:``} `)}}if(t&&!p()){await z();let t=await y({message:`Which command would you like to execute?`,options:[{value:[`completions`,`zsh`,`script`],label:`Completions - Zsh Script`,description:`(cli completions zsh script)`,icon:`🖵`},{value:[`completions`,`zsh`,`config`],label:`Completions - Zsh Configuration`,description:`(cli completions zsh config)`,icon:`🖵`}]});if(C(t))return;let r={};for(let e of t.filter(e=>e.startsWith(`[`)&&e.endsWith(`]`))){let t=await S({message:`Please provide a value for ${e.replace(/^[+/, "").replace(/]+$/,``)}:`});if(C(t))return;r[e]=t}t=t.map(e=>r[e]||e);let i=f();if(i&&(i.inputArgs=[e.length>0?e[0]:void 0,e.length>1?e[1]:void 0,...t,...e.slice(4)].filter(Boolean)),n=t[0],e=i.inputArgs,!n.startsWith(`-`)){if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`script`)return(await import(`./completions-zsh-script.mjs`).then(e=>e.handler))(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`config`)return(await import(`./completions-zsh-config.mjs`).then(e=>e.handler))(e);if(n&&!n.startsWith(`-`)){let e=s(n,[`script`,`config`]).slice(0,3);_(`Unknown command: "${n}"${e&&e.length>0?`, did you mean: ${e.length===1?`"${e[0]}"`:e.map((t,n)=>n<e.length-1?`"${t}", `:`or "${t}"`)}?`:``} `)}}}return A()}async function V(e=r()){let n=``;if(e.length>3&&e[3]&&(n=e[3]),!n.startsWith(`-`)){if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`zsh`)return B(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`powershell`)return R(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`bash`)return P(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`fish`)return I(e);if(n&&!n.startsWith(`-`)){let e=s(n,[`zsh`,`powershell`,`bash`,`fish`]).slice(0,3);_(`Unknown command: "${n}"${e&&e.length>0?`, did you mean: ${e.length===1?`"${e[0]}"`:e.map((t,n)=>n<e.length-1?`"${t}", `:`or "${t}"`)}?`:``} `)}}if(t&&!p()){await M();let t=await y({message:`Which command would you like to execute?`,options:[{value:[`completions`,`zsh`,`script`],label:`Completions - Zsh Script`,description:`(cli completions zsh script)`,icon:`🖵`},{value:[`completions`,`zsh`,`config`],label:`Completions - Zsh Configuration`,description:`(cli completions zsh config)`,icon:`🖵`},{value:[`completions`,`powershell`,`script`],label:`Completions - PowerShell Script`,description:`(cli completions powershell script)`,icon:`🖵`},{value:[`completions`,`powershell`,`config`],label:`Completions - PowerShell Configuration`,description:`(cli completions powershell config)`,icon:`🖵`},{value:[`completions`,`bash`,`config`],label:`Completions - Bash Configuration`,description:`(cli completions bash config)`,icon:`🖵`},{value:[`completions`,`bash`,`script`],label:`Completions - Bash Script`,description:`(cli completions bash script)`,icon:`🖵`},{value:[`completions`,`fish`,`config`],label:`Completions - Fish Configuration`,description:`(cli completions fish config)`,icon:`🖵`},{value:[`completions`,`fish`,`script`],label:`Completions - Fish Script`,description:`(cli completions fish script)`,icon:`🖵`}]});if(C(t))return;let r={};for(let e of t.filter(e=>e.startsWith(`[`)&&e.endsWith(`]`))){let t=await S({message:`Please provide a value for ${e.replace(/^[+/, "").replace(/]+$/,``)}:`});if(C(t))return;r[e]=t}t=t.map(e=>r[e]||e);let i=f();if(i&&(i.inputArgs=[e.length>0?e[0]:void 0,e.length>1?e[1]:void 0,...t,...e.slice(3)].filter(Boolean)),n=t[0],e=i.inputArgs,!n.startsWith(`-`)){if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`zsh`)return B(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`powershell`)return R(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`bash`)return P(e);if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`fish`)return I(e);if(n&&!n.startsWith(`-`)){let e=s(n,[`zsh`,`powershell`,`bash`,`fish`]).slice(0,3);_(`Unknown command: "${n}"${e&&e.length>0?`, did you mean: ${e.length===1?`"${e[0]}"`:e.map((t,n)=>n<e.length-1?`"${t}", `:`or "${t}"`)}?`:``} `)}}}return T()}let H=!1;const U=[],W=[];async function G(t={}){try{if(H)return;H=!0;let n=0;t.signal!==void 0&&t.signal>0||t.exception?n=128+(t.signal??1):(typeof process.exitCode==`number`||typeof process.exitCode==`string`)&&(n=process.exitCode),t.exception&&_({message:`A fatal error occured while running the application - please contact the Command Line Interface support team${t.exception&&typeof t.exception!=`symbol`?`: \n\n${typeof t.exception==`string`?t.exception:t.exception.message}`:`.`}`,...t.exception&&typeof t.exception==`object`?{stack:t.exception.stack}:{}});let r=(r=!1)=>{(h||m||a.LOG_LEVEL===`debug`||e([`verbose`,`verbose=true`,`verbose=always`]))&&o(``),v(`The application exited ${t.exception?`early due to an exception`:`successfully`}${t.startDate?`. Total processing time is ${Date.now()-t.startDate.getTime()>5e3?Math.floor((Date.now()-t.startDate.getTime())/1e3):Date.now()-t.startDate.getTime()} ${Date.now()-t.startDate.getTime()>5e3?`seconds`:`milliseconds`}`:``}...`),t.skipProcessExit||process.nextTick(()=>process.exit(n))};for(let e of W)e(n);if(!t.isSynchronous){let e=[],t=0;for(let[r,i]of U)t=Math.max(t,i),e.push(Promise.resolve(r(n)));let i=setTimeout(()=>{r(!0)},t);await Promise.all(e),clearTimeout(i)}r()}catch(e){_(`The exit process failed to complete${e?.message?` - ${e.message}`:``}. Please contact the support team.`),t.skipProcessExit||process.nextTick(()=>process.exit(1))}}async function K(){if(e([`version`,`v`])){console.log(`0.47.125`);return}let n=r(),i=``;if(n.length>2&&n[2]&&(i=n[2]),!i.startsWith(`-`)){if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`prepare`)return(await import(`./prepare.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`lint`)return(await import(`./lint.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`gc`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`prune`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`garbagecollection`)return(await import(`./gc.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`docs`)return(await import(`./docs.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`deploy`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`deployment`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`publish`)return(await import(`./deploy.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`create`)return(await import(`./create.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`clean`)return(await import(`./clean.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`build`)return(await import(`./build.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`types`)return(await import(`./types.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`changelog`)return(await import(`./changelog.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`completions`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`completion`)return V(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`upgrade`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`up`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`update`)return(await import(`./upgrade.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`help`)return(await import(`./help.mjs`).then(e=>e.handler))(n);if(i&&!i.startsWith(`-`)){let e=s(i,[`prepare`,`lint`,`gc`,`prune`,`garbage-collection`,`docs`,`deploy`,`deployment`,`publish`,`create`,`clean`,`build`,`types`,`changelog`,`completions`,`completion`,`upgrade`,`up`,`update`,`help`]).slice(0,3);_(`Unknown command: "${i}"${e&&e.length>0?`, did you mean: ${e.length===1?`"${e[0]}"`:e.map((t,n)=>n<e.length-1?`"${t}", `:`or "${t}"`)}?`:``} `)}}if(t&&!p()){await j();let e=await y({message:`Which command would you like to execute?`,options:[{value:[`prepare`],label:`Prepare Artifacts`,description:`(cli prepare)`,icon:`🖉`},{value:[`lint`],label:`Lint Source Code`,description:`(cli lint)`,icon:`🗹`},{value:[`gc`],label:`Garbage Collection`,description:`(cli gc)`,icon:`🗶`},{value:[`docs`],label:`Generate Documentation`,description:`(cli docs)`,icon:`🕮`},{value:[`deploy`],label:`Deploy`,description:`(cli deploy)`,icon:`🛪`},{value:[`create`],label:`Create Project`,description:`(cli create)`,icon:`⬚`},{value:[`clean`],label:`Clean`,description:`(cli clean)`,icon:`🗑`},{value:[`build`],label:`Build`,description:`(cli build)`,icon:`🏗`},{value:[`types`],label:`Generate Typescript Declaration File`,description:`(cli types)`,icon:`🖹`},{value:[`changelog`],label:`Changelog`,description:`(cli changelog)`,icon:`🗃`},{value:[`completions`,`zsh`,`script`],label:`Completions - Zsh Script`,description:`(cli completions zsh script)`,icon:`🖵`},{value:[`completions`,`zsh`,`config`],label:`Completions - Zsh Configuration`,description:`(cli completions zsh config)`,icon:`🖵`},{value:[`completions`,`powershell`,`script`],label:`Completions - PowerShell Script`,description:`(cli completions powershell script)`,icon:`🖵`},{value:[`completions`,`powershell`,`config`],label:`Completions - PowerShell Configuration`,description:`(cli completions powershell config)`,icon:`🖵`},{value:[`completions`,`bash`,`config`],label:`Completions - Bash Configuration`,description:`(cli completions bash config)`,icon:`🖵`},{value:[`completions`,`bash`,`script`],label:`Completions - Bash Script`,description:`(cli completions bash script)`,icon:`🖵`},{value:[`completions`,`fish`,`config`],label:`Completions - Fish Configuration`,description:`(cli completions fish config)`,icon:`🖵`},{value:[`completions`,`fish`,`script`],label:`Completions - Fish Script`,description:`(cli completions fish script)`,icon:`🖵`},{value:[`upgrade`],label:`Upgrade`,description:`(cli upgrade)`,icon:`🖒`},{value:[`help`],label:`Help`,description:`(cli help)`,icon:`🛈`}]});if(C(e))return;let t={};for(let n of e.filter(e=>e.startsWith(`[`)&&e.endsWith(`]`))){let e=await S({message:`Please provide a value for ${n.replace(/^[+/, "").replace(/]+$/,``)}:`});if(C(e))return;t[n]=e}e=e.map(e=>t[e]||e);let r=f();if(r&&(r.inputArgs=[n.length>0?n[0]:void 0,n.length>1?n[1]:void 0,...e,...n.slice(2)].filter(Boolean)),i=e[0],n=r.inputArgs,!i.startsWith(`-`)){if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`prepare`)return(await import(`./prepare.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`lint`)return(await import(`./lint.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`gc`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`prune`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`garbagecollection`)return(await import(`./gc.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`docs`)return(await import(`./docs.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`deploy`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`deployment`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`publish`)return(await import(`./deploy.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`create`)return(await import(`./create.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`clean`)return(await import(`./clean.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`build`)return(await import(`./build.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`types`)return(await import(`./types.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`changelog`)return(await import(`./changelog.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`completions`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`completion`)return V(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`upgrade`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`up`||i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`update`)return(await import(`./upgrade.mjs`).then(e=>e.handler))(n);if(i.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`help`)return(await import(`./help.mjs`).then(e=>e.handler))(n);if(i&&!i.startsWith(`-`)){let e=s(i,[`prepare`,`lint`,`gc`,`prune`,`garbage-collection`,`docs`,`deploy`,`deployment`,`publish`,`create`,`clean`,`build`,`types`,`changelog`,`completions`,`completion`,`upgrade`,`up`,`update`,`help`]).slice(0,3);_(`Unknown command: "${i}"${e&&e.length>0?`, did you mean: ${e.length===1?`"${e[0]}"`:e.map((t,n)=>n<e.length-1?`"${t}", `:`or "${t}"`)}?`:``} `)}}}return await j(0),O()}(async()=>{let e=new Date;try{process.on(`exit`,()=>G({startDate:e,skipProcessExit:!0,isSynchronous:!0,signal:0})),process.on(`beforeExit`,()=>G({startDate:e,signal:0})),process.on(`message`,t=>{t===`shutdown`&&G({startDate:e,isSynchronous:!0,signal:-128})}),process.once(`SIGTERM`,()=>G({startDate:e,signal:15})),process.once(`SIGINT`,()=>G({startDate:e,signal:2})),process.once(`SIGUSR2`,()=>(v(`The application was terminated by the user`),G({startDate:e,signal:12}))),process.once(`SIGQUIT`,()=>(v(`The application was terminated by the user`),G({startDate:e,signal:12})));for(let t of[`unhandledRejection`,`uncaughtException`])process.on(t,n=>G({startDate:e,exception:n||Error(`An ${t===`unhandledRejection`?`unhandled promise rejection`:`uncaught exception`} occurred during processing - the application is shutting down.`)}));await x(async()=>{let e=await K();e?.error&&_(e.error)}),G({startDate:e})}catch(t){G({startDate:e,exception:t})}})();export{G as exit};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`build`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
|
package/bin/build.mjs
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{B as e,F as t,G as n,H as r,I as i,J as a,K as o,M as s,O as c,P as l,R as u,T as d,V as f,W as p,X as m,Z as h,a as g,o as _,u as v,w as y}from"./prompts-BnlPjHFR.mjs";import{t as b}from"./upgrade-yP6Jdrm0.mjs";import{t as x}from"./create-powerlines-DvusHjN3.mjs";import{t as S}from"./build-CJIAgNA5.mjs";async function C(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),s(``),s(_.banner.outline.primary(`┏`)+_.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+_.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.47.125`))+` `+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-38,0)))+_.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];y(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
|
|
2
|
+
`)}\n`,Math.max(l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Build`).length+2))/2),0))+g(c.banner.command.primary(`Build`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Build`).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(c.banner.description.primary(`Builds the project for production deployment.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),s(_.banner.outline.primary(`┗`)+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+_.banner.outline.primary(`━`.repeat(6))+_.banner.outline.primary(`┛`),{consoleFn:console.log}),s(``),t&&!f()&&await u(r)}async function w(e){await(await x(e)).build(e)}async function T(e=r()){let t={...p()};for(let t=0;t<e.slice(0).length;t++)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];return await C(),await b(),s(``),(h||m||a.LOG_LEVEL===`debug`)&&(s(c.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),s(``),v(`Command path: build
|
|
3
|
+
|
|
4
|
+
Options:
|
|
5
|
+
`)),t.help?S():o(`build`,[`build`],[],w)}export{T as handler};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`changelog`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
|
|
@@ -0,0 +1,527 @@
|
|
|
1
|
+
import{B as e,F as t,G as n,H as r,I as i,J as a,K as o,M as s,O as c,P as l,R as u,T as d,V as f,W as p,X as m,Z as h,a as g,o as _,u as v,w as y}from"./prompts-BnlPjHFR.mjs";import{t as b}from"./upgrade-yP6Jdrm0.mjs";import{t as x}from"./changelog-d-cmenYB.mjs";async function S(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),s(``),s(_.banner.outline.primary(`┏`)+_.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+_.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.47.125`))+` `+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-38,0)))+_.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];y(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
|
|
2
|
+
`)}\n`,Math.max(l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Changelog`).length+2))/2),0))+g(c.banner.command.primary(`Changelog`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Changelog`).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(c.banner.description.primary(`Display the Command Line Interface changelog.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),s(_.banner.outline.primary(`┗`)+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+_.banner.outline.primary(`━`.repeat(6))+_.banner.outline.primary(`┛`),{consoleFn:console.log}),s(``),t&&!f()&&await u(r)}function C(){console.log(`${c.body.primary(`textColors.body.primary("[Image: Powerlines' logo banner]")`)}
|
|
3
|
+
|
|
4
|
+
${g(c.heading.primary(`Changelog for Powerlines - CLI`))}
|
|
5
|
+
|
|
6
|
+
${g(c.heading.secondary(`0.47.125 (06/05/2026)`))}
|
|
7
|
+
|
|
8
|
+
${g(c.heading.tertiary(`Features`))}
|
|
9
|
+
|
|
10
|
+
${c.body.primary(`• cli: Updated CLI to deploy as standalone package (990f64bc9)`)}
|
|
11
|
+
|
|
12
|
+
${g(c.heading.secondary(`0.2.40 (05/13/2026)`))}
|
|
13
|
+
|
|
14
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
15
|
+
|
|
16
|
+
${c.body.primary(`• Updated powerlines to v0.47.16`)}
|
|
17
|
+
|
|
18
|
+
${g(c.heading.secondary(`0.2.39 (05/13/2026)`))}
|
|
19
|
+
|
|
20
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
21
|
+
|
|
22
|
+
${c.body.primary(`• Updated deepkit to v0.8.66
|
|
23
|
+
• Updated powerlines to v0.47.15`)}
|
|
24
|
+
|
|
25
|
+
${g(c.heading.secondary(`0.2.38 (05/13/2026)`))}
|
|
26
|
+
|
|
27
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
28
|
+
|
|
29
|
+
${c.body.primary(`• Updated deepkit to v0.8.65
|
|
30
|
+
• Updated powerlines to v0.47.14`)}
|
|
31
|
+
|
|
32
|
+
${g(c.heading.secondary(`0.2.37 (05/13/2026)`))}
|
|
33
|
+
|
|
34
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
35
|
+
|
|
36
|
+
${c.body.primary(`• Updated powerlines to v0.47.13`)}
|
|
37
|
+
|
|
38
|
+
${g(c.heading.secondary(`0.2.36 (05/13/2026)`))}
|
|
39
|
+
|
|
40
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
41
|
+
|
|
42
|
+
${c.body.primary(`• Updated powerlines to v0.47.12`)}
|
|
43
|
+
|
|
44
|
+
${g(c.heading.secondary(`0.2.35 (05/13/2026)`))}
|
|
45
|
+
|
|
46
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
47
|
+
|
|
48
|
+
${c.body.primary(`• Updated powerlines to v0.47.11`)}
|
|
49
|
+
|
|
50
|
+
${g(c.heading.secondary(`0.2.34 (05/13/2026)`))}
|
|
51
|
+
|
|
52
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
53
|
+
|
|
54
|
+
${c.body.primary(`• Updated powerlines to v0.47.10`)}
|
|
55
|
+
|
|
56
|
+
${g(c.heading.secondary(`0.2.33 (05/13/2026)`))}
|
|
57
|
+
|
|
58
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
59
|
+
|
|
60
|
+
${c.body.primary(`• Updated powerlines to v0.47.9`)}
|
|
61
|
+
|
|
62
|
+
${g(c.heading.secondary(`0.2.32 (05/13/2026)`))}
|
|
63
|
+
|
|
64
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
65
|
+
|
|
66
|
+
${c.body.primary(`• Updated powerlines to v0.47.8`)}
|
|
67
|
+
|
|
68
|
+
${g(c.heading.secondary(`0.2.30 (05/12/2026)`))}
|
|
69
|
+
|
|
70
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
71
|
+
|
|
72
|
+
${c.body.primary(`• Updated powerlines to v0.47.7`)}
|
|
73
|
+
|
|
74
|
+
${g(c.heading.secondary(`0.2.29 (05/12/2026)`))}
|
|
75
|
+
|
|
76
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
77
|
+
|
|
78
|
+
${c.body.primary(`• Updated powerlines to v0.47.6`)}
|
|
79
|
+
|
|
80
|
+
${g(c.heading.secondary(`0.2.28 (05/12/2026)`))}
|
|
81
|
+
|
|
82
|
+
${g(c.heading.tertiary(`Miscellaneous`))}
|
|
83
|
+
|
|
84
|
+
${c.body.primary(`• monorepo: Reorganize repository folder structure (c2447100f)`)}
|
|
85
|
+
|
|
86
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
87
|
+
|
|
88
|
+
${c.body.primary(`• Updated powerlines to v0.47.5`)}
|
|
89
|
+
|
|
90
|
+
${g(c.heading.secondary(`0.2.27 (04/26/2026)`))}
|
|
91
|
+
|
|
92
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
93
|
+
|
|
94
|
+
${c.body.primary(`• Updated powerlines to v0.43.24
|
|
95
|
+
• Updated deepkit to v0.8.27`)}
|
|
96
|
+
|
|
97
|
+
${g(c.heading.secondary(`0.2.26 (04/26/2026)`))}
|
|
98
|
+
|
|
99
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
100
|
+
|
|
101
|
+
${c.body.primary(`• Updated powerlines to v0.43.23
|
|
102
|
+
• Updated deepkit to v0.8.26`)}
|
|
103
|
+
|
|
104
|
+
${g(c.heading.secondary(`0.2.25 (04/26/2026)`))}
|
|
105
|
+
|
|
106
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
107
|
+
|
|
108
|
+
${c.body.primary(`• Updated powerlines to v0.43.22
|
|
109
|
+
• Updated deepkit to v0.8.25`)}
|
|
110
|
+
|
|
111
|
+
${g(c.heading.secondary(`0.2.24 (04/26/2026)`))}
|
|
112
|
+
|
|
113
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
114
|
+
|
|
115
|
+
${c.body.primary(`• Updated powerlines to v0.43.21
|
|
116
|
+
• Updated deepkit to v0.8.24`)}
|
|
117
|
+
|
|
118
|
+
${g(c.heading.secondary(`0.2.23 (04/26/2026)`))}
|
|
119
|
+
|
|
120
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
121
|
+
|
|
122
|
+
${c.body.primary(`• Updated powerlines to v0.43.20
|
|
123
|
+
• Updated deepkit to v0.8.23`)}
|
|
124
|
+
|
|
125
|
+
${g(c.heading.secondary(`0.2.22 (04/25/2026)`))}
|
|
126
|
+
|
|
127
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
128
|
+
|
|
129
|
+
${c.body.primary(`• Updated powerlines to v0.43.19
|
|
130
|
+
• Updated deepkit to v0.8.22`)}
|
|
131
|
+
|
|
132
|
+
${g(c.heading.secondary(`0.2.21 (04/25/2026)`))}
|
|
133
|
+
|
|
134
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
135
|
+
|
|
136
|
+
${c.body.primary(`• Updated powerlines to v0.43.18
|
|
137
|
+
• Updated deepkit to v0.8.21`)}
|
|
138
|
+
|
|
139
|
+
${g(c.heading.secondary(`0.2.19 (04/25/2026)`))}
|
|
140
|
+
|
|
141
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
142
|
+
|
|
143
|
+
${c.body.primary(`• Updated powerlines to v0.43.17
|
|
144
|
+
• Updated deepkit to v0.8.20`)}
|
|
145
|
+
|
|
146
|
+
${g(c.heading.secondary(`0.2.18 (04/25/2026)`))}
|
|
147
|
+
|
|
148
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
149
|
+
|
|
150
|
+
${c.body.primary(`• Updated powerlines to v0.43.16
|
|
151
|
+
• Updated deepkit to v0.8.19`)}
|
|
152
|
+
|
|
153
|
+
${g(c.heading.secondary(`0.2.17 (04/25/2026)`))}
|
|
154
|
+
|
|
155
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
156
|
+
|
|
157
|
+
${c.body.primary(`• Updated powerlines to v0.43.15
|
|
158
|
+
• Updated deepkit to v0.8.18`)}
|
|
159
|
+
|
|
160
|
+
${g(c.heading.secondary(`0.2.16 (04/25/2026)`))}
|
|
161
|
+
|
|
162
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
163
|
+
|
|
164
|
+
${c.body.primary(`• Updated powerlines to v0.43.14
|
|
165
|
+
• Updated deepkit to v0.8.17`)}
|
|
166
|
+
|
|
167
|
+
${g(c.heading.secondary(`0.2.15 (04/25/2026)`))}
|
|
168
|
+
|
|
169
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
170
|
+
|
|
171
|
+
${c.body.primary(`• Updated powerlines to v0.43.13
|
|
172
|
+
• Updated deepkit to v0.8.16`)}
|
|
173
|
+
|
|
174
|
+
${g(c.heading.secondary(`0.2.14 (04/24/2026)`))}
|
|
175
|
+
|
|
176
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
177
|
+
|
|
178
|
+
${c.body.primary(`• Updated powerlines to v0.43.12
|
|
179
|
+
• Updated deepkit to v0.8.15`)}
|
|
180
|
+
|
|
181
|
+
${g(c.heading.secondary(`0.2.13 (04/24/2026)`))}
|
|
182
|
+
|
|
183
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
184
|
+
|
|
185
|
+
${c.body.primary(`• Updated powerlines to v0.43.11
|
|
186
|
+
• Updated deepkit to v0.8.14`)}
|
|
187
|
+
|
|
188
|
+
${g(c.heading.secondary(`0.2.12 (04/24/2026)`))}
|
|
189
|
+
|
|
190
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
191
|
+
|
|
192
|
+
${c.body.primary(`• Updated powerlines to v0.43.10
|
|
193
|
+
• Updated deepkit to v0.8.13`)}
|
|
194
|
+
|
|
195
|
+
${g(c.heading.secondary(`0.2.11 (04/24/2026)`))}
|
|
196
|
+
|
|
197
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
198
|
+
|
|
199
|
+
${c.body.primary(`• Updated powerlines to v0.43.9
|
|
200
|
+
• Updated deepkit to v0.8.12`)}
|
|
201
|
+
|
|
202
|
+
${g(c.heading.secondary(`0.2.10 (04/24/2026)`))}
|
|
203
|
+
|
|
204
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
205
|
+
|
|
206
|
+
${c.body.primary(`• Updated powerlines to v0.43.8
|
|
207
|
+
• Updated deepkit to v0.8.11`)}
|
|
208
|
+
|
|
209
|
+
${g(c.heading.secondary(`0.2.9 (04/23/2026)`))}
|
|
210
|
+
|
|
211
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
212
|
+
|
|
213
|
+
${c.body.primary(`• Updated powerlines to v0.43.7`)}
|
|
214
|
+
|
|
215
|
+
${g(c.heading.secondary(`0.2.8 (04/23/2026)`))}
|
|
216
|
+
|
|
217
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
218
|
+
|
|
219
|
+
${c.body.primary(`• Updated powerlines to v0.43.6
|
|
220
|
+
• Updated deepkit to v0.8.10`)}
|
|
221
|
+
|
|
222
|
+
${g(c.heading.secondary(`0.2.7 (04/23/2026)`))}
|
|
223
|
+
|
|
224
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
225
|
+
|
|
226
|
+
${c.body.primary(`• Updated powerlines to v0.43.5
|
|
227
|
+
• Updated deepkit to v0.8.9`)}
|
|
228
|
+
|
|
229
|
+
${g(c.heading.secondary(`0.2.6 (04/22/2026)`))}
|
|
230
|
+
|
|
231
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
232
|
+
|
|
233
|
+
${c.body.primary(`• Updated powerlines to v0.43.4
|
|
234
|
+
• Updated deepkit to v0.8.8`)}
|
|
235
|
+
|
|
236
|
+
${g(c.heading.secondary(`0.2.5 (04/21/2026)`))}
|
|
237
|
+
|
|
238
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
239
|
+
|
|
240
|
+
${c.body.primary(`• Updated powerlines to v0.43.3
|
|
241
|
+
• Updated deepkit to v0.8.7`)}
|
|
242
|
+
|
|
243
|
+
${g(c.heading.secondary(`0.2.4 (04/21/2026)`))}
|
|
244
|
+
|
|
245
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
246
|
+
|
|
247
|
+
${c.body.primary(`• Updated powerlines to v0.43.2
|
|
248
|
+
• Updated deepkit to v0.8.6`)}
|
|
249
|
+
|
|
250
|
+
${g(c.heading.secondary(`0.2.3 (04/21/2026)`))}
|
|
251
|
+
|
|
252
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
253
|
+
|
|
254
|
+
${c.body.primary(`• Updated powerlines to v0.43.1
|
|
255
|
+
• Updated deepkit to v0.8.5`)}
|
|
256
|
+
|
|
257
|
+
${g(c.heading.secondary(`0.2.2 (04/21/2026)`))}
|
|
258
|
+
|
|
259
|
+
${g(c.heading.tertiary(`Features`))}
|
|
260
|
+
|
|
261
|
+
${c.body.primary(`• powerlines: Added engine to support multi-process Powerlines runs (75ea086a8)`)}
|
|
262
|
+
|
|
263
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
264
|
+
|
|
265
|
+
${c.body.primary(`• Updated powerlines to v0.43.0
|
|
266
|
+
• Updated deepkit to v0.8.4`)}
|
|
267
|
+
|
|
268
|
+
${g(c.heading.secondary(`0.2.1 (04/17/2026)`))}
|
|
269
|
+
|
|
270
|
+
${g(c.heading.tertiary(`Bug Fixes`))}
|
|
271
|
+
|
|
272
|
+
${c.body.primary(`• cli: Resolve issue building cli package in build script (dba6c7d93)`)}
|
|
273
|
+
|
|
274
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
275
|
+
|
|
276
|
+
${c.body.primary(`• Updated powerlines to v0.42.41
|
|
277
|
+
• Updated deepkit to v0.8.3`)}
|
|
278
|
+
|
|
279
|
+
${g(c.heading.secondary(`0.2.0 (04/14/2026)`))}
|
|
280
|
+
|
|
281
|
+
${g(c.heading.tertiary(`Features`))}
|
|
282
|
+
|
|
283
|
+
${c.body.primary(`• cli: Added Powerlines commands to CLI application code (fd6a91228)`)}
|
|
284
|
+
|
|
285
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
286
|
+
|
|
287
|
+
${c.body.primary(`• Updated powerlines to v0.42.40`)}
|
|
288
|
+
|
|
289
|
+
${g(c.heading.secondary(`0.1.85 (04/14/2026)`))}
|
|
290
|
+
|
|
291
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
292
|
+
|
|
293
|
+
${c.body.primary(`• Updated powerlines to v0.42.39
|
|
294
|
+
• Updated deepkit to v0.8.2`)}
|
|
295
|
+
|
|
296
|
+
${g(c.heading.secondary(`0.1.84 (04/12/2026)`))}
|
|
297
|
+
|
|
298
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
299
|
+
|
|
300
|
+
${c.body.primary(`• Updated powerlines to v0.42.38
|
|
301
|
+
• Updated deepkit to v0.8.1`)}
|
|
302
|
+
|
|
303
|
+
${g(c.heading.secondary(`0.1.83 (04/11/2026)`))}
|
|
304
|
+
|
|
305
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
306
|
+
|
|
307
|
+
${c.body.primary(`• Updated powerlines to v0.42.37
|
|
308
|
+
• Updated deepkit to v0.8.0`)}
|
|
309
|
+
|
|
310
|
+
${g(c.heading.secondary(`0.1.82 (04/10/2026)`))}
|
|
311
|
+
|
|
312
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
313
|
+
|
|
314
|
+
${c.body.primary(`• Updated deepkit to v0.7.8`)}
|
|
315
|
+
|
|
316
|
+
${g(c.heading.secondary(`0.1.81 (04/10/2026)`))}
|
|
317
|
+
|
|
318
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
319
|
+
|
|
320
|
+
${c.body.primary(`• Updated deepkit to v0.7.7`)}
|
|
321
|
+
|
|
322
|
+
${g(c.heading.secondary(`0.1.80 (04/10/2026)`))}
|
|
323
|
+
|
|
324
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
325
|
+
|
|
326
|
+
${c.body.primary(`• Updated powerlines to v0.42.36
|
|
327
|
+
• Updated deepkit to v0.7.6`)}
|
|
328
|
+
|
|
329
|
+
${g(c.heading.secondary(`0.1.79 (04/10/2026)`))}
|
|
330
|
+
|
|
331
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
332
|
+
|
|
333
|
+
${c.body.primary(`• Updated powerlines to v0.42.35
|
|
334
|
+
• Updated deepkit to v0.7.5`)}
|
|
335
|
+
|
|
336
|
+
${g(c.heading.secondary(`0.1.78 (04/10/2026)`))}
|
|
337
|
+
|
|
338
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
339
|
+
|
|
340
|
+
${c.body.primary(`• Updated powerlines to v0.42.34
|
|
341
|
+
• Updated deepkit to v0.7.4`)}
|
|
342
|
+
|
|
343
|
+
${g(c.heading.secondary(`0.1.77 (04/06/2026)`))}
|
|
344
|
+
|
|
345
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
346
|
+
|
|
347
|
+
${c.body.primary(`• Updated powerlines to v0.42.33
|
|
348
|
+
• Updated deepkit to v0.7.3`)}
|
|
349
|
+
|
|
350
|
+
${g(c.heading.secondary(`0.1.76 (04/06/2026)`))}
|
|
351
|
+
|
|
352
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
353
|
+
|
|
354
|
+
${c.body.primary(`• Updated powerlines to v0.42.32
|
|
355
|
+
• Updated deepkit to v0.7.2`)}
|
|
356
|
+
|
|
357
|
+
${g(c.heading.secondary(`0.1.75 (04/06/2026)`))}
|
|
358
|
+
|
|
359
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
360
|
+
|
|
361
|
+
${c.body.primary(`• Updated powerlines to v0.42.31
|
|
362
|
+
• Updated deepkit to v0.7.1`)}
|
|
363
|
+
|
|
364
|
+
${g(c.heading.secondary(`0.1.74 (04/06/2026)`))}
|
|
365
|
+
|
|
366
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
367
|
+
|
|
368
|
+
${c.body.primary(`• Updated powerlines to v0.42.30
|
|
369
|
+
• Updated deepkit to v0.7.0`)}
|
|
370
|
+
|
|
371
|
+
${g(c.heading.secondary(`0.1.73 (04/03/2026)`))}
|
|
372
|
+
|
|
373
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
374
|
+
|
|
375
|
+
${c.body.primary(`• Updated powerlines to v0.42.29
|
|
376
|
+
• Updated deepkit to v0.6.167`)}
|
|
377
|
+
|
|
378
|
+
${g(c.heading.secondary(`0.1.72 (04/03/2026)`))}
|
|
379
|
+
|
|
380
|
+
${g(c.heading.tertiary(`Miscellaneous`))}
|
|
381
|
+
|
|
382
|
+
${c.body.primary(`• cli: Include missing updates to package.json file (aca938b12)`)}
|
|
383
|
+
|
|
384
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
385
|
+
|
|
386
|
+
${c.body.primary(`• Updated powerlines to v0.42.28
|
|
387
|
+
• Updated deepkit to v0.6.166`)}
|
|
388
|
+
|
|
389
|
+
${g(c.heading.secondary(`0.1.71 (04/01/2026)`))}
|
|
390
|
+
|
|
391
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
392
|
+
|
|
393
|
+
${c.body.primary(`• Updated powerlines to v0.42.27`)}
|
|
394
|
+
|
|
395
|
+
${g(c.heading.secondary(`0.1.70 (03/31/2026)`))}
|
|
396
|
+
|
|
397
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
398
|
+
|
|
399
|
+
${c.body.primary(`• Updated powerlines to v0.42.26`)}
|
|
400
|
+
|
|
401
|
+
${g(c.heading.secondary(`0.1.69 (03/28/2026)`))}
|
|
402
|
+
|
|
403
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
404
|
+
|
|
405
|
+
${c.body.primary(`• Updated powerlines to v0.42.25`)}
|
|
406
|
+
|
|
407
|
+
${g(c.heading.secondary(`0.1.68 (03/27/2026)`))}
|
|
408
|
+
|
|
409
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
410
|
+
|
|
411
|
+
${c.body.primary(`• Updated powerlines to v0.42.24`)}
|
|
412
|
+
|
|
413
|
+
${g(c.heading.secondary(`0.1.67 (03/27/2026)`))}
|
|
414
|
+
|
|
415
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
416
|
+
|
|
417
|
+
${c.body.primary(`• Updated powerlines to v0.42.23`)}
|
|
418
|
+
|
|
419
|
+
${g(c.heading.secondary(`0.1.66 (03/26/2026)`))}
|
|
420
|
+
|
|
421
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
422
|
+
|
|
423
|
+
${c.body.primary(`• Updated powerlines to v0.42.22`)}
|
|
424
|
+
|
|
425
|
+
${g(c.heading.secondary(`0.1.65 (03/26/2026)`))}
|
|
426
|
+
|
|
427
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
428
|
+
|
|
429
|
+
${c.body.primary(`• Updated powerlines to v0.42.21`)}
|
|
430
|
+
|
|
431
|
+
${g(c.heading.secondary(`0.1.64 (03/25/2026)`))}
|
|
432
|
+
|
|
433
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
434
|
+
|
|
435
|
+
${c.body.primary(`• Updated powerlines to v0.42.20`)}
|
|
436
|
+
|
|
437
|
+
${g(c.heading.secondary(`0.1.63 (03/23/2026)`))}
|
|
438
|
+
|
|
439
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
440
|
+
|
|
441
|
+
${c.body.primary(`• Updated powerlines to v0.42.19`)}
|
|
442
|
+
|
|
443
|
+
${g(c.heading.secondary(`0.1.62 (03/23/2026)`))}
|
|
444
|
+
|
|
445
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
446
|
+
|
|
447
|
+
${c.body.primary(`• Updated powerlines to v0.42.18`)}
|
|
448
|
+
|
|
449
|
+
${g(c.heading.secondary(`0.1.61 (03/22/2026)`))}
|
|
450
|
+
|
|
451
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
452
|
+
|
|
453
|
+
${c.body.primary(`• Updated powerlines to v0.42.17`)}
|
|
454
|
+
|
|
455
|
+
${g(c.heading.secondary(`0.1.60 (03/22/2026)`))}
|
|
456
|
+
|
|
457
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
458
|
+
|
|
459
|
+
${c.body.primary(`• Updated powerlines to v0.42.16`)}
|
|
460
|
+
|
|
461
|
+
${g(c.heading.secondary(`0.1.59 (03/22/2026)`))}
|
|
462
|
+
|
|
463
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
464
|
+
|
|
465
|
+
${c.body.primary(`• Updated powerlines to v0.42.15`)}
|
|
466
|
+
|
|
467
|
+
${g(c.heading.secondary(`0.1.58 (03/22/2026)`))}
|
|
468
|
+
|
|
469
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
470
|
+
|
|
471
|
+
${c.body.primary(`• Updated powerlines to v0.42.14`)}
|
|
472
|
+
|
|
473
|
+
${g(c.heading.secondary(`0.1.57 (03/22/2026)`))}
|
|
474
|
+
|
|
475
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
476
|
+
|
|
477
|
+
${c.body.primary(`• Updated powerlines to v0.42.13`)}
|
|
478
|
+
|
|
479
|
+
${g(c.heading.secondary(`0.1.56 (03/22/2026)`))}
|
|
480
|
+
|
|
481
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
482
|
+
|
|
483
|
+
${c.body.primary(`• Updated powerlines to v0.42.12`)}
|
|
484
|
+
|
|
485
|
+
${g(c.heading.secondary(`0.1.55 (03/22/2026)`))}
|
|
486
|
+
|
|
487
|
+
${g(c.heading.tertiary(`Bug Fixes`))}
|
|
488
|
+
|
|
489
|
+
${c.body.primary(`• monorepo: Update pnpm-lock.yaml file (9c01ec1e8)`)}
|
|
490
|
+
|
|
491
|
+
${g(c.heading.tertiary(`Updated Dependencies`))}
|
|
492
|
+
|
|
493
|
+
${c.body.primary(`• Updated powerlines to v0.42.11`)}
|
|
494
|
+
|
|
495
|
+
${g(c.heading.secondary(`0.1.40 (03/14/2026)`))}
|
|
496
|
+
|
|
497
|
+
${g(c.heading.tertiary(`Miscellaneous`))}
|
|
498
|
+
|
|
499
|
+
${c.body.primary(`• monorepo: Update version in README.md files (2d27cc668)
|
|
500
|
+
• monorepo: Regenerate README.md files (fc00b8074)`)}
|
|
501
|
+
|
|
502
|
+
${g(c.heading.secondary(`0.1.33 (03/12/2026)`))}
|
|
503
|
+
|
|
504
|
+
${g(c.heading.tertiary(`Bug Fixes`))}
|
|
505
|
+
|
|
506
|
+
${c.body.primary(`• monorepo: Resolve build issues after tsdown upgrade (509fff49b)`)}
|
|
507
|
+
|
|
508
|
+
${g(c.heading.secondary(`0.1.29 (03/11/2026)`))}
|
|
509
|
+
|
|
510
|
+
${g(c.heading.tertiary(`Miscellaneous`))}
|
|
511
|
+
|
|
512
|
+
${c.body.primary(`• monorepo: Regenerate README.md files for workspace (248c3f44e)`)}
|
|
513
|
+
|
|
514
|
+
${g(c.heading.secondary(`0.1.27 (03/11/2026)`))}
|
|
515
|
+
|
|
516
|
+
${g(c.heading.tertiary(`Miscellaneous`))}
|
|
517
|
+
|
|
518
|
+
${c.body.primary(`• monorepo: Reformat workspace packages' source code (4e6846b40)`)}
|
|
519
|
+
|
|
520
|
+
${g(c.heading.secondary(`0.1.0 (02/27/2026)`))}
|
|
521
|
+
|
|
522
|
+
${g(c.heading.tertiary(`Features`))}
|
|
523
|
+
|
|
524
|
+
${c.body.primary(`• cli: Initial check-in of the command-line interface package (1e228eee5)`)}`)}async function w(e=r()){let t={...p()};for(let t=0;t<e.slice(0).length;t++)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];return await S(),await b(),s(``),(h||m||a.LOG_LEVEL===`debug`)&&(s(c.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),s(``),v(`Command path: changelog
|
|
525
|
+
|
|
526
|
+
Options:
|
|
527
|
+
`)),t.help?x():o(`changelog`,[`changelog`],[],C)}export{w as handler};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`clean`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
|
package/bin/clean.mjs
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{B as e,F as t,G as n,H as r,I as i,J as a,K as o,M as s,O as c,P as l,R as u,T as d,V as f,W as p,X as m,Z as h,a as g,o as _,u as v,w as y}from"./prompts-BnlPjHFR.mjs";import{t as b}from"./upgrade-yP6Jdrm0.mjs";import{t as x}from"./create-powerlines-DvusHjN3.mjs";import{t as S}from"./clean-dutxbMO3.mjs";async function C(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),s(``),s(_.banner.outline.primary(`┏`)+_.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+_.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.47.125`))+` `+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-38,0)))+_.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];y(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
|
|
2
|
+
`)}\n`,Math.max(l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Clean`).length+2))/2),0))+g(c.banner.command.primary(`Clean`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Clean`).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(c.banner.description.primary(`Cleans the project by removing build artifacts and temporary files.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),s(_.banner.outline.primary(`┗`)+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+_.banner.outline.primary(`━`.repeat(6))+_.banner.outline.primary(`┛`),{consoleFn:console.log}),s(``),t&&!f()&&await u(r)}async function w(e){await(await x(e)).clean(e)}async function T(e=r()){let t={...p()};for(let t=0;t<e.slice(0).length;t++)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];return await C(),await b(),s(``),(h||m||a.LOG_LEVEL===`debug`)&&(s(c.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),s(``),v(`Command path: clean
|
|
3
|
+
|
|
4
|
+
Options:
|
|
5
|
+
`)),t.help?S():o(`clean`,[`clean`],[],w)}export{T as handler};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{A as e,B as t,E as n,F as r,G as i,H as a,I as o,J as s,K as c,M as l,O as u,P as d,R as f,T as p,V as m,W as h,X as g,Z as _,a as v,g as y,o as b,u as x,v as S,w as C}from"./prompts-BnlPjHFR.mjs";import{t as w}from"./upgrade-yP6Jdrm0.mjs";import{t as T}from"./config-B0hTZO6E.mjs";import{n as E,t as D}from"./shared-D6Uc3liR.mjs";import O from"node:os";import{join as k}from"node:path";import{readFile as A,writeFile as j}from"node:fs/promises";async function M(e=500){if(i().get(`banner`)||t(`no-banner`)||t(`hide-banner`)||o)return;i().set(`banner`,!0),l(``),l(b.banner.outline.primary(`┏`)+b.banner.outline.primary(`━`.repeat(6))+` `+u.banner.header.primary(`⬤`)+` `+b.banner.outline.primary(`━`)+` `+v(u.banner.header.primary(`Powerlines CLI v0.47.125`))+` `+b.banner.outline.primary(`━`.repeat(Math.max(d().columns-38,0)))+b.banner.outline.primary(`┓`),{consoleFn:console.log});let n=[`Command-Line Interface`];C(Math.max(...n.map(e=>p(e).length))>Math.max(d().columns+30,20)?``:`\n${n.join(`
|
|
2
|
+
`)}\n`,Math.max(d().columns-30,20)).forEach(e=>{l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(p(e).length+2))/2),0))+v(u.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((d().columns-(p(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(p(`Completions - Bash Configuration`).length+2))/2),0))+v(u.banner.command.primary(`Completions - Bash Configuration`))+` `.repeat(Math.max(Math.ceil((d().columns-(p(`Completions - Bash Configuration`).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),C(v(u.banner.description.primary(`Update the current system's bash shell configuration to include completions for the command-line interface.`)),Math.max(60>d().columns/2?d().columns-6:d().columns-30,20)).forEach(e=>{l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(p(e).length+2))/2),0))+u.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((d().columns-(p(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(d().columns-2,0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),l(b.banner.outline.primary(`┗`)+b.banner.outline.primary(`━`.repeat(Math.max(d().columns-35,0)))+` `+v(u.banner.footer.primary(`https://stormsoftware.com`))+` `+b.banner.outline.primary(`━`.repeat(6))+b.banner.outline.primary(`┛`),{consoleFn:console.log}),l(``),r&&!m()&&await f(e)}async function N(t={},r=`~/.bashrc`){if(t.display!==!0){let t=r.includes(`.`)?r:k(r,`.bashrc`);t.startsWith(`~`)&&(t=k(O.homedir(),t.replace(`~`,``)));let i=``;try{i=await A(t,`utf8`)}catch(n){if(typeof n==`object`&&n&&`code`in n&&n.code===`ENOENT`)e(`Configuration file ${v(t)} does not exist. It will be created when the completion script is written.`);else return{error:n}}await j(t,`${i}\n\n### Begin - Command Line Interface Shell Completions ###\n\n${D} \n\n### End - Command Line Interface Bash Completions ###`),n(`Command Line Interface shell completions have been applied to Bash configuration file at ${v(t)}. Please restart your terminal or run ${S(`source ${t}`)} for the changes to take effect.`)}else l(` ------------------------------------------------- `),l(``),l(`### Begin - Command Line Interface Bash Completions ###`),l(``),E.split(`
|
|
3
|
+
`).map(e=>l(e)),l(``),l(`### End - Command Line Interface Bash Completions ###`),l(``),l(` ------------------------------------------------- `),l(``),y(`To enable these completions, perform one of the following actions:
|
|
4
|
+
|
|
5
|
+
1) Copy and paste the above script into your shell configuration file (e.g., ~/.bashrc)
|
|
6
|
+
2) Save the above script to a file and source it from your shell configuration file `)}async function P(e=a()){let t={...h()};for(let t=0;t<e.slice(0).length;t++)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];return await M(),await w(),l(``),(_||g||s.LOG_LEVEL===`debug`)&&(l(u.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),l(``),x(`Command path: completions / bash / config
|
|
7
|
+
|
|
8
|
+
Options:
|
|
9
|
+
`)),t.help?T():c(`completions/bash/config`,[`completions`,`bash`,`config`],[],N)}export{P as handler};
|