From add0acbbb5d2e4ce6a22745e440cc29a5864a1a8 Mon Sep 17 00:00:00 2001 From: jlenon7 Date: Mon, 4 Mar 2024 15:36:25 +0000 Subject: [PATCH] chore(npm): update dependencies --- package-lock.json | 483 +++++++++++------- package.json | 23 +- tests/e2e/new.command.test.ts | 2 +- tests/fixtures/consoles/confirm-cli-slim.ts | 1 + tests/fixtures/consoles/confirm-cli.ts | 1 + .../consoles/confirm-restapi-bellow-v20.ts | 1 + .../confirm-restapi-slim-bellow-v20.ts | 1 + .../fixtures/consoles/confirm-restapi-slim.ts | 1 + tests/fixtures/consoles/confirm-restapi.ts | 1 + 9 files changed, 306 insertions(+), 208 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9256460..1f6f4f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,21 +1,21 @@ { "name": "@athenna/cli", - "version": "4.12.0", + "version": "4.13.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@athenna/cli", - "version": "4.12.0", + "version": "4.13.0", "license": "MIT", "dependencies": { - "@athenna/artisan": "^4.32.0", - "@athenna/common": "^4.33.0", - "@athenna/config": "^4.15.0", - "@athenna/core": "^4.27.0", - "@athenna/ioc": "^4.15.0", - "@athenna/logger": "^4.16.0", - "@athenna/view": "^4.13.0", + "@athenna/artisan": "^4.40.0", + "@athenna/common": "^4.35.0", + "@athenna/config": "^4.19.0", + "@athenna/core": "^4.33.0", + "@athenna/ioc": "^4.18.0", + "@athenna/logger": "^4.18.0", + "@athenna/view": "^4.20.0", "reflect-metadata": "^0.2.1", "source-map-support": "^0.5.21" }, @@ -23,7 +23,7 @@ "athenna": "bin/main.js" }, "devDependencies": { - "@athenna/test": "^4.21.0", + "@athenna/test": "^4.22.0", "@athenna/tsconfig": "^4.12.0", "@typescript-eslint/eslint-plugin": "^6.7.4", "@typescript-eslint/parser": "^6.7.4", @@ -92,9 +92,9 @@ "dev": true }, "node_modules/@athenna/artisan": { - "version": "4.32.0", - "resolved": "https://registry.npmjs.org/@athenna/artisan/-/artisan-4.32.0.tgz", - "integrity": "sha512-R43789n7ZhzfC9vqhj14YfIlO5d94gzhbsEtWSwbcqirhxf8AExeuDIzGS2MAISeC/6vfgCqLiKow7EwUfUQDA==", + "version": "4.40.0", + "resolved": "https://registry.npmjs.org/@athenna/artisan/-/artisan-4.40.0.tgz", + "integrity": "sha512-y0JQzRDu6egmU6gkw3qSjVR2VdUVoGiL36S5BUBsejlrMAevl2dSQHZbozcsuzQlEqY9PgL2GPjsjRfdiF9cig==", "dependencies": { "chalk-rainbow": "^1.0.0", "cli-boxes": "^3.0.0", @@ -102,7 +102,7 @@ "columnify": "^1.6.0", "commander": "^9.5.0", "figlet": "^1.7.0", - "inquirer": "^9.2.12", + "inquirer": "^9.2.14", "log-update": "^5.0.1", "ora": "^6.3.1" }, @@ -111,9 +111,9 @@ } }, "node_modules/@athenna/common": { - "version": "4.33.0", - "resolved": "https://registry.npmjs.org/@athenna/common/-/common-4.33.0.tgz", - "integrity": "sha512-N/61/do/o6T6/N2p+O3D2DzF7Z+pTv2GKpBarmRmS4GxhkTKRqtvkJGJwXCy+b3XJGsXLvTOp6n1Uh4oCDEu2Q==", + "version": "4.35.0", + "resolved": "https://registry.npmjs.org/@athenna/common/-/common-4.35.0.tgz", + "integrity": "sha512-f5JRdrjdozbtHjG0YgqVLXv6fjmss7PKAQWeyqGLg4dpGmheZ19xXYONZYf3ng6d0k2+YQ7IjLzGmfwSsrO+wA==", "dependencies": { "@fastify/formbody": "^7.4.0", "bytes": "^3.1.2", @@ -123,7 +123,7 @@ "collect.js": "^4.36.1", "csv-parser": "^3.0.0", "execa": "^8.0.1", - "fastify": "^4.25.2", + "fastify": "^4.26.1", "got": "^12.6.1", "http-status-codes": "^2.2.0", "is-wsl": "^2.2.0", @@ -163,11 +163,11 @@ } }, "node_modules/@athenna/config": { - "version": "4.15.0", - "resolved": "https://registry.npmjs.org/@athenna/config/-/config-4.15.0.tgz", - "integrity": "sha512-nyyR76Ah5f1YUujn5YGKsPUxECQwmVvC3G5WjfUN1wjGGhXWreh0HhRZLel1gNLcAhnzh8V9PaJYskzEl5Sl3g==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@athenna/config/-/config-4.19.0.tgz", + "integrity": "sha512-RC6gqSIuOaIvMgdhlTaZqgsraJgffx/SgLPUX0ARkJuGHA/R0Tcw5iqtNu6GVfBVRjqSUe1BlP6pi6FXjxSfpg==", "dependencies": { - "dotenv": "^16.3.2", + "dotenv": "^16.4.1", "magicast": "^0.3.3", "syntax-error": "^1.4.0" }, @@ -176,21 +176,21 @@ } }, "node_modules/@athenna/core": { - "version": "4.27.0", - "resolved": "https://registry.npmjs.org/@athenna/core/-/core-4.27.0.tgz", - "integrity": "sha512-uWGdKxMVoPmp6/34DEw9763VF9UnaaG9H+6LI6knnaBFhY8MGgACOb3qjcoyTRPN9gFz16GqT4bP/emzrO9Lew==", + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/@athenna/core/-/core-4.33.0.tgz", + "integrity": "sha512-rPjy6FZFSlKHp7HYoNb5zRQwMQzEAUb5eSfoKjjBoVdXg8FDZamdGC8NhLmcpr6tM5HWHLeAtzHFfp9ABxF1cA==", "dependencies": { "pretty-repl": "^3.1.2", - "semver": "^7.5.4" + "semver": "^7.6.0" }, "engines": { "node": ">=20.0.0" } }, "node_modules/@athenna/ioc": { - "version": "4.15.0", - "resolved": "https://registry.npmjs.org/@athenna/ioc/-/ioc-4.15.0.tgz", - "integrity": "sha512-1j7LkgvPiTbEjhn1CynPrpF1oJfP7hk/dVkt6iZeuvxyr5QpfxK4HvaMkG2+a6RLSmQBQbcmHP0J357uDsocUQ==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@athenna/ioc/-/ioc-4.18.0.tgz", + "integrity": "sha512-Ocz7Miaj5dvtnp66brol9Bf6vU97XaBfeXP+RfQtzSyyQs70nSIvCmIXK4oAya15OqHFpqJtR6JXikkQuOVIXw==", "dependencies": { "awilix": "^7.0.3" }, @@ -199,9 +199,9 @@ } }, "node_modules/@athenna/logger": { - "version": "4.16.0", - "resolved": "https://registry.npmjs.org/@athenna/logger/-/logger-4.16.0.tgz", - "integrity": "sha512-D3GTCEXd7jUnKn+ratWakbSXpMyV4xsavwOandZtrbzcM8CoYqFn5+7NMejC2kpuw4uvnsFmEIBPVbBlG87xZQ==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@athenna/logger/-/logger-4.18.0.tgz", + "integrity": "sha512-mUGqj5Guh6ZdYflijGAdnn6Zrse2I7SG9fj5jMxSdrQ3hFMCGIgpWIk/ctXCGhPnsHlrVfAmEJeqnCxbtaytZQ==", "dependencies": { "@aws-lambda-powertools/logger": "^1.18.0", "cls-rtracer": "^2.6.3", @@ -212,9 +212,9 @@ } }, "node_modules/@athenna/test": { - "version": "4.21.0", - "resolved": "https://registry.npmjs.org/@athenna/test/-/test-4.21.0.tgz", - "integrity": "sha512-TkBL6WcE3rOtnrw1+xQbXTUDE7s8daF3jMGlkxoC/9l4WLPfjFgMJYYFXvm/pEOy6536i02zpzIApma1K+0NYQ==", + "version": "4.22.0", + "resolved": "https://registry.npmjs.org/@athenna/test/-/test-4.22.0.tgz", + "integrity": "sha512-cOK7x007pE3E7lxW917zaXQOAUAIUXO3MK+ygXpOD/3+ZMaOGUYy1bupY5xGS0LzeM7OEpIBtb8HJ73jyIVOKA==", "dev": true, "dependencies": { "@japa/assert": "^2.1.0", @@ -249,11 +249,11 @@ "dev": true }, "node_modules/@athenna/view": { - "version": "4.13.0", - "resolved": "https://registry.npmjs.org/@athenna/view/-/view-4.13.0.tgz", - "integrity": "sha512-/C/q19HDnmkSH43XqqYdN0oyCswoXAjm6TBZQ7H2qgFRuxUkxvmYRLTLuPGkUS6HNEJnZ/jhOI3EBeCtea4j/A==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@athenna/view/-/view-4.20.0.tgz", + "integrity": "sha512-eAoCPn53GM5zGU9lY0rTNnv8PTSmYNMauy1w9/8BE0OAuedN0a0qVt2W1E1m9IJDsYd29dmV/K63xL6fOR8Ydw==", "dependencies": { - "edge.js": "^5.5.1" + "edge.js": "^6.0.1" }, "engines": { "node": ">=20.0.0" @@ -885,16 +885,24 @@ "dev": true }, "node_modules/@ljharb/through": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.11.tgz", - "integrity": "sha512-ccfcIDlogiXNq5KcbAwbaO7lMh3Tm1i3khMPYpxlK8hH/W53zN81KM9coerRLOnTGu3nfXIniAmQbRI9OxbC0w==", + "version": "2.3.12", + "resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.12.tgz", + "integrity": "sha512-ajo/heTlG3QgC8EGP6APIejksVAYt4ayz4tqoP3MolFELzcH1x1fzwEYRJTPO0IELutZ5HQ0c26/GqAYy79u3g==", "dependencies": { - "call-bind": "^1.0.2" + "call-bind": "^1.0.5" }, "engines": { "node": ">= 0.4" } }, + "node_modules/@lukeed/ms": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@lukeed/ms/-/ms-2.0.2.tgz", + "integrity": "sha512-9I2Zn6+NJLfaGoz9jN3lpwDgAYvfGeNYdbAIjJOqzs4Tpc+VU3Jqq4IofSUBKajiDS8k9fZIg18/z13mpk1bsA==", + "engines": { + "node": ">=8" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -1199,14 +1207,6 @@ "node": ">=18.16.0" } }, - "node_modules/@poppinss/file-generator": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@poppinss/file-generator/-/file-generator-1.0.2.tgz", - "integrity": "sha512-rRob//4jLbUVbDSsNRihloKGgpyVsWdFQWUmONxX/gyv4koT1OlVoc3ccWgk7Y/sEa2cFxj3zrFs+wdT09iXWw==", - "dependencies": { - "bytes": "^3.1.2" - } - }, "node_modules/@poppinss/hooks": { "version": "7.2.2", "resolved": "https://registry.npmjs.org/@poppinss/hooks/-/hooks-7.2.2.tgz", @@ -1228,33 +1228,41 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/@poppinss/macroable/-/macroable-1.0.1.tgz", "integrity": "sha512-bO3+rnqGhE+gdx4DOyYjY9jCm2+c5Ncyl2Gmst0w271rIFnsB00btonpdmAqvFNzS8rcas+APGm+47fYMmkpQA==", - "dev": true, "engines": { "node": ">=18.16.0" } }, "node_modules/@poppinss/utils": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@poppinss/utils/-/utils-5.0.0.tgz", - "integrity": "sha512-SpJL5p4Nx3bRCpCf62KagZLUHLvJD+VDylGpXAeP2G5qb3s6SSOBlpaFmer4GxdyTqLIUt0PRCzF1TbpNU+qZw==", + "version": "6.7.2", + "resolved": "https://registry.npmjs.org/@poppinss/utils/-/utils-6.7.2.tgz", + "integrity": "sha512-C7K0gy7nW0XzlWcuVrSqT1nLQBAddhpgbnvHtYtxFYkS/BdJKzeVz771c80yhLcmrqXoGqZZgjdC7y6Me1L4Tg==", "dependencies": { - "@poppinss/file-generator": "^1.0.2", - "@types/bytes": "^3.1.1", - "@types/he": "^1.1.2", + "@lukeed/ms": "^2.0.2", + "@types/bytes": "^3.1.4", + "@types/pluralize": "^0.0.33", "bytes": "^3.1.2", - "change-case": "^4.1.2", - "cuid": "^2.1.8", + "case-anything": "^2.1.13", "flattie": "^1.1.0", - "fs-readdir-recursive": "^1.1.0", - "he": "^1.2.0", - "kind-of": "^6.0.3", - "lodash": "^4.17.21", - "ms": "^2.1.3", "pluralize": "^8.0.0", - "require-all": "^3.0.0", - "resolve-from": "^5.0.0", - "slugify": "^1.6.5", - "truncatise": "0.0.8" + "safe-stable-stringify": "^2.4.3", + "secure-json-parse": "^2.7.0", + "slash": "^5.1.0", + "slugify": "^1.6.6", + "truncatise": "^0.0.8" + }, + "engines": { + "node": ">=18.16.0" + } + }, + "node_modules/@poppinss/utils/node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/@sinclair/typebox": { @@ -1359,9 +1367,9 @@ "dev": true }, "node_modules/@types/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@types/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-92b6q7CSYBMVZDtMZh5PuKm3LjZwcU7s6H8e9sU20Z1tOrTuXN+Hz3VuP9E8axiQRaCoiEOMN1duqPCEIhamrQ==" + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/@types/bytes/-/bytes-3.1.4.tgz", + "integrity": "sha512-A0uYgOj3zNc4hNjHc5lYUfJQ/HVyBXiUMKdXd7ysclaE6k9oJdavQzODHuwjpUu2/boCP8afjQYi8z/GtvNCWA==" }, "node_modules/@types/chai": { "version": "4.3.11", @@ -1369,11 +1377,6 @@ "integrity": "sha512-qQR1dr2rGIHYlJulmr8Ioq3De0Le9E4MJ5AiaeAETJJpndT1uUNHsGFK3L/UIu+rbkQSdj8J/w2bCsBZc/Y5fQ==", "dev": true }, - "node_modules/@types/he": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@types/he/-/he-1.2.1.tgz", - "integrity": "sha512-CdNmJMcSqX1BiP3iSsWt+VgixndRIDGzWyaGpBnW3i5heATSk5bJu2j3buutsoBQNjyryqxaNpr8M7fRsGL15w==" - }, "node_modules/@types/http-cache-semantics": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.2.tgz", @@ -1426,6 +1429,11 @@ "undici-types": "~5.25.1" } }, + "node_modules/@types/pluralize": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/@types/pluralize/-/pluralize-0.0.33.tgz", + "integrity": "sha512-JOqsl+ZoCpP4e8TDke9W79FDcSgPAR0l6pixx2JHkhnRjvShyYiAYw2LVsnA7K08Y6DeOnaU6ujmENO4os/cYg==" + }, "node_modules/@types/semver": { "version": "7.5.3", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.3.tgz", @@ -1668,9 +1676,9 @@ "integrity": "sha512-2BjRTZxTPvheOvGbBslFSYOUkr+SjPtOnrLP33f+VIWLzezQpZcqVg7ja3L4dBXmzzgwT+a029jRx5PCi3JuiA==" }, "node_modules/acorn": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", - "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", "bin": { "acorn": "bin/acorn" }, @@ -2348,12 +2356,18 @@ } }, "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2403,6 +2417,17 @@ "upper-case-first": "^2.0.2" } }, + "node_modules/case-anything": { + "version": "2.1.13", + "resolved": "https://registry.npmjs.org/case-anything/-/case-anything-2.1.13.tgz", + "integrity": "sha512-zlOQ80VrQ2Ue+ymH5OuM/DlDq64mEm+B9UTdHULv5osUMD6HalNTblf2b1u/m6QecjsnOkBpqVZ+XPwIVsy7Ng==", + "engines": { + "node": ">=12.13" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } + }, "node_modules/chai": { "version": "4.3.10", "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.10.tgz", @@ -2543,6 +2568,11 @@ "node": "*" } }, + "node_modules/classnames": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", + "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==" + }, "node_modules/cli-boxes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz", @@ -3022,12 +3052,6 @@ "node": ">= 10" } }, - "node_modules/cuid": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/cuid/-/cuid-2.1.8.tgz", - "integrity": "sha512-xiEMER6E7TlTPnDxrM4eRiC6TRgjNX9xzEZ5U/Se2YJKr7Mq4pJn/2XEHjl3STcSh96GmkHPcBXLES8M29wyyg==", - "deprecated": "Cuid and other k-sortable and non-cryptographic ids (Ulid, ObjectId, KSUID, all UUIDs) are all insecure. Use @paralleldrive/cuid2 instead." - }, "node_modules/dag-map": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/dag-map/-/dag-map-1.0.2.tgz", @@ -3145,17 +3169,19 @@ } }, "node_modules/define-data-property": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", - "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", - "dev": true, + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", "dependencies": { - "get-intrinsic": "^1.2.1", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/define-properties": { @@ -3251,43 +3277,59 @@ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" }, "node_modules/edge-error": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/edge-error/-/edge-error-3.0.0.tgz", - "integrity": "sha512-TJE2A6KFqBMIe3EPyl/5V8veGYcMfpEtSNKfZkrSkQAyz3kh27etQ2erU6o0lkAFqDjjUl11YVzBIO2ij5/Zhw==" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/edge-error/-/edge-error-4.0.1.tgz", + "integrity": "sha512-z5mNO97k8hRVpJ6Ew1qbkMTfQ44CwuWnl+ShMCrEFgD+b324CnjBS6HbiR+Wh6Wcmw9C+/XsFBHzZ+376PpD/w==", + "engines": { + "node": ">=18.16.0" + } }, "node_modules/edge-lexer": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/edge-lexer/-/edge-lexer-5.0.2.tgz", - "integrity": "sha512-MSpv6JRPD96eZl0uPo8gIvE9cPAXb1eNRfZKlQpFYJ2O8cNdZDpN8RvT2zpu4XqC63HWs/c938qc3dWN+GJhFw==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/edge-lexer/-/edge-lexer-6.0.1.tgz", + "integrity": "sha512-iYPlo+EyERGL4cICzqXIYVxMB6sSOXazpAqkqN4YcLtwR7K1i1KcwNkSy36T40BYvP7UjjjjAVnz+fk3NEWH9Q==", "dependencies": { - "edge-error": "^3.0.0" + "edge-error": "^4.0.1" + }, + "engines": { + "node": ">=18.16.0" } }, "node_modules/edge-parser": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/edge-parser/-/edge-parser-8.2.2.tgz", - "integrity": "sha512-48iOLaOD4PAxIU0jnLRNXUL8G6ktO79bA4adOGXzNHg2M+mHfudFI7QPdF6IO8gW0NC1N0TPvwLWK3FVkE9bLQ==", - "dependencies": { - "acorn": "^8.8.2", - "astring": "^1.8.4", - "edge-error": "^3.0.0", - "edge-lexer": "^5.0.2", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/edge-parser/-/edge-parser-9.0.1.tgz", + "integrity": "sha512-E6N8GRlI6gnVDpy1VmxZzY+zhB24cmjb0jrLbeXATBX+GM8XntFybQERMfCrt4wkV1LRTpKZ8F6gzupRxAo9zQ==", + "dependencies": { + "acorn": "^8.11.3", + "astring": "^1.8.6", + "edge-error": "^4.0.1", + "edge-lexer": "^6.0.1", "js-stringify": "^1.0.2" + }, + "engines": { + "node": ">=18.16.0" } }, "node_modules/edge.js": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/edge.js/-/edge.js-5.5.1.tgz", - "integrity": "sha512-lAhEdj1tW2VOJsP5X38wSHjjaXXwoteZ+8PDAJ50rAKzBxpw4QsdXK2jVzMFgRoTMUf7C+x+Tp51R9yxGTLO0w==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/edge.js/-/edge.js-6.0.1.tgz", + "integrity": "sha512-htTUs7szn0LlAUi7yvczfUIZuIBNgaWyOc/OQsekHQeD8zKqSTPI9PWbCSHwwXqYWoKZxxc0O+uzcB+5kT/9ow==", "dependencies": { "@poppinss/inspect": "^1.0.1", - "@poppinss/utils": "^5.0.0", - "edge-error": "^3.0.0", - "edge-lexer": "^5.0.2", - "edge-parser": "^8.2.1", + "@poppinss/macroable": "^1.0.1", + "@poppinss/utils": "^6.7.0", + "classnames": "^2.5.1", + "edge-error": "^4.0.1", + "edge-lexer": "^6.0.1", + "edge-parser": "^9.0.0", + "fs-readdir-recursive": "^1.1.0", + "he": "^1.2.0", "js-stringify": "^1.0.2", - "macroable": "^7.0.1", - "stringify-attributes": "^2.0.0" + "property-information": "^6.4.0", + "stringify-attributes": "^4.0.0" + }, + "engines": { + "node": ">=18.16.0" } }, "node_modules/emittery": { @@ -3403,6 +3445,25 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/es-set-tostringtag": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", @@ -3453,11 +3514,14 @@ } }, "node_modules/escape-goat": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", - "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-4.0.0.tgz", + "integrity": "sha512-2Sd4ShcWxbx6OY1IHyla/CVNwvg7XwZVoXZHcSu9w9SReNP1EzzD5T8NWKIR38fIqEns9kDWKUQTXXAmlDrdPg==", "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/escape-string-regexp": { @@ -4183,9 +4247,9 @@ "integrity": "sha512-eel5UKGn369gGEWOqBShmFJWfq/xSJvsgDzgLYC845GneayWvXBf0lJCBn5qTABfewy1ZDPoaR5OZCP+kssfuw==" }, "node_modules/fastify": { - "version": "4.26.0", - "resolved": "https://registry.npmjs.org/fastify/-/fastify-4.26.0.tgz", - "integrity": "sha512-Fq/7ziWKc6pYLYLIlCRaqJqEVTIZ5tZYfcW/mDK2AQ9v/sqjGFpj0On0/7hU50kbPVjLO4de+larPA1WwPZSfw==", + "version": "4.26.2", + "resolved": "https://registry.npmjs.org/fastify/-/fastify-4.26.2.tgz", + "integrity": "sha512-90pjTuPGrfVKtdpLeLzND5nyC4woXZN5VadiNQCicj/iJU4viNHKhsAnb7jmv1vu2IzkLXyBiCzdWuzeXgQ5Ug==", "funding": [ { "type": "github", @@ -4201,7 +4265,7 @@ "@fastify/error": "^3.4.0", "@fastify/fast-json-stringify-compiler": "^4.3.0", "abstract-logging": "^2.0.1", - "avvio": "^8.2.1", + "avvio": "^8.3.0", "fast-content-type-parse": "^1.1.0", "fast-json-stringify": "^5.8.0", "find-my-way": "^8.0.0", @@ -4252,29 +4316,25 @@ } }, "node_modules/figures": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-5.0.0.tgz", - "integrity": "sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", "dependencies": { - "escape-string-regexp": "^5.0.0", - "is-unicode-supported": "^1.2.0" + "escape-string-regexp": "^1.0.5" }, "engines": { - "node": ">=14" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/figures/node_modules/escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.8.0" } }, "node_modules/file-entry-cache": { @@ -4514,14 +4574,18 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", - "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", "has-proto": "^1.0.1", - "has-symbols": "^1.0.3" + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -4677,7 +4741,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -4735,6 +4798,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/has/-/has-1.0.4.tgz", "integrity": "sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==", + "dev": true, "engines": { "node": ">= 0.4.0" } @@ -4776,12 +4840,11 @@ } }, "node_modules/has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", - "dev": true, + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dependencies": { - "get-intrinsic": "^1.1.1" + "es-define-property": "^1.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -4824,6 +4887,17 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/hasown": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", + "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -4995,17 +5069,17 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/inquirer": { - "version": "9.2.12", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.12.tgz", - "integrity": "sha512-mg3Fh9g2zfuVWJn6lhST0O7x4n03k7G8Tx5nvikJkbq8/CK47WDVm+UznF0G6s5Zi0KcyUisr6DU8T67N5U+1Q==", + "version": "9.2.15", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.15.tgz", + "integrity": "sha512-vI2w4zl/mDluHt9YEQ/543VTCwPKWiHzKtm9dM2V0NdFcqEexDAjUHzO1oA60HRNaVifGXXM1tRRNluLVHa0Kg==", "dependencies": { - "@ljharb/through": "^2.3.11", + "@ljharb/through": "^2.3.12", "ansi-escapes": "^4.3.2", "chalk": "^5.3.0", "cli-cursor": "^3.1.0", "cli-width": "^4.1.0", "external-editor": "^3.1.0", - "figures": "^5.0.0", + "figures": "^3.2.0", "lodash": "^4.17.21", "mute-stream": "1.0.0", "ora": "^5.4.1", @@ -5016,7 +5090,7 @@ "wrap-ansi": "^6.2.0" }, "engines": { - "node": ">=14.18.0" + "node": ">=18" } }, "node_modules/inquirer/node_modules/ansi-styles": { @@ -5927,15 +6001,23 @@ } }, "node_modules/light-my-request": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-5.11.0.tgz", - "integrity": "sha512-qkFCeloXCOMpmEdZ/MV91P8AT4fjwFXWaAFz3lUeStM8RcoM1ks4J/F8r1b3r6y/H4u3ACEJ1T+Gv5bopj7oDA==", + "version": "5.11.1", + "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-5.11.1.tgz", + "integrity": "sha512-KXAh2m6VRlkWCk2KfmHE7tLBXKh30JE0tXUJY4dNxje4oLmPKUqlUfImiEQZLphx+Z9KTQcVv4DjGnJxkVOIbA==", "dependencies": { - "cookie": "^0.5.0", + "cookie": "^0.6.0", "process-warning": "^2.0.0", "set-cookie-parser": "^2.4.1" } }, + "node_modules/light-my-request/node_modules/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/light-my-request/node_modules/process-warning": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-2.3.2.tgz", @@ -6229,11 +6311,6 @@ "node": ">=10" } }, - "node_modules/macroable": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/macroable/-/macroable-7.0.2.tgz", - "integrity": "sha512-QS9p+Q20YBxpE0dJBnF6CPURP7p1GUsxnhTxTWH5nG3A1F5w8Rg3T4Xyh5UlrFSbHp88oOciVP/0agsNLhkHdQ==" - }, "node_modules/magicast": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.3.3.tgz", @@ -6968,9 +7045,9 @@ } }, "node_modules/pino": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/pino/-/pino-8.18.0.tgz", - "integrity": "sha512-Mz/gKiRyuXu4HnpHgi1YWdHQCoWMufapzooisvFn78zl4dZciAxS+YeRkUxXl1ee/SzU80YCz1zpECCh4oC6Aw==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/pino/-/pino-8.19.0.tgz", + "integrity": "sha512-oswmokxkav9bADfJ2ifrvfHUwad6MLp73Uat0IkQWY3iAw5xTRoznXbXksZs8oaOUMpmhVWD+PZogNzllWpJaA==", "dependencies": { "atomic-sleep": "^1.0.0", "fast-redact": "^3.1.1", @@ -7267,6 +7344,15 @@ "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-3.0.0.tgz", "integrity": "sha512-mqn0kFRl0EoqhnL0GQ0veqFHyIN1yig9RHh/InzORTUiZHFRAur+aMtRkELNwGs9aNwKS6tg/An4NYBPGwvtzQ==" }, + "node_modules/property-information": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.4.1.tgz", + "integrity": "sha512-OHYtXfu5aI2sS2LWFSN5rgJjrQ4pCy8i1jubJLe2QvMF8JJ++HXTUIVWFLfXJoaOfvYYjk2SN8J2wFUWIGXT4w==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", @@ -7382,14 +7468,6 @@ "url": "https://github.com/sponsors/mysticatea" } }, - "node_modules/require-all": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/require-all/-/require-all-3.0.0.tgz", - "integrity": "sha512-jPGN876lc5exWYrMcgZSd7U42P0PmVQzxnQB13fCSzmyGnqQWW4WUz5DosZ/qe24hz+5o9lSvW2epBNZ1xa6Fw==", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -7429,14 +7507,6 @@ "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz", "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==" }, - "node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "engines": { - "node": ">=8" - } - }, "node_modules/responselike": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/responselike/-/responselike-3.0.0.tgz", @@ -7714,9 +7784,9 @@ "integrity": "sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==" }, "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -7769,6 +7839,22 @@ "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.6.0.tgz", "integrity": "sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ==" }, + "node_modules/set-function-length": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz", + "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/set-function-name": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz", @@ -8076,14 +8162,17 @@ } }, "node_modules/stringify-attributes": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/stringify-attributes/-/stringify-attributes-2.0.0.tgz", - "integrity": "sha512-wrVfRV6sCCB6wr3gx8OgKsp/9dSWWbKr8ifLfOxEcd/BBoa8d5pAf4BZb/jQW1JZnoZImjvUdxdo3ikYHZmYiw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/stringify-attributes/-/stringify-attributes-4.0.0.tgz", + "integrity": "sha512-6Hq3K153wTTfhEHb4V/viuqmb0DRn08JCrRnmqc4Q/tmoNuvd4DEyqkiiJXtvVz8ZSUhlCQr7zCpCVTgrelesg==", "dependencies": { - "escape-goat": "^2.0.0" + "escape-goat": "^4.0.0" }, "engines": { - "node": ">=8" + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/strip-ansi": { diff --git a/package.json b/package.json index 443bb0a..0a0d49d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/cli", - "version": "4.12.0", + "version": "4.13.0", "description": "Athenna CLI to create new Athenna projects.", "license": "MIT", "author": "João Lenon ", @@ -49,18 +49,18 @@ "#tests": "./tests/index.js" }, "dependencies": { - "@athenna/artisan": "^4.32.0", - "@athenna/common": "^4.33.0", - "@athenna/config": "^4.15.0", - "@athenna/core": "^4.27.0", - "@athenna/ioc": "^4.15.0", - "@athenna/logger": "^4.16.0", - "@athenna/view": "^4.13.0", + "@athenna/artisan": "^4.40.0", + "@athenna/common": "^4.35.0", + "@athenna/config": "^4.19.0", + "@athenna/core": "^4.33.0", + "@athenna/ioc": "^4.18.0", + "@athenna/logger": "^4.18.0", + "@athenna/view": "^4.20.0", "reflect-metadata": "^0.2.1", "source-map-support": "^0.5.21" }, "devDependencies": { - "@athenna/test": "^4.21.0", + "@athenna/test": "^4.22.0", "@athenna/tsconfig": "^4.12.0", "@typescript-eslint/eslint-plugin": "^6.7.4", "@typescript-eslint/parser": "^6.7.4", @@ -112,7 +112,6 @@ "globals": { "ioc": true, "Env": true, - "Path": true, "Config": true }, "plugins": [ @@ -183,6 +182,10 @@ "path": "@athenna/core/commands/ReplCommand", "stayAlive": true }, + "install": { + "path": "@athenna/core/commands/InstallCommand", + "registry": "npm" + }, "new": "#src/commands/new.command" }, "templates": { diff --git a/tests/e2e/new.command.test.ts b/tests/e2e/new.command.test.ts index 4e45ee0..1f8de6f 100644 --- a/tests/e2e/new.command.test.ts +++ b/tests/e2e/new.command.test.ts @@ -1,4 +1,4 @@ -import { File, Folder } from '@athenna/common' +import { Path, File, Folder } from '@athenna/common' import { Test, AfterEach, type Context } from '@athenna/test' import { BaseConsoleTest } from '@athenna/core/testing/BaseConsoleTest' diff --git a/tests/fixtures/consoles/confirm-cli-slim.ts b/tests/fixtures/consoles/confirm-cli-slim.ts index 6f393e4..86f06ed 100644 --- a/tests/fixtures/consoles/confirm-cli-slim.ts +++ b/tests/fixtures/consoles/confirm-cli-slim.ts @@ -1,4 +1,5 @@ import { Mock } from '@athenna/test' +import { Path } from '@athenna/common' import { Ignite } from '@athenna/core' import { Prompt } from '@athenna/artisan' diff --git a/tests/fixtures/consoles/confirm-cli.ts b/tests/fixtures/consoles/confirm-cli.ts index cdf426f..2d58754 100644 --- a/tests/fixtures/consoles/confirm-cli.ts +++ b/tests/fixtures/consoles/confirm-cli.ts @@ -1,4 +1,5 @@ import { Mock } from '@athenna/test' +import { Path } from '@athenna/common' import { Ignite } from '@athenna/core' import { Prompt } from '@athenna/artisan' diff --git a/tests/fixtures/consoles/confirm-restapi-bellow-v20.ts b/tests/fixtures/consoles/confirm-restapi-bellow-v20.ts index 56d2091..31b1b80 100644 --- a/tests/fixtures/consoles/confirm-restapi-bellow-v20.ts +++ b/tests/fixtures/consoles/confirm-restapi-bellow-v20.ts @@ -1,4 +1,5 @@ import { Mock } from '@athenna/test' +import { Path } from '@athenna/common' import { Ignite } from '@athenna/core' import { Prompt } from '@athenna/artisan' diff --git a/tests/fixtures/consoles/confirm-restapi-slim-bellow-v20.ts b/tests/fixtures/consoles/confirm-restapi-slim-bellow-v20.ts index 19fa322..81df59a 100644 --- a/tests/fixtures/consoles/confirm-restapi-slim-bellow-v20.ts +++ b/tests/fixtures/consoles/confirm-restapi-slim-bellow-v20.ts @@ -1,4 +1,5 @@ import { Mock } from '@athenna/test' +import { Path } from '@athenna/common' import { Ignite } from '@athenna/core' import { Prompt } from '@athenna/artisan' diff --git a/tests/fixtures/consoles/confirm-restapi-slim.ts b/tests/fixtures/consoles/confirm-restapi-slim.ts index 16bd8bf..d13fe66 100644 --- a/tests/fixtures/consoles/confirm-restapi-slim.ts +++ b/tests/fixtures/consoles/confirm-restapi-slim.ts @@ -1,4 +1,5 @@ import { Mock } from '@athenna/test' +import { Path } from '@athenna/common' import { Ignite } from '@athenna/core' import { Prompt } from '@athenna/artisan' diff --git a/tests/fixtures/consoles/confirm-restapi.ts b/tests/fixtures/consoles/confirm-restapi.ts index b0a5b6d..5740d78 100644 --- a/tests/fixtures/consoles/confirm-restapi.ts +++ b/tests/fixtures/consoles/confirm-restapi.ts @@ -1,4 +1,5 @@ import { Mock } from '@athenna/test' +import { Path } from '@athenna/common' import { Ignite } from '@athenna/core' import { Prompt } from '@athenna/artisan'