create-cedar-app 0.12.1-next.14 → 0.13.0-rc.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/create-cedar-app.js +1 -1
- package/package.json +4 -4
- package/templates/esm-js/api/package.json +2 -2
- package/templates/esm-js/package.json +3 -3
- package/templates/esm-js/web/package.json +4 -4
- package/templates/esm-js/yarn.lock +178 -178
- package/templates/esm-ts/api/package.json +2 -2
- package/templates/esm-ts/package.json +3 -3
- package/templates/esm-ts/web/package.json +4 -4
- package/templates/esm-ts/yarn.lock +178 -178
- package/templates/js/api/package.json +2 -2
- package/templates/js/package.json +3 -3
- package/templates/js/web/package.json +4 -4
- package/templates/js/yarn.lock +178 -178
- package/templates/ts/api/package.json +2 -2
- package/templates/ts/package.json +3 -3
- package/templates/ts/web/package.json +4 -4
- package/templates/ts/yarn.lock +178 -178
package/dist/create-cedar-app.js
CHANGED
|
@@ -629,7 +629,7 @@ Bus `);for(let a=1;a<o.length;a++){let u=CAe(o[a]);t.push(u)}}r&&r(t),e(t)}),_Ae
|
|
|
629
629
|
`)}rowToString(e,t){return this.rasterize(e).forEach((n,s)=>{let i="";n.forEach((o,a)=>{let{width:u}=e[a],c=this.negatePadding(e[a]),l=o;if(c>tn.stringWidth(o)&&(l+=" ".repeat(c-tn.stringWidth(o))),e[a].align&&e[a].align!=="left"&&this.wrap){let p=Hre[e[a].align];l=p(l,c),tn.stringWidth(l)<c&&(l+=" ".repeat((u||0)-tn.stringWidth(l)-1))}let f=e[a].padding||[0,0,0,0];f[Cd]&&(i+=" ".repeat(f[Cd])),i+=_L(e[a],l,"| "),i+=l,i+=_L(e[a],l," |"),f[vd]&&(i+=" ".repeat(f[vd])),s===0&&t.length>0&&(i=this.renderInline(i,t[t.length-1]))}),t.push({text:i.replace(/ +$/,""),span:e.span})}),t}renderInline(e,t){let n=e.match(/^ */),s=n?n[0].length:0,i=t.text,o=tn.stringWidth(i.trimRight());return t.span?this.wrap?s<o?e:(t.hidden=!0,i.trimRight()+" ".repeat(s-o)+e.trimLeft()):(t.hidden=!0,i+e):e}rasterize(e){let t=[],n=this.columnWidths(e),s;return e.forEach((i,o)=>{i.width=n[o],this.wrap?s=tn.wrap(i.text,this.negatePadding(i),{hard:!0}).split(`
|
|
630
630
|
`):s=i.text.split(`
|
|
631
631
|
`),i.border&&(s.unshift("."+"-".repeat(this.negatePadding(i)+2)+"."),s.push("'"+"-".repeat(this.negatePadding(i)+2)+"'")),i.padding&&(s.unshift(...new Array(i.padding[Wre]||0).fill("")),s.push(...new Array(i.padding[Yre]||0).fill(""))),s.forEach((a,u)=>{t[u]||t.push([]);let c=t[u];for(let l=0;l<o;l++)c[l]===void 0&&c.push("");c.push(a)})}),t}negatePadding(e){let t=e.width||0;return e.padding&&(t-=(e.padding[Cd]||0)+(e.padding[vd]||0)),e.border&&(t-=4),t}columnWidths(e){if(!this.wrap)return e.map(o=>o.width||tn.stringWidth(o.text));let t=e.length,n=this.width,s=e.map(o=>{if(o.width)return t--,n-=o.width,o.width}),i=t?Math.floor(n/t):0;return s.map((o,a)=>o===void 0?Math.max(i,Xre(e[a])):o)}};function _L(r,e,t){return r.border?/[.']-+[.']/.test(e)?"":e.trim().length!==0?t:" ":""}function Xre(r){let e=r.padding||[],t=1+(e[Cd]||0)+(e[vd]||0);return r.border?t+4:t}function Kre(){return typeof process=="object"&&process.stdout&&process.stdout.columns?process.stdout.columns:80}function zre(r,e){r=r.trim();let t=tn.stringWidth(r);return t<e?" ".repeat(e-t)+r:r}function Jre(r,e){r=r.trim();let t=tn.stringWidth(r);return t>=e?r:" ".repeat(e-t>>1)+r}var tn;function SL(r,e){return tn=e,new j_({width:r?.width||Kre(),wrap:r?.wrap})}var TL=new RegExp("\x1B(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)","g");function G_(r){return r.replace(TL,"")}function yL(r,e){let[t,n]=r.match(TL)||["",""];r=G_(r);let s="";for(let i=0;i<r.length;i++)i!==0&&i%e===0&&(s+=`
|
|
632
|
-
`),s+=r.charAt(i);return t&&n&&(s=`${t}${s}${n}`),s}function q_(r){return SL(r,{stringWidth:e=>[...e].length,stripAnsi:G_,wrap:yL})}import{dirname as AL,resolve as OL}from"path";import{readdirSync as Qre,statSync as Zre}from"fs";function vL(r,e){let t=OL(".",r),n;for(Zre(t).isDirectory()||(t=AL(t));;){if(n=e(t,Qre(t)),n)return OL(t,n);if(t=AL(n=t),n===t)break}}import{inspect as une}from"util";import{readFileSync as cne}from"fs";import{fileURLToPath as lne}from"url";import{basename as fne,dirname as pne,extname as dne,relative as hne,resolve as wL}from"path";import{readFileSync as ene,statSync as tne,writeFile as rne}from"fs";import{format as nne}from"util";import{resolve as ine}from"path";var CL={fs:{readFileSync:ene,writeFile:rne},format:nne,resolve:ine,exists:r=>{try{return tne(r).isFile()}catch{return!1}}};var Xn,$_=class{constructor(e){e=e||{},this.directory=e.directory||"./locales",this.updateFiles=typeof e.updateFiles=="boolean"?e.updateFiles:!0,this.locale=e.locale||"en",this.fallbackToLanguage=typeof e.fallbackToLanguage=="boolean"?e.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...e){if(typeof arguments[0]!="string")return this._taggedLiteral(arguments[0],...arguments);let t=e.shift(),n=function(){};return typeof e[e.length-1]=="function"&&(n=e.pop()),n=n||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]=t,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:n})):n(),Xn.format.apply(Xn.format,[this.cache[this.locale][t]||t].concat(e))}__n(){let e=Array.prototype.slice.call(arguments),t=e.shift(),n=e.shift(),s=e.shift(),i=function(){};typeof e[e.length-1]=="function"&&(i=e.pop()),this.cache[this.locale]||this._readLocaleFile();let o=s===1?t:n;this.cache[this.locale][t]&&(o=this.cache[this.locale][t][s===1?"one":"other"]),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]={one:t,other:n},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:i})):i();let a=[o];return~o.indexOf("%d")&&a.push(s),Xn.format.apply(Xn.format,a.concat(e))}setLocale(e){this.locale=e}getLocale(){return this.locale}updateLocale(e){this.cache[this.locale]||this._readLocaleFile();for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this.cache[this.locale][t]=e[t])}_taggedLiteral(e,...t){let n="";return e.forEach(function(s,i){let o=t[i+1];n+=s,typeof o<"u"&&(n+="%s")}),this.__.apply(this,[n].concat([].slice.call(t,1)))}_enqueueWrite(e){this.writeQueue.push(e),this.writeQueue.length===1&&this._processWriteQueue()}_processWriteQueue(){let e=this,t=this.writeQueue[0],n=t.directory,s=t.locale,i=t.cb,o=this._resolveLocaleFile(n,s),a=JSON.stringify(this.cache[s],null,2);Xn.fs.writeFile(o,a,"utf-8",function(u){e.writeQueue.shift(),e.writeQueue.length>0&&e._processWriteQueue(),i(u)})}_readLocaleFile(){let e={},t=this._resolveLocaleFile(this.directory,this.locale);try{Xn.fs.readFileSync&&(e=JSON.parse(Xn.fs.readFileSync(t,"utf-8")))}catch(n){if(n instanceof SyntaxError&&(n.message="syntax error in "+t),n.code==="ENOENT")e={};else throw n}this.cache[this.locale]=e}_resolveLocaleFile(e,t){let n=Xn.resolve(e,"./",t+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(n)&&~t.lastIndexOf("_")){let s=Xn.resolve(e,"./",t.split("_")[0]+".json");this._fileExistsSync(s)&&(n=s)}return n}_fileExistsSync(e){return Xn.exists(e)}};function bL(r,e){Xn=e;let t=new $_(r);return{__:t.__.bind(t),__n:t.__n.bind(t),setLocale:t.setLocale.bind(t),getLocale:t.getLocale.bind(t),updateLocale:t.updateLocale.bind(t),locale:t.locale}}var sne=r=>bL(r,CL),DL=sne;var mne="require is not supported by ESM",RL="loading a directory of commands is not supported yet for ESM",vl;try{vl=lne(import.meta.url)}catch{vl=process.cwd()}var gne=vl.substring(0,vl.lastIndexOf("node_modules")),Ene={assert:{notStrictEqual:one,strictEqual:ane},cliui:q_,findUp:vL,getEnv:r=>process.env[r],inspect:une,getCallerFile:()=>{throw new Co(RL)},getProcessArgvBin:pL,mainFilename:gne||process.cwd(),Parser:Ol,path:{basename:fne,dirname:pne,extname:dne,relative:hne,resolve:wL},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(r,e)=>process.emitWarning(r,e),execPath:()=>process.execPath,exit:process.exit,nextTick:process.nextTick,stdColumns:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:cne,require:()=>{throw new Co(mne)},requireDirectory:()=>{throw new Co(RL)},stringWidth:r=>[...r].length,y18n:DL({directory:wL(vl,"../../../locales"),updateFiles:!1})};var ix=fr(nx(),1),{applyExtends:Cie,cjsPlatformShim:bie,Parser:Die,processArgv:wie,Yargs:$d}=ix.default;$d.applyExtends=(r,e,t)=>Cie(r,e,t,bie);$d.hideBin=wie.hideBin;$d.Parser=Die;var sx=$d;var lt=fr(rU(),1);var uh="create-cedar-app",ch="0.
|
|
632
|
+
`),s+=r.charAt(i);return t&&n&&(s=`${t}${s}${n}`),s}function q_(r){return SL(r,{stringWidth:e=>[...e].length,stripAnsi:G_,wrap:yL})}import{dirname as AL,resolve as OL}from"path";import{readdirSync as Qre,statSync as Zre}from"fs";function vL(r,e){let t=OL(".",r),n;for(Zre(t).isDirectory()||(t=AL(t));;){if(n=e(t,Qre(t)),n)return OL(t,n);if(t=AL(n=t),n===t)break}}import{inspect as une}from"util";import{readFileSync as cne}from"fs";import{fileURLToPath as lne}from"url";import{basename as fne,dirname as pne,extname as dne,relative as hne,resolve as wL}from"path";import{readFileSync as ene,statSync as tne,writeFile as rne}from"fs";import{format as nne}from"util";import{resolve as ine}from"path";var CL={fs:{readFileSync:ene,writeFile:rne},format:nne,resolve:ine,exists:r=>{try{return tne(r).isFile()}catch{return!1}}};var Xn,$_=class{constructor(e){e=e||{},this.directory=e.directory||"./locales",this.updateFiles=typeof e.updateFiles=="boolean"?e.updateFiles:!0,this.locale=e.locale||"en",this.fallbackToLanguage=typeof e.fallbackToLanguage=="boolean"?e.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...e){if(typeof arguments[0]!="string")return this._taggedLiteral(arguments[0],...arguments);let t=e.shift(),n=function(){};return typeof e[e.length-1]=="function"&&(n=e.pop()),n=n||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]=t,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:n})):n(),Xn.format.apply(Xn.format,[this.cache[this.locale][t]||t].concat(e))}__n(){let e=Array.prototype.slice.call(arguments),t=e.shift(),n=e.shift(),s=e.shift(),i=function(){};typeof e[e.length-1]=="function"&&(i=e.pop()),this.cache[this.locale]||this._readLocaleFile();let o=s===1?t:n;this.cache[this.locale][t]&&(o=this.cache[this.locale][t][s===1?"one":"other"]),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]={one:t,other:n},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:i})):i();let a=[o];return~o.indexOf("%d")&&a.push(s),Xn.format.apply(Xn.format,a.concat(e))}setLocale(e){this.locale=e}getLocale(){return this.locale}updateLocale(e){this.cache[this.locale]||this._readLocaleFile();for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this.cache[this.locale][t]=e[t])}_taggedLiteral(e,...t){let n="";return e.forEach(function(s,i){let o=t[i+1];n+=s,typeof o<"u"&&(n+="%s")}),this.__.apply(this,[n].concat([].slice.call(t,1)))}_enqueueWrite(e){this.writeQueue.push(e),this.writeQueue.length===1&&this._processWriteQueue()}_processWriteQueue(){let e=this,t=this.writeQueue[0],n=t.directory,s=t.locale,i=t.cb,o=this._resolveLocaleFile(n,s),a=JSON.stringify(this.cache[s],null,2);Xn.fs.writeFile(o,a,"utf-8",function(u){e.writeQueue.shift(),e.writeQueue.length>0&&e._processWriteQueue(),i(u)})}_readLocaleFile(){let e={},t=this._resolveLocaleFile(this.directory,this.locale);try{Xn.fs.readFileSync&&(e=JSON.parse(Xn.fs.readFileSync(t,"utf-8")))}catch(n){if(n instanceof SyntaxError&&(n.message="syntax error in "+t),n.code==="ENOENT")e={};else throw n}this.cache[this.locale]=e}_resolveLocaleFile(e,t){let n=Xn.resolve(e,"./",t+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(n)&&~t.lastIndexOf("_")){let s=Xn.resolve(e,"./",t.split("_")[0]+".json");this._fileExistsSync(s)&&(n=s)}return n}_fileExistsSync(e){return Xn.exists(e)}};function bL(r,e){Xn=e;let t=new $_(r);return{__:t.__.bind(t),__n:t.__n.bind(t),setLocale:t.setLocale.bind(t),getLocale:t.getLocale.bind(t),updateLocale:t.updateLocale.bind(t),locale:t.locale}}var sne=r=>bL(r,CL),DL=sne;var mne="require is not supported by ESM",RL="loading a directory of commands is not supported yet for ESM",vl;try{vl=lne(import.meta.url)}catch{vl=process.cwd()}var gne=vl.substring(0,vl.lastIndexOf("node_modules")),Ene={assert:{notStrictEqual:one,strictEqual:ane},cliui:q_,findUp:vL,getEnv:r=>process.env[r],inspect:une,getCallerFile:()=>{throw new Co(RL)},getProcessArgvBin:pL,mainFilename:gne||process.cwd(),Parser:Ol,path:{basename:fne,dirname:pne,extname:dne,relative:hne,resolve:wL},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(r,e)=>process.emitWarning(r,e),execPath:()=>process.execPath,exit:process.exit,nextTick:process.nextTick,stdColumns:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:cne,require:()=>{throw new Co(mne)},requireDirectory:()=>{throw new Co(RL)},stringWidth:r=>[...r].length,y18n:DL({directory:wL(vl,"../../../locales"),updateFiles:!1})};var ix=fr(nx(),1),{applyExtends:Cie,cjsPlatformShim:bie,Parser:Die,processArgv:wie,Yargs:$d}=ix.default;$d.applyExtends=(r,e,t)=>Cie(r,e,t,bie);$d.hideBin=wie.hideBin;$d.Parser=Die;var sx=$d;var lt=fr(rU(),1);var uh="create-cedar-app",ch="0.13.0-rc.45";var XV=fr(bV(),1);var DV=(r=0)=>e=>`\x1B[${e+r}m`,wV=(r=0)=>e=>`\x1B[${38+r};5;${e}m`,RV=(r=0)=>(e,t,n)=>`\x1B[${38+r};2;${e};${t};${n}m`,wt={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},nPe=Object.keys(wt.modifier),Zue=Object.keys(wt.color),ece=Object.keys(wt.bgColor),iPe=[...Zue,...ece];function tce(){let r=new Map;for(let[e,t]of Object.entries(wt)){for(let[n,s]of Object.entries(t))wt[n]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},t[n]=wt[n],r.set(s[0],s[1]);Object.defineProperty(wt,e,{value:t,enumerable:!1})}return Object.defineProperty(wt,"codes",{value:r,enumerable:!1}),wt.color.close="\x1B[39m",wt.bgColor.close="\x1B[49m",wt.color.ansi=DV(),wt.color.ansi256=wV(),wt.color.ansi16m=RV(),wt.bgColor.ansi=DV(10),wt.bgColor.ansi256=wV(10),wt.bgColor.ansi16m=RV(10),Object.defineProperties(wt,{rgbToAnsi256:{value(e,t,n){return e===t&&t===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[n]=t;n.length===3&&(n=[...n].map(i=>i+i).join(""));let s=Number.parseInt(n,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:e=>wt.rgbToAnsi256(...wt.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let t,n,s;if(e>=232)t=((e-232)*10+8)/255,n=t,s=t;else{e-=16;let a=e%36;t=Math.floor(e/36)/5,n=Math.floor(a/6)/5,s=a%6/5}let i=Math.max(t,n,s)*2;if(i===0)return 30;let o=30+(Math.round(s)<<2|Math.round(n)<<1|Math.round(t));return i===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,t,n)=>wt.ansi256ToAnsi(wt.rgbToAnsi256(e,t,n)),enumerable:!1},hexToAnsi:{value:e=>wt.ansi256ToAnsi(wt.hexToAnsi256(e)),enumerable:!1}}),wt}var rce=tce(),ei=rce;import dy from"node:process";import nce from"node:os";import PV from"node:tty";function Pn(r,e=globalThis.Deno?globalThis.Deno.args:dy.argv){let t=r.startsWith("-")?"":r.length===1?"-":"--",n=e.indexOf(t+r),s=e.indexOf("--");return n!==-1&&(s===-1||n<s)}var{env:xt}=dy,gh;Pn("no-color")||Pn("no-colors")||Pn("color=false")||Pn("color=never")?gh=0:(Pn("color")||Pn("colors")||Pn("color=true")||Pn("color=always"))&&(gh=1);function ice(){if("FORCE_COLOR"in xt)return xt.FORCE_COLOR==="true"?1:xt.FORCE_COLOR==="false"?0:xt.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(xt.FORCE_COLOR,10),3)}function sce(r){return r===0?!1:{level:r,hasBasic:!0,has256:r>=2,has16m:r>=3}}function oce(r,{streamIsTTY:e,sniffFlags:t=!0}={}){let n=ice();n!==void 0&&(gh=n);let s=t?gh:n;if(s===0)return 0;if(t){if(Pn("color=16m")||Pn("color=full")||Pn("color=truecolor"))return 3;if(Pn("color=256"))return 2}if("TF_BUILD"in xt&&"AGENT_NAME"in xt)return 1;if(r&&!e&&s===void 0)return 0;let i=s||0;if(xt.TERM==="dumb")return i;if(dy.platform==="win32"){let o=nce.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in xt)return"GITHUB_ACTIONS"in xt||"GITEA_ACTIONS"in xt?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(o=>o in xt)||xt.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in xt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(xt.TEAMCITY_VERSION)?1:0;if(xt.COLORTERM==="truecolor"||xt.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in xt){let o=Number.parseInt((xt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(xt.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(xt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(xt.TERM)||"COLORTERM"in xt?1:i}function IV(r,e={}){let t=oce(r,{streamIsTTY:r&&r.isTTY,...e});return sce(t)}var ace={stdout:IV({isTTY:PV.isatty(1)}),stderr:IV({isTTY:PV.isatty(2)})},LV=ace;function NV(r,e,t){let n=r.indexOf(e);if(n===-1)return r;let s=e.length,i=0,o="";do o+=r.slice(i,n)+e+t,i=n+s,n=r.indexOf(e,i);while(n!==-1);return o+=r.slice(i),o}function xV(r,e,t,n){let s=0,i="";do{let o=r[n-1]==="\r";i+=r.slice(s,o?n-1:n)+e+(o?`\r
|
|
633
633
|
`:`
|
|
634
634
|
`)+t,s=n+1,n=r.indexOf(`
|
|
635
635
|
`,s)}while(n!==-1);return i+=r.slice(s),i}var{stdout:MV,stderr:UV}=LV,hy=Symbol("GENERATOR"),Du=Symbol("STYLER"),zl=Symbol("IS_EMPTY"),BV=["ansi","ansi","ansi256","ansi16m"],wu=Object.create(null),uce=(r,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let t=MV?MV.level:0;r.level=e.level===void 0?t:e.level};var cce=r=>{let e=(...t)=>t.join(" ");return uce(e,r),Object.setPrototypeOf(e,Jl.prototype),e};function Jl(r){return cce(r)}Object.setPrototypeOf(Jl.prototype,Function.prototype);for(let[r,e]of Object.entries(ei))wu[r]={get(){let t=Eh(this,gy(e.open,e.close,this[Du]),this[zl]);return Object.defineProperty(this,r,{value:t}),t}};wu.visible={get(){let r=Eh(this,this[Du],!0);return Object.defineProperty(this,"visible",{value:r}),r}};var my=(r,e,t,...n)=>r==="rgb"?e==="ansi16m"?ei[t].ansi16m(...n):e==="ansi256"?ei[t].ansi256(ei.rgbToAnsi256(...n)):ei[t].ansi(ei.rgbToAnsi(...n)):r==="hex"?my("rgb",e,t,...ei.hexToRgb(...n)):ei[t][r](...n),lce=["rgb","hex","ansi256"];for(let r of lce){wu[r]={get(){let{level:t}=this;return function(...n){let s=gy(my(r,BV[t],"color",...n),ei.color.close,this[Du]);return Eh(this,s,this[zl])}}};let e="bg"+r[0].toUpperCase()+r.slice(1);wu[e]={get(){let{level:t}=this;return function(...n){let s=gy(my(r,BV[t],"bgColor",...n),ei.bgColor.close,this[Du]);return Eh(this,s,this[zl])}}}}var fce=Object.defineProperties(()=>{},{...wu,level:{enumerable:!0,get(){return this[hy].level},set(r){this[hy].level=r}}}),gy=(r,e,t)=>{let n,s;return t===void 0?(n=r,s=e):(n=t.openAll+r,s=e+t.closeAll),{open:r,close:e,openAll:n,closeAll:s,parent:t}},Eh=(r,e,t)=>{let n=(...s)=>pce(n,s.length===1?""+s[0]:s.join(" "));return Object.setPrototypeOf(n,fce),n[hy]=r,n[Du]=e,n[zl]=t,n},pce=(r,e)=>{if(r.level<=0||!e)return r[zl]?"":e;let t=r[Du];if(t===void 0)return e;let{openAll:n,closeAll:s}=t;if(e.includes("\x1B"))for(;t!==void 0;)e=NV(e,t.close,t.open),t=t.parent;let i=e.indexOf(`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cedar-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0-rc.45",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@babel/core": "^7.26.10",
|
|
28
28
|
"@babel/plugin-transform-typescript": "^7.26.8",
|
|
29
|
-
"@cedarjs/framework-tools": "0.13.0",
|
|
30
|
-
"@cedarjs/tui": "0.
|
|
29
|
+
"@cedarjs/framework-tools": "0.13.0-rc.45",
|
|
30
|
+
"@cedarjs/tui": "0.13.0-rc.45",
|
|
31
31
|
"@opentelemetry/api": "1.8.0",
|
|
32
32
|
"@opentelemetry/exporter-trace-otlp-http": "0.49.1",
|
|
33
33
|
"@opentelemetry/resources": "1.22.0",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "27dec9dc7169c28624f36c158ac0a179a64d3153"
|
|
60
60
|
}
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@cedarjs/core": "0.13.0",
|
|
12
|
-
"@cedarjs/project-config": "0.13.0",
|
|
13
|
-
"@cedarjs/testing": "0.13.0",
|
|
11
|
+
"@cedarjs/core": "0.13.0-rc.45",
|
|
12
|
+
"@cedarjs/project-config": "0.13.0-rc.45",
|
|
13
|
+
"@cedarjs/testing": "0.13.0-rc.45",
|
|
14
14
|
"vitest": "3.2.4"
|
|
15
15
|
},
|
|
16
16
|
"eslintConfig": {
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
]
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@cedarjs/forms": "0.13.0",
|
|
16
|
-
"@cedarjs/router": "0.13.0",
|
|
17
|
-
"@cedarjs/web": "0.13.0",
|
|
15
|
+
"@cedarjs/forms": "0.13.0-rc.45",
|
|
16
|
+
"@cedarjs/router": "0.13.0-rc.45",
|
|
17
|
+
"@cedarjs/web": "0.13.0-rc.45",
|
|
18
18
|
"react": "18.3.1",
|
|
19
19
|
"react-dom": "18.3.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@cedarjs/vite": "0.13.0",
|
|
22
|
+
"@cedarjs/vite": "0.13.0-rc.45",
|
|
23
23
|
"@types/react": "^18.2.55",
|
|
24
24
|
"@types/react-dom": "^18.2.19"
|
|
25
25
|
}
|