create-storm-workspace 1.97.194 → 1.97.196
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 +12 -0
- package/README.md +1 -1
- package/index.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Create Storm Workspace
|
|
4
4
|
|
|
5
|
+
## [1.97.195](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.195) (05/30/2026)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **config-tools** to **v1.190.35**
|
|
10
|
+
|
|
11
|
+
## [1.97.194](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.194) (05/28/2026)
|
|
12
|
+
|
|
13
|
+
### Updated Dependencies
|
|
14
|
+
|
|
15
|
+
- Updated **config-tools** to **v1.190.34**
|
|
16
|
+
|
|
5
17
|
## [1.97.193](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.193) (05/26/2026)
|
|
6
18
|
|
|
7
19
|
### 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 Ple(e){let t=(0,Ss.join)(e,"package.json");if(!(0,Ji.existsSync)(t))return;let r=JSON.parse((0,Ji.readFileSync)(t,"utf-8")),i=r.workspaces;!i||i.length===0||((0,Ji.writeFileSync)((0,Ss.join)(e,"pnpm-workspace.yaml"),A5(i)),delete r.workspaces,(0,Ji.writeFileSync)(t,JSON.stringify(r,null,2)+`
|
|
200
200
|
`))}function T0(e){for(let t of AS(e))try{let r=JSON.parse((0,Ji.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,Ji.writeFileSync)(t,JSON.stringify(r,null,2)+`
|
|
201
|
-
`)}catch{}}function AS(e,t=2){let r=[];for(let i of["packages","libs","apps"]){let n=(0,Ss.join)(e,i);(0,Ji.existsSync)(n)&&p5(n,1,t,r)}return r}function p5(e,t,r,i){if(!(t>r))try{let n=(0,Ji.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,Ji.existsSync)(a)&&i.push(a),t<r&&p5(o,t+1,r,i)}}catch{}}function Ule(e){let t=[],r=AS(e);for(let i of r)try{let n=JSON.parse((0,Ji.readFileSync)(i,"utf-8"));n.name&&t.push(n.name)}catch{}return t.sort()}var lS=new Map;function pS(e,t=process.cwd()){if(lS.has(e))return lS.get(e);try{let r=(0,Nle.execSync)(`${e} --version`,{cwd:t,encoding:"utf-8",windowsHide:!0}).trim();return lS.set(e,r),r}catch{throw new Lle.CnwError("INVALID_PACKAGE_MANAGER",`Package manager '${e}' is not installed or not found in PATH.`)}}function qle(){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((Yke,m5)=>{m5.exports=Ff;Ff.flatten=Ff;Ff.unflatten=g5;function d5(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function f5(e){return e}function Ff(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,Ff(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 gS=X(fS=>{"use strict";Object.defineProperty(fS,"__esModule",{value:!0});fS.unparse=$le;var Vle=E5();function $le(e){let t=[];for(let r of Object.keys(e)){let i=e[r];dS(r,i,t)}return t}function dS(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=>dS(e,i,r));else if(Object.prototype.toString.call(t)==="[object Object]"){let i=(0,Vle.flatten)(t,{safe:!0});for(let n in i)dS(`${e}.${n}`,i[n],r)}else typeof t=="string"&&t.includes(" ")?r.push(`--${e}="${t}"`):t!=null&&r.push(`--${e}=${t}`)}});var y5=X(mS=>{"use strict";Object.defineProperty(mS,"__esModule",{value:!0});mS.createEmptyWorkspace=Jle;var Gle=(qo(),na(Uo)),jle=Gle.__importDefault(FA()),zle=require("path"),Hle=ja(),Yle=Xs(),C5=yl(),Wle=gS();async function Jle(e,t,r,i){i.packageManager||(i.packageManager=r);let n=i.name;delete i.skipInstall;let{workingDir:s,...o}=i,a=(0,Wle.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,jle.default)(`Creating your workspace in ${n}`).start();try{let m=`${u.exec} nx ${l} --nxWorkspaceRoot=${h}`;await(0,Hle.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 Yle.CnwError("WORKSPACE_CREATION_FAILED",`Failed to create a workspace: ${g}`)}finally{d.stop()}return(0,zle.join)(A,n)}});var I5=X(ES=>{"use strict";Object.defineProperty(ES,"__esModule",{value:!0});ES.createPreset=ehe;var Zle=Xs(),b5=yl(),Kle=ja(),Xle=gS();async function ehe(e,t,r,i){let{skipGit:n,commit:s,nxCloud:o,workingDir:a,...u}=t;u.verbose||delete u.verbose;let l=(0,Xle.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,Kle.spawnAndWait)(g,E,i)}catch{throw new Zle.CnwError("PRESET_FAILED",`Failed to apply preset: ${e}`)}}});var U5=X((Kke,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/,the=3,D5=(Go.O_CREAT||Go.fs.O_CREAT)|(Go.O_EXCL||Go.fs.O_EXCL)|(Go.O_RDWR||Go.fs.O_RDWR),rhe=N0.platform()==="win32",ihe=Go.EBADF||Go.os.errno.EBADF,nhe=Go.ENOENT||Go.os.errno.ENOENT,k5=448,R5=384,she="exit",NA=[],_5=kr.rmdirSync.bind(kr),T5=!1;function ohe(e,t){return kr.rm(e,{recursive:!0},t)}function F5(e){return kr.rmSync(e,{recursive:!0})}function IS(e,t){let r=LA(e,t),i=r[0],n=r[1];ghe(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 wS(e){let t=LA(e),r=t[0],i=mhe(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 ahe(e,t){let r=LA(e,t),i=r[0],n=r[1];IS(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,yS(a,-1,i,!1))});{let h=i.discardDescriptor||i.detachDescriptor;n(null,a,A,yS(a,h?-1:A,i,!1))}})})}function che(e){let t=LA(e),r=t[0],i=r.discardDescriptor||r.detachDescriptor,n=wS(r),s=kr.openSync(n,D5,r.mode||R5);return r.discardDescriptor&&(kr.closeSync(s),s=void 0),{name:n,fd:s,removeCallback:yS(n,i?-1:s,r,!0)}}function uhe(e,t){let r=LA(e,t),i=r[0],n=r[1];IS(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 lhe(e){let t=LA(e),r=t[0],i=wS(r);return kr.mkdirSync(i,r.mode||k5),{name:i,removeCallback:N5(i,r,!0)}}function hhe(e,t){let r=function(i){if(i&&!bS(i))return t(i);t()};0<=e[0]?kr.close(e[0],function(){kr.unlink(e[1],r)}):kr.unlink(e[1],r)}function Ahe(e){let t=null;try{0<=e[0]&&kr.closeSync(e[0])}catch(r){if(!Ehe(r)&&!bS(r))throw r}finally{try{kr.unlinkSync(e[1])}catch(r){bS(r)||(t=r)}}if(t!==null)throw t}function yS(e,t,r,i){let n=F0(Ahe,[t,e],i),s=F0(hhe,[t,e],i,n);return r.keep||NA.unshift(n),i?n:s}function N5(e,t,r){let i=t.unsafeCleanup?ohe: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 phe(){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 dhe(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 fhe(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 CS(e){if(e.includes(".."))throw new Error("Relative value not allowed");return e}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)&&!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||the:1,e.keep=!!e.keep,e.detachDescriptor=!!e.detachDescriptor,e.discardDescriptor=!!e.discardDescriptor,e.unsafeCleanup=!!e.unsafeCleanup,e.prefix=Fn(e.prefix)?"":CS(e.prefix),e.postfix=Fn(e.postfix)?"":CS(e.postfix),e.template=Fn(e.template)?void 0:CS(e.template)}function x5(e,t,r,i){if(Fn(t))return i(null);dhe(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=fhe(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 ghe(e,t){yhe(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 mhe(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 Ehe(e){return O5(e,-ihe,"EBADF")}function bS(e){return O5(e,-nhe,"ENOENT")}function O5(e,t,r){return rhe?e.code===r:e.code===r&&e.errno===t}function Che(){T5=!0}function yhe(e,t){return kr.realpath(e&&e.tmpdir||N0.tmpdir(),t)}function P5(e){return kr.realpathSync(e&&e.tmpdir||N0.tmpdir())}process.addListener(she,phe);Object.defineProperty(za.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return P5()}});za.exports.dir=uhe;za.exports.dirSync=lhe;za.exports.file=ahe;za.exports.fileSync=che;za.exports.tmpName=IS;za.exports.tmpNameSync=wS;za.exports.setGracefulCleanup=Che});var q5=X((Xke,bhe)=>{bhe.exports={name:"create-nx-workspace",version:"22.7.4",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 BS=X(L0=>{"use strict";Object.defineProperty(L0,"__esModule",{value:!0});L0.nxVersion=void 0;L0.nxVersion=q5().version});var j5=X(xS=>{"use strict";Object.defineProperty(xS,"__esModule",{value:!0});xS.createSandbox=Qhe;var Ihe=(qo(),na(Uo)),whe=require("fs"),Bhe=U5(),vhe=Ihe.__importDefault(FA()),xhe=require("path"),V5=yl(),$5=ja(),G5=BS(),vS=Xs();async function Qhe(e){let t=(0,vhe.default)(`Installing dependencies with ${e}`).start(),{install:r,preInstall:i}=(0,V5.getPackageManagerCommand)(e),n=(0,Bhe.dirSync)().name;try{(0,whe.writeFileSync)((0,xhe.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 vS.CnwError?s.logFile:void 0,a=s instanceof vS.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 AS(e,t=2){let r=[];for(let i of["packages","libs","apps"]){let n=(0,Ss.join)(e,i);(0,Ji.existsSync)(n)&&p5(n,1,t,r)}return r}function p5(e,t,r,i){if(!(t>r))try{let n=(0,Ji.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,Ji.existsSync)(a)&&i.push(a),t<r&&p5(o,t+1,r,i)}}catch{}}function Ule(e){let t=[],r=AS(e);for(let i of r)try{let n=JSON.parse((0,Ji.readFileSync)(i,"utf-8"));n.name&&t.push(n.name)}catch{}return t.sort()}var lS=new Map;function pS(e,t=process.cwd()){if(lS.has(e))return lS.get(e);try{let r=(0,Nle.execSync)(`${e} --version`,{cwd:t,encoding:"utf-8",windowsHide:!0}).trim();return lS.set(e,r),r}catch{throw new Lle.CnwError("INVALID_PACKAGE_MANAGER",`Package manager '${e}' is not installed or not found in PATH.`)}}function qle(){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((Yke,m5)=>{m5.exports=Ff;Ff.flatten=Ff;Ff.unflatten=g5;function d5(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function f5(e){return e}function Ff(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,Ff(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 gS=X(fS=>{"use strict";Object.defineProperty(fS,"__esModule",{value:!0});fS.unparse=$le;var Vle=E5();function $le(e){let t=[];for(let r of Object.keys(e)){let i=e[r];dS(r,i,t)}return t}function dS(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=>dS(e,i,r));else if(Object.prototype.toString.call(t)==="[object Object]"){let i=(0,Vle.flatten)(t,{safe:!0});for(let n in i)dS(`${e}.${n}`,i[n],r)}else typeof t=="string"&&t.includes(" ")?r.push(`--${e}="${t}"`):t!=null&&r.push(`--${e}=${t}`)}});var y5=X(mS=>{"use strict";Object.defineProperty(mS,"__esModule",{value:!0});mS.createEmptyWorkspace=Jle;var Gle=(qo(),na(Uo)),jle=Gle.__importDefault(FA()),zle=require("path"),Hle=ja(),Yle=Xs(),C5=yl(),Wle=gS();async function Jle(e,t,r,i){i.packageManager||(i.packageManager=r);let n=i.name;delete i.skipInstall;let{workingDir:s,...o}=i,a=(0,Wle.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,jle.default)(`Creating your workspace in ${n}`).start();try{let m=`${u.exec} nx ${l} --nxWorkspaceRoot=${h}`;await(0,Hle.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 Yle.CnwError("WORKSPACE_CREATION_FAILED",`Failed to create a workspace: ${g}`)}finally{d.stop()}return(0,zle.join)(A,n)}});var I5=X(ES=>{"use strict";Object.defineProperty(ES,"__esModule",{value:!0});ES.createPreset=ehe;var Zle=Xs(),b5=yl(),Kle=ja(),Xle=gS();async function ehe(e,t,r,i){let{skipGit:n,commit:s,nxCloud:o,workingDir:a,...u}=t;u.verbose||delete u.verbose;let l=(0,Xle.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,Kle.spawnAndWait)(g,E,i)}catch{throw new Zle.CnwError("PRESET_FAILED",`Failed to apply preset: ${e}`)}}});var U5=X((Kke,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/,the=3,D5=(Go.O_CREAT||Go.fs.O_CREAT)|(Go.O_EXCL||Go.fs.O_EXCL)|(Go.O_RDWR||Go.fs.O_RDWR),rhe=N0.platform()==="win32",ihe=Go.EBADF||Go.os.errno.EBADF,nhe=Go.ENOENT||Go.os.errno.ENOENT,k5=448,R5=384,she="exit",NA=[],_5=kr.rmdirSync.bind(kr),T5=!1;function ohe(e,t){return kr.rm(e,{recursive:!0},t)}function F5(e){return kr.rmSync(e,{recursive:!0})}function IS(e,t){let r=LA(e,t),i=r[0],n=r[1];ghe(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 wS(e){let t=LA(e),r=t[0],i=mhe(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 ahe(e,t){let r=LA(e,t),i=r[0],n=r[1];IS(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,yS(a,-1,i,!1))});{let h=i.discardDescriptor||i.detachDescriptor;n(null,a,A,yS(a,h?-1:A,i,!1))}})})}function che(e){let t=LA(e),r=t[0],i=r.discardDescriptor||r.detachDescriptor,n=wS(r),s=kr.openSync(n,D5,r.mode||R5);return r.discardDescriptor&&(kr.closeSync(s),s=void 0),{name:n,fd:s,removeCallback:yS(n,i?-1:s,r,!0)}}function uhe(e,t){let r=LA(e,t),i=r[0],n=r[1];IS(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 lhe(e){let t=LA(e),r=t[0],i=wS(r);return kr.mkdirSync(i,r.mode||k5),{name:i,removeCallback:N5(i,r,!0)}}function hhe(e,t){let r=function(i){if(i&&!bS(i))return t(i);t()};0<=e[0]?kr.close(e[0],function(){kr.unlink(e[1],r)}):kr.unlink(e[1],r)}function Ahe(e){let t=null;try{0<=e[0]&&kr.closeSync(e[0])}catch(r){if(!Ehe(r)&&!bS(r))throw r}finally{try{kr.unlinkSync(e[1])}catch(r){bS(r)||(t=r)}}if(t!==null)throw t}function yS(e,t,r,i){let n=F0(Ahe,[t,e],i),s=F0(hhe,[t,e],i,n);return r.keep||NA.unshift(n),i?n:s}function N5(e,t,r){let i=t.unsafeCleanup?ohe: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 phe(){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 dhe(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 fhe(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 CS(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||the:1,e.keep=!!e.keep,e.detachDescriptor=!!e.detachDescriptor,e.discardDescriptor=!!e.discardDescriptor,e.unsafeCleanup=!!e.unsafeCleanup,e.prefix=Fn(e.prefix)?"":CS("prefix",e.prefix),e.postfix=Fn(e.postfix)?"":CS("postfix",e.postfix),e.template=Fn(e.template)?void 0:CS("template",e.template)}function x5(e,t,r,i){if(Fn(t))return i(null);dhe(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=fhe(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 ghe(e,t){yhe(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 mhe(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 Ehe(e){return O5(e,-ihe,"EBADF")}function bS(e){return O5(e,-nhe,"ENOENT")}function O5(e,t,r){return rhe?e.code===r:e.code===r&&e.errno===t}function Che(){T5=!0}function yhe(e,t){return kr.realpath(e&&e.tmpdir||N0.tmpdir(),t)}function P5(e){return kr.realpathSync(e&&e.tmpdir||N0.tmpdir())}process.addListener(she,phe);Object.defineProperty(za.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return P5()}});za.exports.dir=uhe;za.exports.dirSync=lhe;za.exports.file=ahe;za.exports.fileSync=che;za.exports.tmpName=IS;za.exports.tmpNameSync=wS;za.exports.setGracefulCleanup=Che});var q5=X((Xke,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 BS=X(L0=>{"use strict";Object.defineProperty(L0,"__esModule",{value:!0});L0.nxVersion=void 0;L0.nxVersion=q5().version});var j5=X(xS=>{"use strict";Object.defineProperty(xS,"__esModule",{value:!0});xS.createSandbox=Qhe;var Ihe=(qo(),na(Uo)),whe=require("fs"),Bhe=U5(),vhe=Ihe.__importDefault(FA()),xhe=require("path"),V5=yl(),$5=ja(),G5=BS(),vS=Xs();async function Qhe(e){let t=(0,vhe.default)(`Installing dependencies with ${e}`).start(),{install:r,preInstall:i}=(0,V5.getPackageManagerCommand)(e),n=(0,Bhe.dirSync)().name;try{(0,whe.writeFileSync)((0,xhe.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 vS.CnwError?s.logFile:void 0,a=s instanceof vS.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 vS.CnwError("SANDBOX_FAILED",l.join(`
|
|
203
203
|
`),o,a??void 0)}finally{t.stop()}return n}});var z5=X(QS=>{"use strict";Object.defineProperty(QS,"__esModule",{value:!0});QS.setupCI=The;var She=(qo(),na(Uo)),Dhe=She.__importDefault(FA()),khe=ja(),Rhe=Xs(),_he=yl();async function The(e,t,r){let i=(0,Dhe.default)("Generating CI workflow").start();try{let n=(0,_he.getPackageManagerCommand)(r),s=await(0,khe.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 Rhe.CnwError("CI_WORKFLOW_FAILED",`Failed to generate CI workflow: ${s}`)}finally{i.stop()}}});var DS=X(SS=>{"use strict";Object.defineProperty(SS,"__esModule",{value:!0});SS.deduceDefaultBase=Nhe;var Fhe=require("child_process");function Nhe(){let e="main";try{return(0,Fhe.execSync)("git config --get init.defaultBranch",{windowsHide:!0}).toString().trim()||e}catch{return e}}});var Nf=X(kS=>{"use strict";Object.defineProperty(kS,"__esModule",{value:!0});kS.isCI=Lhe;function Lhe(){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 Mf=X(MA=>{"use strict";Object.defineProperty(MA,"__esModule",{value:!0});MA.output=MA.CLIOutput=void 0;var Mhe=(qo(),na(Uo)),Ri=Mhe.__importDefault(cl()),Lf=require("os"),Ohe=Nf();(0,Ohe.isCI)()&&(Ri.default.level=0);var M0=class{constructor(t=!0){this.real=t,this.outstream=this.real?process.stdout:new RS,this.colors={gray:Ri.default.gray,green:Ri.default.green,red:Ri.default.red,cyan:Ri.default.cyan,white:Ri.default.white},this.bold=Ri.default.bold,this.underline=Ri.default.underline,this.dim=Ri.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)}${Lf.EOL}`)}writeOptionalOutputBody(t){t&&(this.addNewline(),t.forEach(r=>this.writeToStdOut(`${r}${Lf.EOL}`)))}setCliName(t){this.cliName=t}applyCLIPrefix(t="cyan",r){let i="";return Ri.default[t]?i=Ri.default.reset.inverse.bold[t](` ${this.cliName} `):i=Ri.default.reset.inverse.bold.keyword(t)(` ${this.cliName} `),`${i} ${r}`}addNewline(){this.writeToStdOut(Lf.EOL)}writeLines(t){t.forEach(r=>this.writeToStdOut(`${r}${Lf.EOL}`))}addVerticalSeparator(t="gray"){this.addNewline(),this.addVerticalSeparatorWithoutNewLines(t),this.addNewline()}addVerticalSeparatorWithoutNewLines(t="gray"){this.writeToStdOut(`${Ri.default.dim[t](this.VERTICAL_SEPARATOR)}${Lf.EOL}`)}error({title:t,bodyLines:r}){this.addNewline(),this.writeOutputTitle({color:"red",title:Ri.default.red(t)}),this.writeOptionalOutputBody(r),this.addNewline()}warn({title:t,bodyLines:r}){this.addNewline(),this.writeOutputTitle({color:"yellow",title:Ri.default.yellow(t)}),this.writeOptionalOutputBody(r),this.addNewline()}note({title:t,bodyLines:r}){this.addNewline(),this.writeOutputTitle({color:"orange",title:Ri.default.keyword("orange")(t)}),this.writeOptionalOutputBody(r),this.addNewline()}success({title:t,bodyLines:r}){this.addNewline(),this.writeOutputTitle({color:"green",title:Ri.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?Ri.default[i](t):t}),this.writeOptionalOutputBody(r),this.addNewline()}getOutput(){return this.outstream.toString()}};MA.CLIOutput=M0;MA.output=new M0;var RS=class{constructor(){this.content=""}write(t){this.content+=t}toString(){return this.content}}});var J5=X((oRe,Of)=>{"use strict";var Phe=typeof process<"u"&&process.env.TERM_PROGRAM==="Hyper",Uhe=typeof process<"u"&&process.platform==="win32",H5=typeof process<"u"&&process.platform==="linux",_S={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({},_S,{check:"\u221A",cross:"\xD7",ellipsisLarge:"...",ellipsis:"...",info:"i",questionSmall:"?",pointer:">",pointerSmall:"\xBB",radioOff:"( )",radioOn:"(*)",warning:"\u203C"}),W5=Object.assign({},_S,{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"});Of.exports=Uhe&&!Phe?Y5:W5;Reflect.defineProperty(Of.exports,"common",{enumerable:!1,value:_S});Reflect.defineProperty(Of.exports,"windows",{enumerable:!1,value:Y5});Reflect.defineProperty(Of.exports,"other",{enumerable:!1,value:W5})});var Nn=X((aRe,TS)=>{"use strict";var qhe=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),Vhe=/[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g,$he=()=>typeof process<"u"?process.env.FORCE_COLOR!=="0":!1,Z5=()=>{let e={enabled:$he(),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=Vhe,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(!qhe(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};TS.exports=Z5();TS.exports.create=Z5});var Zi=X(sr=>{"use strict";var Ghe=Object.prototype.toString,Ds=Nn(),K5=!1,FS=[],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=>Ghe.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.196",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡A CLI tool used to generate and fully configure a Storm Workspace repository.",
|
|
6
6
|
"keywords": [
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"typings": "./src/index.d.ts",
|
|
30
30
|
"bin": { "create-storm-workspace": "./index.js" },
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@nx/workspace": "22.7.
|
|
33
|
-
"create-nx-workspace": "^22.7.
|
|
32
|
+
"@nx/workspace": "22.7.5",
|
|
33
|
+
"create-nx-workspace": "^22.7.5",
|
|
34
34
|
"enquirer": "2.4.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@nx/devkit": "22.7.
|
|
37
|
+
"@nx/devkit": "^22.7.5",
|
|
38
38
|
"@types/node": "^25.9.1",
|
|
39
|
-
"nx": "22.7.
|
|
39
|
+
"nx": "22.7.5"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": { "@nx/devkit": ">=22.7.1", "nx": ">=22.7.1" },
|
|
42
42
|
"peerDependenciesMeta": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"nx": { "optional": false }
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": { "access": "public" },
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "48d6212133c6a011439668fd76d855da9a673790"
|
|
48
48
|
}
|