diff --git a/package.json b/package.json index 9638831..ccdb0c2 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "dependencies": { "@antfu/ni": "^0.23.0", "chalk": "5.2.0", - "commander": "^10.0.0", + "citty": "^0.1.6", "cosmiconfig": "^8.1.3", "diff": "^5.1.0", "execa": "^7.0.0", @@ -83,7 +83,6 @@ "lint-staged": "^15.2.10", "pnpm": "^9.9.0", "simple-git-hooks": "^2.11.1", - "type-fest": "^3.8.0", "typescript": "^5.5.4", "unbuild": "^2.0.0", "vite": "^5.4.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fcafa9a..ffe4337 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,9 +14,9 @@ importers: chalk: specifier: 5.2.0 version: 5.2.0 - commander: - specifier: ^10.0.0 - version: 10.0.1 + citty: + specifier: ^0.1.6 + version: 0.1.6 cosmiconfig: specifier: ^8.1.3 version: 8.3.6(typescript@5.5.4) @@ -96,9 +96,6 @@ importers: simple-git-hooks: specifier: ^2.11.1 version: 2.11.1 - type-fest: - specifier: ^3.8.0 - version: 3.13.1 typescript: specifier: ^5.5.4 version: 5.5.4 @@ -116,10 +113,10 @@ importers: dependencies: '@analogjs/astro-angular': specifier: ^1.7.2 - version: 1.8.1(lftbka73uudwbrml3ax5ill2iq) + version: 1.8.1(wa22xwtew2vcg253fw45ld34za) '@angular-devkit/build-angular': specifier: ^18.2.1 - version: 18.2.5(@angular/compiler-cli@18.2.5(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(typescript@5.5.4))(@angular/platform-server@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))))(@types/node@22.6.1)(chokidar@3.6.0)(tailwindcss@3.4.13)(typescript@5.5.4) + version: 18.2.5(@angular/compiler-cli@18.2.5(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(typescript@5.5.4))(@angular/platform-server@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))))(@types/node@22.6.1)(chokidar@3.6.0)(karma@6.4.4)(tailwindcss@3.4.13)(typescript@5.5.4) '@angular/animations': specifier: ^18.2.1 version: 18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)) @@ -1278,6 +1275,10 @@ packages: bundledDependencies: - is-unicode-supported + '@colors/colors@1.5.0': + resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} + engines: {node: '>=0.1.90'} + '@ctrl/tinycolor@4.1.0': resolution: {integrity: sha512-WyOx8cJQ+FQus4Mm4uPIZA64gbk3Wxh0so5Lcii0aJifqwoVOlfFtorjLE0Hen4OYyHZMXDWqMmaQemBhgxFRQ==} engines: {node: '>=14'} @@ -2488,6 +2489,9 @@ packages: resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} + '@socket.io/component-emitter@3.1.2': + resolution: {integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==} + '@stylistic/eslint-plugin@2.7.2': resolution: {integrity: sha512-3DVLU5HEuk2pQoBmXJlzvrxbKNpu2mJ0SRqz5O/CJjyNCr12ZiPcYMEtuArTyPOk5i7bsAU44nywh1rGfe3gKQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2531,9 +2535,15 @@ packages: '@types/connect@3.4.38': resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} + '@types/cookie@0.4.1': + resolution: {integrity: sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q==} + '@types/cookie@0.6.0': resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} + '@types/cors@2.8.17': + resolution: {integrity: sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA==} + '@types/debug@4.1.12': resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} @@ -3014,13 +3024,6 @@ packages: engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'} hasBin: true - autoprefixer@10.4.19: - resolution: {integrity: sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==} - engines: {node: ^10 || ^12 || >=14} - hasBin: true - peerDependencies: - postcss: ^8.1.0 - autoprefixer@10.4.20: resolution: {integrity: sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==} engines: {node: ^10 || ^12 || >=14} @@ -3084,6 +3087,10 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} + base64id@2.0.0: + resolution: {integrity: sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==} + engines: {node: ^4.5.0 || >= 5.9} + batch@0.6.1: resolution: {integrity: sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==} @@ -3315,6 +3322,9 @@ packages: resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} engines: {node: '>= 12'} + cliui@7.0.4: + resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} + cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -3370,10 +3380,6 @@ packages: comma-separated-tokens@2.0.3: resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==} - commander@10.0.1: - resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} - engines: {node: '>=14'} - commander@12.1.0: resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==} engines: {node: '>=18'} @@ -3420,6 +3426,10 @@ packages: resolution: {integrity: sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==} engines: {node: '>=0.8'} + connect@3.7.0: + resolution: {integrity: sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==} + engines: {node: '>= 0.10.0'} + consola@3.2.3: resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} engines: {node: ^14.18.0 || >=16.10.0} @@ -3441,6 +3451,10 @@ packages: cookie-signature@1.0.6: resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} + cookie@0.4.2: + resolution: {integrity: sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==} + engines: {node: '>= 0.6'} + cookie@0.6.0: resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} engines: {node: '>= 0.6'} @@ -3463,6 +3477,10 @@ packages: core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} + cors@2.8.5: + resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} + engines: {node: '>= 0.10'} + cosmiconfig@8.3.6: resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} engines: {node: '>=14'} @@ -3551,10 +3569,17 @@ packages: resolution: {integrity: sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} + custom-event@1.0.1: + resolution: {integrity: sha512-GAj5FOq0Hd+RsCGVJxZuKaIDXDf3h6GQoNEjFgbLLI/trgtavwUbSnZ5pVfg27DVCaWjIohryS0JFwIJyT2cMg==} + data-uri-to-buffer@4.0.1: resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} engines: {node: '>= 12'} + date-format@4.0.14: + resolution: {integrity: sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==} + engines: {node: '>=4.0'} + debug@2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} peerDependencies: @@ -3673,6 +3698,9 @@ packages: devlop@1.1.0: resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} + di@0.0.1: + resolution: {integrity: sha512-uJaamHkagcZtHPqCIHZxnFrXlunQXgBOsZSUOWwFw31QJCAbyTBoHMW75YOTur5ZNx8pIeAKgf6GWIgaqqiLhA==} + didyoumean@1.2.2: resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} @@ -3699,6 +3727,9 @@ packages: resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} engines: {node: '>=6.0.0'} + dom-serialize@2.2.1: + resolution: {integrity: sha512-Yra4DbvoW7/Z6LBN560ZwXMjoNOSAN2wRsKFGc4iBeso+mpIA6qj1vfdf9HpMaKAqG6wXTy+1SYEzmNpKXOSsQ==} + dom-serializer@2.0.0: resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==} @@ -3759,6 +3790,14 @@ packages: end-of-stream@1.4.4: resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} + engine.io-parser@5.2.3: + resolution: {integrity: sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==} + engines: {node: '>=10.0.0'} + + engine.io@6.6.1: + resolution: {integrity: sha512-NEpDCw9hrvBW+hVEOK4T7v0jFJ++KgtPl4jKFwsZVfG1XhS0dCrSb3VMb9gPAd7VAdW52VT1EnaNiU2vM8C0og==} + engines: {node: '>=10.2.0'} + enhanced-resolve@5.17.0: resolution: {integrity: sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==} engines: {node: '>=10.13.0'} @@ -3767,6 +3806,10 @@ packages: resolution: {integrity: sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==} engines: {node: '>=10.13.0'} + ent@2.2.1: + resolution: {integrity: sha512-QHuXVeZx9d+tIQAz/XztU0ZwZf2Agg9CcXcgE1rurqvdBeDBrpSwjl8/6XUqMg7tw2Y7uAdKb2sRv+bSEFqQ5A==} + engines: {node: '>= 0.4'} + entities@4.5.0: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} @@ -4147,6 +4190,10 @@ packages: resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} engines: {node: '>=8'} + finalhandler@1.1.2: + resolution: {integrity: sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==} + engines: {node: '>= 0.8'} + finalhandler@1.3.1: resolution: {integrity: sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==} engines: {node: '>= 0.8'} @@ -4224,6 +4271,10 @@ packages: resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==} engines: {node: '>=14.14'} + fs-extra@8.1.0: + resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} + engines: {node: '>=6 <7 || >=8'} + fs-minipass@2.1.0: resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} engines: {node: '>= 8'} @@ -4294,6 +4345,10 @@ packages: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} hasBin: true + glob@7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported + glob@8.1.0: resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} engines: {node: '>=12'} @@ -4728,6 +4783,10 @@ packages: isarray@1.0.0: resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} + isbinaryfile@4.0.10: + resolution: {integrity: sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==} + engines: {node: '>= 8.0.0'} + isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} @@ -4817,12 +4876,20 @@ packages: jsonc-parser@3.3.1: resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==} + jsonfile@4.0.0: + resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} + jsonfile@6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} karma-source-map-support@1.4.0: resolution: {integrity: sha512-RsBECncGO17KAoJCYXjv+ckIz+Ii9NCi+9enk+rq6XC81ezYkb4/RHE6CTXdA7IOJqoF3wcaLfVG0CPmE5ca6A==} + karma@6.4.4: + resolution: {integrity: sha512-LrtUxbdvt1gOpo3gxG+VAJlJAEMhbWlM4YrFQgql98FwF7+K8K12LYO4hnDdUkNjeztYrOXEMqgTajSWgmtI/w==} + engines: {node: '>= 10'} + hasBin: true + keyv@4.5.4: resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} @@ -4967,6 +5034,10 @@ packages: resolution: {integrity: sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w==} engines: {node: '>=18'} + log4js@6.9.1: + resolution: {integrity: sha512-1somDdy9sChrr9/f4UlzhdaGfDR2c/SaD2a4T7qEkG4jTS57/B3qmnjLYePwQ8cqWnUHZI0iAKxMBpCZICiZ2g==} + engines: {node: '>=8.0'} + longest-streak@3.1.0: resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} @@ -5219,6 +5290,11 @@ packages: engines: {node: '>=4'} hasBin: true + mime@2.6.0: + resolution: {integrity: sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==} + engines: {node: '>=4.0.0'} + hasBin: true + mimic-fn@2.1.0: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} @@ -5285,6 +5361,10 @@ packages: mkdirp-classic@0.5.3: resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==} + mkdirp@0.5.6: + resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} + hasBin: true + mkdirp@1.0.4: resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} engines: {node: '>=10'} @@ -5480,6 +5560,10 @@ packages: ohash@1.1.3: resolution: {integrity: sha512-zuHHiGTYTA1sYJ/wZN+t5HKZaH23i4yI1HMwbuXm24Nid7Dv0KcuRlKoNKS9UNfAVSBlnGLcuQrnOKWOZoEGaw==} + on-finished@2.3.0: + resolution: {integrity: sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==} + engines: {node: '>= 0.8'} + on-finished@2.4.1: resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} engines: {node: '>= 0.8'} @@ -5636,6 +5720,10 @@ packages: resolution: {integrity: sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + path-is-absolute@1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} @@ -5969,10 +6057,6 @@ packages: resolution: {integrity: sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==} engines: {node: ^10 || ^12 || >=14} - postcss@8.4.44: - resolution: {integrity: sha512-Aweb9unOEpQ3ezu4Q00DPvvM2ZTUitJdNKeP/+uQgr1IBIqu574IaZoURId7BKtWMREwzKa9OgzPzezWGPWFQw==} - engines: {node: ^10 || ^12 || >=14} - postcss@8.4.47: resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} engines: {node: ^10 || ^12 || >=14} @@ -6028,10 +6112,17 @@ packages: pump@3.0.2: resolution: {integrity: sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==} + punycode@1.4.1: + resolution: {integrity: sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==} + punycode@2.3.1: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} + qjobs@1.2.0: + resolution: {integrity: sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==} + engines: {node: '>=0.9'} + qs@6.13.0: resolution: {integrity: sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==} engines: {node: '>=0.6'} @@ -6235,6 +6326,11 @@ packages: rfdc@1.4.1: resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} + rimraf@3.0.2: + resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + deprecated: Rimraf versions prior to v4 are no longer supported + hasBin: true + rimraf@5.0.10: resolution: {integrity: sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==} hasBin: true @@ -6453,13 +6549,20 @@ packages: resolution: {integrity: sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==} engines: {node: '>=18'} + socket.io-adapter@2.5.5: + resolution: {integrity: sha512-eLDQas5dzPgOWCk9GuuJC2lBqItuhKI4uxGgo9aIV7MYbk2h9Q6uULEh8WBzThoI7l+qU9Ast9fVUmkqPP9wYg==} + + socket.io-parser@4.2.4: + resolution: {integrity: sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==} + engines: {node: '>=10.0.0'} + + socket.io@4.8.0: + resolution: {integrity: sha512-8U6BEgGjQOfGz3HHTYaC/L1GaxDCJ/KM0XTkJly0EhZ5U/du9uNEZy4ZgYzEzIqlx2CMm25CrCqr1ck899eLNA==} + engines: {node: '>=10.2.0'} + sockjs@0.3.24: resolution: {integrity: sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ==} - source-map-js@1.2.0: - resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} - engines: {node: '>=0.10.0'} - source-map-js@1.2.1: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} @@ -6537,6 +6640,10 @@ packages: stream-replace-string@2.0.0: resolution: {integrity: sha512-TlnjJ1C0QrmxRNrON00JvaFFlNh5TTG00APw23j74ET7gkQpTASi6/L2fuiav8pzK715HXtUeClpBTw2NPSn6w==} + streamroller@3.1.5: + resolution: {integrity: sha512-KFxaM7XT+irxvdqSP1LGLgNWbYN7ay5owZ3r/8t77p+EtSUAfUgtl7be3xtqtOmGUl9K9YPO2ca8133RlTjvKw==} + engines: {node: '>=8.0'} + streamx@2.20.1: resolution: {integrity: sha512-uTa0mU6WUC65iUvzKH4X9hEdvSW7rbPxPtwfWiLMSj3qTdQbAiUboZTxauKfpFuGIGa1C2BYijZ7wgdUXICJhA==} @@ -6552,10 +6659,6 @@ packages: resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} engines: {node: '>=12'} - string-width@7.1.0: - resolution: {integrity: sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==} - engines: {node: '>=18'} - string-width@7.2.0: resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==} engines: {node: '>=18'} @@ -6741,6 +6844,10 @@ packages: resolution: {integrity: sha512-q5nmENpTHgiPVd1cJDDc9cVoYN5x4vCvwT3FMilvKPKneCBZAxn2YWQjDF0UMcE9k0Cay1gBiDfTMU0g+mPMQA==} engines: {node: '>=14.0.0'} + tmp@0.2.3: + resolution: {integrity: sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==} + engines: {node: '>=14.14'} + to-fast-properties@2.0.0: resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} engines: {node: '>=4'} @@ -6844,10 +6951,6 @@ packages: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} - type-fest@3.13.1: - resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} - engines: {node: '>=14.16'} - type-is@1.6.18: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} @@ -6866,6 +6969,10 @@ packages: engines: {node: '>=14.17'} hasBin: true + ua-parser-js@0.7.39: + resolution: {integrity: sha512-IZ6acm6RhQHNibSt7+c09hhvsKy9WUr4DVbeq9U8o71qxyYtJpQeDxQnMrVqnIFMLcQjHO0I9wgfO2vIahht4w==} + hasBin: true + ufo@1.5.3: resolution: {integrity: sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==} @@ -6940,6 +7047,10 @@ packages: unist-util-visit@5.0.0: resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==} + universalify@0.1.2: + resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} + engines: {node: '>= 4.0.0'} + universalify@2.0.1: resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} engines: {node: '>= 10.0.0'} @@ -7094,6 +7205,10 @@ packages: jsdom: optional: true + void-elements@2.0.1: + resolution: {integrity: sha512-qZKX4RnBzH2ugr8Lxa7x+0V6XD9Sb/ouARtiasEQCHB1EVU4NXtmHsDDrx1dO4ne5fc3J6EW05BP1Dl0z0iung==} + engines: {node: '>=0.10.0'} + volar-service-css@0.0.61: resolution: {integrity: sha512-Ct9L/w+IB1JU8F4jofcNCGoHy6TF83aiapfZq9A0qYYpq+Kk5dH+ONS+rVZSsuhsunq8UvAuF8Gk6B8IFLfniw==} peerDependencies: @@ -7335,6 +7450,18 @@ packages: wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + ws@8.17.1: + resolution: {integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + ws@8.18.0: resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} engines: {node: '>=10.0.0'} @@ -7385,10 +7512,18 @@ packages: engines: {node: '>= 14'} hasBin: true + yargs-parser@20.2.9: + resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} + engines: {node: '>=10'} + yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} + yargs@16.2.0: + resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} + engines: {node: '>=10'} + yargs@17.7.2: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} @@ -7434,10 +7569,10 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@analogjs/astro-angular@1.8.1(lftbka73uudwbrml3ax5ill2iq)': + '@analogjs/astro-angular@1.8.1(wa22xwtew2vcg253fw45ld34za)': dependencies: - '@analogjs/vite-plugin-angular': 1.8.1(yaxhdiqnj7roru6eb57xw3lfsq) - '@angular-devkit/build-angular': 18.2.5(@angular/compiler-cli@18.2.5(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(typescript@5.5.4))(@angular/platform-server@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))))(@types/node@22.6.1)(chokidar@3.6.0)(tailwindcss@3.4.13)(typescript@5.5.4) + '@analogjs/vite-plugin-angular': 1.8.1(ktj6nw226iubdndyighp2mliaa) + '@angular-devkit/build-angular': 18.2.5(@angular/compiler-cli@18.2.5(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(typescript@5.5.4))(@angular/platform-server@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))))(@types/node@22.6.1)(chokidar@3.6.0)(karma@6.4.4)(tailwindcss@3.4.13)(typescript@5.5.4) '@angular/animations': 18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)) '@angular/common': 18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1) '@angular/compiler': 18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)) @@ -7453,13 +7588,13 @@ snapshots: transitivePeerDependencies: - '@angular/build' - '@analogjs/vite-plugin-angular@1.8.1(yaxhdiqnj7roru6eb57xw3lfsq)': + '@analogjs/vite-plugin-angular@1.8.1(ktj6nw226iubdndyighp2mliaa)': dependencies: ts-morph: 21.0.1 vfile: 6.0.3 optionalDependencies: - '@angular-devkit/build-angular': 18.2.5(@angular/compiler-cli@18.2.5(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(typescript@5.5.4))(@angular/platform-server@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))))(@types/node@22.6.1)(chokidar@3.6.0)(tailwindcss@3.4.13)(typescript@5.5.4) - '@angular/build': 18.2.5(@angular/compiler-cli@18.2.5(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(typescript@5.5.4))(@angular/platform-server@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))))(@types/node@22.6.1)(chokidar@3.6.0)(less@4.2.0)(postcss@8.4.44)(tailwindcss@3.4.13)(terser@5.31.6)(typescript@5.5.4) + '@angular-devkit/build-angular': 18.2.5(@angular/compiler-cli@18.2.5(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(typescript@5.5.4))(@angular/platform-server@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))))(@types/node@22.6.1)(chokidar@3.6.0)(karma@6.4.4)(tailwindcss@3.4.13)(typescript@5.5.4) + '@angular/build': 18.2.5(@angular/compiler-cli@18.2.5(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(typescript@5.5.4))(@angular/platform-server@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))))(@types/node@22.6.1)(chokidar@3.6.0)(less@4.2.0)(postcss@8.4.47)(tailwindcss@3.4.13)(terser@5.31.6)(typescript@5.5.4) '@angular-devkit/architect@0.1802.5(chokidar@3.6.0)': dependencies: @@ -7468,7 +7603,7 @@ snapshots: transitivePeerDependencies: - chokidar - '@angular-devkit/build-angular@18.2.5(@angular/compiler-cli@18.2.5(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(typescript@5.5.4))(@angular/platform-server@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))))(@types/node@22.6.1)(chokidar@3.6.0)(tailwindcss@3.4.13)(typescript@5.5.4)': + '@angular-devkit/build-angular@18.2.5(@angular/compiler-cli@18.2.5(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(typescript@5.5.4))(@angular/platform-server@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))))(@types/node@22.6.1)(chokidar@3.6.0)(karma@6.4.4)(tailwindcss@3.4.13)(typescript@5.5.4)': dependencies: '@ampproject/remapping': 2.3.0 '@angular-devkit/architect': 0.1802.5(chokidar@3.6.0) @@ -7537,6 +7672,7 @@ snapshots: optionalDependencies: '@angular/platform-server': 18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))) esbuild: 0.23.0 + karma: 6.4.4 tailwindcss: 3.4.13 transitivePeerDependencies: - '@rspack/core' @@ -7625,7 +7761,7 @@ snapshots: - supports-color - terser - '@angular/build@18.2.5(@angular/compiler-cli@18.2.5(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(typescript@5.5.4))(@angular/platform-server@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))))(@types/node@22.6.1)(chokidar@3.6.0)(less@4.2.0)(postcss@8.4.44)(tailwindcss@3.4.13)(terser@5.31.6)(typescript@5.5.4)': + '@angular/build@18.2.5(@angular/compiler-cli@18.2.5(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(typescript@5.5.4))(@angular/platform-server@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))))(@types/node@22.6.1)(chokidar@3.6.0)(less@4.2.0)(postcss@8.4.47)(tailwindcss@3.4.13)(terser@5.31.6)(typescript@5.5.4)': dependencies: '@ampproject/remapping': 2.3.0 '@angular-devkit/architect': 0.1802.5(chokidar@3.6.0) @@ -7657,7 +7793,7 @@ snapshots: optionalDependencies: '@angular/platform-server': 18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/compiler@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.5(@angular/animations@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.5(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.5(rxjs@7.8.1)(zone.js@0.14.10))) less: 4.2.0 - postcss: 8.4.44 + postcss: 8.4.47 tailwindcss: 3.4.13 transitivePeerDependencies: - '@types/node' @@ -8047,7 +8183,7 @@ snapshots: dependencies: '@babel/compat-data': 7.24.4 '@babel/helper-validator-option': 7.23.5 - browserslist: 4.23.0 + browserslist: 4.23.3 lru-cache: 5.1.1 semver: 6.3.1 @@ -8901,6 +9037,9 @@ snapshots: picocolors: 1.1.0 sisteransi: 1.0.5 + '@colors/colors@1.5.0': + optional: true + '@ctrl/tinycolor@4.1.0': {} '@discoveryjs/json-ext@0.6.1': {} @@ -9275,8 +9414,8 @@ snapshots: hast-util-to-html: 9.0.3 hast-util-to-text: 4.0.2 hastscript: 9.0.0 - postcss: 8.4.44 - postcss-nested: 6.0.1(postcss@8.4.44) + postcss: 8.4.47 + postcss-nested: 6.0.1(postcss@8.4.47) unist-util-visit: 5.0.0 unist-util-visit-parents: 6.0.1 @@ -9771,6 +9910,9 @@ snapshots: '@sindresorhus/merge-streams@2.3.0': {} + '@socket.io/component-emitter@3.1.2': + optional: true + '@stylistic/eslint-plugin@2.7.2(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': dependencies: '@types/eslint': 9.6.1 @@ -9843,8 +9985,16 @@ snapshots: dependencies: '@types/node': 22.5.4 + '@types/cookie@0.4.1': + optional: true + '@types/cookie@0.6.0': {} + '@types/cors@2.8.17': + dependencies: + '@types/node': 22.6.1 + optional: true + '@types/debug@4.1.12': dependencies: '@types/ms': 0.7.34 @@ -10503,16 +10653,6 @@ snapshots: - terser - typescript - autoprefixer@10.4.19(postcss@8.4.44): - dependencies: - browserslist: 4.23.0 - caniuse-lite: 1.0.30001620 - fraction.js: 4.3.7 - normalize-range: 0.1.2 - picocolors: 1.1.0 - postcss: 8.4.44 - postcss-value-parser: 4.2.0 - autoprefixer@10.4.20(postcss@8.4.41): dependencies: browserslist: 4.23.3 @@ -10600,6 +10740,9 @@ snapshots: base64-js@1.5.1: {} + base64id@2.0.0: + optional: true + batch@0.6.1: {} bcp-47-match@2.0.3: {} @@ -10761,8 +10904,8 @@ snapshots: caniuse-api@3.0.0: dependencies: - browserslist: 4.23.0 - caniuse-lite: 1.0.30001620 + browserslist: 4.23.3 + caniuse-lite: 1.0.30001663 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 @@ -10862,10 +11005,17 @@ snapshots: cli-truncate@4.0.0: dependencies: slice-ansi: 5.0.0 - string-width: 7.1.0 + string-width: 7.2.0 cli-width@4.1.0: {} + cliui@7.0.4: + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + optional: true + cliui@8.0.1: dependencies: string-width: 4.2.3 @@ -10916,8 +11066,6 @@ snapshots: comma-separated-tokens@2.0.3: {} - commander@10.0.1: {} - commander@12.1.0: {} commander@2.20.3: {} @@ -10956,6 +11104,16 @@ snapshots: connect-history-api-fallback@2.0.0: {} + connect@3.7.0: + dependencies: + debug: 2.6.9 + finalhandler: 1.1.2 + parseurl: 1.3.3 + utils-merge: 1.0.1 + transitivePeerDependencies: + - supports-color + optional: true + consola@3.2.3: {} content-disposition@0.5.4: @@ -10970,6 +11128,9 @@ snapshots: cookie-signature@1.0.6: {} + cookie@0.4.2: + optional: true + cookie@0.6.0: {} copy-anything@2.0.6: @@ -10996,6 +11157,12 @@ snapshots: core-util-is@1.0.3: {} + cors@2.8.5: + dependencies: + object-assign: 4.1.1 + vary: 1.1.2 + optional: true + cosmiconfig@8.3.6(typescript@5.5.4): dependencies: import-fresh: 3.3.0 @@ -11021,7 +11188,7 @@ snapshots: dom-serializer: 2.0.0 domhandler: 5.0.3 htmlparser2: 8.0.2 - postcss: 8.4.44 + postcss: 8.4.47 postcss-media-query-parser: 0.2.3 cross-spawn@7.0.3: @@ -11030,18 +11197,18 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - css-declaration-sorter@7.2.0(postcss@8.4.44): + css-declaration-sorter@7.2.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 css-loader@7.1.2(webpack@5.94.0(esbuild@0.23.0)): dependencies: - icss-utils: 5.1.0(postcss@8.4.44) - postcss: 8.4.44 - postcss-modules-extract-imports: 3.1.0(postcss@8.4.44) - postcss-modules-local-by-default: 4.0.5(postcss@8.4.44) - postcss-modules-scope: 3.2.0(postcss@8.4.44) - postcss-modules-values: 4.0.0(postcss@8.4.44) + icss-utils: 5.1.0(postcss@8.4.47) + postcss: 8.4.47 + postcss-modules-extract-imports: 3.1.0(postcss@8.4.47) + postcss-modules-local-by-default: 4.0.5(postcss@8.4.47) + postcss-modules-scope: 3.2.0(postcss@8.4.47) + postcss-modules-values: 4.0.0(postcss@8.4.47) postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: @@ -11060,67 +11227,73 @@ snapshots: css-tree@2.2.1: dependencies: mdn-data: 2.0.28 - source-map-js: 1.2.0 + source-map-js: 1.2.1 css-tree@2.3.1: dependencies: mdn-data: 2.0.30 - source-map-js: 1.2.0 + source-map-js: 1.2.1 css-what@6.1.0: {} cssesc@3.0.0: {} - cssnano-preset-default@7.0.1(postcss@8.4.44): + cssnano-preset-default@7.0.1(postcss@8.4.47): dependencies: - browserslist: 4.23.0 - css-declaration-sorter: 7.2.0(postcss@8.4.44) - cssnano-utils: 5.0.0(postcss@8.4.44) - postcss: 8.4.44 - postcss-calc: 10.0.0(postcss@8.4.44) - postcss-colormin: 7.0.0(postcss@8.4.44) - postcss-convert-values: 7.0.0(postcss@8.4.44) - postcss-discard-comments: 7.0.0(postcss@8.4.44) - postcss-discard-duplicates: 7.0.0(postcss@8.4.44) - postcss-discard-empty: 7.0.0(postcss@8.4.44) - postcss-discard-overridden: 7.0.0(postcss@8.4.44) - postcss-merge-longhand: 7.0.0(postcss@8.4.44) - postcss-merge-rules: 7.0.0(postcss@8.4.44) - postcss-minify-font-values: 7.0.0(postcss@8.4.44) - postcss-minify-gradients: 7.0.0(postcss@8.4.44) - postcss-minify-params: 7.0.0(postcss@8.4.44) - postcss-minify-selectors: 7.0.0(postcss@8.4.44) - postcss-normalize-charset: 7.0.0(postcss@8.4.44) - postcss-normalize-display-values: 7.0.0(postcss@8.4.44) - postcss-normalize-positions: 7.0.0(postcss@8.4.44) - postcss-normalize-repeat-style: 7.0.0(postcss@8.4.44) - postcss-normalize-string: 7.0.0(postcss@8.4.44) - postcss-normalize-timing-functions: 7.0.0(postcss@8.4.44) - postcss-normalize-unicode: 7.0.0(postcss@8.4.44) - postcss-normalize-url: 7.0.0(postcss@8.4.44) - postcss-normalize-whitespace: 7.0.0(postcss@8.4.44) - postcss-ordered-values: 7.0.0(postcss@8.4.44) - postcss-reduce-initial: 7.0.0(postcss@8.4.44) - postcss-reduce-transforms: 7.0.0(postcss@8.4.44) - postcss-svgo: 7.0.0(postcss@8.4.44) - postcss-unique-selectors: 7.0.0(postcss@8.4.44) - - cssnano-utils@5.0.0(postcss@8.4.44): - dependencies: - postcss: 8.4.44 - - cssnano@7.0.1(postcss@8.4.44): - dependencies: - cssnano-preset-default: 7.0.1(postcss@8.4.44) + browserslist: 4.23.3 + css-declaration-sorter: 7.2.0(postcss@8.4.47) + cssnano-utils: 5.0.0(postcss@8.4.47) + postcss: 8.4.47 + postcss-calc: 10.0.0(postcss@8.4.47) + postcss-colormin: 7.0.0(postcss@8.4.47) + postcss-convert-values: 7.0.0(postcss@8.4.47) + postcss-discard-comments: 7.0.0(postcss@8.4.47) + postcss-discard-duplicates: 7.0.0(postcss@8.4.47) + postcss-discard-empty: 7.0.0(postcss@8.4.47) + postcss-discard-overridden: 7.0.0(postcss@8.4.47) + postcss-merge-longhand: 7.0.0(postcss@8.4.47) + postcss-merge-rules: 7.0.0(postcss@8.4.47) + postcss-minify-font-values: 7.0.0(postcss@8.4.47) + postcss-minify-gradients: 7.0.0(postcss@8.4.47) + postcss-minify-params: 7.0.0(postcss@8.4.47) + postcss-minify-selectors: 7.0.0(postcss@8.4.47) + postcss-normalize-charset: 7.0.0(postcss@8.4.47) + postcss-normalize-display-values: 7.0.0(postcss@8.4.47) + postcss-normalize-positions: 7.0.0(postcss@8.4.47) + postcss-normalize-repeat-style: 7.0.0(postcss@8.4.47) + postcss-normalize-string: 7.0.0(postcss@8.4.47) + postcss-normalize-timing-functions: 7.0.0(postcss@8.4.47) + postcss-normalize-unicode: 7.0.0(postcss@8.4.47) + postcss-normalize-url: 7.0.0(postcss@8.4.47) + postcss-normalize-whitespace: 7.0.0(postcss@8.4.47) + postcss-ordered-values: 7.0.0(postcss@8.4.47) + postcss-reduce-initial: 7.0.0(postcss@8.4.47) + postcss-reduce-transforms: 7.0.0(postcss@8.4.47) + postcss-svgo: 7.0.0(postcss@8.4.47) + postcss-unique-selectors: 7.0.0(postcss@8.4.47) + + cssnano-utils@5.0.0(postcss@8.4.47): + dependencies: + postcss: 8.4.47 + + cssnano@7.0.1(postcss@8.4.47): + dependencies: + cssnano-preset-default: 7.0.1(postcss@8.4.47) lilconfig: 3.1.2 - postcss: 8.4.44 + postcss: 8.4.47 csso@5.0.5: dependencies: css-tree: 2.2.1 + custom-event@1.0.1: + optional: true + data-uri-to-buffer@4.0.1: {} + date-format@4.0.14: + optional: true + debug@2.6.9: dependencies: ms: 2.0.0 @@ -11202,6 +11375,9 @@ snapshots: dependencies: dequal: 2.0.3 + di@0.0.1: + optional: true + didyoumean@1.2.2: {} diff@5.2.0: {} @@ -11222,6 +11398,14 @@ snapshots: dependencies: esutils: 2.0.3 + dom-serialize@2.2.1: + dependencies: + custom-event: 1.0.1 + ent: 2.2.1 + extend: 3.0.2 + void-elements: 2.0.1 + optional: true + dom-serializer@2.0.0: dependencies: domelementtype: 2.3.0 @@ -11273,6 +11457,27 @@ snapshots: dependencies: once: 1.4.0 + engine.io-parser@5.2.3: + optional: true + + engine.io@6.6.1: + dependencies: + '@types/cookie': 0.4.1 + '@types/cors': 2.8.17 + '@types/node': 22.6.1 + accepts: 1.3.8 + base64id: 2.0.0 + cookie: 0.4.2 + cors: 2.8.5 + debug: 4.3.7 + engine.io-parser: 5.2.3 + ws: 8.17.1 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + optional: true + enhanced-resolve@5.17.0: dependencies: graceful-fs: 4.2.11 @@ -11283,6 +11488,11 @@ snapshots: graceful-fs: 4.2.11 tapable: 2.2.1 + ent@2.2.1: + dependencies: + punycode: 1.4.1 + optional: true + entities@4.5.0: {} env-paths@2.2.1: {} @@ -11880,6 +12090,19 @@ snapshots: dependencies: to-regex-range: 5.0.1 + finalhandler@1.1.2: + dependencies: + debug: 2.6.9 + encodeurl: 1.0.2 + escape-html: 1.0.3 + on-finished: 2.3.0 + parseurl: 1.3.3 + statuses: 1.5.0 + unpipe: 1.0.0 + transitivePeerDependencies: + - supports-color + optional: true + finalhandler@1.3.1: dependencies: debug: 2.6.9 @@ -11957,6 +12180,13 @@ snapshots: jsonfile: 6.1.0 universalify: 2.0.1 + fs-extra@8.1.0: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 4.0.0 + universalify: 0.1.2 + optional: true + fs-minipass@2.1.0: dependencies: minipass: 3.3.6 @@ -12026,6 +12256,16 @@ snapshots: package-json-from-dist: 1.0.0 path-scurry: 1.11.1 + glob@7.2.3: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + optional: true + glob@8.1.0: dependencies: fs.realpath: 1.0.0 @@ -12402,9 +12642,9 @@ snapshots: dependencies: safer-buffer: 2.1.2 - icss-utils@5.1.0(postcss@8.4.44): + icss-utils@5.1.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 ieee754@1.2.1: {} @@ -12551,6 +12791,9 @@ snapshots: isarray@1.0.0: {} + isbinaryfile@4.0.10: + optional: true + isexe@2.0.0: {} isobject@3.0.1: {} @@ -12625,6 +12868,11 @@ snapshots: jsonc-parser@3.3.1: {} + jsonfile@4.0.0: + optionalDependencies: + graceful-fs: 4.2.11 + optional: true + jsonfile@6.1.0: dependencies: universalify: 2.0.1 @@ -12635,6 +12883,39 @@ snapshots: dependencies: source-map-support: 0.5.21 + karma@6.4.4: + dependencies: + '@colors/colors': 1.5.0 + body-parser: 1.20.3 + braces: 3.0.3 + chokidar: 3.6.0 + connect: 3.7.0 + di: 0.0.1 + dom-serialize: 2.2.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + http-proxy: 1.18.1(debug@4.3.6) + isbinaryfile: 4.0.10 + lodash: 4.17.21 + log4js: 6.9.1 + mime: 2.6.0 + minimatch: 3.1.2 + mkdirp: 0.5.6 + qjobs: 1.2.0 + range-parser: 1.2.1 + rimraf: 3.0.2 + socket.io: 4.8.0 + source-map: 0.6.1 + tmp: 0.2.3 + ua-parser-js: 0.7.39 + yargs: 16.2.0 + transitivePeerDependencies: + - bufferutil + - debug + - supports-color + - utf-8-validate + optional: true + keyv@4.5.4: dependencies: json-buffer: 3.0.1 @@ -12804,6 +13085,17 @@ snapshots: strip-ansi: 7.1.0 wrap-ansi: 9.0.0 + log4js@6.9.1: + dependencies: + date-format: 4.0.14 + debug: 4.3.7 + flatted: 3.3.1 + rfdc: 1.4.1 + streamroller: 3.1.5 + transitivePeerDependencies: + - supports-color + optional: true + longest-streak@3.1.0: {} loupe@3.1.1: @@ -12828,7 +13120,7 @@ snapshots: dependencies: '@babel/parser': 7.25.6 '@babel/types': 7.25.6 - source-map-js: 1.2.0 + source-map-js: 1.2.1 make-dir@2.1.0: dependencies: @@ -13352,6 +13644,9 @@ snapshots: mime@1.6.0: {} + mime@2.6.0: + optional: true + mimic-fn@2.1.0: {} mimic-fn@4.0.0: {} @@ -13403,6 +13698,11 @@ snapshots: mkdirp-classic@0.5.3: {} + mkdirp@0.5.6: + dependencies: + minimist: 1.2.8 + optional: true + mkdirp@1.0.4: {} mkdirp@2.1.6: {} @@ -13411,9 +13711,9 @@ snapshots: mkdist@1.5.1(sass@1.77.6)(typescript@5.5.4): dependencies: - autoprefixer: 10.4.19(postcss@8.4.44) + autoprefixer: 10.4.20(postcss@8.4.47) citty: 0.1.6 - cssnano: 7.0.1(postcss@8.4.44) + cssnano: 7.0.1(postcss@8.4.47) defu: 6.1.4 esbuild: 0.20.2 fs-extra: 11.2.0 @@ -13423,8 +13723,8 @@ snapshots: mri: 1.2.0 pathe: 1.1.2 pkg-types: 1.1.1 - postcss: 8.4.44 - postcss-nested: 6.0.1(postcss@8.4.44) + postcss: 8.4.47 + postcss-nested: 6.0.1(postcss@8.4.47) semver: 7.6.3 optionalDependencies: sass: 1.77.6 @@ -13583,6 +13883,11 @@ snapshots: ohash@1.1.3: {} + on-finished@2.3.0: + dependencies: + ee-first: 1.1.1 + optional: true + on-finished@2.4.1: dependencies: ee-first: 1.1.1 @@ -13789,6 +14094,9 @@ snapshots: path-exists@5.0.0: {} + path-is-absolute@1.0.1: + optional: true + path-key@3.1.1: {} path-key@4.0.0: {} @@ -13854,60 +14162,53 @@ snapshots: pnpm@9.9.0: {} - postcss-calc@10.0.0(postcss@8.4.44): + postcss-calc@10.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-selector-parser: 6.0.16 postcss-value-parser: 4.2.0 - postcss-colormin@7.0.0(postcss@8.4.44): + postcss-colormin@7.0.0(postcss@8.4.47): dependencies: - browserslist: 4.23.0 + browserslist: 4.23.3 caniuse-api: 3.0.0 colord: 2.9.3 - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-convert-values@7.0.0(postcss@8.4.44): + postcss-convert-values@7.0.0(postcss@8.4.47): dependencies: - browserslist: 4.23.0 - postcss: 8.4.44 + browserslist: 4.23.3 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-discard-comments@7.0.0(postcss@8.4.44): + postcss-discard-comments@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 - postcss-discard-duplicates@7.0.0(postcss@8.4.44): + postcss-discard-duplicates@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 - postcss-discard-empty@7.0.0(postcss@8.4.44): + postcss-discard-empty@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 - postcss-discard-overridden@7.0.0(postcss@8.4.44): + postcss-discard-overridden@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 - postcss-import@15.1.0(postcss@8.4.44): + postcss-import@15.1.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.8 - postcss-js@4.0.1(postcss@8.4.44): + postcss-js@4.0.1(postcss@8.4.47): dependencies: camelcase-css: 2.0.1 - postcss: 8.4.44 - - postcss-load-config@4.0.2(postcss@8.4.44): - dependencies: - lilconfig: 3.1.2 - yaml: 2.5.0 - optionalDependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-load-config@4.0.2(postcss@8.4.47): dependencies: @@ -13929,130 +14230,130 @@ snapshots: postcss-media-query-parser@0.2.3: {} - postcss-merge-longhand@7.0.0(postcss@8.4.44): + postcss-merge-longhand@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - stylehacks: 7.0.0(postcss@8.4.44) + stylehacks: 7.0.0(postcss@8.4.47) - postcss-merge-rules@7.0.0(postcss@8.4.44): + postcss-merge-rules@7.0.0(postcss@8.4.47): dependencies: - browserslist: 4.23.0 + browserslist: 4.23.3 caniuse-api: 3.0.0 - cssnano-utils: 5.0.0(postcss@8.4.44) - postcss: 8.4.44 + cssnano-utils: 5.0.0(postcss@8.4.47) + postcss: 8.4.47 postcss-selector-parser: 6.0.16 - postcss-minify-font-values@7.0.0(postcss@8.4.44): + postcss-minify-font-values@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-minify-gradients@7.0.0(postcss@8.4.44): + postcss-minify-gradients@7.0.0(postcss@8.4.47): dependencies: colord: 2.9.3 - cssnano-utils: 5.0.0(postcss@8.4.44) - postcss: 8.4.44 + cssnano-utils: 5.0.0(postcss@8.4.47) + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-minify-params@7.0.0(postcss@8.4.44): + postcss-minify-params@7.0.0(postcss@8.4.47): dependencies: - browserslist: 4.23.0 - cssnano-utils: 5.0.0(postcss@8.4.44) - postcss: 8.4.44 + browserslist: 4.23.3 + cssnano-utils: 5.0.0(postcss@8.4.47) + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-minify-selectors@7.0.0(postcss@8.4.44): + postcss-minify-selectors@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-selector-parser: 6.0.16 - postcss-modules-extract-imports@3.1.0(postcss@8.4.44): + postcss-modules-extract-imports@3.1.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 - postcss-modules-local-by-default@4.0.5(postcss@8.4.44): + postcss-modules-local-by-default@4.0.5(postcss@8.4.47): dependencies: - icss-utils: 5.1.0(postcss@8.4.44) - postcss: 8.4.44 + icss-utils: 5.1.0(postcss@8.4.47) + postcss: 8.4.47 postcss-selector-parser: 6.0.16 postcss-value-parser: 4.2.0 - postcss-modules-scope@3.2.0(postcss@8.4.44): + postcss-modules-scope@3.2.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-selector-parser: 6.0.16 - postcss-modules-values@4.0.0(postcss@8.4.44): + postcss-modules-values@4.0.0(postcss@8.4.47): dependencies: - icss-utils: 5.1.0(postcss@8.4.44) - postcss: 8.4.44 + icss-utils: 5.1.0(postcss@8.4.47) + postcss: 8.4.47 - postcss-nested@6.0.1(postcss@8.4.44): + postcss-nested@6.0.1(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-selector-parser: 6.0.16 - postcss-normalize-charset@7.0.0(postcss@8.4.44): + postcss-normalize-charset@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 - postcss-normalize-display-values@7.0.0(postcss@8.4.44): + postcss-normalize-display-values@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-positions@7.0.0(postcss@8.4.44): + postcss-normalize-positions@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-repeat-style@7.0.0(postcss@8.4.44): + postcss-normalize-repeat-style@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-string@7.0.0(postcss@8.4.44): + postcss-normalize-string@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-timing-functions@7.0.0(postcss@8.4.44): + postcss-normalize-timing-functions@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-unicode@7.0.0(postcss@8.4.44): + postcss-normalize-unicode@7.0.0(postcss@8.4.47): dependencies: - browserslist: 4.23.0 - postcss: 8.4.44 + browserslist: 4.23.3 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-url@7.0.0(postcss@8.4.44): + postcss-normalize-url@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-whitespace@7.0.0(postcss@8.4.44): + postcss-normalize-whitespace@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-ordered-values@7.0.0(postcss@8.4.44): + postcss-ordered-values@7.0.0(postcss@8.4.47): dependencies: - cssnano-utils: 5.0.0(postcss@8.4.44) - postcss: 8.4.44 + cssnano-utils: 5.0.0(postcss@8.4.47) + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-reduce-initial@7.0.0(postcss@8.4.44): + postcss-reduce-initial@7.0.0(postcss@8.4.47): dependencies: - browserslist: 4.23.0 + browserslist: 4.23.3 caniuse-api: 3.0.0 - postcss: 8.4.44 + postcss: 8.4.47 - postcss-reduce-transforms@7.0.0(postcss@8.4.44): + postcss-reduce-transforms@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 postcss-selector-parser@6.0.16: @@ -14060,15 +14361,15 @@ snapshots: cssesc: 3.0.0 util-deprecate: 1.0.2 - postcss-svgo@7.0.0(postcss@8.4.44): + postcss-svgo@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-value-parser: 4.2.0 svgo: 3.3.2 - postcss-unique-selectors@7.0.0(postcss@8.4.44): + postcss-unique-selectors@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.44 + postcss: 8.4.47 postcss-selector-parser: 6.0.16 postcss-value-parser@4.2.0: {} @@ -14077,13 +14378,7 @@ snapshots: dependencies: nanoid: 3.3.7 picocolors: 1.1.0 - source-map-js: 1.2.0 - - postcss@8.4.44: - dependencies: - nanoid: 3.3.7 - picocolors: 1.1.0 - source-map-js: 1.2.0 + source-map-js: 1.2.1 postcss@8.4.47: dependencies: @@ -14145,8 +14440,14 @@ snapshots: end-of-stream: 1.4.4 once: 1.4.0 + punycode@1.4.1: + optional: true + punycode@2.3.1: {} + qjobs@1.2.0: + optional: true + qs@6.13.0: dependencies: side-channel: 1.0.6 @@ -14373,7 +14674,7 @@ snapshots: adjust-sourcemap-loader: 4.0.0 convert-source-map: 1.9.0 loader-utils: 2.0.4 - postcss: 8.4.44 + postcss: 8.4.47 source-map: 0.6.1 resolve@1.22.8: @@ -14428,6 +14729,11 @@ snapshots: rfdc@1.4.1: {} + rimraf@3.0.2: + dependencies: + glob: 7.2.3 + optional: true + rimraf@5.0.10: dependencies: glob: 10.4.5 @@ -14515,7 +14821,7 @@ snapshots: dependencies: chokidar: 3.6.0 immutable: 4.3.7 - source-map-js: 1.2.0 + source-map-js: 1.2.1 sax@1.4.1: {} @@ -14725,20 +15031,51 @@ snapshots: ansi-styles: 6.2.1 is-fullwidth-code-point: 5.0.0 + socket.io-adapter@2.5.5: + dependencies: + debug: 4.3.7 + ws: 8.17.1 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + optional: true + + socket.io-parser@4.2.4: + dependencies: + '@socket.io/component-emitter': 3.1.2 + debug: 4.3.7 + transitivePeerDependencies: + - supports-color + optional: true + + socket.io@4.8.0: + dependencies: + accepts: 1.3.8 + base64id: 2.0.0 + cors: 2.8.5 + debug: 4.3.7 + engine.io: 6.6.1 + socket.io-adapter: 2.5.5 + socket.io-parser: 4.2.4 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + optional: true + sockjs@0.3.24: dependencies: faye-websocket: 0.11.4 uuid: 8.3.2 websocket-driver: 0.7.4 - source-map-js@1.2.0: {} - source-map-js@1.2.1: {} source-map-loader@5.0.0(webpack@5.94.0(esbuild@0.23.0)): dependencies: iconv-lite: 0.6.3 - source-map-js: 1.2.0 + source-map-js: 1.2.1 webpack: 5.94.0(esbuild@0.23.0) source-map-support@0.5.21: @@ -14812,6 +15149,15 @@ snapshots: stream-replace-string@2.0.0: {} + streamroller@3.1.5: + dependencies: + date-format: 4.0.14 + debug: 4.3.7 + fs-extra: 8.1.0 + transitivePeerDependencies: + - supports-color + optional: true + streamx@2.20.1: dependencies: fast-fifo: 1.3.2 @@ -14834,12 +15180,6 @@ snapshots: emoji-regex: 9.2.2 strip-ansi: 7.1.0 - string-width@7.1.0: - dependencies: - emoji-regex: 10.3.0 - get-east-asian-width: 1.2.0 - strip-ansi: 7.1.0 - string-width@7.2.0: dependencies: emoji-regex: 10.3.0 @@ -14891,10 +15231,10 @@ snapshots: dependencies: inline-style-parser: 0.2.4 - stylehacks@7.0.0(postcss@8.4.44): + stylehacks@7.0.0(postcss@8.4.47): dependencies: - browserslist: 4.23.0 - postcss: 8.4.44 + browserslist: 4.23.3 + postcss: 8.4.47 postcss-selector-parser: 6.0.16 sucrase@3.35.0: @@ -14958,11 +15298,11 @@ snapshots: normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.1.0 - postcss: 8.4.44 - postcss-import: 15.1.0(postcss@8.4.44) - postcss-js: 4.0.1(postcss@8.4.44) - postcss-load-config: 4.0.2(postcss@8.4.44) - postcss-nested: 6.0.1(postcss@8.4.44) + postcss: 8.4.47 + postcss-import: 15.1.0(postcss@8.4.47) + postcss-js: 4.0.1(postcss@8.4.47) + postcss-load-config: 4.0.2(postcss@8.4.47) + postcss-nested: 6.0.1(postcss@8.4.47) postcss-selector-parser: 6.0.16 resolve: 1.22.8 sucrase: 3.35.0 @@ -15057,6 +15397,9 @@ snapshots: tinyspy@3.0.0: {} + tmp@0.2.3: + optional: true + to-fast-properties@2.0.0: {} to-regex-range@5.0.1: @@ -15136,8 +15479,6 @@ snapshots: type-fest@2.19.0: {} - type-fest@3.13.1: {} - type-is@1.6.18: dependencies: media-typer: 0.3.0 @@ -15153,6 +15494,9 @@ snapshots: typescript@5.5.4: {} + ua-parser-js@0.7.39: + optional: true + ufo@1.5.3: {} unbuild@2.0.0(sass@1.77.6)(typescript@5.5.4): @@ -15265,6 +15609,9 @@ snapshots: unist-util-is: 6.0.0 unist-util-visit-parents: 6.0.1 + universalify@0.1.2: + optional: true + universalify@2.0.1: {} unpipe@1.0.0: {} @@ -15346,7 +15693,7 @@ snapshots: vite@5.4.3(@types/node@22.5.4)(less@4.2.0)(sass@1.77.6)(terser@5.31.6): dependencies: esbuild: 0.21.5 - postcss: 8.4.44 + postcss: 8.4.47 rollup: 4.21.2 optionalDependencies: '@types/node': 22.5.4 @@ -15358,7 +15705,7 @@ snapshots: vite@5.4.3(@types/node@22.6.1)(less@4.2.0)(sass@1.77.6)(terser@5.31.6): dependencies: esbuild: 0.21.5 - postcss: 8.4.44 + postcss: 8.4.47 rollup: 4.21.2 optionalDependencies: '@types/node': 22.6.1 @@ -15370,7 +15717,7 @@ snapshots: vite@5.4.6(@types/node@22.6.1)(less@4.2.0)(sass@1.77.6)(terser@5.31.6): dependencies: esbuild: 0.21.5 - postcss: 8.4.44 + postcss: 8.4.47 rollup: 4.21.2 optionalDependencies: '@types/node': 22.6.1 @@ -15416,6 +15763,9 @@ snapshots: - supports-color - terser + void-elements@2.0.1: + optional: true + volar-service-css@0.0.61(@volar/language-service@2.4.5): dependencies: vscode-css-languageservice: 6.3.1 @@ -15706,11 +16056,14 @@ snapshots: wrap-ansi@9.0.0: dependencies: ansi-styles: 6.2.1 - string-width: 7.1.0 + string-width: 7.2.0 strip-ansi: 7.1.0 wrappy@1.0.2: {} + ws@8.17.1: + optional: true + ws@8.18.0: {} xhr2@0.2.1: {} @@ -15750,8 +16103,22 @@ snapshots: yaml@2.5.0: {} + yargs-parser@20.2.9: + optional: true + yargs-parser@21.1.1: {} + yargs@16.2.0: + dependencies: + cliui: 7.0.4 + escalade: 3.1.2 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 20.2.9 + optional: true + yargs@17.7.2: dependencies: cliui: 8.0.1 diff --git a/src/cli.ts b/src/cli.ts index 5640bf0..69d7ceb 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -1,31 +1,28 @@ #!/usr/bin/env node import process from 'node:process' -import { Command } from 'commander' + +import { defineCommand, runMain } from 'citty' + +import { description, name, version } from '../package.json' import { add } from './commands/add' import { diff } from './commands/diff' import { init } from './commands/init' -import { getPackageInfo } from './utils/get-package-info' - process.on('SIGINT', () => process.exit(0)) process.on('SIGTERM', () => process.exit(0)) -async function main(): Promise { - const packageInfo = await getPackageInfo() - - const program = new Command() - .name('shadcn-ng') - .description('add components and dependencies to your project') - .version( - packageInfo.version || '1.0.0', - '-v, --version', - 'display the version number', - ) - - program.addCommand(init).addCommand(add).addCommand(diff) - - program.parse() -} - -main() +const main = defineCommand({ + meta: { + name, + version, + description, + }, + subCommands: { + init, + add, + diff, + }, +}) + +runMain(main) diff --git a/src/commands/add.ts b/src/commands/add.ts index aae8bc6..500f29c 100644 --- a/src/commands/add.ts +++ b/src/commands/add.ts @@ -3,7 +3,7 @@ import path from 'node:path' import process from 'node:process' import chalk from 'chalk' -import { Command } from 'commander' +import { defineCommand } from 'citty' import { execa } from 'execa' import ora from 'ora' import prompts from 'prompts' @@ -31,24 +31,52 @@ const addOptionsSchema = z.object({ path: z.string().optional(), }) -export const add = new Command() - .name('add') - .description('add a component to your project') - .argument('[components...]', 'the components to add') - .option('-y, --yes', 'skip confirmation prompt.', true) - .option('-o, --overwrite', 'overwrite existing files.', false) - .option( - '-c, --cwd ', - 'the working directory. defaults to the current directory.', - process.cwd(), - ) - .option('-a, --all', 'add all available components', false) - .option('-p, --path ', 'the path to add the component to.') - .action(async (components, opts) => { +export const add = defineCommand({ + meta: { + description: 'add a component to your project', + }, + args: { + components: { + type: 'positional', + description: 'the components to add', + required: true, + }, + yes: { + type: 'boolean', + description: 'skip confirmation prompt.', + default: true, + alias: 'y', + }, + overwrite: { + type: 'boolean', + description: 'overwrite existing files.', + default: false, + alias: 'o', + }, + cwd: { + type: 'string', + description: 'the working directory. defaults to the current directory.', + default: process.cwd(), + alias: 'c', + }, + all: { + type: 'boolean', + description: 'add all available components', + default: false, + alias: 'a', + }, + path: { + type: 'string', + description: 'the path to add the component to.', + alias: 'p', + }, + }, + run: async ({ args: opts }) => { + const { _: components } = opts try { const options = addOptionsSchema.parse({ - components, ...opts, + components, }) const cwd = path.resolve(options.cwd) @@ -215,4 +243,5 @@ export const add = new Command() catch (error) { handleError(error) } - }) + }, +}) diff --git a/src/commands/diff.ts b/src/commands/diff.ts index f7ea15d..d0bf2f4 100644 --- a/src/commands/diff.ts +++ b/src/commands/diff.ts @@ -3,7 +3,7 @@ import path from 'node:path' import process from 'node:process' import chalk from 'chalk' -import { Command } from 'commander' +import { defineCommand } from 'citty' import { type Change, diffLines } from 'diff' import { z } from 'zod' @@ -27,20 +27,32 @@ const updateOptionsSchema = z.object({ path: z.string().optional(), }) -export const diff = new Command() - .name('diff') - .description('check for updates against the registry') - .argument('[component]', 'the component name') - .option('-y, --yes', 'skip confirmation prompt.', false) - .option( - '-c, --cwd ', - 'the working directory. defaults to the current directory.', - process.cwd(), - ) - .action(async (name, opts) => { +export const diff = defineCommand({ + meta: { + description: 'check for updates against the registry', + }, + args: { + component: { + type: 'positional', + description: 'the component name', + required: false, + }, + yes: { + type: 'boolean', + description: 'skip confirmation prompt.', + default: false, + alias: 'y', + }, + cwd: { + type: 'string', + description: 'the working directory. defaults to the current directory.', + default: process.cwd(), + alias: 'c', + }, + }, + run: async ({ args: opts }) => { try { const options = updateOptionsSchema.parse({ - component: name, ...opts, }) @@ -137,7 +149,8 @@ export const diff = new Command() catch (error) { handleError(error) } - }) + }, +}) async function diffComponent( component: z.infer[number], diff --git a/src/commands/init.ts b/src/commands/init.ts index d4b1ba1..0734839 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -3,7 +3,7 @@ import path from 'node:path' import process from 'node:process' import chalk from 'chalk' -import { Command } from 'commander' +import { defineCommand } from 'citty' import { execa } from 'execa' import template from 'lodash.template' import ora from 'ora' @@ -46,17 +46,31 @@ const initOptionsSchema = z.object({ defaults: z.boolean(), }) -export const init = new Command() - .name('init') - .description('initialize your project and install dependencies') - .option('-y, --yes', 'skip confirmation prompt.', false) - .option('-d, --defaults,', 'use default configuration.', false) - .option( - '-c, --cwd ', - 'the working directory. defaults to the current directory.', - process.cwd(), - ) - .action(async (opts) => { +export const init = defineCommand({ + meta: { + description: 'initialize your project and install dependencies', + }, + args: { + yes: { + type: 'boolean', + description: 'skip confirmation prompt.', + default: false, + alias: 'y', + }, + defaults: { + type: 'boolean', + description: 'use default configuration.', + default: false, + alias: 'd', + }, + cwd: { + type: 'string', + description: 'the working directory. defaults to the current directory.', + default: process.cwd(), + alias: 'c', + }, + }, + run: async ({ args: opts }) => { try { const options = initOptionsSchema.parse(opts) const cwd = path.resolve(options.cwd) @@ -96,7 +110,8 @@ export const init = new Command() catch (error) { handleError(error) } - }) + }, +}) export async function promptForConfig( cwd: string, diff --git a/src/utils/get-package-info.ts b/src/utils/get-package-info.ts deleted file mode 100644 index f77eb49..0000000 --- a/src/utils/get-package-info.ts +++ /dev/null @@ -1,9 +0,0 @@ -import path from 'node:path' -import fs from 'fs-extra' -import type { PackageJson } from 'type-fest' - -export function getPackageInfo(): PackageJson { - const packageJsonPath = path.join('package.json') - - return fs.readJSONSync(packageJsonPath) as PackageJson -}