diff --git a/package.json b/package.json index d1d1ba0..27e1f23 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "commitizen": "^4.3.1", "del-cli": "^6.0.0", "eslint": "^9.0.0", - "inquirer": "^9.3.7", + "inquirer": "^12.0.0", "nano-staged": "^0.8.0", "npm-package-json-lint": "^9.0.0", "simple-git-hooks": "^2.7.0", diff --git a/packages/project-files/package.json b/packages/project-files/package.json index 0ff02ca..df416b2 100644 --- a/packages/project-files/package.json +++ b/packages/project-files/package.json @@ -33,6 +33,6 @@ }, "dependencies": { "@octokit/rest": "^22.0.0", - "inquirer": "^9.0.0" + "inquirer": "^12.0.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 72cf5d7..1ea7d29 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,7 +19,7 @@ importers: version: 19.8.1 '@commitlint/cz-commitlint': specifier: ^19.8.1 - version: 19.8.1(@types/node@22.16.0)(commitizen@4.3.1(@types/node@22.16.0))(inquirer@9.3.7) + version: 19.8.1(@types/node@22.16.0)(commitizen@4.3.1(@types/node@22.16.0))(inquirer@12.10.0(@types/node@22.16.0)) '@trigen/eslint-config': specifier: workspace:* version: link:packages/eslint-config @@ -45,8 +45,8 @@ importers: specifier: ^9.0.0 version: 9.31.0(jiti@2.4.2) inquirer: - specifier: ^9.3.7 - version: 9.3.7 + specifier: ^12.0.0 + version: 12.10.0(@types/node@22.16.0) nano-staged: specifier: ^0.8.0 version: 0.8.0 @@ -135,8 +135,8 @@ importers: specifier: ^22.0.0 version: 22.0.0 inquirer: - specifier: ^9.0.0 - version: 9.3.7 + specifier: ^12.0.0 + version: 12.10.0(@types/node@22.16.0) publishDirectory: package packages/scripts: @@ -541,9 +541,139 @@ packages: resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} engines: {node: '>=18.18'} - '@inquirer/figures@1.0.12': - resolution: {integrity: sha512-MJttijd8rMFcKJC8NYmprWr6hD3r9Gd9qUC0XwPNwoEPWSMVJwA2MlXxF+nhZZNMY+HXsWa+o7KY2emWYIn0jQ==} + '@inquirer/ansi@1.0.1': + resolution: {integrity: sha512-yqq0aJW/5XPhi5xOAL1xRCpe1eh8UFVgYFpFsjEqmIR8rKLyP+HINvFXwUaxYICflJrVlxnp7lLN6As735kVpw==} + engines: {node: '>=18'} + + '@inquirer/checkbox@4.3.0': + resolution: {integrity: sha512-5+Q3PKH35YsnoPTh75LucALdAxom6xh5D1oeY561x4cqBuH24ZFVyFREPe14xgnrtmGu3EEt1dIi60wRVSnGCw==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/confirm@5.1.19': + resolution: {integrity: sha512-wQNz9cfcxrtEnUyG5PndC8g3gZ7lGDBzmWiXZkX8ot3vfZ+/BLjR8EvyGX4YzQLeVqtAlY/YScZpW7CW8qMoDQ==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/core@10.3.0': + resolution: {integrity: sha512-Uv2aPPPSK5jeCplQmQ9xadnFx2Zhj9b5Dj7bU6ZeCdDNNY11nhYy4btcSdtDguHqCT2h5oNeQTcUNSGGLA7NTA==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/editor@4.2.21': + resolution: {integrity: sha512-MjtjOGjr0Kh4BciaFShYpZ1s9400idOdvQ5D7u7lE6VztPFoyLcVNE5dXBmEEIQq5zi4B9h2kU+q7AVBxJMAkQ==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/expand@4.0.21': + resolution: {integrity: sha512-+mScLhIcbPFmuvU3tAGBed78XvYHSvCl6dBiYMlzCLhpr0bzGzd8tfivMMeqND6XZiaZ1tgusbUHJEfc6YzOdA==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/external-editor@1.0.2': + resolution: {integrity: sha512-yy9cOoBnx58TlsPrIxauKIFQTiyH+0MK4e97y4sV9ERbI+zDxw7i2hxHLCIEGIE/8PPvDxGhgzIOTSOWcs6/MQ==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/figures@1.0.14': + resolution: {integrity: sha512-DbFgdt+9/OZYFM+19dbpXOSeAstPy884FPy1KjDu4anWwymZeOYhMY1mdFri172htv6mvc/uvIAAi7b7tvjJBQ==} + engines: {node: '>=18'} + + '@inquirer/input@4.2.5': + resolution: {integrity: sha512-7GoWev7P6s7t0oJbenH0eQ0ThNdDJbEAEtVt9vsrYZ9FulIokvd823yLyhQlWHJPGce1wzP53ttfdCZmonMHyA==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/number@3.0.21': + resolution: {integrity: sha512-5QWs0KGaNMlhbdhOSCFfKsW+/dcAVC2g4wT/z2MCiZM47uLgatC5N20kpkDQf7dHx+XFct/MJvvNGy6aYJn4Pw==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/password@4.0.21': + resolution: {integrity: sha512-xxeW1V5SbNFNig2pLfetsDb0svWlKuhmr7MPJZMYuDnCTkpVBI+X/doudg4pznc1/U+yYmWFFOi4hNvGgUo7EA==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/prompts@7.9.0': + resolution: {integrity: sha512-X7/+dG9SLpSzRkwgG5/xiIzW0oMrV3C0HOa7YHG1WnrLK+vCQHfte4k/T80059YBdei29RBC3s+pSMvPJDU9/A==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/rawlist@4.1.9': + resolution: {integrity: sha512-AWpxB7MuJrRiSfTKGJ7Y68imYt8P9N3Gaa7ySdkFj1iWjr6WfbGAhdZvw/UnhFXTHITJzxGUI9k8IX7akAEBCg==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/search@3.2.0': + resolution: {integrity: sha512-a5SzB/qrXafDX1Z4AZW3CsVoiNxcIYCzYP7r9RzrfMpaLpB+yWi5U8BWagZyLmwR0pKbbL5umnGRd0RzGVI8bQ==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/select@4.4.0': + resolution: {integrity: sha512-kaC3FHsJZvVyIjYBs5Ih8y8Bj4P/QItQWrZW22WJax7zTN+ZPXVGuOM55vzbdCP9zKUiBd9iEJVdesujfF+cAA==} engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/type@3.0.9': + resolution: {integrity: sha512-QPaNt/nmE2bLGQa9b7wwyRJoLZ7pN6rcyXvzU0YCmivmJyq1BVo94G98tStRWkoD1RgDX5C+dPlhhHzNdu/W/w==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true '@jridgewell/sourcemap-codec@1.5.4': resolution: {integrity: sha512-VT2+G1VQs/9oz078bLrYbecdZKs912zQlkelYpuf+SXF+QvZDYJlbx/LSx+meSAwdDFnF8FVXW92AVjjkVmgFw==} @@ -1127,6 +1257,9 @@ packages: chardet@0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + chardet@2.1.0: + resolution: {integrity: sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==} + check-error@2.1.1: resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} engines: {node: '>= 16'} @@ -1841,6 +1974,10 @@ packages: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} engines: {node: '>=0.10.0'} + iconv-lite@0.7.0: + resolution: {integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==} + engines: {node: '>=0.10.0'} + ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} @@ -1889,14 +2026,19 @@ packages: resolution: {integrity: sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + inquirer@12.10.0: + resolution: {integrity: sha512-K/epfEnDBZj2Q3NMDcgXWZye3nhSPeoJnOh8lcKWrldw54UEZfS4EmAMsAsmVbl7qKi+vjAsy39Sz4fbgRMewg==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + inquirer@8.2.5: resolution: {integrity: sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==} engines: {node: '>=12.0.0'} - inquirer@9.3.7: - resolution: {integrity: sha512-LJKFHCSeIRq9hanN14IlOtPSTe3lNES7TYDTE2xxdAy1LS5rYphajK1qtwvj3YmQXvvk0U2Vbmcni8P9EIQW9w==} - engines: {node: '>=18'} - internal-slot@1.1.0: resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==} engines: {node: '>= 0.4'} @@ -2314,9 +2456,9 @@ packages: mute-stream@0.0.8: resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==} - mute-stream@1.0.0: - resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + mute-stream@2.0.0: + resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==} + engines: {node: ^18.17.0 || >=20.5.0} nano-staged@0.8.0: resolution: {integrity: sha512-QSEqPGTCJbkHU2yLvfY6huqYPjdBrOaTMKatO1F8nCSrkQGXeKwtCiCnsdxnuMhbg3DTVywKaeWLGCE5oJpq0g==} @@ -2666,8 +2808,8 @@ packages: resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} engines: {node: '>=0.12.0'} - run-async@3.0.0: - resolution: {integrity: sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==} + run-async@4.0.6: + resolution: {integrity: sha512-IoDlSLTs3Yq593mb3ZoKWKXMNu3UpObxhgA/Xuid5p4bbfi2jdY1Hj0m1K+0/tEuQTxIGMhQDqGjKb7RuxGpAQ==} engines: {node: '>=0.12.0'} run-parallel@1.2.0: @@ -3278,14 +3420,14 @@ snapshots: '@commitlint/types': 19.8.1 ajv: 8.17.1 - '@commitlint/cz-commitlint@19.8.1(@types/node@22.16.0)(commitizen@4.3.1(@types/node@22.16.0))(inquirer@9.3.7)': + '@commitlint/cz-commitlint@19.8.1(@types/node@22.16.0)(commitizen@4.3.1(@types/node@22.16.0))(inquirer@12.10.0(@types/node@22.16.0))': dependencies: '@commitlint/ensure': 19.8.1 '@commitlint/load': 19.8.1(@types/node@22.16.0) '@commitlint/types': 19.8.1 chalk: 5.4.1 commitizen: 4.3.1(@types/node@22.16.0) - inquirer: 9.3.7 + inquirer: 12.10.0(@types/node@22.16.0) lodash.isplainobject: 4.0.6 word-wrap: 1.2.5 transitivePeerDependencies: @@ -3543,7 +3685,130 @@ snapshots: '@humanwhocodes/retry@0.4.3': {} - '@inquirer/figures@1.0.12': {} + '@inquirer/ansi@1.0.1': {} + + '@inquirer/checkbox@4.3.0(@types/node@22.16.0)': + dependencies: + '@inquirer/ansi': 1.0.1 + '@inquirer/core': 10.3.0(@types/node@22.16.0) + '@inquirer/figures': 1.0.14 + '@inquirer/type': 3.0.9(@types/node@22.16.0) + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/confirm@5.1.19(@types/node@22.16.0)': + dependencies: + '@inquirer/core': 10.3.0(@types/node@22.16.0) + '@inquirer/type': 3.0.9(@types/node@22.16.0) + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/core@10.3.0(@types/node@22.16.0)': + dependencies: + '@inquirer/ansi': 1.0.1 + '@inquirer/figures': 1.0.14 + '@inquirer/type': 3.0.9(@types/node@22.16.0) + cli-width: 4.1.0 + mute-stream: 2.0.0 + signal-exit: 4.1.0 + wrap-ansi: 6.2.0 + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/editor@4.2.21(@types/node@22.16.0)': + dependencies: + '@inquirer/core': 10.3.0(@types/node@22.16.0) + '@inquirer/external-editor': 1.0.2(@types/node@22.16.0) + '@inquirer/type': 3.0.9(@types/node@22.16.0) + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/expand@4.0.21(@types/node@22.16.0)': + dependencies: + '@inquirer/core': 10.3.0(@types/node@22.16.0) + '@inquirer/type': 3.0.9(@types/node@22.16.0) + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/external-editor@1.0.2(@types/node@22.16.0)': + dependencies: + chardet: 2.1.0 + iconv-lite: 0.7.0 + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/figures@1.0.14': {} + + '@inquirer/input@4.2.5(@types/node@22.16.0)': + dependencies: + '@inquirer/core': 10.3.0(@types/node@22.16.0) + '@inquirer/type': 3.0.9(@types/node@22.16.0) + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/number@3.0.21(@types/node@22.16.0)': + dependencies: + '@inquirer/core': 10.3.0(@types/node@22.16.0) + '@inquirer/type': 3.0.9(@types/node@22.16.0) + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/password@4.0.21(@types/node@22.16.0)': + dependencies: + '@inquirer/ansi': 1.0.1 + '@inquirer/core': 10.3.0(@types/node@22.16.0) + '@inquirer/type': 3.0.9(@types/node@22.16.0) + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/prompts@7.9.0(@types/node@22.16.0)': + dependencies: + '@inquirer/checkbox': 4.3.0(@types/node@22.16.0) + '@inquirer/confirm': 5.1.19(@types/node@22.16.0) + '@inquirer/editor': 4.2.21(@types/node@22.16.0) + '@inquirer/expand': 4.0.21(@types/node@22.16.0) + '@inquirer/input': 4.2.5(@types/node@22.16.0) + '@inquirer/number': 3.0.21(@types/node@22.16.0) + '@inquirer/password': 4.0.21(@types/node@22.16.0) + '@inquirer/rawlist': 4.1.9(@types/node@22.16.0) + '@inquirer/search': 3.2.0(@types/node@22.16.0) + '@inquirer/select': 4.4.0(@types/node@22.16.0) + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/rawlist@4.1.9(@types/node@22.16.0)': + dependencies: + '@inquirer/core': 10.3.0(@types/node@22.16.0) + '@inquirer/type': 3.0.9(@types/node@22.16.0) + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/search@3.2.0(@types/node@22.16.0)': + dependencies: + '@inquirer/core': 10.3.0(@types/node@22.16.0) + '@inquirer/figures': 1.0.14 + '@inquirer/type': 3.0.9(@types/node@22.16.0) + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/select@4.4.0(@types/node@22.16.0)': + dependencies: + '@inquirer/ansi': 1.0.1 + '@inquirer/core': 10.3.0(@types/node@22.16.0) + '@inquirer/figures': 1.0.14 + '@inquirer/type': 3.0.9(@types/node@22.16.0) + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.16.0 + + '@inquirer/type@3.0.9(@types/node@22.16.0)': + optionalDependencies: + '@types/node': 22.16.0 '@jridgewell/sourcemap-codec@1.5.4': {} @@ -4196,6 +4461,8 @@ snapshots: chardet@0.7.0: {} + chardet@2.1.0: {} + check-error@2.1.1: {} clean-publish@5.2.2: @@ -5080,6 +5347,10 @@ snapshots: dependencies: safer-buffer: 2.1.2 + iconv-lite@0.7.0: + dependencies: + safer-buffer: 2.1.2 + ieee754@1.2.1: {} ignore@5.2.4: {} @@ -5115,6 +5386,18 @@ snapshots: ini@4.1.1: {} + inquirer@12.10.0(@types/node@22.16.0): + dependencies: + '@inquirer/ansi': 1.0.1 + '@inquirer/core': 10.3.0(@types/node@22.16.0) + '@inquirer/prompts': 7.9.0(@types/node@22.16.0) + '@inquirer/type': 3.0.9(@types/node@22.16.0) + mute-stream: 2.0.0 + run-async: 4.0.6 + rxjs: 7.8.2 + optionalDependencies: + '@types/node': 22.16.0 + inquirer@8.2.5: dependencies: ansi-escapes: 4.3.2 @@ -5133,21 +5416,6 @@ snapshots: through: 2.3.8 wrap-ansi: 7.0.0 - inquirer@9.3.7: - dependencies: - '@inquirer/figures': 1.0.12 - ansi-escapes: 4.3.2 - cli-width: 4.1.0 - external-editor: 3.1.0 - mute-stream: 1.0.0 - ora: 5.4.1 - run-async: 3.0.0 - rxjs: 7.8.2 - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 6.2.0 - yoctocolors-cjs: 2.1.2 - internal-slot@1.1.0: dependencies: es-errors: 1.3.0 @@ -5506,7 +5774,7 @@ snapshots: mute-stream@0.0.8: {} - mute-stream@1.0.0: {} + mute-stream@2.0.0: {} nano-staged@0.8.0: dependencies: @@ -5892,7 +6160,7 @@ snapshots: run-async@2.4.1: {} - run-async@3.0.0: {} + run-async@4.0.6: {} run-parallel@1.2.0: dependencies: