create-turbo 1.10.14-canary.2 → 1.10.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cli.js +1 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
@@ -83,7 +83,7 @@ Downloading files${t?"":` for example ${ar.default.cyan(r)}`}. This might take a
|
|
83
83
|
`+e.slice(i,c),i=c+1),a=o;return s+=`
|
84
84
|
`,e.length-i>r&&a>i?s+=e.slice(i,a)+`
|
85
85
|
`+e.slice(a+1):s+=e.slice(i),s.slice(1)}function tx(e){for(var r="",t=0,n,i=0;i<e.length;t>=65536?i+=2:i++)t=Qn(e,i),n=nt[t],!n&&ri(t)?(r+=e[i],t>=65536&&(r+=e[i+1])):r+=n||WS(t);return r}function rx(e,r,t){var n="",i=e.tag,c,a,o;for(c=0,a=t.length;c<a;c+=1)o=t[c],e.replacer&&(o=e.replacer.call(t,String(c),o)),(Xt(e,r,o,!1,!1)||typeof o>"u"&&Xt(e,r,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=i,e.dump="["+n+"]"}function ff(e,r,t,n){var i="",c=e.tag,a,o,s;for(a=0,o=t.length;a<o;a+=1)s=t[a],e.replacer&&(s=e.replacer.call(t,String(a),s)),(Xt(e,r+1,s,!0,!0,!1,!0)||typeof s>"u"&&Xt(e,r+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=ma(e,r)),e.dump&&ei===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=c,e.dump=i||"[]"}function nx(e,r,t){var n="",i=e.tag,c=Object.keys(t),a,o,s,f,l;for(a=0,o=c.length;a<o;a+=1)l="",n!==""&&(l+=", "),e.condenseFlow&&(l+='"'),s=c[a],f=t[s],e.replacer&&(f=e.replacer.call(t,s,f)),Xt(e,r,s,!1,!1)&&(e.dump.length>1024&&(l+="? "),l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Xt(e,r,f,!1,!1)&&(l+=e.dump,n+=l));e.tag=i,e.dump="{"+n+"}"}function ix(e,r,t,n){var i="",c=e.tag,a=Object.keys(t),o,s,f,l,h,u;if(e.sortKeys===!0)a.sort();else if(typeof e.sortKeys=="function")a.sort(e.sortKeys);else if(e.sortKeys)throw new ht("sortKeys must be a boolean or a function");for(o=0,s=a.length;o<s;o+=1)u="",(!n||i!=="")&&(u+=ma(e,r)),f=a[o],l=t[f],e.replacer&&(l=e.replacer.call(t,f,l)),Xt(e,r+1,f,!0,!0,!0)&&(h=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,h&&(e.dump&&ei===e.dump.charCodeAt(0)?u+="?":u+="? "),u+=e.dump,h&&(u+=ma(e,r)),Xt(e,r+1,l,!0,h)&&(e.dump&&ei===e.dump.charCodeAt(0)?u+=":":u+=": ",u+=e.dump,i+=u));e.tag=c,e.dump=i||"{}"}function pf(e,r,t){var n,i,c,a,o,s;for(i=t?e.explicitTypes:e.implicitTypes,c=0,a=i.length;c<a;c+=1)if(o=i[c],(o.instanceOf||o.predicate)&&(!o.instanceOf||typeof r=="object"&&r instanceof o.instanceOf)&&(!o.predicate||o.predicate(r))){if(t?o.multi&&o.representName?e.tag=o.representName(r):e.tag=o.tag:e.tag="?",o.represent){if(s=e.styleMap[o.tag]||o.defaultStyle,Lf.call(o.represent)==="[object Function]")n=o.represent(r,s);else if(If.call(o.represent,s))n=o.represent[s](r,s);else throw new ht("!<"+o.tag+'> tag resolver accepts not "'+s+'" style');e.dump=n}return!0}return!1}function Xt(e,r,t,n,i,c,a){e.tag=null,e.dump=t,pf(e,t,!1)||pf(e,t,!0);var o=Lf.call(e.dump),s=n,f;n&&(n=e.flowLevel<0||e.flowLevel>r);var l=o==="[object Object]"||o==="[object Array]",h,u;if(l&&(h=e.duplicates.indexOf(t),u=h!==-1),(e.tag!==null&&e.tag!=="?"||u||e.indent!==2&&r>0)&&(i=!1),u&&e.usedDuplicates[h])e.dump="*ref_"+h;else{if(l&&u&&!e.usedDuplicates[h]&&(e.usedDuplicates[h]=!0),o==="[object Object]")n&&Object.keys(e.dump).length!==0?(ix(e,r,e.dump,i),u&&(e.dump="&ref_"+h+e.dump)):(nx(e,r,e.dump),u&&(e.dump="&ref_"+h+" "+e.dump));else if(o==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!a&&r>0?ff(e,r-1,e.dump,i):ff(e,r,e.dump,i),u&&(e.dump="&ref_"+h+e.dump)):(rx(e,r,e.dump),u&&(e.dump="&ref_"+h+" "+e.dump));else if(o==="[object String]")e.tag!=="?"&&JS(e,e.dump,r,c,s);else{if(o==="[object Undefined]"||e.skipInvalid)return!1;throw new ht("unacceptable kind of an object to dump "+o)}e.tag!==null&&e.tag!=="?"&&(f=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?f="!"+f:f.slice(0,18)==="tag:yaml.org,2002:"?f="!!"+f.slice(18):f="!<"+f+">",e.dump=f+" "+e.dump)}return!0}function sx(e,r){var t=[],n=[],i,c;for(ga(e,t,n),i=0,c=n.length;i<c;i+=1)r.duplicates.push(t[n[i]]);r.usedDuplicates=new Array(c)}function ga(e,r,t){var n,i,c;if(e!==null&&typeof e=="object")if(i=r.indexOf(e),i!==-1)t.indexOf(i)===-1&&t.push(i);else if(r.push(e),Array.isArray(e))for(i=0,c=e.length;i<c;i+=1)ga(e[i],r,t);else for(n=Object.keys(e),i=0,c=n.length;i<c;i+=1)ga(e[n[i]],r,t)}function ox(e,r){r=r||{};var t=new KS(r);t.noRefs||sx(e,t);var n=e;return t.replacer&&(n=t.replacer.call({"":n},"",n)),Xt(t,0,n,!0,!0)?t.dump+`
|
86
|
-
`:""}var ax=ox,ux={dump:ax};function Ra(e,r){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+r+" instead, which is now safe by default.")}}var _j=Bf.load,wj=Bf.loadAll,Ej=ux.dump;var Sj=Ra("safeLoad","load"),xj=Ra("safeLoadAll","loadAll"),Aj=Ra("safeDump","dump");var kj=$e($w());Z();var I8=require("proxy-agent");var rn={name:"create-turbo",version:"1.10.14
|
86
|
+
`:""}var ax=ox,ux={dump:ax};function Ra(e,r){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+r+" instead, which is now safe by default.")}}var _j=Bf.load,wj=Bf.loadAll,Ej=ux.dump;var Sj=Ra("safeLoad","load"),xj=Ra("safeLoadAll","loadAll"),Aj=Ra("safeDump","dump");var kj=$e($w());Z();var I8=require("proxy-agent");var rn={name:"create-turbo",version:"1.10.14",description:"Create a new Turborepo",homepage:"https://turbo.build/repo",license:"MPL-2.0",repository:{type:"git",url:"https://github.com/vercel/turbo",directory:"packages/create-turbo"},bugs:{url:"https://github.com/vercel/turbo/issues"},bin:{"create-turbo":"dist/cli.js"},scripts:{build:"tsup",test:"jest",lint:"eslint src/","check-types":"tsc --noEmit","lint:prettier":"prettier -c . --cache --ignore-path=../../.prettierignore"},dependencies:{chalk:"2.4.2",commander:"^10.0.0","fs-extra":"^11.1.1",inquirer:"^8.0.0","proxy-agent":"^6.2.2",rimraf:"^3.0.2",semver:"^7.3.8","update-check":"^1.5.4"},devDependencies:{"@turbo/eslint-config":"workspace:*","@turbo/test-utils":"workspace:*","@turbo/tsconfig":"workspace:*","@turbo/utils":"workspace:*","@turbo/workspaces":"workspace:*","@types/fs-extra":"^9.0.13","@types/inquirer":"^7.3.1","@types/jest":"^27.4.0","@types/node":"^18.17.2","@types/rimraf":"^3.0.2","@types/semver":"^7.3.9",jest:"^27.4.3","ts-jest":"^27.1.1",tsup:"^6.7.0",typescript:"^5.2.2"},files:["dist"]};var Wf=Ie(require("chalk")),Vf=Ie(require("update-check"));var cx=(0,Vf.default)(rn).catch(()=>null);async function Oa(){try{let e=await cx;e!=null&&e.latest&&(Pe.log(),Pe.log(Wf.default.yellow.bold("A new version of `create-turbo` is available!")),Pe.log()),process.exit()}catch{}}var Ii=Ie(require("path")),tt=Ie(require("chalk"));var Ay=Ie(require("os"),1),Ny=require("stream"),jy=require("util"),Ur=Ie(require("path"),1),ct=require("fs-extra"),Vg=Ie(bs(),1),Kg=Ie(require("path"),1),Yg=require("fs-extra"),Xg=Ie(require("chalk"),1),nr=Ie(require("path"),1),Zg=Ie(bs(),1),At=require("fs-extra"),Qg=Ie(d1(),1);function O1(e){return typeof e=="undefined"||e===null}function oO(e){return typeof e=="object"&&e!==null}function aO(e){return Array.isArray(e)?e:O1(e)?[]:[e]}function uO(e,r){var t,n,i,c;if(r)for(c=Object.keys(r),t=0,n=c.length;t<n;t+=1)i=c[t],e[i]=r[i];return e}function lO(e,r){var t="",n;for(n=0;n<r;n+=1)t+=e;return t}function cO(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var hO=O1,fO=oO,pO=aO,dO=lO,mO=cO,yO=uO,Ye={isNothing:hO,isObject:fO,toArray:pO,repeat:dO,isNegativeZero:mO,extend:yO};function T1(e,r){var t="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(t+='in "'+e.mark.name+'" '),t+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!r&&e.mark.snippet&&(t+=`
|
87
87
|
|
88
88
|
`+e.mark.snippet),n+" "+t):n}function pi(e,r){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=r,this.message=T1(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}pi.prototype=Object.create(Error.prototype);pi.prototype.constructor=pi;pi.prototype.toString=function(r){return this.name+": "+T1(this,r)};var lt=pi;function Pl(e,r,t,n,i){var c="",a="",o=Math.floor(i/2)-1;return n-r>o&&(c=" ... ",r=n-o+c.length),t-n>o&&(a=" ...",t=n+o-a.length),{str:c+e.slice(r,t).replace(/\t/g,"\u2192")+a,pos:n-r+c.length}}function Bl(e,r){return Ye.repeat(" ",r-e.length)+e}function gO(e,r){if(r=Object.create(r||null),!e.buffer)return null;r.maxLength||(r.maxLength=79),typeof r.indent!="number"&&(r.indent=1),typeof r.linesBefore!="number"&&(r.linesBefore=3),typeof r.linesAfter!="number"&&(r.linesAfter=2);for(var t=/\r?\n|\r|\0/g,n=[0],i=[],c,a=-1;c=t.exec(e.buffer);)i.push(c.index),n.push(c.index+c[0].length),e.position<=c.index&&a<0&&(a=n.length-2);a<0&&(a=n.length-1);var o="",s,f,l=Math.min(e.line+r.linesAfter,i.length).toString().length,h=r.maxLength-(r.indent+l+3);for(s=1;s<=r.linesBefore&&!(a-s<0);s++)f=Pl(e.buffer,n[a-s],i[a-s],e.position-(n[a]-n[a-s]),h),o=Ye.repeat(" ",r.indent)+Bl((e.line-s+1).toString(),l)+" | "+f.str+`
|
89
89
|
`+o;for(f=Pl(e.buffer,n[a],i[a],e.position,h),o+=Ye.repeat(" ",r.indent)+Bl((e.line+1).toString(),l)+" | "+f.str+`
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "create-turbo",
|
3
|
-
"version": "1.10.14
|
3
|
+
"version": "1.10.14",
|
4
4
|
"description": "Create a new Turborepo",
|
5
5
|
"homepage": "https://turbo.build/repo",
|
6
6
|
"license": "MPL-2.0",
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"@turbo/test-utils": "0.0.0",
|
41
41
|
"@turbo/tsconfig": "0.0.0",
|
42
42
|
"@turbo/utils": "0.0.0",
|
43
|
-
"@turbo/workspaces": "1.10.14
|
43
|
+
"@turbo/workspaces": "1.10.14"
|
44
44
|
},
|
45
45
|
"files": [
|
46
46
|
"dist"
|