create-storm-workspace 1.97.251 → 1.97.258
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 +60 -0
- package/README.md +1 -1
- package/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,66 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Create Storm Workspace
|
|
4
4
|
|
|
5
|
+
## [1.97.257](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.257) (07/13/2026)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **tools-scripts:** Resolve linting issue with `package.json` dependencies order ([140a5f835](https://github.com/storm-software/storm-ops/commit/140a5f835))
|
|
10
|
+
|
|
11
|
+
### Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated **config-tools** to **v1.190.97**
|
|
14
|
+
|
|
15
|
+
## [1.97.256](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.256) (07/13/2026)
|
|
16
|
+
|
|
17
|
+
### Updated Dependencies
|
|
18
|
+
|
|
19
|
+
- Updated **config-tools** to **v1.190.96**
|
|
20
|
+
|
|
21
|
+
## [1.97.255](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.255) (07/13/2026)
|
|
22
|
+
|
|
23
|
+
### Updated Dependencies
|
|
24
|
+
|
|
25
|
+
- Updated **config-tools** to **v1.190.95**
|
|
26
|
+
|
|
27
|
+
## [1.97.254](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.254) (07/13/2026)
|
|
28
|
+
|
|
29
|
+
### Miscellaneous
|
|
30
|
+
|
|
31
|
+
- **monorepo:** Update `devenv.yaml` to use NixOS package versions ([91e9ced1a](https://github.com/storm-software/storm-ops/commit/91e9ced1a))
|
|
32
|
+
- **monorepo:** Regenerate workspace's devenv modules ([3055cb5fa](https://github.com/storm-software/storm-ops/commit/3055cb5fa))
|
|
33
|
+
|
|
34
|
+
### Updated Dependencies
|
|
35
|
+
|
|
36
|
+
- Updated **config-tools** to **v1.190.94**
|
|
37
|
+
|
|
38
|
+
## [1.97.253](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.253) (07/12/2026)
|
|
39
|
+
|
|
40
|
+
### Updated Dependencies
|
|
41
|
+
|
|
42
|
+
- Updated **config-tools** to **v1.190.93**
|
|
43
|
+
|
|
44
|
+
## [1.97.252](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.252) (07/10/2026)
|
|
45
|
+
|
|
46
|
+
### Miscellaneous
|
|
47
|
+
|
|
48
|
+
- **monorepo:** Update workspace's lockfiles ([cf18a1819](https://github.com/storm-software/storm-ops/commit/cf18a1819))
|
|
49
|
+
- **workspace-tools:** Rename `prod` profile to `release` for consistency ([7c676ed98](https://github.com/storm-software/storm-ops/commit/7c676ed98))
|
|
50
|
+
|
|
51
|
+
### Updated Dependencies
|
|
52
|
+
|
|
53
|
+
- Updated **config-tools** to **v1.190.92**
|
|
54
|
+
|
|
55
|
+
## [1.97.251](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.251) (07/10/2026)
|
|
56
|
+
|
|
57
|
+
### Miscellaneous
|
|
58
|
+
|
|
59
|
+
- **monorepo:** Update workspace packages' `README.md` files ([07018210f](https://github.com/storm-software/storm-ops/commit/07018210f))
|
|
60
|
+
|
|
61
|
+
### Updated Dependencies
|
|
62
|
+
|
|
63
|
+
- Updated **config-tools** to **v1.190.91**
|
|
64
|
+
|
|
5
65
|
## [1.97.250](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.250) (07/10/2026)
|
|
6
66
|
|
|
7
67
|
### 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 Ule(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 AS(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 AS(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 qle(e){let t=[],r=AS(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 lS=new Map;function pS(e,t=process.cwd()){if(lS.has(e))return lS.get(e);try{let r=(0,Lle.execSync)(`${e} --version`,{cwd:t,encoding:"utf-8",windowsHide:!0}).trim();return lS.set(e,r),r}catch{throw new Mle.CnwError("INVALID_PACKAGE_MANAGER",`Package manager '${e}' is not installed or not found in PATH.`)}}function Vle(){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((Jke,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=Gle;var $le=E5();function Gle(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,$le.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=Zle;var jle=(qo(),na(Uo)),zle=jle.__importDefault(FA()),Hle=require("path"),Yle=ja(),Wle=Xs(),C5=yl(),Jle=gS();async function Zle(e,t,r,i){i.packageManager||(i.packageManager=r);let n=i.name;delete i.skipInstall;let{workingDir:s,...o}=i,a=(0,Jle.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,zle.default)(`Creating your workspace in ${n}`).start();try{let m=`${u.exec} nx ${l} --nxWorkspaceRoot=${h}`;await(0,Yle.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 Wle.CnwError("WORKSPACE_CREATION_FAILED",`Failed to create a workspace: ${g}`)}finally{d.stop()}return(0,Hle.join)(A,n)}});var I5=X(ES=>{"use strict";Object.defineProperty(ES,"__esModule",{value:!0});ES.createPreset=the;var Kle=Xs(),b5=yl(),Xle=ja(),ehe=gS();async function the(e,t,r,i){let{skipGit:n,commit:s,nxCloud:o,workingDir:a,...u}=t;u.verbose||delete u.verbose;let l=(0,ehe.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,Xle.spawnAndWait)(g,E,i)}catch{throw new Kle.CnwError("PRESET_FAILED",`Failed to apply preset: ${e}`)}}});var U5=X((eRe,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/,rhe=3,D5=(Go.O_CREAT||Go.fs.O_CREAT)|(Go.O_EXCL||Go.fs.O_EXCL)|(Go.O_RDWR||Go.fs.O_RDWR),ihe=N0.platform()==="win32",nhe=Go.EBADF||Go.os.errno.EBADF,she=Go.ENOENT||Go.os.errno.ENOENT,k5=448,R5=384,ohe="exit",NA=[],_5=kr.rmdirSync.bind(kr),T5=!1;function ahe(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];mhe(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=Ehe(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 che(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 uhe(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 lhe(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 hhe(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 Ahe(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 phe(e){let t=null;try{0<=e[0]&&kr.closeSync(e[0])}catch(r){if(!Che(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(phe,[t,e],i),s=F0(Ahe,[t,e],i,n);return r.keep||NA.unshift(n),i?n:s}function N5(e,t,r){let i=t.unsafeCleanup?ahe: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 dhe(){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 fhe(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 ghe(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||rhe: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);fhe(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=ghe(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 mhe(e,t){bhe(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 Ehe(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 Che(e){return O5(e,-nhe,"EBADF")}function bS(e){return O5(e,-she,"ENOENT")}function O5(e,t,r){return ihe?e.code===r:e.code===r&&e.errno===t}function yhe(){T5=!0}function bhe(e,t){return kr.realpath(e&&e.tmpdir||N0.tmpdir(),t)}function P5(e){return kr.realpathSync(e&&e.tmpdir||N0.tmpdir())}process.addListener(ohe,dhe);Object.defineProperty(za.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return P5()}});za.exports.dir=lhe;za.exports.dirSync=hhe;za.exports.file=che;za.exports.fileSync=uhe;za.exports.tmpName=IS;za.exports.tmpNameSync=wS;za.exports.setGracefulCleanup=yhe});var q5=X((tRe,Ihe)=>{Ihe.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 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=She;var whe=(qo(),na(Uo)),Bhe=require("fs"),vhe=U5(),xhe=whe.__importDefault(FA()),Qhe=require("path"),V5=yl(),$5=ja(),G5=BS(),vS=Xs();async function She(e){let t=(0,xhe.default)(`Installing dependencies with ${e}`).start(),{install:r,preInstall:i}=(0,V5.getPackageManagerCommand)(e),n=(0,vhe.dirSync)().name;try{(0,Bhe.writeFileSync)((0,Qhe.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,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 qle(e){let t=[],r=AS(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 lS=new Map;function pS(e,t=process.cwd()){if(lS.has(e))return lS.get(e);try{let r=(0,Lle.execSync)(`${e} --version`,{cwd:t,encoding:"utf-8",windowsHide:!0}).trim();return lS.set(e,r),r}catch{throw new Mle.CnwError("INVALID_PACKAGE_MANAGER",`Package manager '${e}' is not installed or not found in PATH.`)}}function Vle(){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((Jke,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=Gle;var $le=E5();function Gle(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,$le.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=Zle;var jle=(qo(),na(Uo)),zle=jle.__importDefault(FA()),Hle=require("path"),Yle=ja(),Wle=Xs(),C5=yl(),Jle=gS();async function Zle(e,t,r,i){i.packageManager||(i.packageManager=r);let n=i.name;delete i.skipInstall;let{workingDir:s,...o}=i,a=(0,Jle.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,zle.default)(`Creating your workspace in ${n}`).start();try{let m=`${u.exec} nx ${l} --nxWorkspaceRoot=${h}`;await(0,Yle.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 Wle.CnwError("WORKSPACE_CREATION_FAILED",`Failed to create a workspace: ${g}`)}finally{d.stop()}return(0,Hle.join)(A,n)}});var I5=X(ES=>{"use strict";Object.defineProperty(ES,"__esModule",{value:!0});ES.createPreset=the;var Kle=Xs(),b5=yl(),Xle=ja(),ehe=gS();async function the(e,t,r,i){let{skipGit:n,commit:s,nxCloud:o,workingDir:a,...u}=t;u.verbose||delete u.verbose;let l=(0,ehe.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,Xle.spawnAndWait)(g,E,i)}catch{throw new Kle.CnwError("PRESET_FAILED",`Failed to apply preset: ${e}`)}}});var U5=X((eRe,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/,rhe=3,D5=(Go.O_CREAT||Go.fs.O_CREAT)|(Go.O_EXCL||Go.fs.O_EXCL)|(Go.O_RDWR||Go.fs.O_RDWR),ihe=N0.platform()==="win32",nhe=Go.EBADF||Go.os.errno.EBADF,she=Go.ENOENT||Go.os.errno.ENOENT,k5=448,R5=384,ohe="exit",NA=[],_5=kr.rmdirSync.bind(kr),T5=!1;function ahe(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];mhe(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=Ehe(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 che(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 uhe(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 lhe(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 hhe(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 Ahe(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 phe(e){let t=null;try{0<=e[0]&&kr.closeSync(e[0])}catch(r){if(!Che(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(phe,[t,e],i),s=F0(Ahe,[t,e],i,n);return r.keep||NA.unshift(n),i?n:s}function N5(e,t,r){let i=t.unsafeCleanup?ahe: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 dhe(){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 fhe(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 ghe(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||rhe: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);fhe(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=ghe(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 mhe(e,t){bhe(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 Ehe(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 Che(e){return O5(e,-nhe,"EBADF")}function bS(e){return O5(e,-she,"ENOENT")}function O5(e,t,r){return ihe?e.code===r:e.code===r&&e.errno===t}function yhe(){T5=!0}function bhe(e,t){return kr.realpath(e&&e.tmpdir||N0.tmpdir(),t)}function P5(e){return kr.realpathSync(e&&e.tmpdir||N0.tmpdir())}process.addListener(ohe,dhe);Object.defineProperty(za.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return P5()}});za.exports.dir=lhe;za.exports.dirSync=hhe;za.exports.file=che;za.exports.fileSync=uhe;za.exports.tmpName=IS;za.exports.tmpNameSync=wS;za.exports.setGracefulCleanup=yhe});var q5=X((tRe,Ihe)=>{Ihe.exports={name:"create-nx-workspace",version:"22.7.7",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=She;var whe=(qo(),na(Uo)),Bhe=require("fs"),vhe=U5(),xhe=whe.__importDefault(FA()),Qhe=require("path"),V5=yl(),$5=ja(),G5=BS(),vS=Xs();async function She(e){let t=(0,xhe.default)(`Installing dependencies with ${e}`).start(),{install:r,preInstall:i}=(0,V5.getPackageManagerCommand)(e),n=(0,vhe.dirSync)().name;try{(0,Bhe.writeFileSync)((0,Qhe.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=Fhe;var Dhe=(qo(),na(Uo)),khe=Dhe.__importDefault(FA()),Rhe=ja(),_he=Xs(),The=yl();async function Fhe(e,t,r){let i=(0,khe.default)("Generating CI workflow").start();try{let n=(0,The.getPackageManagerCommand)(r),s=await(0,Rhe.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 _he.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=Lhe;var Nhe=require("child_process");function Lhe(){let e="main";try{return(0,Nhe.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=Mhe;function Mhe(){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 Ohe=(qo(),na(Uo)),_i=Ohe.__importDefault(cl()),Lf=require("os"),Phe=Nf();(0,Phe.isCI)()&&(_i.default.level=0);var M0=class{constructor(t=!0){this.real=t,this.outstream=this.real?process.stdout:new RS,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)}${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 _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(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(`${_i.default.dim[t](this.VERTICAL_SEPARATOR)}${Lf.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 RS=class{constructor(){this.content=""}write(t){this.content+=t}toString(){return this.content}}});var J5=X((cRe,Of)=>{"use strict";var Uhe=typeof process<"u"&&process.env.TERM_PROGRAM==="Hyper",qhe=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=qhe&&!Uhe?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((uRe,TS)=>{"use strict";var Vhe=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),$he=/[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g,Ghe=()=>typeof process<"u"?process.env.FORCE_COLOR!=="0":!1,Z5=()=>{let e={enabled:Ghe(),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=$he,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(!Vhe(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 Ki=X(sr=>{"use strict";var jhe=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=>jhe.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.258",
|
|
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": "23.0.1",
|
|
33
|
-
"create-nx-workspace": "^22.7.
|
|
33
|
+
"create-nx-workspace": "^22.7.7",
|
|
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": "752dcf7147a8e553e9f0375e33cacd3711b2a34b"
|
|
48
48
|
}
|