create-storm-workspace 1.97.77 → 1.97.78
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/CHANGELOG.md +6 -0
- package/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Create Storm Workspace
|
|
4
4
|
|
|
5
|
+
## [1.97.77](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.77) (01/14/2026)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **config-tools** to **v1.188.77**
|
|
10
|
+
|
|
5
11
|
## [1.97.76](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.76) (01/14/2026)
|
|
6
12
|
|
|
7
13
|
### Updated Dependencies
|
package/index.js
CHANGED
|
@@ -281,7 +281,7 @@ Automatically fix broken PRs, 70% faster CI: https://nx.dev/nx-cloud`,fallback:v
|
|
|
281
281
|
`);return i&&(m=this.styles.cyan(m),b=this.styles.cyan(b)),_()}async renderChoices(){if(this.state.submitted)return"";let t=this.visible.map(async(i,n)=>await this.renderChoice(i,n)),r=await Promise.all(t);return r.length||r.push(this.styles.danger("No matching choices")),r.join(`
|
|
282
282
|
`)}format(){return this.state.submitted?this.choices.map(r=>this.styles.info(r.scaleIdx)).join(", "):""}async render(){let{submitted:t,size:r}=this.state,i=await this.prefix(),n=await this.separator(),s=await this.message(),o=[i,s,n].filter(Boolean).join(" ");this.state.prompt=o;let a=await this.header(),u=await this.format(),l=await this.error()||await this.hint(),p=await this.renderChoices(),h=await this.footer();(u||!l)&&(o+=" "+u),l&&!o.includes(l)&&(o+=" "+l),t&&!u&&!p&&this.multiple&&this.type!=="form"&&(o+=this.styles.danger(this.emptyError)),this.clear(r),this.write([o,a,p,h].filter(Boolean).join(`
|
|
283
283
|
`)),this.restore()}submit(){this.value={};for(let t of this.choices)this.value[t.name]=t.scaleIdx;return this.base.submit.call(this)}};function pye(e,t={}){if(Array.isArray(t.scale))return t.scale.map(i=>({...i}));let r=[];for(let i=1;i<e+1;i++)r.push({i,selected:!1});return r}KH.exports=ek});var tY=Z((IFe,eY)=>{eY.exports=j_()});var iY=Z((wFe,rY)=>{"use strict";var Aye=d0(),tk=class extends Aye{async initialize(){await super.initialize(),this.value=this.initial=this.resolve(this.options.initial),this.disabled=this.options.disabled||"no",this.enabled=this.options.enabled||"yes",await this.render()}reset(){this.value=this.initial,this.render()}delete(){this.alert()}toggle(){this.value=!this.value,this.render()}enable(){if(this.value===!0)return this.alert();this.value=!0,this.render()}disable(){if(this.value===!1)return this.alert();this.value=!1,this.render()}up(){this.toggle()}down(){this.toggle()}right(){this.toggle()}left(){this.toggle()}next(){this.toggle()}prev(){this.toggle()}dispatch(t="",r){switch(t.toLowerCase()){case" ":return this.toggle();case"1":case"y":case"t":return this.enable();case"0":case"n":case"f":return this.disable();default:return this.alert()}}format(){let t=i=>this.styles.primary.underline(i);return[this.value?this.disabled:t(this.disabled),this.value?t(this.enabled):this.enabled].join(this.styles.muted(" / "))}async render(){let{size:t}=this.state,r=await this.header(),i=await this.prefix(),n=await this.separator(),s=await this.message(),o=await this.format(),a=await this.error()||await this.hint(),u=await this.footer(),l=[i,s,n,o].join(" ");this.state.prompt=l,a&&!l.includes(a)&&(l+=" "+a),this.clear(t),this.write([r,l,u].filter(Boolean).join(`
|
|
284
|
-
`)),this.write(this.margin[2]),this.restore()}};rY.exports=tk});var sY=Z((BFe,nY)=>{"use strict";var dye=Zc(),rk=class extends dye{constructor(t){if(super(t),typeof this.options.correctChoice!="number"||this.options.correctChoice<0)throw new Error("Please specify the index of the correct answer from the list of choices")}async toChoices(t,r){let i=await super.toChoices(t,r);if(i.length<2)throw new Error("Please give at least two choices to the user");if(this.options.correctChoice>i.length)throw new Error("Please specify the index of the correct answer from the list of choices");return i}check(t){return t.index===this.options.correctChoice}async result(t){return{selectedAnswer:t,correctAnswer:this.options.choices[this.options.correctChoice].value,correct:await this.check(this.state)}}};nY.exports=rk});var aY=Z(ik=>{"use strict";var oY=Wi(),di=(e,t)=>{oY.defineExport(ik,e,t),oY.defineExport(ik,e.toLowerCase(),t)};di("AutoComplete",()=>AH());di("BasicAuth",()=>bH());di("Confirm",()=>IH());di("Editable",()=>BH());di("Form",()=>A0());di("Input",()=>j_());di("Invisible",()=>RH());di("List",()=>NH());di("MultiSelect",()=>LH());di("Numeral",()=>UH());di("Password",()=>$H());di("Scale",()=>zH());di("Select",()=>Zc());di("Snippet",()=>WH());di("Sort",()=>ZH());di("Survey",()=>XH());di("Text",()=>tY());di("Toggle",()=>iY());di("Quiz",()=>sY())});var uY=Z((QFe,cY)=>{cY.exports={ArrayPrompt:jf(),AuthPrompt:L_(),BooleanPrompt:d0(),NumberPrompt:H_(),StringPrompt:Cl()}});var pY=Z((SFe,hY)=>{"use strict";var lY=require("assert"),sk=require("events"),Kc=Wi(),Zs=class extends sk{constructor(t,r){super(),this.options=Kc.merge({},t),this.answers={...r}}register(t,r){if(Kc.isObject(t)){for(let n of Object.keys(t))this.register(n,t[n]);return this}lY.equal(typeof r,"function","expected a function");let i=t.toLowerCase();return r.prototype instanceof this.Prompt?this.prompts[i]=r:this.prompts[i]=r(this.Prompt,this),this}async prompt(t=[]){for(let r of[].concat(t))try{typeof r=="function"&&(r=await r.call(this)),await this.ask(Kc.merge({},this.options,r))}catch(i){return Promise.reject(i)}return this.answers}async ask(t){typeof t=="function"&&(t=await t.call(this));let r=Kc.merge({},this.options,t),{type:i,name:n}=t,{set:s,get:o}=Kc;if(typeof i=="function"&&(i=await i.call(this,t,this.answers)),!i)return this.answers[n];i==="number"&&(i="numeral"),lY(this.prompts[i],`Prompt "${i}" is not registered`);let a=new this.prompts[i](r),u=o(this.answers,n);a.state.answers=this.answers,a.enquirer=this,n&&a.on("submit",p=>{this.emit("answer",n,p,a),s(this.answers,n,p)});let l=a.emit.bind(a);return a.emit=(...p)=>(this.emit.call(this,...p),l(...p)),this.emit("prompt",a,this),r.autofill&&u!=null?(a.value=a.input=u,r.autofill==="show"&&await a.submit()):u=a.value=await a.run(),u}use(t){return t.call(this,this),this}set Prompt(t){this._Prompt=t}get Prompt(){return this._Prompt||this.constructor.Prompt}get prompts(){return this.constructor.prompts}static set Prompt(t){this._Prompt=t}static get Prompt(){return this._Prompt||Gp()}static get prompts(){return aY()}static get types(){return uY()}static get prompt(){let t=(r,...i)=>{let n=new this(...i),s=n.emit.bind(n);return n.emit=(...o)=>(t.emit(...o),s(...o)),n.prompt(r)};return Kc.mixinEmitter(t,new sk),t}};Kc.mixinEmitter(Zs,new sk);var nk=Zs.prompts;for(let e of Object.keys(nk)){let t=e.toLowerCase(),r=i=>new nk[e](i).run();Zs.prompt[t]=r,Zs[t]=r,Zs[e]||Reflect.defineProperty(Zs,e,{get:()=>nk[e]})}var qf=e=>{Kc.defineExport(Zs,e,()=>Zs.types[e])};qf("ArrayPrompt");qf("AuthPrompt");qf("BooleanPrompt");qf("NumberPrompt");qf("StringPrompt");hY.exports=Zs});var AY=require("@nx/workspace/src/generators/utils/get-npm-package-version");var Wu=require("node:fs"),ey=require("node:fs/promises"),FP=require("node:os");Xl();var S0=require("node:module"),_k=Di(Sk(),1),_Y={};function xY(e){throw e}var QY=e=>import(e),Q0;function SY(...e){return Q0||(Q0=(0,S0.createRequire)(_Y.url)("../dist/babel.cjs")),Q0(...e)}function kk(e,t={}){return t.transform||(t={...t,transform:SY}),(0,_k.default)(e,t,{onError:xY,nativeImport:QY,createRequire:S0.createRequire})}SC();var HA=require("node:fs"),ZR=require("node:path"),KR=require("node:os");var LK=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,OK=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,MK=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function UK(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){PK(e);return}return t}function PK(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function JR(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);let r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!MK.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(LK.test(e)||OK.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,UK)}return JSON.parse(e)}catch(i){if(t.strict)throw i;return e}}ac();function XR(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function eT(e){return e}function $K(e,t){t=t||{};let r=t.delimiter||".",i=t.maxDepth,n=t.transformKey||eT,s={};function o(a,u,l){l=l||1,Object.keys(a).forEach(function(p){let h=a[p],f=t.safe&&Array.isArray(h),g=Object.prototype.toString.call(h),m=XR(h),E=g==="[object Object]"||g==="[object Array]",b=u?u+r+n(p):n(p);if(!f&&!m&&E&&Object.keys(h).length&&(!t.maxDepth||l<i))return o(h,b,l+1);s[b]=h})}return o(e),s}function tT(e,t){t=t||{};let r=t.delimiter||".",i=t.overwrite||!1,n=t.transformKey||eT,s={};if(XR(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function a(p){let h=Number(p);return isNaN(h)||p.indexOf(".")!==-1||t.object?p:h}function u(p,h,f){return Object.keys(f).reduce(function(g,m){return g[p+r+m]=f[m],g},h)}function l(p){let h=Object.prototype.toString.call(p),f=h==="[object Array]",g=h==="[object Object]";if(p){if(f)return!p.length;if(g)return!Object.keys(p).length}else return!0}return e=Object.keys(e).reduce(function(p,h){let f=Object.prototype.toString.call(e[h]);return!(f==="[object Object]"||f==="[object Array]")||l(e[h])?(p[h]=e[h],p):u(h,p,$K(e[h],t))},{}),Object.keys(e).forEach(function(p){let h=p.split(r).map(n),f=a(h.shift()),g=a(h[0]),m=s;for(;g!==void 0;){if(f==="__proto__")return;let E=Object.prototype.toString.call(m[f]),b=E==="[object Object]"||E==="[object Array]";if(!i&&!b&&typeof m[f]<"u")return;(i&&!b||!i&&m[f]==null)&&(m[f]=typeof g=="number"&&!t.object?[]:{}),m=m[f],h.length>0&&(f=a(h.shift()),g=a(h[0]))}m[f]=tT(e[p],t)}),s}var jK=/^\s*([^\s=]+)\s*=\s*(.*)?\s*$/,qK=/\n|\r|\r\n/,zK={name:".conf",dir:process.cwd(),flat:!1};function rT(e){return typeof e=="string"&&(e={name:e}),{...zK,...e}}function VK(e,t={}){let r={},i=e.split(qK);for(let n of i){let s=n.match(jK);if(!s)continue;let o=s[1];if(!o||o==="__proto__"||o==="constructor")continue;let a=JR((s[2]||"").trim());if(o.endsWith("[]")){let u=o.slice(0,Math.max(0,o.length-2));r[u]=(r[u]||[]).concat(a);continue}r[o]=a}return t.flat?r:tT(r,{overwrite:!0})}function GK(e,t){return(0,HA.existsSync)(e)?VK((0,HA.readFileSync)(e,"utf8"),t):{}}function ig(e){return e=rT(e),GK((0,ZR.resolve)(e.dir,e.name),e)}function iT(e){return e=rT(e),e.dir=process.env.XDG_CONFIG_HOME||(0,KR.homedir)(),ig(e)}ac();QR();var LP=Di(jC(),1);async function Tne(e){let t=e.env??process.env,r=await Nne({cwd:e.cwd,fileName:e.fileName??".env",env:t,interpolate:e.interpolate??!0});for(let i in r)!i.startsWith("_")&&t[i]===void 0&&(t[i]=r[i]);return r}async function Nne(e){let t=Object.create(null),r=gr(e.cwd,e.fileName);if((0,Wu.existsSync)(r)){let i=LP.parse(await Wu.promises.readFile(r,"utf8"));Object.assign(t,i)}return e.env?._applied||(Object.assign(t,e.env),t._applied=!0),e.interpolate&&Fne(t),t}function Fne(e,t={},r=i=>i){function i(s){return t[s]===void 0?e[s]:t[s]}function n(s,o=[]){if(typeof s!="string")return s;let a=s.match(/(.?\${?(?:[\w:]+)?}?)/g)||[];return r(a.reduce((u,l)=>{let p=/(.?)\${?([\w:]+)?}?/g.exec(l)||[],h=p[1],f,g;if(h==="\\")g=p[0]||"",f=g.replace(String.raw`\$`,"$");else{let m=p[2];if(g=(p[0]||"").slice(h.length),o.includes(m))return console.warn(`Please avoid recursive environment variables ( loop: ${o.join(" > ")} > ${m} )`),"";f=i(m),f=n(f,[...o,m])}return f===void 0?u:u.replace(g,f)},s))}for(let s in e)e[s]=n(i(s))}var TP=e=>e?.replace(/\\/g,"/"),NP={".yaml":()=>Promise.resolve().then(()=>(EC(),gC)).then(e=>e.parseYAML),".yml":()=>Promise.resolve().then(()=>(EC(),gC)).then(e=>e.parseYAML),".jsonc":()=>Promise.resolve().then(()=>(lT(),uT)).then(e=>e.parseJSONC),".json5":()=>Promise.resolve().then(()=>(xD(),BD)).then(e=>e.parseJSON5),".toml":()=>Promise.resolve().then(()=>(vR(),CR)).then(e=>e.parseTOML)},OP=[".js",".ts",".mjs",".cjs",".mts",".cts",".json",".jsonc",".json5",".yaml",".yml",".toml"];async function ty(e){e.cwd=gr(process.cwd(),e.cwd||"."),e.name=e.name||"config",e.envName=e.envName??process.env.NODE_ENV,e.configFile=e.configFile??(e.name==="config"?"config":`${e.name}.config`),e.rcFile=e.rcFile??`.${e.name}rc`,e.extend!==!1&&(e.extend={extendKey:"extends",...e.extend});let t=e.merger||as;e.jiti=e.jiti||kk(Rs(e.cwd,e.configFile),{interopDefault:!0,moduleCache:!1,extensions:[...OP],...e.jitiOptions});let r={config:{},cwd:e.cwd,configFile:gr(e.cwd,e.configFile),layers:[]},i={overrides:e.overrides,main:void 0,rc:void 0,packageJson:void 0,defaultConfig:e.defaultConfig};e.dotenv&&await Tne({cwd:e.cwd,...e.dotenv===!0?{}:e.dotenv});let n=await UP(".",e);if(n.configFile&&(i.main=n.config,r.configFile=n.configFile),n.meta&&(r.meta=n.meta),e.rcFile){let a=[];if(a.push(ig({name:e.rcFile,dir:e.cwd})),e.globalRc){let u=await xR(e.cwd).catch(()=>{});u&&a.push(ig({name:e.rcFile,dir:u})),a.push(iT({name:e.rcFile,dir:e.cwd}))}i.rc=t({},...a)}if(e.packageJson){let a=(Array.isArray(e.packageJson)?e.packageJson:[typeof e.packageJson=="string"?e.packageJson:e.name]).filter(p=>p&&typeof p=="string"),u=await BR(e.cwd).catch(()=>{}),l=a.map(p=>u?.[p]);i.packageJson=t({},...l)}let s={};for(let a in i){let u=i[a];s[a]=await(typeof u=="function"?u({configs:s}):u)}r.config=t(s.overrides,s.main,s.rc,s.packageJson,s.defaultConfig),e.extend&&(await MP(r.config,e),r.layers=r.config._layers,delete r.config._layers,r.config=t(r.config,...r.layers.map(a=>a.config)));let o=[s.overrides&&{config:s.overrides,configFile:void 0,cwd:void 0},{config:s.main,configFile:e.configFile,cwd:e.cwd},s.rc&&{config:s.rc,configFile:e.rcFile},s.packageJson&&{config:s.packageJson,configFile:"package.json"}].filter(a=>a&&a.config);if(r.layers=[...o,...r.layers],e.defaults&&(r.config=t(r.config,e.defaults)),e.omit$Keys)for(let a in r.config)a.startsWith("$")&&delete r.config[a];return r}async function MP(e,t){if(e._layers=e._layers||[],!t.extend)return;let r=t.extend.extendKey;typeof r=="string"&&(r=[r]);let i=[];for(let n of r)i.push(...(Array.isArray(e[n])?e[n]:[e[n]]).filter(Boolean)),delete e[n];for(let n of i){let s=n,o={};if(n.source&&(o=n.options||{},n=n.source),Array.isArray(n)&&(o=n[1]||{},n=n[0]),typeof n!="string"){console.warn(`Cannot extend config from \`${JSON.stringify(s)}\` in ${t.cwd}`);continue}let a=await UP(n,t,o);if(!a.config){console.warn(`Cannot extend config from \`${n}\` in ${t.cwd}`);continue}await MP(a.config,{...t,cwd:a.cwd}),e._layers.push(a),a.config._layers&&(e._layers.push(...a.config._layers),delete a.config._layers)}}var Lne=["gh:","github:","gitlab:","bitbucket:","https://","http://"],One=/^(@[\da-z~-][\d._a-z~-]*\/)?[\da-z~-][\d._a-z~-]*($|\/.*)/;async function UP(e,t,r={}){if(t.resolve){let p=await t.resolve(e,t);if(p)return p}let i=t.merger||as;if(t.giget!==!1&&Lne.some(p=>e.startsWith(p))){let{downloadTemplate:p}=await Promise.resolve().then(()=>(xP(),BP)),{digest:h}=await Promise.resolve().then(()=>(RP(),DP)),f=e.replace(/\W+/g,"_").split("_").splice(0,3).join("_")+"_"+h(e).slice(0,10).replace(/[-_]/g,""),g,m=gr(t.cwd,"node_modules"),E=Yo(t.cwd);Kl(E)===".c12"?g=Rs(E,f):(0,Wu.existsSync)(m)?g=Rs(m,".c12",f):g=process.env.XDG_CACHE_HOME?gr(process.env.XDG_CACHE_HOME,"c12",f):gr((0,FP.homedir)(),".cache/c12",f),(0,Wu.existsSync)(g)&&!r.install&&await(0,ey.rm)(g,{recursive:!0}),e=(await p(e,{dir:g,install:r.install,force:r.install,auth:r.auth,...t.giget,...r.giget})).dir}let n=p=>{let h=t.jiti.esmResolve(p,{try:!0});return h?ph(h):void 0};One.test(e)&&(e=n(e)||e);let s=BA(e),o=!s||s===Kl(e),a=gr(t.cwd,o?e:Yo(e));o&&(e=t.configFile);let u={config:void 0,configFile:void 0,cwd:a,source:e,sourceOptions:r};if(u.configFile=n(gr(a,e))||n(gr(a,".config",e.replace(/\.config$/,"")))||n(gr(a,".config",e))||e,!(0,Wu.existsSync)(u.configFile))return u;let l=BA(u.configFile)||"";if(l in NP){let p=await NP[l](),h=await(0,ey.readFile)(u.configFile,"utf8");u.config=p(h)}else u.config=await t.jiti.import(u.configFile,{default:!0});if(u.config instanceof Function&&(u.config=await u.config()),t.envName){let p={...u.config["$"+t.envName],...u.config.$env?.[t.envName]};Object.keys(p).length>0&&(u.config=i(p,u.config))}return u.meta=as(u.sourceOptions.meta,u.config.$meta),delete u.config.$meta,u.sourceOptions.overrides&&(u.config=i(u.sourceOptions.overrides,u.config)),u.configFile=TP(u.configFile),u.source=TP(u.source),u}ac();var Uve=Di(jC(),1);ac();var Mne=Math.pow(10,8)*24*60*60*1e3,$ve=-Mne;var jd=43200,bx=1440;var Une=3600;var PP=Une*24,jve=PP*7,Pne=PP*365.2425,$ne=Pne/12,qve=$ne*3,Cx=Symbol.for("constructDateFrom");function tp(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Cx in e?e[Cx](t):e instanceof Date?new e.constructor(t):new Date(t)}function $P(e){return tp(e,Date.now())}var jne={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},jP=(e,t,r)=>{let i,n=jne[e];return typeof n=="string"?i=n:t===1?i=n.one:i=n.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function ry(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var qne={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},zne={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Vne={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qP={date:ry({formats:qne,defaultWidth:"full"}),time:ry({formats:zne,defaultWidth:"full"}),dateTime:ry({formats:Vne,defaultWidth:"full"})};var Gne={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},zP=(e,t,r,i)=>Gne[e];function rp(e){return(t,r)=>{let i=r?.context?String(r.context):"standalone",n;if(i==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,a=r?.width?String(r.width):o;n=e.formattingValues[a]||e.formattingValues[o]}else{let o=e.defaultWidth,a=r?.width?String(r.width):e.defaultWidth;n=e.values[a]||e.values[o]}let s=e.argumentCallback?e.argumentCallback(t):t;return n[s]}}var Hne={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Yne={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Wne={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Jne={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Zne={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Kne={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Xne=(e,t)=>{let r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},VP={ordinalNumber:Xne,era:rp({values:Hne,defaultWidth:"wide"}),quarter:rp({values:Yne,defaultWidth:"wide",argumentCallback:e=>e-1}),month:rp({values:Wne,defaultWidth:"wide"}),day:rp({values:Jne,defaultWidth:"wide"}),dayPeriod:rp({values:Zne,defaultWidth:"wide",formattingValues:Kne,defaultFormattingWidth:"wide"})};function ip(e){return(t,r={})=>{let i=r.width,n=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=t.match(n);if(!s)return null;let o=s[0],a=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(a)?tse(a,h=>h.test(o)):ese(a,h=>h.test(o)),l;l=e.valueCallback?e.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;let p=t.slice(o.length);return{value:l,rest:p}}}function ese(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function tse(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function GP(e){return(t,r={})=>{let i=t.match(e.matchPattern);if(!i)return null;let n=i[0],s=t.match(e.parsePattern);if(!s)return null;let o=e.valueCallback?e.valueCallback(s[0]):s[0];o=r.valueCallback?r.valueCallback(o):o;let a=t.slice(n.length);return{value:o,rest:a}}}var rse=/^(\d+)(th|st|nd|rd)?/i,ise=/\d+/i,nse={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},sse={any:[/^b/i,/^(a|c)/i]},ose={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ase={any:[/1/i,/2/i,/3/i,/4/i]},cse={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},use={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},lse={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},hse={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},pse={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ase={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},HP={ordinalNumber:GP({matchPattern:rse,parsePattern:ise,valueCallback:e=>parseInt(e,10)}),era:ip({matchPatterns:nse,defaultMatchWidth:"wide",parsePatterns:sse,defaultParseWidth:"any"}),quarter:ip({matchPatterns:ose,defaultMatchWidth:"wide",parsePatterns:ase,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ip({matchPatterns:cse,defaultMatchWidth:"wide",parsePatterns:use,defaultParseWidth:"any"}),day:ip({matchPatterns:lse,defaultMatchWidth:"wide",parsePatterns:hse,defaultParseWidth:"any"}),dayPeriod:ip({matchPatterns:pse,defaultMatchWidth:"any",parsePatterns:Ase,defaultParseWidth:"any"})};var vx={code:"en-US",formatDistance:jP,formatLong:qP,formatRelative:zP,localize:VP,match:HP,options:{weekStartsOn:0,firstWeekContainsDate:1}};var dse={};function YP(){return dse}function In(e,t){return tp(t||e,e)}function Ix(e){let t=In(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function np(e,...t){let r=tp.bind(null,e||t.find(i=>typeof i=="object"));return t.map(r)}function sp(e,t){let r=+In(e)-+In(t);return r<0?-1:r>0?1:r}function WP(e,t,r){let[i,n]=np(r?.in,e,t),s=i.getFullYear()-n.getFullYear(),o=i.getMonth()-n.getMonth();return s*12+o}function JP(e,t){let r=In(e,t?.in);return r.setHours(23,59,59,999),r}function ZP(e,t){let r=In(e,t?.in),i=r.getMonth();return r.setFullYear(r.getFullYear(),i+1,0),r.setHours(23,59,59,999),r}function KP(e,t){let r=In(e,t?.in);return+JP(r,t)==+ZP(r,t)}function XP(e,t,r){let[i,n,s]=np(r?.in,e,e,t),o=sp(n,s),a=Math.abs(WP(n,s));if(a<1)return 0;n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-o*a);let u=sp(n,s)===-o;KP(i)&&a===1&&sp(i,s)===1&&(u=!1);let l=o*(a-+u);return l===0?0:l}function e$(e){return t=>{let i=(e?Math[e]:Math.trunc)(t);return i===0?0:i}}function t$(e,t){return+In(e)-+In(t)}function r$(e,t,r){let i=t$(e,t)/1e3;return e$(r?.roundingMethod)(i)}function i$(e,t,r){let i=YP(),n=r?.locale??i.locale??vx,s=2520,o=sp(e,t);if(isNaN(o))throw new RangeError("Invalid time value");let a=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:o}),[u,l]=np(r?.in,...o>0?[t,e]:[e,t]),p=r$(l,u),h=(Ix(l)-Ix(u))/1e3,f=Math.round((p-h)/60),g;if(f<2)return r?.includeSeconds?p<5?n.formatDistance("lessThanXSeconds",5,a):p<10?n.formatDistance("lessThanXSeconds",10,a):p<20?n.formatDistance("lessThanXSeconds",20,a):p<40?n.formatDistance("halfAMinute",0,a):p<60?n.formatDistance("lessThanXMinutes",1,a):n.formatDistance("xMinutes",1,a):f===0?n.formatDistance("lessThanXMinutes",1,a):n.formatDistance("xMinutes",f,a);if(f<45)return n.formatDistance("xMinutes",f,a);if(f<90)return n.formatDistance("aboutXHours",1,a);if(f<bx){let m=Math.round(f/60);return n.formatDistance("aboutXHours",m,a)}else{if(f<s)return n.formatDistance("xDays",1,a);if(f<jd){let m=Math.round(f/bx);return n.formatDistance("xDays",m,a)}else if(f<jd*2)return g=Math.round(f/jd),n.formatDistance("aboutXMonths",g,a)}if(g=XP(l,u),g<12){let m=Math.round(f/jd);return n.formatDistance("xMonths",m,a)}else{let m=g%12,E=Math.trunc(g/12);return m<3?n.formatDistance("aboutXYears",E,a):m<9?n.formatDistance("overXYears",E,a):n.formatDistance("almostXYears",E+1,a)}}function n$(e,t){return i$(e,$P(e),t)}var jt={SILENT:0,FATAL:10,ERROR:20,WARN:30,SUCCESS:35,INFO:40,DEBUG:60,TRACE:70,ALL:100},Er={SILENT:"silent",FATAL:"fatal",ERROR:"error",WARN:"warn",SUCCESS:"success",INFO:"info",DEBUG:"debug",TRACE:"trace",ALL:"all"};var Io={light:{background:"#fafafa",foreground:"#1d1e22",brand:"#1fb2a6",alternate:"#db2777",help:"#5C4EE5",success:"#087f5b",info:"#0550ae",debug:"#8afafc",warning:"#e3b341",danger:"#D8314A",fatal:"#51070f",link:"#3fa6ff",positive:"#22c55e",negative:"#dc2626",gradient:["#1fb2a6","#db2777","#5C4EE5"]},dark:{background:"#1d1e22",foreground:"#cbd5e1",brand:"#2dd4bf",alternate:"#db2777",help:"#818cf8",success:"#10b981",info:"#58a6ff",debug:"#8afafc",warning:"#f3d371",danger:"#D8314A",fatal:"#a40e26",link:"#3fa6ff",positive:"#22c55e",negative:"#dc2626",gradient:["#1fb2a6","#db2777","#818cf8"]}};var L$=Di(Vd(),1),Use={hex:e=>t=>t,bgHex:e=>({whiteBright:t=>t,white:t=>t}),white:e=>e,whiteBright:e=>e,gray:e=>e,bold:{hex:e=>t=>t,bgHex:e=>({whiteBright:t=>t,white:t=>t}),whiteBright:e=>e,white:e=>e},dim:{hex:e=>t=>t,gray:e=>e}},O$=()=>{let e=L$.default;return(!e?.hex||!e?.bold?.hex||!e?.bgHex||!e?.whiteBright||!e?.white)&&(e=Use),e};function M$(){return process.platform!=="win32"?process.env.TERM!=="linux":!!process.env.WT_SESSION||!!process.env.TERMINUS_SUBLIME||process.env.ConEmuTask==="{cmd::Cmder}"||process.env.TERM_PROGRAM==="Terminus-Sublime"||process.env.TERM_PROGRAM==="vscode"||process.env.TERM==="xterm-256color"||process.env.TERM==="alacritty"||process.env.TERM==="rxvt-unicode"||process.env.TERM==="rxvt-unicode-256color"||process.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var kc=(e,t)=>M$()?e:t,_a={[Er.ERROR]:kc("\u2718","\xD7"),[Er.FATAL]:kc("\u{1F480}","\xD7"),[Er.WARN]:kc("\u26A0","\u203C"),[Er.INFO]:kc("\u2139","i"),[Er.SUCCESS]:kc("\u2714","\u221A"),[Er.DEBUG]:kc("\u{1F6E0}","D"),[Er.TRACE]:kc("\u{1F6E0}","T"),[Er.ALL]:kc("\u2709","\u2192")};var ka=(e=new Date)=>`${e.toLocaleDateString()} ${e.toLocaleTimeString()}`;var lp=e=>{switch(e){case"all":return jt.ALL;case"trace":return jt.TRACE;case"debug":return jt.DEBUG;case"info":return jt.INFO;case"warn":return jt.WARN;case"error":return jt.ERROR;case"fatal":return jt.FATAL;case"silent":return jt.SILENT;default:return jt.INFO}},U$=(e=jt.INFO)=>e>=jt.ALL?Er.ALL:e>=jt.TRACE?Er.TRACE:e>=jt.DEBUG?Er.DEBUG:e>=jt.INFO?Er.INFO:e>=jt.WARN?Er.WARN:e>=jt.ERROR?Er.ERROR:e>=jt.FATAL?Er.FATAL:e<=jt.SILENT?Er.SILENT:Er.INFO;var Gd=(e=jt.INFO,t={},r=O$())=>{let i=!t.colors?.dark&&!t.colors?.base&&!t.colors?.base?.dark?Io:t.colors?.dark&&typeof t.colors.dark=="string"?t.colors:t.colors?.base?.dark&&typeof t.colors.base.dark=="string"?t.colors.base.dark:t.colors?.base?t.colors?.base:Io,n=t.logLevel||process.env.STORM_LOG_LEVEL||Er.INFO;return e>lp(n)||e<=jt.SILENT||lp(n)<=jt.SILENT?s=>{}:typeof e=="number"&&jt.FATAL>=e?s=>{console.error(`
|
|
284
|
+
`)),this.write(this.margin[2]),this.restore()}};rY.exports=tk});var sY=Z((BFe,nY)=>{"use strict";var dye=Zc(),rk=class extends dye{constructor(t){if(super(t),typeof this.options.correctChoice!="number"||this.options.correctChoice<0)throw new Error("Please specify the index of the correct answer from the list of choices")}async toChoices(t,r){let i=await super.toChoices(t,r);if(i.length<2)throw new Error("Please give at least two choices to the user");if(this.options.correctChoice>i.length)throw new Error("Please specify the index of the correct answer from the list of choices");return i}check(t){return t.index===this.options.correctChoice}async result(t){return{selectedAnswer:t,correctAnswer:this.options.choices[this.options.correctChoice].value,correct:await this.check(this.state)}}};nY.exports=rk});var aY=Z(ik=>{"use strict";var oY=Wi(),di=(e,t)=>{oY.defineExport(ik,e,t),oY.defineExport(ik,e.toLowerCase(),t)};di("AutoComplete",()=>AH());di("BasicAuth",()=>bH());di("Confirm",()=>IH());di("Editable",()=>BH());di("Form",()=>A0());di("Input",()=>j_());di("Invisible",()=>RH());di("List",()=>NH());di("MultiSelect",()=>LH());di("Numeral",()=>UH());di("Password",()=>$H());di("Scale",()=>zH());di("Select",()=>Zc());di("Snippet",()=>WH());di("Sort",()=>ZH());di("Survey",()=>XH());di("Text",()=>tY());di("Toggle",()=>iY());di("Quiz",()=>sY())});var uY=Z((QFe,cY)=>{cY.exports={ArrayPrompt:jf(),AuthPrompt:L_(),BooleanPrompt:d0(),NumberPrompt:H_(),StringPrompt:Cl()}});var pY=Z((SFe,hY)=>{"use strict";var lY=require("assert"),sk=require("events"),Kc=Wi(),Zs=class extends sk{constructor(t,r){super(),this.options=Kc.merge({},t),this.answers={...r}}register(t,r){if(Kc.isObject(t)){for(let n of Object.keys(t))this.register(n,t[n]);return this}lY.equal(typeof r,"function","expected a function");let i=t.toLowerCase();return r.prototype instanceof this.Prompt?this.prompts[i]=r:this.prompts[i]=r(this.Prompt,this),this}async prompt(t=[]){for(let r of[].concat(t))try{typeof r=="function"&&(r=await r.call(this)),await this.ask(Kc.merge({},this.options,r))}catch(i){return Promise.reject(i)}return this.answers}async ask(t){typeof t=="function"&&(t=await t.call(this));let r=Kc.merge({},this.options,t),{type:i,name:n}=t,{set:s,get:o}=Kc;if(typeof i=="function"&&(i=await i.call(this,t,this.answers)),!i)return this.answers[n];i==="number"&&(i="numeral"),lY(this.prompts[i],`Prompt "${i}" is not registered`);let a=new this.prompts[i](r),u=o(this.answers,n);a.state.answers=this.answers,a.enquirer=this,n&&a.on("submit",p=>{this.emit("answer",n,p,a),s(this.answers,n,p)});let l=a.emit.bind(a);return a.emit=(...p)=>(this.emit.call(this,...p),l(...p)),this.emit("prompt",a,this),r.autofill&&u!=null?(a.value=a.input=u,r.autofill==="show"&&await a.submit()):u=a.value=await a.run(),u}use(t){return t.call(this,this),this}set Prompt(t){this._Prompt=t}get Prompt(){return this._Prompt||this.constructor.Prompt}get prompts(){return this.constructor.prompts}static set Prompt(t){this._Prompt=t}static get Prompt(){return this._Prompt||Gp()}static get prompts(){return aY()}static get types(){return uY()}static get prompt(){let t=(r,...i)=>{let n=new this(...i),s=n.emit.bind(n);return n.emit=(...o)=>(t.emit(...o),s(...o)),n.prompt(r)};return Kc.mixinEmitter(t,new sk),t}};Kc.mixinEmitter(Zs,new sk);var nk=Zs.prompts;for(let e of Object.keys(nk)){let t=e.toLowerCase(),r=i=>new nk[e](i).run();Zs.prompt[t]=r,Zs[t]=r,Zs[e]||Reflect.defineProperty(Zs,e,{get:()=>nk[e]})}var qf=e=>{Kc.defineExport(Zs,e,()=>Zs.types[e])};qf("ArrayPrompt");qf("AuthPrompt");qf("BooleanPrompt");qf("NumberPrompt");qf("StringPrompt");hY.exports=Zs});var AY=require("@nx/workspace/src/generators/utils/get-npm-package-version");var Wu=require("node:fs"),ey=require("node:fs/promises"),FP=require("node:os");Xl();var S0=require("node:module"),_k=Di(Sk(),1),_Y={};function xY(e){throw e}var QY=e=>import(e),Q0;function SY(...e){return Q0||(Q0=(0,S0.createRequire)(_Y.url)("../dist/babel.cjs")),Q0(...e)}function kk(e,t={}){return t.transform||(t={...t,transform:SY}),(0,_k.default)(e,t,{onError:xY,nativeImport:QY,createRequire:S0.createRequire})}SC();var HA=require("node:fs"),ZR=require("node:path"),KR=require("node:os");var LK=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,OK=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,MK=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function UK(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){PK(e);return}return t}function PK(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function JR(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);let r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!MK.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(LK.test(e)||OK.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,UK)}return JSON.parse(e)}catch(i){if(t.strict)throw i;return e}}ac();function XR(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function eT(e){return e}function $K(e,t){t=t||{};let r=t.delimiter||".",i=t.maxDepth,n=t.transformKey||eT,s={};function o(a,u,l){l=l||1,Object.keys(a).forEach(function(p){let h=a[p],f=t.safe&&Array.isArray(h),g=Object.prototype.toString.call(h),m=XR(h),E=g==="[object Object]"||g==="[object Array]",b=u?u+r+n(p):n(p);if(!f&&!m&&E&&Object.keys(h).length&&(!t.maxDepth||l<i))return o(h,b,l+1);s[b]=h})}return o(e),s}function tT(e,t){t=t||{};let r=t.delimiter||".",i=t.overwrite||!1,n=t.transformKey||eT,s={};if(XR(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function a(p){let h=Number(p);return isNaN(h)||p.indexOf(".")!==-1||t.object?p:h}function u(p,h,f){return Object.keys(f).reduce(function(g,m){return g[p+r+m]=f[m],g},h)}function l(p){let h=Object.prototype.toString.call(p),f=h==="[object Array]",g=h==="[object Object]";if(p){if(f)return!p.length;if(g)return!Object.keys(p).length}else return!0}return e=Object.keys(e).reduce(function(p,h){let f=Object.prototype.toString.call(e[h]);return!(f==="[object Object]"||f==="[object Array]")||l(e[h])?(p[h]=e[h],p):u(h,p,$K(e[h],t))},{}),Object.keys(e).forEach(function(p){let h=p.split(r).map(n),f=a(h.shift()),g=a(h[0]),m=s;for(;g!==void 0;){if(f==="__proto__")return;let E=Object.prototype.toString.call(m[f]),b=E==="[object Object]"||E==="[object Array]";if(!i&&!b&&typeof m[f]<"u")return;(i&&!b||!i&&m[f]==null)&&(m[f]=typeof g=="number"&&!t.object?[]:{}),m=m[f],h.length>0&&(f=a(h.shift()),g=a(h[0]))}m[f]=tT(e[p],t)}),s}var jK=/^\s*([^\s=]+)\s*=\s*(.*)?\s*$/,qK=/\n|\r|\r\n/,zK={name:".conf",dir:process.cwd(),flat:!1};function rT(e){return typeof e=="string"&&(e={name:e}),{...zK,...e}}function VK(e,t={}){let r={},i=e.split(qK);for(let n of i){let s=n.match(jK);if(!s)continue;let o=s[1];if(!o||o==="__proto__"||o==="constructor")continue;let a=JR((s[2]||"").trim());if(o.endsWith("[]")){let u=o.slice(0,Math.max(0,o.length-2));r[u]=(r[u]||[]).concat(a);continue}r[o]=a}return t.flat?r:tT(r,{overwrite:!0})}function GK(e,t){return(0,HA.existsSync)(e)?VK((0,HA.readFileSync)(e,"utf8"),t):{}}function ig(e){return e=rT(e),GK((0,ZR.resolve)(e.dir,e.name),e)}function iT(e){return e=rT(e),e.dir=process.env.XDG_CONFIG_HOME||(0,KR.homedir)(),ig(e)}ac();QR();var LP=Di(jC(),1);async function Tne(e){let t=e.env??process.env,r=await Nne({cwd:e.cwd,fileName:e.fileName??".env",env:t,interpolate:e.interpolate??!0});for(let i in r)!i.startsWith("_")&&t[i]===void 0&&(t[i]=r[i]);return r}async function Nne(e){let t=Object.create(null),r=gr(e.cwd,e.fileName);if((0,Wu.existsSync)(r)){let i=LP.parse(await Wu.promises.readFile(r,"utf8"));Object.assign(t,i)}return e.env?._applied||(Object.assign(t,e.env),t._applied=!0),e.interpolate&&Fne(t),t}function Fne(e,t={},r=i=>i){function i(s){return t[s]===void 0?e[s]:t[s]}function n(s,o=[]){if(typeof s!="string")return s;let a=s.match(/(.?\${?(?:[\w:]+)?}?)/g)||[];return r(a.reduce((u,l)=>{let p=/(.?)\${?([\w:]+)?}?/g.exec(l)||[],h=p[1],f,g;if(h==="\\")g=p[0]||"",f=g.replace(String.raw`\$`,"$");else{let m=p[2];if(g=(p[0]||"").slice(h.length),o.includes(m))return console.warn(`Please avoid recursive environment variables ( loop: ${o.join(" > ")} > ${m} )`),"";f=i(m),f=n(f,[...o,m])}return f===void 0?u:u.replace(g,f)},s))}for(let s in e)e[s]=n(i(s))}var TP=e=>e?.replace(/\\/g,"/"),NP={".yaml":()=>Promise.resolve().then(()=>(EC(),gC)).then(e=>e.parseYAML),".yml":()=>Promise.resolve().then(()=>(EC(),gC)).then(e=>e.parseYAML),".jsonc":()=>Promise.resolve().then(()=>(lT(),uT)).then(e=>e.parseJSONC),".json5":()=>Promise.resolve().then(()=>(xD(),BD)).then(e=>e.parseJSON5),".toml":()=>Promise.resolve().then(()=>(vR(),CR)).then(e=>e.parseTOML)},OP=[".js",".ts",".mjs",".cjs",".mts",".cts",".json",".jsonc",".json5",".yaml",".yml",".toml"];async function ty(e){e.cwd=gr(process.cwd(),e.cwd||"."),e.name=e.name||"config",e.envName=e.envName??process.env.NODE_ENV,e.configFile=e.configFile??(e.name==="config"?"config":`${e.name}.config`),e.rcFile=e.rcFile??`.${e.name}rc`,e.extend!==!1&&(e.extend={extendKey:"extends",...e.extend});let t=e.merger||as;e.jiti=e.jiti||kk(Rs(e.cwd,e.configFile),{interopDefault:!0,moduleCache:!1,extensions:[...OP],...e.jitiOptions});let r={config:{},cwd:e.cwd,configFile:gr(e.cwd,e.configFile),layers:[]},i={overrides:e.overrides,main:void 0,rc:void 0,packageJson:void 0,defaultConfig:e.defaultConfig};e.dotenv&&await Tne({cwd:e.cwd,...e.dotenv===!0?{}:e.dotenv});let n=await UP(".",e);if(n.configFile&&(i.main=n.config,r.configFile=n.configFile),n.meta&&(r.meta=n.meta),e.rcFile){let a=[];if(a.push(ig({name:e.rcFile,dir:e.cwd})),e.globalRc){let u=await xR(e.cwd).catch(()=>{});u&&a.push(ig({name:e.rcFile,dir:u})),a.push(iT({name:e.rcFile,dir:e.cwd}))}i.rc=t({},...a)}if(e.packageJson){let a=(Array.isArray(e.packageJson)?e.packageJson:[typeof e.packageJson=="string"?e.packageJson:e.name]).filter(p=>p&&typeof p=="string"),u=await BR(e.cwd).catch(()=>{}),l=a.map(p=>u?.[p]);i.packageJson=t({},...l)}let s={};for(let a in i){let u=i[a];s[a]=await(typeof u=="function"?u({configs:s}):u)}r.config=t(s.overrides,s.main,s.rc,s.packageJson,s.defaultConfig),e.extend&&(await MP(r.config,e),r.layers=r.config._layers,delete r.config._layers,r.config=t(r.config,...r.layers.map(a=>a.config)));let o=[s.overrides&&{config:s.overrides,configFile:void 0,cwd:void 0},{config:s.main,configFile:e.configFile,cwd:e.cwd},s.rc&&{config:s.rc,configFile:e.rcFile},s.packageJson&&{config:s.packageJson,configFile:"package.json"}].filter(a=>a&&a.config);if(r.layers=[...o,...r.layers],e.defaults&&(r.config=t(r.config,e.defaults)),e.omit$Keys)for(let a in r.config)a.startsWith("$")&&delete r.config[a];return r}async function MP(e,t){if(e._layers=e._layers||[],!t.extend)return;let r=t.extend.extendKey;typeof r=="string"&&(r=[r]);let i=[];for(let n of r)i.push(...(Array.isArray(e[n])?e[n]:[e[n]]).filter(Boolean)),delete e[n];for(let n of i){let s=n,o={};if(n.source&&(o=n.options||{},n=n.source),Array.isArray(n)&&(o=n[1]||{},n=n[0]),typeof n!="string"){console.warn(`Cannot extend config from \`${JSON.stringify(s)}\` in ${t.cwd}`);continue}let a=await UP(n,t,o);if(!a.config){console.warn(`Cannot extend config from \`${n}\` in ${t.cwd}`);continue}await MP(a.config,{...t,cwd:a.cwd}),e._layers.push(a),a.config._layers&&(e._layers.push(...a.config._layers),delete a.config._layers)}}var Lne=["gh:","github:","gitlab:","bitbucket:","https://","http://"],One=/^(@[\da-z~-][\d._a-z~-]*\/)?[\da-z~-][\d._a-z~-]*($|\/.*)/;async function UP(e,t,r={}){if(t.resolve){let p=await t.resolve(e,t);if(p)return p}let i=t.merger||as;if(t.giget!==!1&&Lne.some(p=>e.startsWith(p))){let{downloadTemplate:p}=await Promise.resolve().then(()=>(xP(),BP)),{digest:h}=await Promise.resolve().then(()=>(RP(),DP)),f=e.replace(/\W+/g,"_").split("_").splice(0,3).join("_")+"_"+h(e).slice(0,10).replace(/[-_]/g,""),g,m=gr(t.cwd,"node_modules"),E=Yo(t.cwd);Kl(E)===".c12"?g=Rs(E,f):(0,Wu.existsSync)(m)?g=Rs(m,".c12",f):g=process.env.XDG_CACHE_HOME?gr(process.env.XDG_CACHE_HOME,"c12",f):gr((0,FP.homedir)(),".cache/c12",f),(0,Wu.existsSync)(g)&&!r.install&&await(0,ey.rm)(g,{recursive:!0}),e=(await p(e,{dir:g,install:r.install,force:r.install,auth:r.auth,...t.giget,...r.giget})).dir}let n=p=>{let h=t.jiti.esmResolve(p,{try:!0});return h?ph(h):void 0};One.test(e)&&(e=n(e)||e);let s=BA(e),o=!s||s===Kl(e),a=gr(t.cwd,o?e:Yo(e));o&&(e=t.configFile);let u={config:void 0,configFile:void 0,cwd:a,source:e,sourceOptions:r};if(u.configFile=n(gr(a,e))||n(gr(a,".config",e.replace(/\.config$/,"")))||n(gr(a,".config",e))||e,!(0,Wu.existsSync)(u.configFile))return u;let l=BA(u.configFile)||"";if(l in NP){let p=await NP[l](),h=await(0,ey.readFile)(u.configFile,"utf8");u.config=p(h)}else u.config=await t.jiti.import(u.configFile,{default:!0});if(u.config instanceof Function&&(u.config=await u.config()),t.envName){let p={...u.config["$"+t.envName],...u.config.$env?.[t.envName]};Object.keys(p).length>0&&(u.config=i(p,u.config))}return u.meta=as(u.sourceOptions.meta,u.config.$meta),delete u.config.$meta,u.sourceOptions.overrides&&(u.config=i(u.sourceOptions.overrides,u.config)),u.configFile=TP(u.configFile),u.source=TP(u.source),u}ac();var Uve=Di(jC(),1);ac();var Mne=Math.pow(10,8)*24*60*60*1e3,$ve=-Mne;var jd=43200,bx=1440;var Une=3600;var PP=Une*24,jve=PP*7,Pne=PP*365.2425,$ne=Pne/12,qve=$ne*3,Cx=Symbol.for("constructDateFrom");function tp(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Cx in e?e[Cx](t):e instanceof Date?new e.constructor(t):new Date(t)}function $P(e){return tp(e,Date.now())}var jne={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},jP=(e,t,r)=>{let i,n=jne[e];return typeof n=="string"?i=n:t===1?i=n.one:i=n.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function ry(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var qne={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},zne={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Vne={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qP={date:ry({formats:qne,defaultWidth:"full"}),time:ry({formats:zne,defaultWidth:"full"}),dateTime:ry({formats:Vne,defaultWidth:"full"})};var Gne={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},zP=(e,t,r,i)=>Gne[e];function rp(e){return(t,r)=>{let i=r?.context?String(r.context):"standalone",n;if(i==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,a=r?.width?String(r.width):o;n=e.formattingValues[a]||e.formattingValues[o]}else{let o=e.defaultWidth,a=r?.width?String(r.width):e.defaultWidth;n=e.values[a]||e.values[o]}let s=e.argumentCallback?e.argumentCallback(t):t;return n[s]}}var Hne={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Yne={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Wne={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Jne={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Zne={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Kne={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Xne=(e,t)=>{let r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},VP={ordinalNumber:Xne,era:rp({values:Hne,defaultWidth:"wide"}),quarter:rp({values:Yne,defaultWidth:"wide",argumentCallback:e=>e-1}),month:rp({values:Wne,defaultWidth:"wide"}),day:rp({values:Jne,defaultWidth:"wide"}),dayPeriod:rp({values:Zne,defaultWidth:"wide",formattingValues:Kne,defaultFormattingWidth:"wide"})};function ip(e){return(t,r={})=>{let i=r.width,n=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=t.match(n);if(!s)return null;let o=s[0],a=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(a)?tse(a,h=>h.test(o)):ese(a,h=>h.test(o)),l;l=e.valueCallback?e.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;let p=t.slice(o.length);return{value:l,rest:p}}}function ese(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function tse(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function GP(e){return(t,r={})=>{let i=t.match(e.matchPattern);if(!i)return null;let n=i[0],s=t.match(e.parsePattern);if(!s)return null;let o=e.valueCallback?e.valueCallback(s[0]):s[0];o=r.valueCallback?r.valueCallback(o):o;let a=t.slice(n.length);return{value:o,rest:a}}}var rse=/^(\d+)(th|st|nd|rd)?/i,ise=/\d+/i,nse={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},sse={any:[/^b/i,/^(a|c)/i]},ose={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ase={any:[/1/i,/2/i,/3/i,/4/i]},cse={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},use={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},lse={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},hse={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},pse={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ase={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},HP={ordinalNumber:GP({matchPattern:rse,parsePattern:ise,valueCallback:e=>parseInt(e,10)}),era:ip({matchPatterns:nse,defaultMatchWidth:"wide",parsePatterns:sse,defaultParseWidth:"any"}),quarter:ip({matchPatterns:ose,defaultMatchWidth:"wide",parsePatterns:ase,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ip({matchPatterns:cse,defaultMatchWidth:"wide",parsePatterns:use,defaultParseWidth:"any"}),day:ip({matchPatterns:lse,defaultMatchWidth:"wide",parsePatterns:hse,defaultParseWidth:"any"}),dayPeriod:ip({matchPatterns:pse,defaultMatchWidth:"any",parsePatterns:Ase,defaultParseWidth:"any"})};var vx={code:"en-US",formatDistance:jP,formatLong:qP,formatRelative:zP,localize:VP,match:HP,options:{weekStartsOn:0,firstWeekContainsDate:1}};var dse={};function YP(){return dse}function In(e,t){return tp(t||e,e)}function Ix(e){let t=In(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function np(e,...t){let r=tp.bind(null,e||t.find(i=>typeof i=="object"));return t.map(r)}function sp(e,t){let r=+In(e)-+In(t);return r<0?-1:r>0?1:r}function WP(e,t,r){let[i,n]=np(r?.in,e,t),s=i.getFullYear()-n.getFullYear(),o=i.getMonth()-n.getMonth();return s*12+o}function JP(e,t){let r=In(e,t?.in);return r.setHours(23,59,59,999),r}function ZP(e,t){let r=In(e,t?.in),i=r.getMonth();return r.setFullYear(r.getFullYear(),i+1,0),r.setHours(23,59,59,999),r}function KP(e,t){let r=In(e,t?.in);return+JP(r,t)==+ZP(r,t)}function XP(e,t,r){let[i,n,s]=np(r?.in,e,e,t),o=sp(n,s),a=Math.abs(WP(n,s));if(a<1)return 0;n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-o*a);let u=sp(n,s)===-o;KP(i)&&a===1&&sp(i,s)===1&&(u=!1);let l=o*(a-+u);return l===0?0:l}function e$(e){return t=>{let i=(e?Math[e]:Math.trunc)(t);return i===0?0:i}}function t$(e,t){return+In(e)-+In(t)}function r$(e,t,r){let i=t$(e,t)/1e3;return e$(r?.roundingMethod)(i)}function i$(e,t,r){let i=YP(),n=r?.locale??i.locale??vx,s=2520,o=sp(e,t);if(isNaN(o))throw new RangeError("Invalid time value");let a=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:o}),[u,l]=np(r?.in,...o>0?[t,e]:[e,t]),p=r$(l,u),h=(Ix(l)-Ix(u))/1e3,f=Math.round((p-h)/60),g;if(f<2)return r?.includeSeconds?p<5?n.formatDistance("lessThanXSeconds",5,a):p<10?n.formatDistance("lessThanXSeconds",10,a):p<20?n.formatDistance("lessThanXSeconds",20,a):p<40?n.formatDistance("halfAMinute",0,a):p<60?n.formatDistance("lessThanXMinutes",1,a):n.formatDistance("xMinutes",1,a):f===0?n.formatDistance("lessThanXMinutes",1,a):n.formatDistance("xMinutes",f,a);if(f<45)return n.formatDistance("xMinutes",f,a);if(f<90)return n.formatDistance("aboutXHours",1,a);if(f<bx){let m=Math.round(f/60);return n.formatDistance("aboutXHours",m,a)}else{if(f<s)return n.formatDistance("xDays",1,a);if(f<jd){let m=Math.round(f/bx);return n.formatDistance("xDays",m,a)}else if(f<jd*2)return g=Math.round(f/jd),n.formatDistance("aboutXMonths",g,a)}if(g=XP(l,u),g<12){let m=Math.round(f/jd);return n.formatDistance("xMonths",m,a)}else{let m=g%12,E=Math.trunc(g/12);return m<3?n.formatDistance("aboutXYears",E,a):m<9?n.formatDistance("overXYears",E,a):n.formatDistance("almostXYears",E+1,a)}}function n$(e,t){return i$(e,$P(e),t)}var jt={SILENT:0,FATAL:10,ERROR:20,WARN:30,SUCCESS:35,INFO:40,DEBUG:60,TRACE:70,ALL:100},Er={SILENT:"silent",FATAL:"fatal",ERROR:"error",WARN:"warn",SUCCESS:"success",INFO:"info",DEBUG:"debug",TRACE:"trace",ALL:"all"};var Io={light:{background:"#fafafa",foreground:"#1d1e22",brand:"#1fb2a6",alternate:"#db2777",help:"#5C4EE5",success:"#087f5b",info:"#0550ae",debug:"#8afafc",warning:"#e3b341",danger:"#D8314A",fatal:"#51070f",link:"#3fa6ff",positive:"#22c55e",negative:"#dc2626",gradient:["#1fb2a6","#db2777","#5C4EE5"]},dark:{background:"#1d1e22",foreground:"#cbd5e1",brand:"#2dd4bf",alternate:"#db2777",help:"#818cf8",success:"#10b981",info:"#58a6ff",debug:"#8afafc",warning:"#f3d371",danger:"#D8314A",fatal:"#a40e26",link:"#3fa6ff",positive:"#22c55e",negative:"#dc2626",gradient:["#1fb2a6","#db2777","#818cf8"]}};var L$=Di(Vd(),1),Use={hex:e=>t=>t,bgHex:e=>({whiteBright:t=>t,white:t=>t}),white:e=>e,whiteBright:e=>e,gray:e=>e,bold:{hex:e=>t=>t,bgHex:e=>({whiteBright:t=>t,white:t=>t}),whiteBright:e=>e,white:e=>e},dim:{hex:e=>t=>t,gray:e=>e}},O$=()=>{let e=L$.default;return(!e?.hex||!e?.bold?.hex||!e?.bgHex||!e?.whiteBright||!e?.white)&&(e=Use),e};function M$(){return process.platform!=="win32"?process.env.TERM!=="linux":!!process.env.WT_SESSION||!!process.env.TERMINUS_SUBLIME||process.env.ConEmuTask==="{cmd::Cmder}"||process.env.TERM_PROGRAM==="Terminus-Sublime"||process.env.TERM_PROGRAM==="vscode"||process.env.TERM==="xterm-256color"||process.env.TERM==="alacritty"||process.env.TERM==="rxvt-unicode"||process.env.TERM==="rxvt-unicode-256color"||process.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var kc=(e,t)=>M$()?e:t,_a={[Er.ERROR]:kc("\u2718","\xD7"),[Er.FATAL]:kc("\u2620","\xD7"),[Er.WARN]:kc("\u26A0","\u203C"),[Er.INFO]:kc("\u{1F6C8}","i"),[Er.SUCCESS]:kc("\u2714","\u221A"),[Er.DEBUG]:kc("\u{1F6E0}","D"),[Er.TRACE]:kc("\u2699","T"),[Er.ALL]:kc("\u2709","\u2192")};var ka=(e=new Date)=>`${e.toLocaleDateString()} ${e.toLocaleTimeString()}`;var lp=e=>{switch(e){case"all":return jt.ALL;case"trace":return jt.TRACE;case"debug":return jt.DEBUG;case"info":return jt.INFO;case"warn":return jt.WARN;case"error":return jt.ERROR;case"fatal":return jt.FATAL;case"silent":return jt.SILENT;default:return jt.INFO}},U$=(e=jt.INFO)=>e>=jt.ALL?Er.ALL:e>=jt.TRACE?Er.TRACE:e>=jt.DEBUG?Er.DEBUG:e>=jt.INFO?Er.INFO:e>=jt.WARN?Er.WARN:e>=jt.ERROR?Er.ERROR:e>=jt.FATAL?Er.FATAL:e<=jt.SILENT?Er.SILENT:Er.INFO;var Gd=(e=jt.INFO,t={},r=O$())=>{let i=!t.colors?.dark&&!t.colors?.base&&!t.colors?.base?.dark?Io:t.colors?.dark&&typeof t.colors.dark=="string"?t.colors:t.colors?.base?.dark&&typeof t.colors.base.dark=="string"?t.colors.base.dark:t.colors?.base?t.colors?.base:Io,n=t.logLevel||process.env.STORM_LOG_LEVEL||Er.INFO;return e>lp(n)||e<=jt.SILENT||lp(n)<=jt.SILENT?s=>{}:typeof e=="number"&&jt.FATAL>=e?s=>{console.error(`
|
|
285
285
|
${r.gray(ka())} ${r.hex(i.fatal??Io.dark.fatal)(`[${_a[Er.FATAL]} Fatal] `)}${r.bold.whiteBright(Vn(s))}
|
|
286
286
|
`)}:typeof e=="number"&&jt.ERROR>=e?s=>{console.error(`
|
|
287
287
|
${r.gray(ka())} ${r.hex(i.danger??Io.dark.danger)(`[${_a[Er.ERROR]} Error] `)}${r.bold.whiteBright(Vn(s))}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-storm-workspace",
|
|
3
|
-
"version": "1.97.
|
|
3
|
+
"version": "1.97.78",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "⚡A CLI tool used to generate and fully configure a Storm Workspace repository.",
|
|
6
6
|
"repository": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"nx": "^22.3.3"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": { "access": "public" },
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "3053ec1a8f1bd29d0303c98c1fad84c2613b7b97"
|
|
48
48
|
}
|