create-storm-workspace 1.97.237 → 1.97.239
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 +24 -0
- package/README.md +1 -1
- package/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Create Storm Workspace
|
|
4
4
|
|
|
5
|
+
## [1.97.238](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.238) (06/26/2026)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update workspace packages' dependencies ([5b4faf445](https://github.com/storm-software/storm-ops/commit/5b4faf445))
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
- **npm-tools:** Updated `getVersion` function to allow `retries` and `timeout` options ([c1ebc0184](https://github.com/storm-software/storm-ops/commit/c1ebc0184))
|
|
14
|
+
|
|
15
|
+
### Updated Dependencies
|
|
16
|
+
|
|
17
|
+
- Updated **config-tools** to **v1.190.78**
|
|
18
|
+
|
|
19
|
+
## [1.97.237](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.237) (06/24/2026)
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
- **pnpm-tools:** Resolve issue with replace statement when formatting semver ([f9e233720](https://github.com/storm-software/storm-ops/commit/f9e233720))
|
|
24
|
+
|
|
25
|
+
### Updated Dependencies
|
|
26
|
+
|
|
27
|
+
- Updated **config-tools** to **v1.190.77**
|
|
28
|
+
|
|
5
29
|
## [1.97.236](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.236) (06/24/2026)
|
|
6
30
|
|
|
7
31
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
package/index.js
CHANGED
|
@@ -198,7 +198,7 @@ ${e.map(t=>` - '${t}'`).join(`
|
|
|
198
198
|
`)}
|
|
199
199
|
`}function Vle(e){let t=(0,Ss.join)(e,"package.json");if(!(0,Zi.existsSync)(t))return;let r=JSON.parse((0,Zi.readFileSync)(t,"utf-8")),i=r.workspaces;!i||i.length===0||((0,Zi.writeFileSync)((0,Ss.join)(e,"pnpm-workspace.yaml"),A5(i)),delete r.workspaces,(0,Zi.writeFileSync)(t,JSON.stringify(r,null,2)+`
|
|
200
200
|
`))}function T0(e){for(let t of hS(e))try{let r=JSON.parse((0,Zi.readFileSync)(t,"utf-8")),i=!1;for(let n of[r.dependencies,r.devDependencies])if(n)for(let[s,o]of Object.entries(n))o==="*"&&(n[s]="workspace:*",i=!0);i&&(0,Zi.writeFileSync)(t,JSON.stringify(r,null,2)+`
|
|
201
|
-
`)}catch{}}function hS(e,t=2){let r=[];for(let i of["packages","libs","apps"]){let n=(0,Ss.join)(e,i);(0,Zi.existsSync)(n)&&p5(n,1,t,r)}return r}function p5(e,t,r,i){if(!(t>r))try{let n=(0,Zi.readdirSync)(e,{withFileTypes:!0});for(let s of n){if(!s.isDirectory())continue;let o=(0,Ss.join)(e,s.name),a=(0,Ss.join)(o,"package.json");(0,Zi.existsSync)(a)&&i.push(a),t<r&&p5(o,t+1,r,i)}}catch{}}function $le(e){let t=[],r=hS(e);for(let i of r)try{let n=JSON.parse((0,Zi.readFileSync)(i,"utf-8"));n.name&&t.push(n.name)}catch{}return t.sort()}var uS=new Map;function AS(e,t=process.cwd()){if(uS.has(e))return uS.get(e);try{let r=(0,Ole.execSync)(`${e} --version`,{cwd:t,encoding:"utf-8",windowsHide:!0}).trim();return uS.set(e,r),r}catch{throw new Ple.CnwError("INVALID_PACKAGE_MANAGER",`Package manager '${e}' is not installed or not found in PATH.`)}}function Gle(){if(process.env.npm_config_user_agent){for(let e of pn.packageManagerList)if(process.env.npm_config_user_agent.startsWith(`${e}/`))return e}if(process.env.npm_execpath){for(let e of pn.packageManagerList)if(process.env.npm_execpath.split(Ss.sep).includes(e))return e}return"npm"}});var E5=X((eRe,m5)=>{m5.exports=Nf;Nf.flatten=Nf;Nf.unflatten=g5;function d5(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function f5(e){return e}function Nf(e,t){t=t||{};let r=t.delimiter||".",i=t.maxDepth,n=t.transformKey||f5,s={};function o(a,u,l){l=l||1,Object.keys(a).forEach(function(A){let h=a[A],d=t.safe&&Array.isArray(h),m=Object.prototype.toString.call(h),g=d5(h),E=m==="[object Object]"||m==="[object Array]",y=u?u+r+n(A):n(A);if(!d&&!g&&E&&Object.keys(h).length&&(!t.maxDepth||l<i))return o(h,y,l+1);s[y]=h})}return o(e),s}function g5(e,t){t=t||{};let r=t.delimiter||".",i=t.overwrite||!1,n=t.transformKey||f5,s={};if(d5(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function a(A){let h=Number(A);return isNaN(h)||A.indexOf(".")!==-1||t.object?A:h}function u(A,h,d){return Object.keys(d).reduce(function(m,g){return m[A+r+g]=d[g],m},h)}function l(A){let h=Object.prototype.toString.call(A),d=h==="[object Array]",m=h==="[object Object]";if(A){if(d)return!A.length;if(m)return!Object.keys(A).length}else return!0}return e=Object.keys(e).reduce(function(A,h){let d=Object.prototype.toString.call(e[h]);return!(d==="[object Object]"||d==="[object Array]")||l(e[h])?(A[h]=e[h],A):u(h,A,Nf(e[h],t))},{}),Object.keys(e).forEach(function(A){let h=A.split(r).map(n),d=a(h.shift()),m=a(h[0]),g=s;for(;m!==void 0;){if(d==="__proto__")return;let E=Object.prototype.toString.call(g[d]),y=E==="[object Object]"||E==="[object Array]";if(!i&&!y&&typeof g[d]<"u")return;(i&&!y||!i&&g[d]==null)&&(g[d]=typeof m=="number"&&!t.object?[]:{}),g=g[d],h.length>0&&(d=a(h.shift()),m=a(h[0]))}g[d]=g5(e[A],t)}),s}});var fS=X(dS=>{"use strict";Object.defineProperty(dS,"__esModule",{value:!0});dS.unparse=zle;var jle=E5();function zle(e){let t=[];for(let r of Object.keys(e)){let i=e[r];pS(r,i,t)}return t}function pS(e,t,r){if(t===!0)r.push(`--${e}`);else if(t===!1)r.push(`--no-${e}`);else if(Array.isArray(t))t.forEach(i=>pS(e,i,r));else if(Object.prototype.toString.call(t)==="[object Object]"){let i=(0,jle.flatten)(t,{safe:!0});for(let n in i)pS(`${e}.${n}`,i[n],r)}else typeof t=="string"&&t.includes(" ")?r.push(`--${e}="${t}"`):t!=null&&r.push(`--${e}=${t}`)}});var y5=X(gS=>{"use strict";Object.defineProperty(gS,"__esModule",{value:!0});gS.createEmptyWorkspace=Xle;var Hle=(qo(),na(Uo)),Yle=Hle.__importDefault(FA()),Wle=require("path"),Jle=ja(),Zle=Xs(),C5=yl(),Kle=fS();async function Xle(e,t,r,i){i.packageManager||(i.packageManager=r);let n=i.name;delete i.skipInstall;let{workingDir:s,...o}=i,a=(0,Kle.unparse)({...o}).join(" "),u=(0,C5.getPackageManagerCommand)(r),l=`new ${a}`,A=(i.workingDir??process.cwd()).replace(/\\/g,"/"),h=`"${A}"`;process.platform==="win32"&&/\s/.test(h)&&r==="npm"&&+(0,C5.getPackageManagerVersion)(r,e).split(".")[0]<7&&(h=`\\"${h.slice(1,-1)}\\"`);let d=(0,Yle.default)(`Creating your workspace in ${n}`).start();try{let m=`${u.exec} nx ${l} --nxWorkspaceRoot=${h}`;await(0,Jle.execAndWait)(m,e),d.succeed(`Successfully created the workspace: ${n}`)}catch(m){d.fail();let g=m instanceof Error?m.message:String(m);throw new Zle.CnwError("WORKSPACE_CREATION_FAILED",`Failed to create a workspace: ${g}`)}finally{d.stop()}return(0,Wle.join)(A,n)}});var I5=X(mS=>{"use strict";Object.defineProperty(mS,"__esModule",{value:!0});mS.createPreset=ihe;var ehe=Xs(),b5=yl(),the=ja(),rhe=fS();async function ihe(e,t,r,i){let{skipGit:n,commit:s,nxCloud:o,workingDir:a,...u}=t;u.verbose||delete u.verbose;let l=(0,rhe.unparse)({interactive:!0,...u}).join(" "),A=(0,b5.getPackageManagerCommand)(r),h=(t.workingDir??process.cwd()).replace(/\\/g,"/"),d=`"${h}"`;process.platform==="win32"&&/\s/.test(d)&&r==="npm"&&+(0,b5.getPackageManagerVersion)(r,h).split(".")[0]<7&&(d=`\\"${d.slice(1,-1)}\\"`),process.env.NX_VERBOSE_LOGGING==="true"||l.includes("--verbose")||(l="--quiet "+l);let m=`g ${e}:preset ${l}`;try{let[g,...E]=A.exec.split(" ");E.push("nx",`--nxWorkspaceRoot=${d}`,...m.split(" ")),await(0,the.spawnAndWait)(g,E,i)}catch{throw new ehe.CnwError("PRESET_FAILED",`Failed to apply preset: ${e}`)}}});var U5=X((nRe,za)=>{var kr=require("fs"),N0=require("os"),gi=require("path"),w5=require("crypto"),Go={fs:kr.constants,os:N0.constants},B5="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",S5=/XXXXXX/,nhe=3,D5=(Go.O_CREAT||Go.fs.O_CREAT)|(Go.O_EXCL||Go.fs.O_EXCL)|(Go.O_RDWR||Go.fs.O_RDWR),she=N0.platform()==="win32",ohe=Go.EBADF||Go.os.errno.EBADF,ahe=Go.ENOENT||Go.os.errno.ENOENT,k5=448,R5=384,che="exit",NA=[],_5=kr.rmdirSync.bind(kr),T5=!1;function uhe(e,t){return kr.rm(e,{recursive:!0},t)}function F5(e){return kr.rmSync(e,{recursive:!0})}function bS(e,t){let r=LA(e,t),i=r[0],n=r[1];Che(i,function(s,o){if(s)return n(s);let a=o.tries;(function u(){try{let l=L5(o);kr.stat(l,function(A){if(!A)return a-- >0?u():n(new Error("Could not get a unique tmp filename, max tries reached "+l));n(null,l)})}catch(l){n(l)}})()})}function IS(e){let t=LA(e),r=t[0],i=yhe(r),n=i.tries;do{let s=L5(i);try{kr.statSync(s)}catch{return s}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function lhe(e,t){let r=LA(e,t),i=r[0],n=r[1];bS(i,function(o,a){if(o)return n(o);kr.open(a,D5,i.mode||R5,function(l,A){if(l)return n(l);if(i.discardDescriptor)return kr.close(A,function(d){return n(d,a,void 0,CS(a,-1,i,!1))});{let h=i.discardDescriptor||i.detachDescriptor;n(null,a,A,CS(a,h?-1:A,i,!1))}})})}function hhe(e){let t=LA(e),r=t[0],i=r.discardDescriptor||r.detachDescriptor,n=IS(r),s=kr.openSync(n,D5,r.mode||R5);return r.discardDescriptor&&(kr.closeSync(s),s=void 0),{name:n,fd:s,removeCallback:CS(n,i?-1:s,r,!0)}}function Ahe(e,t){let r=LA(e,t),i=r[0],n=r[1];bS(i,function(o,a){if(o)return n(o);kr.mkdir(a,i.mode||k5,function(l){if(l)return n(l);n(null,a,N5(a,i,!1))})})}function phe(e){let t=LA(e),r=t[0],i=IS(r);return kr.mkdirSync(i,r.mode||k5),{name:i,removeCallback:N5(i,r,!0)}}function dhe(e,t){let r=function(i){if(i&&!yS(i))return t(i);t()};0<=e[0]?kr.close(e[0],function(){kr.unlink(e[1],r)}):kr.unlink(e[1],r)}function fhe(e){let t=null;try{0<=e[0]&&kr.closeSync(e[0])}catch(r){if(!bhe(r)&&!yS(r))throw r}finally{try{kr.unlinkSync(e[1])}catch(r){yS(r)||(t=r)}}if(t!==null)throw t}function CS(e,t,r,i){let n=F0(fhe,[t,e],i),s=F0(dhe,[t,e],i,n);return r.keep||NA.unshift(n),i?n:s}function N5(e,t,r){let i=t.unsafeCleanup?uhe:kr.rmdir.bind(kr),n=t.unsafeCleanup?F5:_5,s=F0(n,e,r),o=F0(i,e,r,s);return t.keep||NA.unshift(s),r?s:o}function F0(e,t,r,i){let n=!1;return function s(o){if(!n){let a=i||s,u=NA.indexOf(a);return u>=0&&NA.splice(u,1),n=!0,r||e===_5||e===F5?e(t):e(t,o||function(){})}}}function ghe(){if(T5)for(;NA.length;)try{NA[0]()}catch{}}function v5(e){let t=[],r=null;try{r=w5.randomBytes(e)}catch{r=w5.pseudoRandomBytes(e)}for(let i=0;i<e;i++)t.push(B5[r[i]%B5.length]);return t.join("")}function Fn(e){return typeof e>"u"}function LA(e,t){if(typeof e=="function")return[{},e];if(Fn(e))return[{},t];let r={};for(let i of Object.getOwnPropertyNames(e))r[i]=e[i];return[r,t]}function mhe(e,t,r){let i=gi.isAbsolute(e)?e:gi.join(t,e);kr.stat(i,function(n){n?kr.realpath(gi.dirname(i),function(s,o){if(s)return r(s);r(null,gi.join(o,gi.basename(i)))}):kr.realpath(i,r)})}function Ehe(e,t){let r=gi.isAbsolute(e)?e:gi.join(t,e);try{return kr.statSync(r),kr.realpathSync(r)}catch{let n=kr.realpathSync(gi.dirname(r));return gi.join(n,gi.basename(r))}}function L5(e){let t=e.tmpdir;if(!Fn(e.name))return gi.join(t,e.dir,e.name);if(!Fn(e.template))return gi.join(t,e.dir,e.template).replace(S5,v5(6));let r=[e.prefix?e.prefix:"tmp","-",process.pid,"-",v5(12),e.postfix?"-"+e.postfix:""].join("");return gi.join(t,e.dir,r)}function ES(e,t){if(typeof t!="string")throw new Error(`${e} option must be a string, got "${typeof t}".`);if(t.includes(".."))throw new Error("Relative value not allowed");return t}function M5(e){if(!Fn(e.name)){let t=e.name;if(gi.isAbsolute(t))throw new Error(`name option must not contain an absolute path, found "${t}".`);let r=gi.basename(t);if(r===".."||r==="."||r!==t)throw new Error(`name option must not contain a path, found "${t}".`)}if(!Fn(e.template)){if(typeof e.template!="string")throw new Error(`template option must be a string, got "${typeof e.template}".`);if(!e.template.match(S5))throw new Error(`Invalid template, found "${e.template}".`)}if(!Fn(e.tries)&&isNaN(e.tries)||e.tries<0)throw new Error(`Invalid tries, found "${e.tries}".`);e.tries=Fn(e.name)?e.tries||nhe:1,e.keep=!!e.keep,e.detachDescriptor=!!e.detachDescriptor,e.discardDescriptor=!!e.discardDescriptor,e.unsafeCleanup=!!e.unsafeCleanup,e.prefix=Fn(e.prefix)?"":ES("prefix",e.prefix),e.postfix=Fn(e.postfix)?"":ES("postfix",e.postfix),e.template=Fn(e.template)?void 0:ES("template",e.template)}function x5(e,t,r,i){if(Fn(t))return i(null);mhe(t,r,function(n,s){if(n)return i(n);let o=gi.relative(r,s);if(o.startsWith("..")||gi.isAbsolute(o))return i(new Error(`${e} option must be relative to "${r}", found "${o}".`));i(null,o)})}function Q5(e,t,r){if(Fn(t))return;let i=Ehe(t,r),n=gi.relative(r,i);if(n.startsWith("..")||gi.isAbsolute(n))throw new Error(`${e} option must be relative to "${r}", found "${n}".`);return n}function Che(e,t){whe(e,function(r,i){if(r)return t(r);e.tmpdir=i;try{M5(e,i)}catch(n){return t(n)}x5("dir",e.dir,i,function(n,s){if(n)return t(n);e.dir=Fn(s)?"":s,x5("template",e.template,i,function(o,a){if(o)return t(o);e.template=a,t(null,e)})})})}function yhe(e){let t=e.tmpdir=P5(e);M5(e,t);let r=Q5("dir",e.dir,t);return e.dir=Fn(r)?"":r,e.template=Q5("template",e.template,t),e}function bhe(e){return O5(e,-ohe,"EBADF")}function yS(e){return O5(e,-ahe,"ENOENT")}function O5(e,t,r){return she?e.code===r:e.code===r&&e.errno===t}function Ihe(){T5=!0}function whe(e,t){return kr.realpath(e&&e.tmpdir||N0.tmpdir(),t)}function P5(e){return kr.realpathSync(e&&e.tmpdir||N0.tmpdir())}process.addListener(che,ghe);Object.defineProperty(za.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return P5()}});za.exports.dir=Ahe;za.exports.dirSync=phe;za.exports.file=lhe;za.exports.fileSync=hhe;za.exports.tmpName=bS;za.exports.tmpNameSync=IS;za.exports.setGracefulCleanup=Ihe});var q5=X((sRe,Bhe)=>{Bhe.exports={name:"create-nx-workspace",version:"22.7.5",private:!1,description:"Smart Monorepos \xB7 Fast Builds",repository:{type:"git",url:"https://github.com/nrwl/nx.git",directory:"packages/create-nx-workspace"},keywords:["Monorepo","Angular","React","Web","Node","Nest","Jest","Cypress","Playwright","CLI"],bin:{"create-nx-workspace":"./bin/index.js"},author:"Victor Savkin",license:"MIT",bugs:{url:"https://github.com/nrwl/nx/issues"},homepage:"https://nx.dev",dependencies:{axios:"1.16.0",chalk:"^4.1.0",enquirer:"~2.3.6",flat:"^5.0.2",open:"^8.4.0",ora:"5.3.0",tmp:"~0.2.1",tslib:"^2.3.0",yargs:"^17.6.2"},publishConfig:{access:"public"}}});var wS=X(L0=>{"use strict";Object.defineProperty(L0,"__esModule",{value:!0});L0.nxVersion=void 0;L0.nxVersion=q5().version});var j5=X(vS=>{"use strict";Object.defineProperty(vS,"__esModule",{value:!0});vS.createSandbox=khe;var vhe=(qo(),na(Uo)),xhe=require("fs"),Qhe=U5(),She=vhe.__importDefault(FA()),Dhe=require("path"),V5=yl(),$5=ja(),G5=wS(),BS=Xs();async function khe(e){let t=(0,She.default)(`Installing dependencies with ${e}`).start(),{install:r,preInstall:i}=(0,V5.getPackageManagerCommand)(e),n=(0,Qhe.dirSync)().name;try{(0,xhe.writeFileSync)((0,Dhe.join)(n,"package.json"),JSON.stringify({dependencies:{nx:G5.nxVersion,"@nx/workspace":G5.nxVersion},license:"MIT"})),(0,V5.generatePackageManagerFiles)(n,e),i&&await(0,$5.execAndWait)(i,n),await(0,$5.execAndWait)(r,n),t.succeed()}catch(s){t.fail();let o=s instanceof BS.CnwError?s.logFile:void 0,a=s instanceof BS.CnwError?s.exitCode:void 0,u=s instanceof Error?s.message:String(s),l=["Failed to install dependencies"];throw u?.trim()&&l.push(u.trim()),a!=null&&l.push(`Exit code: ${a}`),o&&l.push(`Log file: ${o}`),l.push(`
|
|
201
|
+
`)}catch{}}function hS(e,t=2){let r=[];for(let i of["packages","libs","apps"]){let n=(0,Ss.join)(e,i);(0,Zi.existsSync)(n)&&p5(n,1,t,r)}return r}function p5(e,t,r,i){if(!(t>r))try{let n=(0,Zi.readdirSync)(e,{withFileTypes:!0});for(let s of n){if(!s.isDirectory())continue;let o=(0,Ss.join)(e,s.name),a=(0,Ss.join)(o,"package.json");(0,Zi.existsSync)(a)&&i.push(a),t<r&&p5(o,t+1,r,i)}}catch{}}function $le(e){let t=[],r=hS(e);for(let i of r)try{let n=JSON.parse((0,Zi.readFileSync)(i,"utf-8"));n.name&&t.push(n.name)}catch{}return t.sort()}var uS=new Map;function AS(e,t=process.cwd()){if(uS.has(e))return uS.get(e);try{let r=(0,Ole.execSync)(`${e} --version`,{cwd:t,encoding:"utf-8",windowsHide:!0}).trim();return uS.set(e,r),r}catch{throw new Ple.CnwError("INVALID_PACKAGE_MANAGER",`Package manager '${e}' is not installed or not found in PATH.`)}}function Gle(){if(process.env.npm_config_user_agent){for(let e of pn.packageManagerList)if(process.env.npm_config_user_agent.startsWith(`${e}/`))return e}if(process.env.npm_execpath){for(let e of pn.packageManagerList)if(process.env.npm_execpath.split(Ss.sep).includes(e))return e}return"npm"}});var E5=X((eRe,m5)=>{m5.exports=Nf;Nf.flatten=Nf;Nf.unflatten=g5;function d5(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function f5(e){return e}function Nf(e,t){t=t||{};let r=t.delimiter||".",i=t.maxDepth,n=t.transformKey||f5,s={};function o(a,u,l){l=l||1,Object.keys(a).forEach(function(A){let h=a[A],d=t.safe&&Array.isArray(h),m=Object.prototype.toString.call(h),g=d5(h),E=m==="[object Object]"||m==="[object Array]",y=u?u+r+n(A):n(A);if(!d&&!g&&E&&Object.keys(h).length&&(!t.maxDepth||l<i))return o(h,y,l+1);s[y]=h})}return o(e),s}function g5(e,t){t=t||{};let r=t.delimiter||".",i=t.overwrite||!1,n=t.transformKey||f5,s={};if(d5(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function a(A){let h=Number(A);return isNaN(h)||A.indexOf(".")!==-1||t.object?A:h}function u(A,h,d){return Object.keys(d).reduce(function(m,g){return m[A+r+g]=d[g],m},h)}function l(A){let h=Object.prototype.toString.call(A),d=h==="[object Array]",m=h==="[object Object]";if(A){if(d)return!A.length;if(m)return!Object.keys(A).length}else return!0}return e=Object.keys(e).reduce(function(A,h){let d=Object.prototype.toString.call(e[h]);return!(d==="[object Object]"||d==="[object Array]")||l(e[h])?(A[h]=e[h],A):u(h,A,Nf(e[h],t))},{}),Object.keys(e).forEach(function(A){let h=A.split(r).map(n),d=a(h.shift()),m=a(h[0]),g=s;for(;m!==void 0;){if(d==="__proto__")return;let E=Object.prototype.toString.call(g[d]),y=E==="[object Object]"||E==="[object Array]";if(!i&&!y&&typeof g[d]<"u")return;(i&&!y||!i&&g[d]==null)&&(g[d]=typeof m=="number"&&!t.object?[]:{}),g=g[d],h.length>0&&(d=a(h.shift()),m=a(h[0]))}g[d]=g5(e[A],t)}),s}});var fS=X(dS=>{"use strict";Object.defineProperty(dS,"__esModule",{value:!0});dS.unparse=zle;var jle=E5();function zle(e){let t=[];for(let r of Object.keys(e)){let i=e[r];pS(r,i,t)}return t}function pS(e,t,r){if(t===!0)r.push(`--${e}`);else if(t===!1)r.push(`--no-${e}`);else if(Array.isArray(t))t.forEach(i=>pS(e,i,r));else if(Object.prototype.toString.call(t)==="[object Object]"){let i=(0,jle.flatten)(t,{safe:!0});for(let n in i)pS(`${e}.${n}`,i[n],r)}else typeof t=="string"&&t.includes(" ")?r.push(`--${e}="${t}"`):t!=null&&r.push(`--${e}=${t}`)}});var y5=X(gS=>{"use strict";Object.defineProperty(gS,"__esModule",{value:!0});gS.createEmptyWorkspace=Xle;var Hle=(qo(),na(Uo)),Yle=Hle.__importDefault(FA()),Wle=require("path"),Jle=ja(),Zle=Xs(),C5=yl(),Kle=fS();async function Xle(e,t,r,i){i.packageManager||(i.packageManager=r);let n=i.name;delete i.skipInstall;let{workingDir:s,...o}=i,a=(0,Kle.unparse)({...o}).join(" "),u=(0,C5.getPackageManagerCommand)(r),l=`new ${a}`,A=(i.workingDir??process.cwd()).replace(/\\/g,"/"),h=`"${A}"`;process.platform==="win32"&&/\s/.test(h)&&r==="npm"&&+(0,C5.getPackageManagerVersion)(r,e).split(".")[0]<7&&(h=`\\"${h.slice(1,-1)}\\"`);let d=(0,Yle.default)(`Creating your workspace in ${n}`).start();try{let m=`${u.exec} nx ${l} --nxWorkspaceRoot=${h}`;await(0,Jle.execAndWait)(m,e),d.succeed(`Successfully created the workspace: ${n}`)}catch(m){d.fail();let g=m instanceof Error?m.message:String(m);throw new Zle.CnwError("WORKSPACE_CREATION_FAILED",`Failed to create a workspace: ${g}`)}finally{d.stop()}return(0,Wle.join)(A,n)}});var I5=X(mS=>{"use strict";Object.defineProperty(mS,"__esModule",{value:!0});mS.createPreset=ihe;var ehe=Xs(),b5=yl(),the=ja(),rhe=fS();async function ihe(e,t,r,i){let{skipGit:n,commit:s,nxCloud:o,workingDir:a,...u}=t;u.verbose||delete u.verbose;let l=(0,rhe.unparse)({interactive:!0,...u}).join(" "),A=(0,b5.getPackageManagerCommand)(r),h=(t.workingDir??process.cwd()).replace(/\\/g,"/"),d=`"${h}"`;process.platform==="win32"&&/\s/.test(d)&&r==="npm"&&+(0,b5.getPackageManagerVersion)(r,h).split(".")[0]<7&&(d=`\\"${d.slice(1,-1)}\\"`),process.env.NX_VERBOSE_LOGGING==="true"||l.includes("--verbose")||(l="--quiet "+l);let m=`g ${e}:preset ${l}`;try{let[g,...E]=A.exec.split(" ");E.push("nx",`--nxWorkspaceRoot=${d}`,...m.split(" ")),await(0,the.spawnAndWait)(g,E,i)}catch{throw new ehe.CnwError("PRESET_FAILED",`Failed to apply preset: ${e}`)}}});var U5=X((nRe,za)=>{var kr=require("fs"),N0=require("os"),gi=require("path"),w5=require("crypto"),Go={fs:kr.constants,os:N0.constants},B5="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",S5=/XXXXXX/,nhe=3,D5=(Go.O_CREAT||Go.fs.O_CREAT)|(Go.O_EXCL||Go.fs.O_EXCL)|(Go.O_RDWR||Go.fs.O_RDWR),she=N0.platform()==="win32",ohe=Go.EBADF||Go.os.errno.EBADF,ahe=Go.ENOENT||Go.os.errno.ENOENT,k5=448,R5=384,che="exit",NA=[],_5=kr.rmdirSync.bind(kr),T5=!1;function uhe(e,t){return kr.rm(e,{recursive:!0},t)}function F5(e){return kr.rmSync(e,{recursive:!0})}function bS(e,t){let r=LA(e,t),i=r[0],n=r[1];Che(i,function(s,o){if(s)return n(s);let a=o.tries;(function u(){try{let l=L5(o);kr.stat(l,function(A){if(!A)return a-- >0?u():n(new Error("Could not get a unique tmp filename, max tries reached "+l));n(null,l)})}catch(l){n(l)}})()})}function IS(e){let t=LA(e),r=t[0],i=yhe(r),n=i.tries;do{let s=L5(i);try{kr.statSync(s)}catch{return s}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function lhe(e,t){let r=LA(e,t),i=r[0],n=r[1];bS(i,function(o,a){if(o)return n(o);kr.open(a,D5,i.mode||R5,function(l,A){if(l)return n(l);if(i.discardDescriptor)return kr.close(A,function(d){return n(d,a,void 0,CS(a,-1,i,!1))});{let h=i.discardDescriptor||i.detachDescriptor;n(null,a,A,CS(a,h?-1:A,i,!1))}})})}function hhe(e){let t=LA(e),r=t[0],i=r.discardDescriptor||r.detachDescriptor,n=IS(r),s=kr.openSync(n,D5,r.mode||R5);return r.discardDescriptor&&(kr.closeSync(s),s=void 0),{name:n,fd:s,removeCallback:CS(n,i?-1:s,r,!0)}}function Ahe(e,t){let r=LA(e,t),i=r[0],n=r[1];bS(i,function(o,a){if(o)return n(o);kr.mkdir(a,i.mode||k5,function(l){if(l)return n(l);n(null,a,N5(a,i,!1))})})}function phe(e){let t=LA(e),r=t[0],i=IS(r);return kr.mkdirSync(i,r.mode||k5),{name:i,removeCallback:N5(i,r,!0)}}function dhe(e,t){let r=function(i){if(i&&!yS(i))return t(i);t()};0<=e[0]?kr.close(e[0],function(){kr.unlink(e[1],r)}):kr.unlink(e[1],r)}function fhe(e){let t=null;try{0<=e[0]&&kr.closeSync(e[0])}catch(r){if(!bhe(r)&&!yS(r))throw r}finally{try{kr.unlinkSync(e[1])}catch(r){yS(r)||(t=r)}}if(t!==null)throw t}function CS(e,t,r,i){let n=F0(fhe,[t,e],i),s=F0(dhe,[t,e],i,n);return r.keep||NA.unshift(n),i?n:s}function N5(e,t,r){let i=t.unsafeCleanup?uhe:kr.rmdir.bind(kr),n=t.unsafeCleanup?F5:_5,s=F0(n,e,r),o=F0(i,e,r,s);return t.keep||NA.unshift(s),r?s:o}function F0(e,t,r,i){let n=!1;return function s(o){if(!n){let a=i||s,u=NA.indexOf(a);return u>=0&&NA.splice(u,1),n=!0,r||e===_5||e===F5?e(t):e(t,o||function(){})}}}function ghe(){if(T5)for(;NA.length;)try{NA[0]()}catch{}}function v5(e){let t=[],r=null;try{r=w5.randomBytes(e)}catch{r=w5.pseudoRandomBytes(e)}for(let i=0;i<e;i++)t.push(B5[r[i]%B5.length]);return t.join("")}function Fn(e){return typeof e>"u"}function LA(e,t){if(typeof e=="function")return[{},e];if(Fn(e))return[{},t];let r={};for(let i of Object.getOwnPropertyNames(e))r[i]=e[i];return[r,t]}function mhe(e,t,r){let i=gi.isAbsolute(e)?e:gi.join(t,e);kr.stat(i,function(n){n?kr.realpath(gi.dirname(i),function(s,o){if(s)return r(s);r(null,gi.join(o,gi.basename(i)))}):kr.realpath(i,r)})}function Ehe(e,t){let r=gi.isAbsolute(e)?e:gi.join(t,e);try{return kr.statSync(r),kr.realpathSync(r)}catch{let n=kr.realpathSync(gi.dirname(r));return gi.join(n,gi.basename(r))}}function L5(e){let t=e.tmpdir;if(!Fn(e.name))return gi.join(t,e.dir,e.name);if(!Fn(e.template))return gi.join(t,e.dir,e.template).replace(S5,v5(6));let r=[e.prefix?e.prefix:"tmp","-",process.pid,"-",v5(12),e.postfix?"-"+e.postfix:""].join("");return gi.join(t,e.dir,r)}function ES(e,t){if(typeof t!="string")throw new Error(`${e} option must be a string, got "${typeof t}".`);if(t.includes(".."))throw new Error("Relative value not allowed");return t}function M5(e){if(!Fn(e.name)){let t=e.name;if(gi.isAbsolute(t))throw new Error(`name option must not contain an absolute path, found "${t}".`);let r=gi.basename(t);if(r===".."||r==="."||r!==t)throw new Error(`name option must not contain a path, found "${t}".`)}if(!Fn(e.template)){if(typeof e.template!="string")throw new Error(`template option must be a string, got "${typeof e.template}".`);if(!e.template.match(S5))throw new Error(`Invalid template, found "${e.template}".`)}if(!Fn(e.tries)&&isNaN(e.tries)||e.tries<0)throw new Error(`Invalid tries, found "${e.tries}".`);e.tries=Fn(e.name)?e.tries||nhe:1,e.keep=!!e.keep,e.detachDescriptor=!!e.detachDescriptor,e.discardDescriptor=!!e.discardDescriptor,e.unsafeCleanup=!!e.unsafeCleanup,e.prefix=Fn(e.prefix)?"":ES("prefix",e.prefix),e.postfix=Fn(e.postfix)?"":ES("postfix",e.postfix),e.template=Fn(e.template)?void 0:ES("template",e.template)}function x5(e,t,r,i){if(Fn(t))return i(null);mhe(t,r,function(n,s){if(n)return i(n);let o=gi.relative(r,s);if(o.startsWith("..")||gi.isAbsolute(o))return i(new Error(`${e} option must be relative to "${r}", found "${o}".`));i(null,o)})}function Q5(e,t,r){if(Fn(t))return;let i=Ehe(t,r),n=gi.relative(r,i);if(n.startsWith("..")||gi.isAbsolute(n))throw new Error(`${e} option must be relative to "${r}", found "${n}".`);return n}function Che(e,t){whe(e,function(r,i){if(r)return t(r);e.tmpdir=i;try{M5(e,i)}catch(n){return t(n)}x5("dir",e.dir,i,function(n,s){if(n)return t(n);e.dir=Fn(s)?"":s,x5("template",e.template,i,function(o,a){if(o)return t(o);e.template=a,t(null,e)})})})}function yhe(e){let t=e.tmpdir=P5(e);M5(e,t);let r=Q5("dir",e.dir,t);return e.dir=Fn(r)?"":r,e.template=Q5("template",e.template,t),e}function bhe(e){return O5(e,-ohe,"EBADF")}function yS(e){return O5(e,-ahe,"ENOENT")}function O5(e,t,r){return she?e.code===r:e.code===r&&e.errno===t}function Ihe(){T5=!0}function whe(e,t){return kr.realpath(e&&e.tmpdir||N0.tmpdir(),t)}function P5(e){return kr.realpathSync(e&&e.tmpdir||N0.tmpdir())}process.addListener(che,ghe);Object.defineProperty(za.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return P5()}});za.exports.dir=Ahe;za.exports.dirSync=phe;za.exports.file=lhe;za.exports.fileSync=hhe;za.exports.tmpName=bS;za.exports.tmpNameSync=IS;za.exports.setGracefulCleanup=Ihe});var q5=X((sRe,Bhe)=>{Bhe.exports={name:"create-nx-workspace",version:"22.7.6",private:!1,description:"Smart Monorepos \xB7 Fast Builds",repository:{type:"git",url:"https://github.com/nrwl/nx.git",directory:"packages/create-nx-workspace"},keywords:["Monorepo","Angular","React","Web","Node","Nest","Jest","Cypress","Playwright","CLI"],bin:{"create-nx-workspace":"./bin/index.js"},author:"Victor Savkin",license:"MIT",bugs:{url:"https://github.com/nrwl/nx/issues"},homepage:"https://nx.dev",dependencies:{axios:"1.16.0",chalk:"^4.1.0",enquirer:"~2.3.6",flat:"^5.0.2",open:"^8.4.0",ora:"5.3.0",tmp:"~0.2.1",tslib:"^2.3.0",yargs:"^17.6.2"},publishConfig:{access:"public"}}});var wS=X(L0=>{"use strict";Object.defineProperty(L0,"__esModule",{value:!0});L0.nxVersion=void 0;L0.nxVersion=q5().version});var j5=X(vS=>{"use strict";Object.defineProperty(vS,"__esModule",{value:!0});vS.createSandbox=khe;var vhe=(qo(),na(Uo)),xhe=require("fs"),Qhe=U5(),She=vhe.__importDefault(FA()),Dhe=require("path"),V5=yl(),$5=ja(),G5=wS(),BS=Xs();async function khe(e){let t=(0,She.default)(`Installing dependencies with ${e}`).start(),{install:r,preInstall:i}=(0,V5.getPackageManagerCommand)(e),n=(0,Qhe.dirSync)().name;try{(0,xhe.writeFileSync)((0,Dhe.join)(n,"package.json"),JSON.stringify({dependencies:{nx:G5.nxVersion,"@nx/workspace":G5.nxVersion},license:"MIT"})),(0,V5.generatePackageManagerFiles)(n,e),i&&await(0,$5.execAndWait)(i,n),await(0,$5.execAndWait)(r,n),t.succeed()}catch(s){t.fail();let o=s instanceof BS.CnwError?s.logFile:void 0,a=s instanceof BS.CnwError?s.exitCode:void 0,u=s instanceof Error?s.message:String(s),l=["Failed to install dependencies"];throw u?.trim()&&l.push(u.trim()),a!=null&&l.push(`Exit code: ${a}`),o&&l.push(`Log file: ${o}`),l.push(`
|
|
202
202
|
Please verify that "${r}" runs successfully in a temporary directory.`),new BS.CnwError("SANDBOX_FAILED",l.join(`
|
|
203
203
|
`),o,a??void 0)}finally{t.stop()}return n}});var z5=X(xS=>{"use strict";Object.defineProperty(xS,"__esModule",{value:!0});xS.setupCI=Lhe;var Rhe=(qo(),na(Uo)),_he=Rhe.__importDefault(FA()),The=ja(),Fhe=Xs(),Nhe=yl();async function Lhe(e,t,r){let i=(0,_he.default)("Generating CI workflow").start();try{let n=(0,Nhe.getPackageManagerCommand)(r),s=await(0,The.execAndWait)(`${n.exec} nx g @nx/workspace:ci-workflow --ci=${t} --useRunMany=true`,e);return i.succeed("CI workflow has been generated successfully"),s}catch(n){i.fail();let s=n instanceof Error?n.message:String(n);throw new Fhe.CnwError("CI_WORKFLOW_FAILED",`Failed to generate CI workflow: ${s}`)}finally{i.stop()}}});var SS=X(QS=>{"use strict";Object.defineProperty(QS,"__esModule",{value:!0});QS.deduceDefaultBase=Ohe;var Mhe=require("child_process");function Ohe(){let e="main";try{return(0,Mhe.execSync)("git config --get init.defaultBranch",{windowsHide:!0}).toString().trim()||e}catch{return e}}});var Lf=X(DS=>{"use strict";Object.defineProperty(DS,"__esModule",{value:!0});DS.isCI=Phe;function Phe(){return process.env.CI&&process.env.CI!=="false"||process.env.TF_BUILD==="true"||process.env.GITHUB_ACTIONS==="true"||process.env.BUILDKITE==="true"||process.env.CIRCLECI==="true"||process.env.CIRRUS_CI==="true"||process.env.TRAVIS==="true"||!!process.env["bamboo.buildKey"]||!!process.env.CODEBUILD_BUILD_ID||!!process.env.GITLAB_CI||!!process.env.HEROKU_TEST_RUN_ID||!!process.env.BUILD_ID||!!process.env.BUILD_BUILDID||!!process.env.TEAMCITY_VERSION}});var Of=X(MA=>{"use strict";Object.defineProperty(MA,"__esModule",{value:!0});MA.output=MA.CLIOutput=void 0;var Uhe=(qo(),na(Uo)),_i=Uhe.__importDefault(cl()),Mf=require("os"),qhe=Lf();(0,qhe.isCI)()&&(_i.default.level=0);var M0=class{constructor(t=!0){this.real=t,this.outstream=this.real?process.stdout:new kS,this.colors={gray:_i.default.gray,green:_i.default.green,red:_i.default.red,cyan:_i.default.cyan,white:_i.default.white},this.bold=_i.default.bold,this.underline=_i.default.underline,this.dim=_i.default.dim,this.cliName="NX"}get VERTICAL_SEPARATOR(){let t="";for(let r=0;r<process.stdout.columns-1;r++)t+="\u2014";return t}writeToStdOut(t){this.outstream.write(t)}writeOutputTitle({color:t,title:r}){this.writeToStdOut(`${this.applyCLIPrefix(t,r)}${Mf.EOL}`)}writeOptionalOutputBody(t){t&&(this.addNewline(),t.forEach(r=>this.writeToStdOut(`${r}${Mf.EOL}`)))}setCliName(t){this.cliName=t}applyCLIPrefix(t="cyan",r){let i="";return _i.default[t]?i=_i.default.reset.inverse.bold[t](` ${this.cliName} `):i=_i.default.reset.inverse.bold.keyword(t)(` ${this.cliName} `),`${i} ${r}`}addNewline(){this.writeToStdOut(Mf.EOL)}writeLines(t){t.forEach(r=>this.writeToStdOut(`${r}${Mf.EOL}`))}addVerticalSeparator(t="gray"){this.addNewline(),this.addVerticalSeparatorWithoutNewLines(t),this.addNewline()}addVerticalSeparatorWithoutNewLines(t="gray"){this.writeToStdOut(`${_i.default.dim[t](this.VERTICAL_SEPARATOR)}${Mf.EOL}`)}error({title:t,bodyLines:r}){this.addNewline(),this.writeOutputTitle({color:"red",title:_i.default.red(t)}),this.writeOptionalOutputBody(r),this.addNewline()}warn({title:t,bodyLines:r}){this.addNewline(),this.writeOutputTitle({color:"yellow",title:_i.default.yellow(t)}),this.writeOptionalOutputBody(r),this.addNewline()}note({title:t,bodyLines:r}){this.addNewline(),this.writeOutputTitle({color:"orange",title:_i.default.keyword("orange")(t)}),this.writeOptionalOutputBody(r),this.addNewline()}success({title:t,bodyLines:r}){this.addNewline(),this.writeOutputTitle({color:"green",title:_i.default.green(t)}),this.writeOptionalOutputBody(r)}logSingleLine(t){this.addNewline(),this.writeOutputTitle({color:"gray",title:t}),this.addNewline()}log({title:t,bodyLines:r,color:i}){this.addNewline(),this.writeOutputTitle({color:"cyan",title:i?_i.default[i](t):t}),this.writeOptionalOutputBody(r),this.addNewline()}getOutput(){return this.outstream.toString()}};MA.CLIOutput=M0;MA.output=new M0;var kS=class{constructor(){this.content=""}write(t){this.content+=t}toString(){return this.content}}});var J5=X((ARe,Pf)=>{"use strict";var Vhe=typeof process<"u"&&process.env.TERM_PROGRAM==="Hyper",$he=typeof process<"u"&&process.platform==="win32",H5=typeof process<"u"&&process.platform==="linux",RS={ballotDisabled:"\u2612",ballotOff:"\u2610",ballotOn:"\u2611",bullet:"\u2022",bulletWhite:"\u25E6",fullBlock:"\u2588",heart:"\u2764",identicalTo:"\u2261",line:"\u2500",mark:"\u203B",middot:"\xB7",minus:"\uFF0D",multiplication:"\xD7",obelus:"\xF7",pencilDownRight:"\u270E",pencilRight:"\u270F",pencilUpRight:"\u2710",percent:"%",pilcrow2:"\u2761",pilcrow:"\xB6",plusMinus:"\xB1",question:"?",section:"\xA7",starsOff:"\u2606",starsOn:"\u2605",upDownArrow:"\u2195"},Y5=Object.assign({},RS,{check:"\u221A",cross:"\xD7",ellipsisLarge:"...",ellipsis:"...",info:"i",questionSmall:"?",pointer:">",pointerSmall:"\xBB",radioOff:"( )",radioOn:"(*)",warning:"\u203C"}),W5=Object.assign({},RS,{ballotCross:"\u2718",check:"\u2714",cross:"\u2716",ellipsisLarge:"\u22EF",ellipsis:"\u2026",info:"\u2139",questionFull:"\uFF1F",questionSmall:"\uFE56",pointer:H5?"\u25B8":"\u276F",pointerSmall:H5?"\u2023":"\u203A",radioOff:"\u25EF",radioOn:"\u25C9",warning:"\u26A0"});Pf.exports=$he&&!Vhe?Y5:W5;Reflect.defineProperty(Pf.exports,"common",{enumerable:!1,value:RS});Reflect.defineProperty(Pf.exports,"windows",{enumerable:!1,value:Y5});Reflect.defineProperty(Pf.exports,"other",{enumerable:!1,value:W5})});var Nn=X((pRe,_S)=>{"use strict";var Ghe=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),jhe=/[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g,zhe=()=>typeof process<"u"?process.env.FORCE_COLOR!=="0":!1,Z5=()=>{let e={enabled:zhe(),visible:!0,styles:{},keys:{}},t=s=>{let o=s.open=`\x1B[${s.codes[0]}m`,a=s.close=`\x1B[${s.codes[1]}m`,u=s.regex=new RegExp(`\\u001b\\[${s.codes[1]}m`,"g");return s.wrap=(l,A)=>{l.includes(a)&&(l=l.replace(u,a+o));let h=o+l+a;return A?h.replace(/\r*\n/g,`${a}$&${o}`):h},s},r=(s,o,a)=>typeof s=="function"?s(o):s.wrap(o,a),i=(s,o)=>{if(s===""||s==null)return"";if(e.enabled===!1)return s;if(e.visible===!1)return"";let a=""+s,u=a.includes(`
|
|
204
204
|
`),l=o.length;for(l>0&&o.includes("unstyle")&&(o=[...new Set(["unstyle",...o])].reverse());l-- >0;)a=r(e.styles[o[l]],a,u);return a},n=(s,o,a)=>{e.styles[s]=t({name:s,codes:o}),(e.keys[a]||(e.keys[a]=[])).push(s),Reflect.defineProperty(e,s,{configurable:!0,enumerable:!0,set(l){e.alias(s,l)},get(){let l=A=>i(A,l.stack);return Reflect.setPrototypeOf(l,e),l.stack=this.stack?this.stack.concat(s):[s],l}})};return n("reset",[0,0],"modifier"),n("bold",[1,22],"modifier"),n("dim",[2,22],"modifier"),n("italic",[3,23],"modifier"),n("underline",[4,24],"modifier"),n("inverse",[7,27],"modifier"),n("hidden",[8,28],"modifier"),n("strikethrough",[9,29],"modifier"),n("black",[30,39],"color"),n("red",[31,39],"color"),n("green",[32,39],"color"),n("yellow",[33,39],"color"),n("blue",[34,39],"color"),n("magenta",[35,39],"color"),n("cyan",[36,39],"color"),n("white",[37,39],"color"),n("gray",[90,39],"color"),n("grey",[90,39],"color"),n("bgBlack",[40,49],"bg"),n("bgRed",[41,49],"bg"),n("bgGreen",[42,49],"bg"),n("bgYellow",[43,49],"bg"),n("bgBlue",[44,49],"bg"),n("bgMagenta",[45,49],"bg"),n("bgCyan",[46,49],"bg"),n("bgWhite",[47,49],"bg"),n("blackBright",[90,39],"bright"),n("redBright",[91,39],"bright"),n("greenBright",[92,39],"bright"),n("yellowBright",[93,39],"bright"),n("blueBright",[94,39],"bright"),n("magentaBright",[95,39],"bright"),n("cyanBright",[96,39],"bright"),n("whiteBright",[97,39],"bright"),n("bgBlackBright",[100,49],"bgBright"),n("bgRedBright",[101,49],"bgBright"),n("bgGreenBright",[102,49],"bgBright"),n("bgYellowBright",[103,49],"bgBright"),n("bgBlueBright",[104,49],"bgBright"),n("bgMagentaBright",[105,49],"bgBright"),n("bgCyanBright",[106,49],"bgBright"),n("bgWhiteBright",[107,49],"bgBright"),e.ansiRegex=jhe,e.hasColor=e.hasAnsi=s=>(e.ansiRegex.lastIndex=0,typeof s=="string"&&s!==""&&e.ansiRegex.test(s)),e.alias=(s,o)=>{let a=typeof o=="string"?e[o]:o;if(typeof a!="function")throw new TypeError("Expected alias to be the name of an existing color (string) or a function");a.stack||(Reflect.defineProperty(a,"name",{value:s}),e.styles[s]=a,a.stack=[s]),Reflect.defineProperty(e,s,{configurable:!0,enumerable:!0,set(u){e.alias(s,u)},get(){let u=l=>i(l,u.stack);return Reflect.setPrototypeOf(u,e),u.stack=this.stack?this.stack.concat(a.stack):a.stack,u}})},e.theme=s=>{if(!Ghe(s))throw new TypeError("Expected theme to be an object");for(let o of Object.keys(s))e.alias(o,s[o]);return e},e.alias("unstyle",s=>typeof s=="string"&&s!==""?(e.ansiRegex.lastIndex=0,s.replace(e.ansiRegex,"")):""),e.alias("noop",s=>s),e.none=e.clear=e.noop,e.stripColor=e.unstyle,e.symbols=J5(),e.define=n,e};_S.exports=Z5();_S.exports.create=Z5});var Ki=X(sr=>{"use strict";var Hhe=Object.prototype.toString,Ds=Nn(),K5=!1,TS=[],X5={yellow:"blue",cyan:"red",green:"magenta",black:"white",blue:"yellow",red:"cyan",magenta:"green",white:"black"};sr.longest=(e,t)=>e.reduce((r,i)=>Math.max(r,t?i[t].length:i.length),0);sr.hasColor=e=>!!e&&Ds.hasColor(e);var O0=sr.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);sr.nativeType=e=>Hhe.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"");sr.isAsyncFn=e=>sr.nativeType(e)==="asyncfunction";sr.isPrimitive=e=>e!=null&&typeof e!="object"&&typeof e!="function";sr.resolve=(e,t,...r)=>typeof t=="function"?t.call(e,...r):t;sr.scrollDown=(e=[])=>[...e.slice(1),e[0]];sr.scrollUp=(e=[])=>[e.pop(),...e];sr.reorder=(e=[])=>{let t=e.slice();return t.sort((r,i)=>r.index>i.index?1:r.index<i.index?-1:0),t};sr.swap=(e,t,r)=>{let i=e.length,n=r===i?0:r<0?i-1:r,s=e[t];e[t]=e[n],e[n]=s};sr.width=(e,t=80)=>{let r=e&&e.columns?e.columns:t;return e&&typeof e.getWindowSize=="function"&&(r=e.getWindowSize()[0]),process.platform==="win32"?r-1:r};sr.height=(e,t=20)=>{let r=e&&e.rows?e.rows:t;return e&&typeof e.getWindowSize=="function"&&(r=e.getWindowSize()[1]),r};sr.wordWrap=(e,t={})=>{if(!e)return e;typeof t=="number"&&(t={width:t});let{indent:r="",newline:i=`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-storm-workspace",
|
|
3
|
-
"version": "1.97.
|
|
3
|
+
"version": "1.97.239",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡A CLI tool used to generate and fully configure a Storm Workspace repository.",
|
|
6
6
|
"keywords": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"bin": { "create-storm-workspace": "./index.js" },
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@nx/workspace": "22.7.5",
|
|
33
|
-
"create-nx-workspace": "^22.7.
|
|
33
|
+
"create-nx-workspace": "^22.7.6",
|
|
34
34
|
"enquirer": "2.4.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"nx": { "optional": false }
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": { "access": "public" },
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "6d256c906406ea96b6c3cf9d0e923cc92afe87f9"
|
|
48
48
|
}
|