create-turbo 1.10.15 → 1.10.16-canary.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/cli.js +1 -1
  2. 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,l),i=l+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,l,a,o;for(l=0,a=t.length;l<a;l+=1)o=t[l],e.replacer&&(o=e.replacer.call(t,String(l),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 pf(e,r,t,n){var i="",l=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+=ya(e,r)),e.dump&&ei===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=l,e.dump=i||"[]"}function nx(e,r,t){var n="",i=e.tag,l=Object.keys(t),a,o,s,f,c;for(a=0,o=l.length;a<o;a+=1)c="",n!==""&&(c+=", "),e.condenseFlow&&(c+='"'),s=l[a],f=t[s],e.replacer&&(f=e.replacer.call(t,s,f)),Xt(e,r,s,!1,!1)&&(e.dump.length>1024&&(c+="? "),c+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Xt(e,r,f,!1,!1)&&(c+=e.dump,n+=c));e.tag=i,e.dump="{"+n+"}"}function ix(e,r,t,n){var i="",l=e.tag,a=Object.keys(t),o,s,f,c,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+=ya(e,r)),f=a[o],c=t[f],e.replacer&&(c=e.replacer.call(t,f,c)),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+=ya(e,r)),Xt(e,r+1,c,!0,h)&&(e.dump&&ei===e.dump.charCodeAt(0)?u+=":":u+=": ",u+=e.dump,i+=u));e.tag=l,e.dump=i||"{}"}function df(e,r,t){var n,i,l,a,o,s;for(i=t?e.explicitTypes:e.implicitTypes,l=0,a=i.length;l<a;l+=1)if(o=i[l],(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,If.call(o.represent)==="[object Function]")n=o.represent(r,s);else if(Mf.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,l,a){e.tag=null,e.dump=t,df(e,t,!1)||df(e,t,!0);var o=If.call(e.dump),s=n,f;n&&(n=e.flowLevel<0||e.flowLevel>r);var c=o==="[object Object]"||o==="[object Array]",h,u;if(c&&(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(c&&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?pf(e,r-1,e.dump,i):pf(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,l,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,l;for(ba(e,t,n),i=0,l=n.length;i<l;i+=1)r.duplicates.push(t[n[i]]);r.usedDuplicates=new Array(l)}function ba(e,r,t){var n,i,l;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,l=e.length;i<l;i+=1)ba(e[i],r,t);else for(n=Object.keys(e),i=0,l=n.length;i<l;i+=1)ba(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 Oa(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=Lf.load,wj=Lf.loadAll,Ej=ux.dump;var Sj=Oa("safeLoad","load"),xj=Oa("safeLoadAll","loadAll"),Aj=Oa("safeDump","dump");var kj=$e($w());Z();var I8=require("proxy-agent");var rn={name:"create-turbo",version:"1.10.15",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 Vf=Ie(require("chalk")),Kf=Ie(require("update-check"));var cx=(0,Kf.default)(rn).catch(()=>null);async function Ta(){try{let e=await cx;e!=null&&e.latest&&(Pe.log(),Pe.log(Vf.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 ky=Ie(require("os"),1),jy=require("stream"),$y=require("util"),Ur=Ie(require("path"),1),ct=require("fs-extra"),Kg=Ie(bs(),1),Yg=Ie(require("path"),1),Xg=require("fs-extra"),Zg=Ie(require("chalk"),1),nr=Ie(require("path"),1),Qg=Ie(bs(),1),At=require("fs-extra"),Jg=Ie(m1(),1);function T1(e){return typeof e=="undefined"||e===null}function oO(e){return typeof e=="object"&&e!==null}function aO(e){return Array.isArray(e)?e:T1(e)?[]:[e]}function uO(e,r){var t,n,i,l;if(r)for(l=Object.keys(r),t=0,n=l.length;t<n;t+=1)i=l[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=T1,fO=oO,pO=aO,dO=lO,mO=cO,yO=uO,Ye={isNothing:hO,isObject:fO,toArray:pO,repeat:dO,isNegativeZero:mO,extend:yO};function F1(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+=`
86
+ `:""}var ax=ox,ux={dump:ax};function Oa(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=Lf.load,wj=Lf.loadAll,Ej=ux.dump;var Sj=Oa("safeLoad","load"),xj=Oa("safeLoadAll","loadAll"),Aj=Oa("safeDump","dump");var kj=$e($w());Z();var I8=require("proxy-agent");var rn={name:"create-turbo",version:"1.10.16-canary.0",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 Vf=Ie(require("chalk")),Kf=Ie(require("update-check"));var cx=(0,Kf.default)(rn).catch(()=>null);async function Ta(){try{let e=await cx;e!=null&&e.latest&&(Pe.log(),Pe.log(Vf.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 ky=Ie(require("os"),1),jy=require("stream"),$y=require("util"),Ur=Ie(require("path"),1),ct=require("fs-extra"),Kg=Ie(bs(),1),Yg=Ie(require("path"),1),Xg=require("fs-extra"),Zg=Ie(require("chalk"),1),nr=Ie(require("path"),1),Qg=Ie(bs(),1),At=require("fs-extra"),Jg=Ie(m1(),1);function T1(e){return typeof e=="undefined"||e===null}function oO(e){return typeof e=="object"&&e!==null}function aO(e){return Array.isArray(e)?e:T1(e)?[]:[e]}function uO(e,r){var t,n,i,l;if(r)for(l=Object.keys(r),t=0,n=l.length;t<n;t+=1)i=l[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=T1,fO=oO,pO=aO,dO=lO,mO=cO,yO=uO,Ye={isNothing:hO,isObject:fO,toArray:pO,repeat:dO,isNegativeZero:mO,extend:yO};function F1(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=F1(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+": "+F1(this,r)};var lt=pi;function Bl(e,r,t,n,i){var l="",a="",o=Math.floor(i/2)-1;return n-r>o&&(l=" ... ",r=n-o+l.length),t-n>o&&(a=" ...",t=n+o-a.length),{str:l+e.slice(r,t).replace(/\t/g,"\u2192")+a,pos:n-r+l.length}}function Ll(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=[],l,a=-1;l=t.exec(e.buffer);)i.push(l.index),n.push(l.index+l[0].length),e.position<=l.index&&a<0&&(a=n.length-2);a<0&&(a=n.length-1);var o="",s,f,c=Math.min(e.line+r.linesAfter,i.length).toString().length,h=r.maxLength-(r.indent+c+3);for(s=1;s<=r.linesBefore&&!(a-s<0);s++)f=Bl(e.buffer,n[a-s],i[a-s],e.position-(n[a]-n[a-s]),h),o=Ye.repeat(" ",r.indent)+Ll((e.line-s+1).toString(),c)+" | "+f.str+`
89
89
  `+o;for(f=Bl(e.buffer,n[a],i[a],e.position,h),o+=Ye.repeat(" ",r.indent)+Ll((e.line+1).toString(),c)+" | "+f.str+`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-turbo",
3
- "version": "1.10.15",
3
+ "version": "1.10.16-canary.0",
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.15"
43
+ "@turbo/workspaces": "1.10.16-canary.0"
44
44
  },
45
45
  "files": [
46
46
  "dist"