diff --git a/cucumber.js b/cucumber.js index 065c0712..85d24d65 100644 --- a/cucumber.js +++ b/cucumber.js @@ -1,5 +1,6 @@ const common = [ - '--require-module ts-node/register' // Load TypeScript module + '--require-module ts-node/register', // Load TypeScript module + '--require-module tsconfig-paths/register' // Load tsconfig.json paths ]; const mooc_backend = [ diff --git a/jest.config.js b/jest.config.js index b3aa756f..22a4dc71 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,10 @@ +const tsconfig = require('./tsconfig.json') +const moduleNameMapper = require('tsconfig-paths-jest')(tsconfig) + + module.exports = { preset: 'ts-jest', testEnvironment: 'node', - cacheDirectory: '.tmp/jestCache' + cacheDirectory: '.tmp/jestCache', + moduleNameMapper }; diff --git a/package-lock.json b/package-lock.json index 0729a30e..f4e8a525 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,6 +39,7 @@ "winston": "^3.3.3" }, "devDependencies": { + "@cucumber/cucumber": "^10.0.1", "@types/amqplib": "^0.8.2", "@types/bson": "^4.0.3", "@types/compression": "^1.7.0", @@ -60,17 +61,21 @@ "@types/uuid": "^8.3.1", "@types/uuid-validate": "0.0.1", "autoprefixer": "^10.4.7", - "cucumber": "^6.0.5", + "cross-env": "^7.0.3", "faker": "^5.5.3", "husky": "^5.1.3", "jest": "^28.1.1", "lint-staged": "10.5.4", "postcss": "^8.4.14", "prettier": "^2.2.1", + "rimraf": "^5.0.5", + "shx": "^0.3.4", "supertest": "^6.1.3", "tailwindcss": "^3.1.3", "ts-jest": "^28.0.5", - "ts-node-dev": "^2.0.0" + "ts-node-dev": "^2.0.0", + "tsconfig-paths": "^4.2.0", + "tsconfig-paths-jest": "^0.0.1" }, "engines": { "node": ">=12.0.0", @@ -608,19 +613,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/runtime-corejs3": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.18.3.tgz", - "integrity": "sha512-l4ddFwrc9rnR+EJsHsh+TJ4A35YqQz/UqcjtlX2ov53hlJYG5CxtQmNZxyajwDVmCxwy++rtvGU5HazCK4W41Q==", - "dev": true, - "dependencies": { - "core-js-pure": "^3.20.2", - "regenerator-runtime": "^0.13.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/template": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", @@ -726,6 +718,344 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@cucumber/ci-environment": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/@cucumber/ci-environment/-/ci-environment-9.2.0.tgz", + "integrity": "sha512-jLzRtVwdtNt+uAmTwvXwW9iGYLEOJFpDSmnx/dgoMGKXUWRx1UHT86Q696CLdgXO8kyTwsgJY0c6n5SW9VitAA==", + "dev": true + }, + "node_modules/@cucumber/cucumber": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@cucumber/cucumber/-/cucumber-10.0.1.tgz", + "integrity": "sha512-g7W7SQnNMSNnMRQVGubjefCxdgNFyq4P3qxT2Ve7Xhh8ZLoNkoRDcWsyfKQVWnxNfgW3aGJmxbucWRoTi+ZUqg==", + "dev": true, + "dependencies": { + "@cucumber/ci-environment": "9.2.0", + "@cucumber/cucumber-expressions": "16.1.2", + "@cucumber/gherkin": "26.2.0", + "@cucumber/gherkin-streams": "5.0.1", + "@cucumber/gherkin-utils": "8.0.2", + "@cucumber/html-formatter": "20.4.0", + "@cucumber/message-streams": "4.0.1", + "@cucumber/messages": "22.0.0", + "@cucumber/tag-expressions": "5.0.1", + "assertion-error-formatter": "^3.0.0", + "capital-case": "^1.0.4", + "chalk": "^4.1.2", + "cli-table3": "0.6.3", + "commander": "^10.0.0", + "debug": "^4.3.4", + "error-stack-parser": "^2.1.4", + "figures": "^3.2.0", + "glob": "^10.3.10", + "has-ansi": "^4.0.1", + "indent-string": "^4.0.0", + "is-installed-globally": "^0.4.0", + "is-stream": "^2.0.0", + "knuth-shuffle-seeded": "^1.0.6", + "lodash.merge": "^4.6.2", + "lodash.mergewith": "^4.6.2", + "luxon": "3.2.1", + "mkdirp": "^2.1.5", + "mz": "^2.7.0", + "progress": "^2.0.3", + "read-pkg-up": "^7.0.1", + "resolve-pkg": "^2.0.0", + "semver": "7.5.3", + "string-argv": "^0.3.1", + "strip-ansi": "6.0.1", + "supports-color": "^8.1.1", + "tmp": "^0.2.1", + "util-arity": "^1.1.0", + "verror": "^1.10.0", + "xmlbuilder": "^15.1.1", + "yaml": "^2.2.2", + "yup": "1.2.0" + }, + "bin": { + "cucumber-js": "bin/cucumber.js" + }, + "engines": { + "node": "18 || >=20" + } + }, + "node_modules/@cucumber/cucumber-expressions": { + "version": "16.1.2", + "resolved": "https://registry.npmjs.org/@cucumber/cucumber-expressions/-/cucumber-expressions-16.1.2.tgz", + "integrity": "sha512-CfHEbxJ5FqBwF6mJyLLz4B353gyHkoi6cCL4J0lfDZ+GorpcWw4n2OUAdxJmP7ZlREANWoTFlp4FhmkLKrCfUA==", + "dev": true, + "dependencies": { + "regexp-match-indices": "1.0.2" + } + }, + "node_modules/@cucumber/cucumber/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@cucumber/cucumber/node_modules/commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "dev": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@cucumber/cucumber/node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/@cucumber/cucumber/node_modules/glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@cucumber/cucumber/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@cucumber/cucumber/node_modules/mkdirp": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-2.1.6.tgz", + "integrity": "sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==", + "dev": true, + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@cucumber/cucumber/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/@cucumber/cucumber/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/@cucumber/cucumber/node_modules/xmlbuilder": { + "version": "15.1.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-15.1.1.tgz", + "integrity": "sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==", + "dev": true, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/@cucumber/cucumber/node_modules/yaml": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", + "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "dev": true, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@cucumber/gherkin": { + "version": "26.2.0", + "resolved": "https://registry.npmjs.org/@cucumber/gherkin/-/gherkin-26.2.0.tgz", + "integrity": "sha512-iRSiK8YAIHAmLrn/mUfpAx7OXZ7LyNlh1zT89RoziSVCbqSVDxJS6ckEzW8loxs+EEXl0dKPQOXiDmbHV+C/fA==", + "dev": true, + "dependencies": { + "@cucumber/messages": ">=19.1.4 <=22" + } + }, + "node_modules/@cucumber/gherkin-streams": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@cucumber/gherkin-streams/-/gherkin-streams-5.0.1.tgz", + "integrity": "sha512-/7VkIE/ASxIP/jd4Crlp4JHXqdNFxPGQokqWqsaCCiqBiu5qHoKMxcWNlp9njVL/n9yN4S08OmY3ZR8uC5x74Q==", + "dev": true, + "dependencies": { + "commander": "9.1.0", + "source-map-support": "0.5.21" + }, + "bin": { + "gherkin-javascript": "bin/gherkin" + }, + "peerDependencies": { + "@cucumber/gherkin": ">=22.0.0", + "@cucumber/message-streams": ">=4.0.0", + "@cucumber/messages": ">=17.1.1" + } + }, + "node_modules/@cucumber/gherkin-streams/node_modules/commander": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.1.0.tgz", + "integrity": "sha512-i0/MaqBtdbnJ4XQs4Pmyb+oFQl+q0lsAmokVUH92SlSw4fkeAcG3bVon+Qt7hmtF+u3Het6o4VgrcY3qAoEB6w==", + "dev": true, + "engines": { + "node": "^12.20.0 || >=14" + } + }, + "node_modules/@cucumber/gherkin-utils": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@cucumber/gherkin-utils/-/gherkin-utils-8.0.2.tgz", + "integrity": "sha512-aQlziN3r3cTwprEDbLEcFoMRQajb9DTOu2OZZp5xkuNz6bjSTowSY90lHUD2pWT7jhEEckZRIREnk7MAwC2d1A==", + "dev": true, + "dependencies": { + "@cucumber/gherkin": "^25.0.0", + "@cucumber/messages": "^19.1.4", + "@teppeis/multimaps": "2.0.0", + "commander": "9.4.1", + "source-map-support": "^0.5.21" + }, + "bin": { + "gherkin-utils": "bin/gherkin-utils" + } + }, + "node_modules/@cucumber/gherkin-utils/node_modules/@cucumber/gherkin": { + "version": "25.0.2", + "resolved": "https://registry.npmjs.org/@cucumber/gherkin/-/gherkin-25.0.2.tgz", + "integrity": "sha512-EdsrR33Y5GjuOoe2Kq5Y9DYwgNRtUD32H4y2hCrT6+AWo7ibUQu7H+oiWTgfVhwbkHsZmksxHSxXz/AwqqyCRQ==", + "dev": true, + "dependencies": { + "@cucumber/messages": "^19.1.4" + } + }, + "node_modules/@cucumber/gherkin-utils/node_modules/@cucumber/messages": { + "version": "19.1.4", + "resolved": "https://registry.npmjs.org/@cucumber/messages/-/messages-19.1.4.tgz", + "integrity": "sha512-Pksl0pnDz2l1+L5Ug85NlG6LWrrklN9qkMxN5Mv+1XZ3T6u580dnE6mVaxjJRdcOq4tR17Pc0RqIDZMyVY1FlA==", + "dev": true, + "dependencies": { + "@types/uuid": "8.3.4", + "class-transformer": "0.5.1", + "reflect-metadata": "0.1.13", + "uuid": "9.0.0" + } + }, + "node_modules/@cucumber/gherkin-utils/node_modules/commander": { + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.4.1.tgz", + "integrity": "sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw==", + "dev": true, + "engines": { + "node": "^12.20.0 || >=14" + } + }, + "node_modules/@cucumber/gherkin-utils/node_modules/uuid": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "dev": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@cucumber/html-formatter": { + "version": "20.4.0", + "resolved": "https://registry.npmjs.org/@cucumber/html-formatter/-/html-formatter-20.4.0.tgz", + "integrity": "sha512-TnLSXC5eJd8AXHENo69f5z+SixEVtQIf7Q2dZuTpT/Y8AOkilGpGl1MQR1Vp59JIw+fF3EQSUKdf+DAThCxUNg==", + "dev": true, + "peerDependencies": { + "@cucumber/messages": ">=18" + } + }, + "node_modules/@cucumber/message-streams": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@cucumber/message-streams/-/message-streams-4.0.1.tgz", + "integrity": "sha512-Kxap9uP5jD8tHUZVjTWgzxemi/0uOsbGjd4LBOSxcJoOCRbESFwemUzilJuzNTB8pcTQUh8D5oudUyxfkJOKmA==", + "dev": true, + "peerDependencies": { + "@cucumber/messages": ">=17.1.1" + } + }, + "node_modules/@cucumber/messages": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/@cucumber/messages/-/messages-22.0.0.tgz", + "integrity": "sha512-EuaUtYte9ilkxcKmfqGF9pJsHRUU0jwie5ukuZ/1NPTuHS1LxHPsGEODK17RPRbZHOFhqybNzG2rHAwThxEymg==", + "dev": true, + "dependencies": { + "@types/uuid": "9.0.1", + "class-transformer": "0.5.1", + "reflect-metadata": "0.1.13", + "uuid": "9.0.0" + } + }, + "node_modules/@cucumber/messages/node_modules/@types/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-rFT3ak0/2trgvp4yYZo5iKFEPsET7vKydKF+VRCxlQ9bpheehyAJH89dAkaLEq/j/RZXJIqcgsmPJKUP1Z28HA==", + "dev": true + }, + "node_modules/@cucumber/messages/node_modules/uuid": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "dev": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@cucumber/tag-expressions": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@cucumber/tag-expressions/-/tag-expressions-5.0.1.tgz", + "integrity": "sha512-N43uWud8ZXuVjza423T9ZCIJsaZhFekmakt7S9bvogTxqdVGbRobjR663s0+uW0Rz9e+Pa8I6jUuWtoBLQD2Mw==", + "dev": true + }, "node_modules/@dabh/diagnostics": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", @@ -776,6 +1106,102 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", @@ -810,19 +1236,6 @@ "node": ">=6" } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", @@ -836,45 +1249,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", @@ -1197,6 +1571,21 @@ "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", "dev": true }, + "node_modules/@jest/core/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@jest/core/node_modules/supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -1875,6 +2264,16 @@ "node": ">= 8" } }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=14" + } + }, "node_modules/@sinclair/typebox": { "version": "0.24.46", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.46.tgz", @@ -1904,6 +2303,15 @@ "resolved": "https://registry.npmjs.org/@sqltools/formatter/-/formatter-1.2.3.tgz", "integrity": "sha512-O3uyB/JbkAEMZaP3YqyHH7TMnex7tWyCbCI4EfJdOCoN6HIhqdJBWTM6aCCiWQ/5f5wxjgU735QAIpJbjDvmzg==" }, + "node_modules/@teppeis/multimaps": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@teppeis/multimaps/-/multimaps-2.0.0.tgz", + "integrity": "sha512-TL1adzq1HdxUf9WYduLcQ/DNGYiz71U31QRgbnr0Ef1cPyOUOsBojxHVWpFeOSUucB6Lrs0LxFRA14ntgtkc9w==", + "dev": true, + "engines": { + "node": ">=10.17" + } + }, "node_modules/@tsconfig/node10": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", @@ -2280,6 +2688,12 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.8.5.tgz", "integrity": "sha512-Bq7G3AErwe5A/Zki5fdD3O6+0zDChhg671NfPjtIcbtzDNZTv4NPKMRFr7gtYPG7y+B8uTiNK4Ngd9T0FTar6Q==" }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", + "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", + "dev": true + }, "node_modules/@types/parse-json": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", @@ -2947,12 +3361,6 @@ } ] }, - "node_modules/becke-ch--regex--s0-0-v1--base--pl--lib": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/becke-ch--regex--s0-0-v1--base--pl--lib/-/becke-ch--regex--s0-0-v1--base--pl--lib-1.4.0.tgz", - "integrity": "sha512-FnWonOyaw7Vivg5nIkrUll9HSS5TjFbyuURAiDssuL6VxrBe3ERzudRxOcWRhZYlP89UArMDikz7SapRPQpmZQ==", - "dev": true - }, "node_modules/binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -3257,6 +3665,17 @@ } ] }, + "node_modules/capital-case": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/capital-case/-/capital-case-1.0.4.tgz", + "integrity": "sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==", + "dev": true, + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3", + "upper-case-first": "^2.0.2" + } + }, "node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -3353,6 +3772,12 @@ "integrity": "sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==", "dev": true }, + "node_modules/class-transformer": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/class-transformer/-/class-transformer-0.5.1.tgz", + "integrity": "sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw==", + "dev": true + }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -3400,62 +3825,18 @@ "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==" }, "node_modules/cli-table3": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.5.1.tgz", - "integrity": "sha512-7Qg2Jrep1S/+Q3EceiZtQcDPWxhAvBw+ERf1162v4sikJrvojMHFqXt8QIVha8UlH9rgU0BeWPytZ9/TzYqlUw==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz", + "integrity": "sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==", "dev": true, "dependencies": { - "object-assign": "^4.1.0", - "string-width": "^2.1.1" + "string-width": "^4.2.0" }, "engines": { - "node": ">=6" + "node": "10.* || >= 12.*" }, "optionalDependencies": { - "colors": "^1.1.2" - } - }, - "node_modules/cli-table3/node_modules/ansi-regex": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", - "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/cli-table3/node_modules/is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/cli-table3/node_modules/string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, - "dependencies": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cli-table3/node_modules/strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", - "dev": true, - "dependencies": { - "ansi-regex": "^3.0.0" - }, - "engines": { - "node": ">=4" + "@colors/colors": "1.5.0" } }, "node_modules/cli-truncate": { @@ -3566,15 +3947,6 @@ "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==", "dev": true }, - "node_modules/colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", - "dev": true, - "engines": { - "node": ">=0.1.90" - } - }, "node_modules/colorspace": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", @@ -3802,18 +4174,6 @@ "node": ">=0.10.0" } }, - "node_modules/core-js-pure": { - "version": "3.23.1", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.23.1.tgz", - "integrity": "sha512-3qNgf6TqI3U1uhuSYRzJZGfFd4T+YlbyVPl+jgRiKjdZopvG4keZQwWZDAWpu1UH9nCgTpUzIV3GFawC7cJsqg==", - "deprecated": "core-js-pure@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js-pure.", - "dev": true, - "hasInstallScript": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, "node_modules/core-util-is": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", @@ -3852,6 +4212,24 @@ "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==" }, + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -3872,109 +4250,25 @@ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true, - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cucumber": { - "version": "6.0.7", - "resolved": "https://registry.npmjs.org/cucumber/-/cucumber-6.0.7.tgz", - "integrity": "sha512-pN3AgWxHx8rOi+wOlqjASNETOjf3TgeyqhMNLQam7nSTXgQzju1oAmXkleRQRcXvpVvejcDHiZBLFSfBkqbYpA==", - "deprecated": "Cucumber is publishing new releases under @cucumber/cucumber", - "dev": true, - "dependencies": { - "assertion-error-formatter": "^3.0.0", - "bluebird": "^3.4.1", - "cli-table3": "^0.5.1", - "colors": "^1.1.2", - "commander": "^3.0.1", - "cucumber-expressions": "^8.1.0", - "cucumber-tag-expressions": "^2.0.2", - "duration": "^0.2.1", - "escape-string-regexp": "^2.0.0", - "figures": "^3.0.0", - "gherkin": "5.0.0", - "glob": "^7.1.3", - "indent-string": "^4.0.0", - "is-generator": "^1.0.2", - "is-stream": "^2.0.0", - "knuth-shuffle-seeded": "^1.0.6", - "lodash": "^4.17.14", - "mz": "^2.4.0", - "progress": "^2.0.0", - "resolve": "^1.3.3", - "serialize-error": "^4.1.0", - "stack-chain": "^2.0.0", - "stacktrace-js": "^2.0.0", - "string-argv": "^0.3.0", - "title-case": "^2.1.1", - "util-arity": "^1.0.2", - "verror": "^1.9.0" + "isexe": "^2.0.0" }, "bin": { - "cucumber-js": "bin/cucumber-js" + "node-which": "bin/node-which" }, "engines": { - "node": ">=8" - } - }, - "node_modules/cucumber-expressions": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/cucumber-expressions/-/cucumber-expressions-8.3.0.tgz", - "integrity": "sha512-cP2ya0EiorwXBC7Ll7Cj7NELYbasNv9Ty42L4u7sso9KruWemWG1ZiTq4PMqir3SNDSrbykoqI5wZgMbLEDjLQ==", - "deprecated": "This package is now published under @cucumber/cucumber-expressions", - "dev": true, - "dependencies": { - "becke-ch--regex--s0-0-v1--base--pl--lib": "^1.4.0", - "xregexp": "^4.2.4" + "node": ">= 8" } }, - "node_modules/cucumber-tag-expressions": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/cucumber-tag-expressions/-/cucumber-tag-expressions-2.0.3.tgz", - "integrity": "sha512-+x5j1IfZrBtbvYHuoUX0rl4nUGxaey6Do9sM0CABmZfDCcWXuuRm1fQeCaklIYQgOFHQ6xOHvDSdkMHHpni6tQ==", - "dev": true - }, - "node_modules/cucumber/node_modules/commander": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz", - "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==", - "dev": true - }, - "node_modules/cucumber/node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", "dev": true, + "bin": { + "cssesc": "bin/cssesc" + }, "engines": { - "node": ">=8" - } - }, - "node_modules/d": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", - "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", - "dev": true, - "dependencies": { - "es5-ext": "^0.10.50", - "type": "^1.0.1" + "node": ">=4" } }, "node_modules/date-fns": { @@ -4136,16 +4430,6 @@ "node": ">=12" } }, - "node_modules/duration": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/duration/-/duration-0.2.2.tgz", - "integrity": "sha512-06kgtea+bGreF5eKYgI/36A6pLXggY7oR4p1pq4SmdFBn1ReOL5D8RhG64VrqfTTKNucqqtBAwEj8aB88mcqrg==", - "dev": true, - "dependencies": { - "d": "1", - "es5-ext": "~0.10.46" - } - }, "node_modules/dynamic-dedupe": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/dynamic-dedupe/-/dynamic-dedupe-0.3.0.tgz", @@ -4155,6 +4439,12 @@ "xtend": "^4.0.0" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, "node_modules/easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", @@ -4186,6 +4476,11 @@ "url": "https://github.com/sindresorhus/emittery?sponsor=1" } }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, "node_modules/enabled": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", @@ -4250,42 +4545,6 @@ "node": ">= 0.8" } }, - "node_modules/es5-ext": { - "version": "0.10.61", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.61.tgz", - "integrity": "sha512-yFhIqQAzu2Ca2I4SE2Au3rxVfmohU9Y7wqGR+s7+H7krk26NXhIRAZDgqd6xqjCEFUomDEA3/Bo/7fKmIkW1kA==", - "dev": true, - "hasInstallScript": true, - "dependencies": { - "es6-iterator": "^2.0.3", - "es6-symbol": "^3.1.3", - "next-tick": "^1.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/es6-iterator": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", - "dev": true, - "dependencies": { - "d": "1", - "es5-ext": "^0.10.35", - "es6-symbol": "^3.1.1" - } - }, - "node_modules/es6-symbol": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", - "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", - "dev": true, - "dependencies": { - "d": "^1.0.1", - "ext": "^1.1.2" - } - }, "node_modules/escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -4595,21 +4854,6 @@ "node": ">= 0.6" } }, - "node_modules/ext": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz", - "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==", - "dev": true, - "dependencies": { - "type": "^2.5.0" - } - }, - "node_modules/ext/node_modules/type": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/type/-/type-2.6.0.tgz", - "integrity": "sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==", - "dev": true - }, "node_modules/extend-shallow": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", @@ -4800,11 +5044,52 @@ "node": ">= 0.8" } }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/fn.name": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/formidable": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/formidable/-/formidable-2.0.1.tgz", @@ -4950,16 +5235,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/gherkin": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/gherkin/-/gherkin-5.0.0.tgz", - "integrity": "sha512-Y+93z2Nh+TNIKuKEf+6M0FQrX/z0Yv9C2LFfc5NlcGJWRrrTeI/jOg2374y1FOw6ZYQ3RgJBezRkli7CLDubDA==", - "deprecated": "This package is now published under @cucumber/gherkin", - "dev": true, - "bin": { - "gherkin-javascript": "bin/gherkin" - } - }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -4987,6 +5262,30 @@ "is-glob": "^2.0.0" } }, + "node_modules/global-dirs": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.1.tgz", + "integrity": "sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==", + "dev": true, + "dependencies": { + "ini": "2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/global-dirs/node_modules/ini": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", + "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, "node_modules/global-modules": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-0.2.3.tgz", @@ -5038,6 +5337,27 @@ "node": ">= 0.4.0" } }, + "node_modules/has-ansi": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-4.0.1.tgz", + "integrity": "sha512-Qr4RtTm30xvEdqUXbSBVWDu+PrTokJOwe/FU+VdfJPk+MXAPoeOzKpRyrDTnZIJwAkQ4oBLTU53nu0HrkF/Z2A==", + "dev": true, + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/has-ansi/node_modules/ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -5104,6 +5424,12 @@ "node": ">=0.10.0" } }, + "node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, "node_modules/hpagent": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/hpagent/-/hpagent-0.1.2.tgz", @@ -5271,6 +5597,15 @@ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, + "node_modules/interpret": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", + "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", @@ -5407,12 +5742,6 @@ "node": ">=8" } }, - "node_modules/is-generator": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-generator/-/is-generator-1.0.3.tgz", - "integrity": "sha512-G56jBpbJeg7ds83HW1LuShNs8J73Fv3CPz/bmROHOHlnKkN8sWb9ujiagjmxxMUywftgq48HlBZELKKqFLk0oA==", - "dev": true - }, "node_modules/is-generator-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", @@ -5433,6 +5762,22 @@ "node": ">=0.10.0" } }, + "node_modules/is-installed-globally": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", + "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", + "dev": true, + "dependencies": { + "global-dirs": "^3.0.0", + "is-path-inside": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -5451,6 +5796,15 @@ "node": ">=0.10.0" } }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/is-promise": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", @@ -5664,6 +6018,24 @@ "node": ">=8" } }, + "node_modules/jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dev": true, + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, "node_modules/jest": { "version": "28.1.1", "resolved": "https://registry.npmjs.org/jest/-/jest-28.1.1.tgz", @@ -7693,9 +8065,9 @@ "dev": true }, "node_modules/json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, "bin": { "json5": "lib/cli.js" @@ -7916,6 +8288,18 @@ } } }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -7952,6 +8336,12 @@ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" }, + "node_modules/lodash.mergewith": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", + "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==", + "dev": true + }, "node_modules/lodash.set": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz", @@ -8056,6 +8446,15 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, + "node_modules/lower-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", + "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" + } + }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -8068,6 +8467,15 @@ "node": ">=10" } }, + "node_modules/luxon": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.2.1.tgz", + "integrity": "sha512-QrwPArQCNLAKGO/C+ZIilgIuDnEnKx5QYODdDtbFaxzsbZcc/a7WFq7MhsVYgRlwawLtvOUESTlfJ+hc/USqPg==", + "dev": true, + "engines": { + "node": ">=12" + } + }, "node_modules/make-dir": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", @@ -8235,6 +8643,15 @@ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" }, + "node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -8333,11 +8750,15 @@ "node": ">= 0.6" } }, - "node_modules/next-tick": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", - "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==", - "dev": true + "node_modules/no-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", + "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", + "dev": true, + "dependencies": { + "lower-case": "^2.0.2", + "tslib": "^2.0.3" + } }, "node_modules/node-dependency-injection": { "version": "2.7.3", @@ -8366,6 +8787,27 @@ "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", "dev": true }, + "node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", @@ -8508,18 +8950,45 @@ "resolved": "https://registry.npmjs.org/optional-require/-/optional-require-1.1.8.tgz", "integrity": "sha512-jq83qaUb0wNg9Krv1c5OQ+58EK+vHde6aBPzLvPPqJm89UQWsvSuFy9X/OSNJnFeSOKo7btE0n8Nl2+nE+z5nA==", "dependencies": { - "require-at": "^1.0.6" + "require-at": "^1.0.6" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" }, "engines": { - "node": ">=4" - } - }, - "node_modules/os-homedir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==", - "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, "node_modules/p-map": { @@ -8654,6 +9123,31 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, + "node_modules/path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "dev": true, + "dependencies": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "dev": true, + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/path-to-regexp": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", @@ -8790,58 +9284,6 @@ "node": ">=8" } }, - "node_modules/pkg-dir/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/pkg-dir/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/please-upgrade-node": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", @@ -9085,6 +9527,12 @@ "node": ">= 6" } }, + "node_modules/property-expr": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.6.tgz", + "integrity": "sha512-SVtmxhRE/CGkn3eZY1T6pC8Nln6Fr/lu1mKSgRud0eC73whjGfoAogbn78LkD8aFL0zz3bAFerKSnOl7NlErBA==", + "dev": true + }, "node_modules/proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", @@ -9195,6 +9643,47 @@ "pify": "^2.3.0" } }, + "node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/readable-stream": { "version": "1.1.14", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", @@ -9218,16 +9707,40 @@ "node": ">=8.10.0" } }, + "node_modules/rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==", + "dev": true, + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/reflect-metadata": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" }, - "node_modules/regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", - "dev": true + "node_modules/regexp-match-indices": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regexp-match-indices/-/regexp-match-indices-1.0.2.tgz", + "integrity": "sha512-DwZuAkt8NF5mKwGGER1EGh2PRqyvhRhhLviH+R8y8dIuaQROlUfXjt4s9ZTXstIsSkptf06BSvwcEmmfheJJWQ==", + "dev": true, + "dependencies": { + "regexp-tree": "^0.1.11" + } + }, + "node_modules/regexp-tree": { + "version": "0.1.27", + "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.27.tgz", + "integrity": "sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==", + "dev": true, + "bin": { + "regexp-tree": "bin/regexp-tree" + } }, "node_modules/repeat-string": { "version": "1.6.1", @@ -9326,6 +9839,27 @@ "node": ">=4" } }, + "node_modules/resolve-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg/-/resolve-pkg-2.0.0.tgz", + "integrity": "sha512-+1lzwXehGCXSeryaISr6WujZzowloigEofRB+dj75y9RRa/obVcYgbHJd53tdYw8pvZj8GojXaaENws8Ktw/hQ==", + "dev": true, + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-pkg/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==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/resolve.exports": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz", @@ -9365,15 +9899,64 @@ "dev": true }, "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz", + "integrity": "sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==", "dev": true, "dependencies": { - "glob": "^7.1.3" + "glob": "^10.3.7" }, "bin": { - "rimraf": "bin.js" + "rimraf": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/rimraf/node_modules/glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -9411,12 +9994,6 @@ "tslib": "^2.1.0" } }, - "node_modules/rxjs/node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -9478,9 +10055,9 @@ "dev": true }, "node_modules/semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -9526,27 +10103,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, - "node_modules/serialize-error": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-4.1.0.tgz", - "integrity": "sha512-5j9GgyGsP9vV9Uj1S0lDCvlsd+gc2LEPVK7HHHte7IyPwOD4lVQFeaX143gx3U5AnoCi+wbcb3mvaxVysjpxEw==", - "dev": true, - "dependencies": { - "type-fest": "^0.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/serialize-error/node_modules/type-fest": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz", - "integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/serve-static": { "version": "1.15.0", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", @@ -9610,6 +10166,39 @@ "node": ">=8" } }, + "node_modules/shelljs": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz", + "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", + "dev": true, + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/shx": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/shx/-/shx-0.3.4.tgz", + "integrity": "sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g==", + "dev": true, + "dependencies": { + "minimist": "^1.2.3", + "shelljs": "^0.8.5" + }, + "bin": { + "shx": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", @@ -9708,6 +10297,38 @@ "memory-pager": "^1.0.2" } }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", + "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==", + "dev": true + }, "node_modules/split2": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/split2/-/split2-4.1.0.tgz", @@ -9722,21 +10343,6 @@ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "dev": true }, - "node_modules/stack-chain": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/stack-chain/-/stack-chain-2.0.0.tgz", - "integrity": "sha512-GGrHXePi305aW7XQweYZZwiRwR7Js3MWoK/EHzzB9ROdc75nCnjSJVi21rdAGxFl+yCx2L2qdfl5y7NO4lTyqg==", - "dev": true - }, - "node_modules/stack-generator": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/stack-generator/-/stack-generator-2.0.10.tgz", - "integrity": "sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ==", - "dev": true, - "dependencies": { - "stackframe": "^1.3.4" - } - }, "node_modules/stack-trace": { "version": "0.0.10", "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", @@ -9772,36 +10378,6 @@ "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", "dev": true }, - "node_modules/stacktrace-gps": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/stacktrace-gps/-/stacktrace-gps-3.1.2.tgz", - "integrity": "sha512-GcUgbO4Jsqqg6RxfyTHFiPxdPqF+3LFmQhm7MgCuYQOYuWyqxo5pwRPz5d/u6/WYJdEnWfK4r+jGbyD8TSggXQ==", - "dev": true, - "dependencies": { - "source-map": "0.5.6", - "stackframe": "^1.3.4" - } - }, - "node_modules/stacktrace-gps/node_modules/source-map": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", - "integrity": "sha512-MjZkVp0NHr5+TPihLcadqnlVoGIoWo4IBHptutGh9wI3ttUYvCG26HkSuDi+K6lsZ25syXJXcctwgyVCt//xqA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/stacktrace-js": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/stacktrace-js/-/stacktrace-js-2.0.2.tgz", - "integrity": "sha512-Je5vBeY4S1r/RnLydLl0TBTi3F2qdfWmYsGvtfZgEI+SCprPppaIhQf5nGcal4gI4cGpCV/duLcAzT1np6sQqg==", - "dev": true, - "dependencies": { - "error-stack-parser": "^2.0.6", - "stack-generator": "^2.0.5", - "stacktrace-gps": "^3.0.4" - } - }, "node_modules/statuses": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", @@ -9850,10 +10426,20 @@ "node": ">=8" } }, - "node_modules/string-width/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } }, "node_modules/stringify-object": { "version": "3.3.0", @@ -9880,6 +10466,19 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", @@ -10262,29 +10861,37 @@ "safe-buffer": "~5.1.0" } }, - "node_modules/title-case": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/title-case/-/title-case-2.1.1.tgz", - "integrity": "sha512-EkJoZ2O3zdCz3zJsYCsxyq2OC5hrxR9mfdd5I+w8h/tmFfeOxJ+vvkxsKxdmN0WtS9zLdHEgfgVOiMVgv+Po4Q==", + "node_modules/tiny-case": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tiny-case/-/tiny-case-1.0.3.tgz", + "integrity": "sha512-Eet/eeMhkO6TX8mnUteS9zgPbUMQa4I6Kkp5ORiBD5476/m+PIRiumP5tmh5ioJpH7k51Kehawy2UDfsnxxY8Q==", + "dev": true + }, + "node_modules/tmp": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", + "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", "dev": true, "dependencies": { - "no-case": "^2.2.0", - "upper-case": "^1.0.3" + "rimraf": "^3.0.0" + }, + "engines": { + "node": ">=8.17.0" } }, - "node_modules/title-case/node_modules/lower-case": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz", - "integrity": "sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA==", - "dev": true - }, - "node_modules/title-case/node_modules/no-case": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz", - "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==", + "node_modules/tmp/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "dependencies": { - "lower-case": "^1.1.1" + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/tmpl": { @@ -10408,6 +11015,12 @@ "node": ">=0.6" } }, + "node_modules/toposort": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz", + "integrity": "sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg==", + "dev": true + }, "node_modules/tree-kill": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", @@ -10638,6 +11251,26 @@ "strip-json-comments": "^2.0.0" } }, + "node_modules/tsconfig-paths": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", + "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", + "dev": true, + "dependencies": { + "json5": "^2.2.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tsconfig-paths-jest": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/tsconfig-paths-jest/-/tsconfig-paths-jest-0.0.1.tgz", + "integrity": "sha512-YKhUKqbteklNppC2NqL7dv1cWF8eEobgHVD5kjF1y9Q4ocqpBiaDlYslQ9eMhtbqIPRrA68RIEXqknEjlxdwxw==", + "dev": true + }, "node_modules/tsconfig/node_modules/strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", @@ -10647,6 +11280,11 @@ "node": ">=0.10.0" } }, + "node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, "node_modules/tsscmp": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz", @@ -10655,12 +11293,6 @@ "node": ">=0.6.x" } }, - "node_modules/type": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", - "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==", - "dev": true - }, "node_modules/type-detect": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", @@ -10670,6 +11302,15 @@ "node": ">=4" } }, + "node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/type-is": { "version": "1.6.18", "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", @@ -10844,11 +11485,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "node_modules/typeorm/node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, "node_modules/typeorm/node_modules/yargs": { "version": "17.5.1", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", @@ -10902,11 +11538,14 @@ "node": ">= 0.8" } }, - "node_modules/upper-case": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", - "integrity": "sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA==", - "dev": true + "node_modules/upper-case-first": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/upper-case-first/-/upper-case-first-2.0.2.tgz", + "integrity": "sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" + } }, "node_modules/url-parse": { "version": "1.5.10", @@ -10968,6 +11607,16 @@ "node": ">=10.12.0" } }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, "node_modules/validate-npm-package-name": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", @@ -11145,6 +11794,24 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -11170,15 +11837,6 @@ "node": ">=4.0" } }, - "node_modules/xregexp": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.4.1.tgz", - "integrity": "sha512-2u9HwfadaJaY9zHtRRnH6BY6CQVNQKkYm3oLtC9gJXXzfsbACg5X5e4EZZGVAH+YIfa+QA9lsFQTTe3HURF3ag==", - "dev": true, - "dependencies": { - "@babel/runtime-corejs3": "^7.12.1" - } - }, "node_modules/xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", @@ -11242,6 +11900,30 @@ "engines": { "node": ">=6" } + }, + "node_modules/yup": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/yup/-/yup-1.2.0.tgz", + "integrity": "sha512-PPqYKSAXjpRCgLgLKVGPA33v5c/WgEx3wi6NFjIiegz90zSwyMpvTFp/uGcVnnbx6to28pgnzp/q8ih3QRjLMQ==", + "dev": true, + "dependencies": { + "property-expr": "^2.0.5", + "tiny-case": "^1.0.3", + "toposort": "^2.0.2", + "type-fest": "^2.19.0" + } + }, + "node_modules/yup/node_modules/type-fest": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", + "dev": true, + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } } }, "dependencies": { @@ -11643,16 +12325,6 @@ "@babel/helper-plugin-utils": "^7.17.12" } }, - "@babel/runtime-corejs3": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.18.3.tgz", - "integrity": "sha512-l4ddFwrc9rnR+EJsHsh+TJ4A35YqQz/UqcjtlX2ov53hlJYG5CxtQmNZxyajwDVmCxwy++rtvGU5HazCK4W41Q==", - "dev": true, - "requires": { - "core-js-pure": "^3.20.2", - "regenerator-runtime": "^0.13.4" - } - }, "@babel/template": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", @@ -11739,6 +12411,272 @@ } } }, + "@cucumber/ci-environment": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/@cucumber/ci-environment/-/ci-environment-9.2.0.tgz", + "integrity": "sha512-jLzRtVwdtNt+uAmTwvXwW9iGYLEOJFpDSmnx/dgoMGKXUWRx1UHT86Q696CLdgXO8kyTwsgJY0c6n5SW9VitAA==", + "dev": true + }, + "@cucumber/cucumber": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@cucumber/cucumber/-/cucumber-10.0.1.tgz", + "integrity": "sha512-g7W7SQnNMSNnMRQVGubjefCxdgNFyq4P3qxT2Ve7Xhh8ZLoNkoRDcWsyfKQVWnxNfgW3aGJmxbucWRoTi+ZUqg==", + "dev": true, + "requires": { + "@cucumber/ci-environment": "9.2.0", + "@cucumber/cucumber-expressions": "16.1.2", + "@cucumber/gherkin": "26.2.0", + "@cucumber/gherkin-streams": "5.0.1", + "@cucumber/gherkin-utils": "8.0.2", + "@cucumber/html-formatter": "20.4.0", + "@cucumber/message-streams": "4.0.1", + "@cucumber/messages": "22.0.0", + "@cucumber/tag-expressions": "5.0.1", + "assertion-error-formatter": "^3.0.0", + "capital-case": "^1.0.4", + "chalk": "^4.1.2", + "cli-table3": "0.6.3", + "commander": "^10.0.0", + "debug": "^4.3.4", + "error-stack-parser": "^2.1.4", + "figures": "^3.2.0", + "glob": "^10.3.10", + "has-ansi": "^4.0.1", + "indent-string": "^4.0.0", + "is-installed-globally": "^0.4.0", + "is-stream": "^2.0.0", + "knuth-shuffle-seeded": "^1.0.6", + "lodash.merge": "^4.6.2", + "lodash.mergewith": "^4.6.2", + "luxon": "3.2.1", + "mkdirp": "^2.1.5", + "mz": "^2.7.0", + "progress": "^2.0.3", + "read-pkg-up": "^7.0.1", + "resolve-pkg": "^2.0.0", + "semver": "7.5.3", + "string-argv": "^0.3.1", + "strip-ansi": "6.0.1", + "supports-color": "^8.1.1", + "tmp": "^0.2.1", + "util-arity": "^1.1.0", + "verror": "^1.10.0", + "xmlbuilder": "^15.1.1", + "yaml": "^2.2.2", + "yup": "1.2.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "dev": true + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dev": true, + "requires": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + } + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "mkdirp": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-2.1.6.tgz", + "integrity": "sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==", + "dev": true + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "xmlbuilder": { + "version": "15.1.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-15.1.1.tgz", + "integrity": "sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==", + "dev": true + }, + "yaml": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", + "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "dev": true + } + } + }, + "@cucumber/cucumber-expressions": { + "version": "16.1.2", + "resolved": "https://registry.npmjs.org/@cucumber/cucumber-expressions/-/cucumber-expressions-16.1.2.tgz", + "integrity": "sha512-CfHEbxJ5FqBwF6mJyLLz4B353gyHkoi6cCL4J0lfDZ+GorpcWw4n2OUAdxJmP7ZlREANWoTFlp4FhmkLKrCfUA==", + "dev": true, + "requires": { + "regexp-match-indices": "1.0.2" + } + }, + "@cucumber/gherkin": { + "version": "26.2.0", + "resolved": "https://registry.npmjs.org/@cucumber/gherkin/-/gherkin-26.2.0.tgz", + "integrity": "sha512-iRSiK8YAIHAmLrn/mUfpAx7OXZ7LyNlh1zT89RoziSVCbqSVDxJS6ckEzW8loxs+EEXl0dKPQOXiDmbHV+C/fA==", + "dev": true, + "requires": { + "@cucumber/messages": ">=19.1.4 <=22" + } + }, + "@cucumber/gherkin-streams": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@cucumber/gherkin-streams/-/gherkin-streams-5.0.1.tgz", + "integrity": "sha512-/7VkIE/ASxIP/jd4Crlp4JHXqdNFxPGQokqWqsaCCiqBiu5qHoKMxcWNlp9njVL/n9yN4S08OmY3ZR8uC5x74Q==", + "dev": true, + "requires": { + "commander": "9.1.0", + "source-map-support": "0.5.21" + }, + "dependencies": { + "commander": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.1.0.tgz", + "integrity": "sha512-i0/MaqBtdbnJ4XQs4Pmyb+oFQl+q0lsAmokVUH92SlSw4fkeAcG3bVon+Qt7hmtF+u3Het6o4VgrcY3qAoEB6w==", + "dev": true + } + } + }, + "@cucumber/gherkin-utils": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@cucumber/gherkin-utils/-/gherkin-utils-8.0.2.tgz", + "integrity": "sha512-aQlziN3r3cTwprEDbLEcFoMRQajb9DTOu2OZZp5xkuNz6bjSTowSY90lHUD2pWT7jhEEckZRIREnk7MAwC2d1A==", + "dev": true, + "requires": { + "@cucumber/gherkin": "^25.0.0", + "@cucumber/messages": "^19.1.4", + "@teppeis/multimaps": "2.0.0", + "commander": "9.4.1", + "source-map-support": "^0.5.21" + }, + "dependencies": { + "@cucumber/gherkin": { + "version": "25.0.2", + "resolved": "https://registry.npmjs.org/@cucumber/gherkin/-/gherkin-25.0.2.tgz", + "integrity": "sha512-EdsrR33Y5GjuOoe2Kq5Y9DYwgNRtUD32H4y2hCrT6+AWo7ibUQu7H+oiWTgfVhwbkHsZmksxHSxXz/AwqqyCRQ==", + "dev": true, + "requires": { + "@cucumber/messages": "^19.1.4" + } + }, + "@cucumber/messages": { + "version": "19.1.4", + "resolved": "https://registry.npmjs.org/@cucumber/messages/-/messages-19.1.4.tgz", + "integrity": "sha512-Pksl0pnDz2l1+L5Ug85NlG6LWrrklN9qkMxN5Mv+1XZ3T6u580dnE6mVaxjJRdcOq4tR17Pc0RqIDZMyVY1FlA==", + "dev": true, + "requires": { + "@types/uuid": "8.3.4", + "class-transformer": "0.5.1", + "reflect-metadata": "0.1.13", + "uuid": "9.0.0" + } + }, + "commander": { + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.4.1.tgz", + "integrity": "sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw==", + "dev": true + }, + "uuid": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "dev": true + } + } + }, + "@cucumber/html-formatter": { + "version": "20.4.0", + "resolved": "https://registry.npmjs.org/@cucumber/html-formatter/-/html-formatter-20.4.0.tgz", + "integrity": "sha512-TnLSXC5eJd8AXHENo69f5z+SixEVtQIf7Q2dZuTpT/Y8AOkilGpGl1MQR1Vp59JIw+fF3EQSUKdf+DAThCxUNg==", + "dev": true, + "requires": {} + }, + "@cucumber/message-streams": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@cucumber/message-streams/-/message-streams-4.0.1.tgz", + "integrity": "sha512-Kxap9uP5jD8tHUZVjTWgzxemi/0uOsbGjd4LBOSxcJoOCRbESFwemUzilJuzNTB8pcTQUh8D5oudUyxfkJOKmA==", + "dev": true, + "requires": {} + }, + "@cucumber/messages": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/@cucumber/messages/-/messages-22.0.0.tgz", + "integrity": "sha512-EuaUtYte9ilkxcKmfqGF9pJsHRUU0jwie5ukuZ/1NPTuHS1LxHPsGEODK17RPRbZHOFhqybNzG2rHAwThxEymg==", + "dev": true, + "requires": { + "@types/uuid": "9.0.1", + "class-transformer": "0.5.1", + "reflect-metadata": "0.1.13", + "uuid": "9.0.0" + }, + "dependencies": { + "@types/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-rFT3ak0/2trgvp4yYZo5iKFEPsET7vKydKF+VRCxlQ9bpheehyAJH89dAkaLEq/j/RZXJIqcgsmPJKUP1Z28HA==", + "dev": true + }, + "uuid": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "dev": true + } + } + }, + "@cucumber/tag-expressions": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@cucumber/tag-expressions/-/tag-expressions-5.0.1.tgz", + "integrity": "sha512-N43uWud8ZXuVjza423T9ZCIJsaZhFekmakt7S9bvogTxqdVGbRobjR663s0+uW0Rz9e+Pa8I6jUuWtoBLQD2Mw==", + "dev": true + }, "@dabh/diagnostics": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", @@ -11774,11 +12712,76 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" } } - }, - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + } + } + }, + "@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true + }, + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + }, + "wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + } } } }, @@ -11810,16 +12813,6 @@ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, "js-yaml": { "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", @@ -11830,33 +12823,6 @@ "esprima": "^4.0.0" } }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, "resolve-from": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", @@ -12119,6 +13085,15 @@ "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", "dev": true }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, "supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -12675,6 +13650,13 @@ "fastq": "^1.6.0" } }, + "@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true + }, "@sinclair/typebox": { "version": "0.24.46", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.46.tgz", @@ -12704,6 +13686,12 @@ "resolved": "https://registry.npmjs.org/@sqltools/formatter/-/formatter-1.2.3.tgz", "integrity": "sha512-O3uyB/JbkAEMZaP3YqyHH7TMnex7tWyCbCI4EfJdOCoN6HIhqdJBWTM6aCCiWQ/5f5wxjgU735QAIpJbjDvmzg==" }, + "@teppeis/multimaps": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@teppeis/multimaps/-/multimaps-2.0.0.tgz", + "integrity": "sha512-TL1adzq1HdxUf9WYduLcQ/DNGYiz71U31QRgbnr0Ef1cPyOUOsBojxHVWpFeOSUucB6Lrs0LxFRA14ntgtkc9w==", + "dev": true + }, "@tsconfig/node10": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", @@ -13066,6 +14054,12 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.8.5.tgz", "integrity": "sha512-Bq7G3AErwe5A/Zki5fdD3O6+0zDChhg671NfPjtIcbtzDNZTv4NPKMRFr7gtYPG7y+B8uTiNK4Ngd9T0FTar6Q==" }, + "@types/normalize-package-data": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", + "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", + "dev": true + }, "@types/parse-json": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", @@ -13584,12 +14578,6 @@ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" }, - "becke-ch--regex--s0-0-v1--base--pl--lib": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/becke-ch--regex--s0-0-v1--base--pl--lib/-/becke-ch--regex--s0-0-v1--base--pl--lib-1.4.0.tgz", - "integrity": "sha512-FnWonOyaw7Vivg5nIkrUll9HSS5TjFbyuURAiDssuL6VxrBe3ERzudRxOcWRhZYlP89UArMDikz7SapRPQpmZQ==", - "dev": true - }, "binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -13818,6 +14806,17 @@ "integrity": "sha512-/30854bktMLhxtjieIxsrJBfs2gTM1pel6MXKF3K+RdIVJZcsn2A2QdhsuR4/p9+R204fZw0zCBBhktX8xWuyQ==", "dev": true }, + "capital-case": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/capital-case/-/capital-case-1.0.4.tgz", + "integrity": "sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==", + "dev": true, + "requires": { + "no-case": "^3.0.4", + "tslib": "^2.0.3", + "upper-case-first": "^2.0.2" + } + }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -13887,6 +14886,12 @@ "integrity": "sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==", "dev": true }, + "class-transformer": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/class-transformer/-/class-transformer-0.5.1.tgz", + "integrity": "sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw==", + "dev": true + }, "clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -13923,47 +14928,13 @@ } }, "cli-table3": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.5.1.tgz", - "integrity": "sha512-7Qg2Jrep1S/+Q3EceiZtQcDPWxhAvBw+ERf1162v4sikJrvojMHFqXt8QIVha8UlH9rgU0BeWPytZ9/TzYqlUw==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz", + "integrity": "sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==", "dev": true, "requires": { - "colors": "^1.1.2", - "object-assign": "^4.1.0", - "string-width": "^2.1.1" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", - "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", - "dev": true - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - } - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } + "@colors/colors": "1.5.0", + "string-width": "^4.2.0" } }, "cli-truncate": { @@ -14060,12 +15031,6 @@ "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==", "dev": true }, - "colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", - "dev": true - }, "colorspace": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", @@ -14251,12 +15216,6 @@ "to-file": "^0.2.0" } }, - "core-js-pure": { - "version": "3.23.1", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.23.1.tgz", - "integrity": "sha512-3qNgf6TqI3U1uhuSYRzJZGfFd4T+YlbyVPl+jgRiKjdZopvG4keZQwWZDAWpu1UH9nCgTpUzIV3GFawC7cJsqg==", - "dev": true - }, "core-util-is": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", @@ -14289,6 +15248,15 @@ "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==" }, + "cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.1" + } + }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -14317,81 +15285,6 @@ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", "dev": true }, - "cucumber": { - "version": "6.0.7", - "resolved": "https://registry.npmjs.org/cucumber/-/cucumber-6.0.7.tgz", - "integrity": "sha512-pN3AgWxHx8rOi+wOlqjASNETOjf3TgeyqhMNLQam7nSTXgQzju1oAmXkleRQRcXvpVvejcDHiZBLFSfBkqbYpA==", - "dev": true, - "requires": { - "assertion-error-formatter": "^3.0.0", - "bluebird": "^3.4.1", - "cli-table3": "^0.5.1", - "colors": "^1.1.2", - "commander": "^3.0.1", - "cucumber-expressions": "^8.1.0", - "cucumber-tag-expressions": "^2.0.2", - "duration": "^0.2.1", - "escape-string-regexp": "^2.0.0", - "figures": "^3.0.0", - "gherkin": "5.0.0", - "glob": "^7.1.3", - "indent-string": "^4.0.0", - "is-generator": "^1.0.2", - "is-stream": "^2.0.0", - "knuth-shuffle-seeded": "^1.0.6", - "lodash": "^4.17.14", - "mz": "^2.4.0", - "progress": "^2.0.0", - "resolve": "^1.3.3", - "serialize-error": "^4.1.0", - "stack-chain": "^2.0.0", - "stacktrace-js": "^2.0.0", - "string-argv": "^0.3.0", - "title-case": "^2.1.1", - "util-arity": "^1.0.2", - "verror": "^1.9.0" - }, - "dependencies": { - "commander": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz", - "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==", - "dev": true - }, - "escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true - } - } - }, - "cucumber-expressions": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/cucumber-expressions/-/cucumber-expressions-8.3.0.tgz", - "integrity": "sha512-cP2ya0EiorwXBC7Ll7Cj7NELYbasNv9Ty42L4u7sso9KruWemWG1ZiTq4PMqir3SNDSrbykoqI5wZgMbLEDjLQ==", - "dev": true, - "requires": { - "becke-ch--regex--s0-0-v1--base--pl--lib": "^1.4.0", - "xregexp": "^4.2.4" - } - }, - "cucumber-tag-expressions": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/cucumber-tag-expressions/-/cucumber-tag-expressions-2.0.3.tgz", - "integrity": "sha512-+x5j1IfZrBtbvYHuoUX0rl4nUGxaey6Do9sM0CABmZfDCcWXuuRm1fQeCaklIYQgOFHQ6xOHvDSdkMHHpni6tQ==", - "dev": true - }, - "d": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", - "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", - "dev": true, - "requires": { - "es5-ext": "^0.10.50", - "type": "^1.0.1" - } - }, "date-fns": { "version": "2.29.3", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.29.3.tgz", @@ -14510,16 +15403,6 @@ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz", "integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==" }, - "duration": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/duration/-/duration-0.2.2.tgz", - "integrity": "sha512-06kgtea+bGreF5eKYgI/36A6pLXggY7oR4p1pq4SmdFBn1ReOL5D8RhG64VrqfTTKNucqqtBAwEj8aB88mcqrg==", - "dev": true, - "requires": { - "d": "1", - "es5-ext": "~0.10.46" - } - }, "dynamic-dedupe": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/dynamic-dedupe/-/dynamic-dedupe-0.3.0.tgz", @@ -14529,6 +15412,12 @@ "xtend": "^4.0.0" } }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, "easy-table": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz", @@ -14554,6 +15443,11 @@ "integrity": "sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw==", "dev": true }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, "enabled": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", @@ -14609,38 +15503,6 @@ "escape-html": "~1.0.3" } }, - "es5-ext": { - "version": "0.10.61", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.61.tgz", - "integrity": "sha512-yFhIqQAzu2Ca2I4SE2Au3rxVfmohU9Y7wqGR+s7+H7krk26NXhIRAZDgqd6xqjCEFUomDEA3/Bo/7fKmIkW1kA==", - "dev": true, - "requires": { - "es6-iterator": "^2.0.3", - "es6-symbol": "^3.1.3", - "next-tick": "^1.1.0" - } - }, - "es6-iterator": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", - "dev": true, - "requires": { - "d": "1", - "es5-ext": "^0.10.35", - "es6-symbol": "^3.1.1" - } - }, - "es6-symbol": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", - "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", - "dev": true, - "requires": { - "d": "^1.0.1", - "ext": "^1.1.2" - } - }, "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -14875,23 +15737,6 @@ "validator": "^13.7.0" } }, - "ext": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz", - "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==", - "dev": true, - "requires": { - "type": "^2.5.0" - }, - "dependencies": { - "type": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/type/-/type-2.6.0.tgz", - "integrity": "sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==", - "dev": true - } - } - }, "extend-shallow": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", @@ -15048,11 +15893,39 @@ "unpipe": "~1.0.0" } }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, "fn.name": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, + "foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "dependencies": { + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true + } + } + }, "formidable": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/formidable/-/formidable-2.0.1.tgz", @@ -15150,12 +16023,6 @@ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true }, - "gherkin": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/gherkin/-/gherkin-5.0.0.tgz", - "integrity": "sha512-Y+93z2Nh+TNIKuKEf+6M0FQrX/z0Yv9C2LFfc5NlcGJWRrrTeI/jOg2374y1FOw6ZYQ3RgJBezRkli7CLDubDA==", - "dev": true - }, "glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -15177,6 +16044,23 @@ "is-glob": "^2.0.0" } }, + "global-dirs": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.1.tgz", + "integrity": "sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==", + "dev": true, + "requires": { + "ini": "2.0.0" + }, + "dependencies": { + "ini": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", + "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", + "dev": true + } + } + }, "global-modules": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-0.2.3.tgz", @@ -15216,6 +16100,23 @@ "function-bind": "^1.1.1" } }, + "has-ansi": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-4.0.1.tgz", + "integrity": "sha512-Qr4RtTm30xvEdqUXbSBVWDu+PrTokJOwe/FU+VdfJPk+MXAPoeOzKpRyrDTnZIJwAkQ4oBLTU53nu0HrkF/Z2A==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + }, + "dependencies": { + "ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", + "dev": true + } + } + }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -15258,6 +16159,12 @@ "parse-passwd": "^1.0.0" } }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, "hpagent": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/hpagent/-/hpagent-0.1.2.tgz", @@ -15362,6 +16269,12 @@ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, + "interpret": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", + "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", + "dev": true + }, "ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", @@ -15466,12 +16379,6 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" }, - "is-generator": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-generator/-/is-generator-1.0.3.tgz", - "integrity": "sha512-G56jBpbJeg7ds83HW1LuShNs8J73Fv3CPz/bmROHOHlnKkN8sWb9ujiagjmxxMUywftgq48HlBZELKKqFLk0oA==", - "dev": true - }, "is-generator-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", @@ -15486,6 +16393,16 @@ "is-extglob": "^1.0.0" } }, + "is-installed-globally": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", + "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", + "dev": true, + "requires": { + "global-dirs": "^3.0.0", + "is-path-inside": "^3.0.2" + } + }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -15498,6 +16415,12 @@ "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", "dev": true }, + "is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true + }, "is-promise": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", @@ -15658,6 +16581,16 @@ "istanbul-lib-report": "^3.0.0" } }, + "jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dev": true, + "requires": { + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" + } + }, "jest": { "version": "28.1.1", "resolved": "https://registry.npmjs.org/jest/-/jest-28.1.1.tgz", @@ -17277,9 +18210,9 @@ "dev": true }, "json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true }, "keygrip": { @@ -17435,6 +18368,15 @@ "wrap-ansi": "^7.0.0" } }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -17471,6 +18413,12 @@ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" }, + "lodash.mergewith": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", + "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==", + "dev": true + }, "lodash.set": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz", @@ -17555,6 +18503,15 @@ } } }, + "lower-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", + "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", + "dev": true, + "requires": { + "tslib": "^2.0.3" + } + }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -17564,6 +18521,12 @@ "yallist": "^4.0.0" } }, + "luxon": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.2.1.tgz", + "integrity": "sha512-QrwPArQCNLAKGO/C+ZIilgIuDnEnKx5QYODdDtbFaxzsbZcc/a7WFq7MhsVYgRlwawLtvOUESTlfJ+hc/USqPg==", + "dev": true + }, "make-dir": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", @@ -17691,6 +18654,12 @@ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" }, + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true + }, "mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -17751,11 +18720,15 @@ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" }, - "next-tick": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", - "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==", - "dev": true + "no-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", + "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", + "dev": true, + "requires": { + "lower-case": "^2.0.2", + "tslib": "^2.0.3" + } }, "node-dependency-injection": { "version": "2.7.3", @@ -17781,6 +18754,26 @@ "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", "dev": true }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + }, + "dependencies": { + "semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true + } + } + }, "normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", @@ -17886,6 +18879,24 @@ "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==" }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, "p-map": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", @@ -17982,6 +18993,24 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, + "path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "dev": true, + "requires": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "dev": true + } + } + }, "path-to-regexp": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", @@ -18079,45 +19108,6 @@ "dev": true, "requires": { "find-up": "^4.0.0" - }, - "dependencies": { - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - } } }, "please-upgrade-node": { @@ -18268,6 +19258,12 @@ "sisteransi": "^1.0.5" } }, + "property-expr": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.6.tgz", + "integrity": "sha512-SVtmxhRE/CGkn3eZY1T6pC8Nln6Fr/lu1mKSgRud0eC73whjGfoAogbn78LkD8aFL0zz3bAFerKSnOl7NlErBA==", + "dev": true + }, "proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", @@ -18343,6 +19339,37 @@ "pify": "^2.3.0" } }, + "read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "dependencies": { + "type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true + } + } + }, + "read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "requires": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + } + }, "readable-stream": { "version": "1.1.14", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", @@ -18363,15 +19390,33 @@ "picomatch": "^2.2.1" } }, + "rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==", + "dev": true, + "requires": { + "resolve": "^1.1.6" + } + }, "reflect-metadata": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" }, - "regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "regexp-match-indices": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regexp-match-indices/-/regexp-match-indices-1.0.2.tgz", + "integrity": "sha512-DwZuAkt8NF5mKwGGER1EGh2PRqyvhRhhLviH+R8y8dIuaQROlUfXjt4s9ZTXstIsSkptf06BSvwcEmmfheJJWQ==", + "dev": true, + "requires": { + "regexp-tree": "^0.1.11" + } + }, + "regexp-tree": { + "version": "0.1.27", + "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.27.tgz", + "integrity": "sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==", "dev": true }, "repeat-string": { @@ -18443,6 +19488,23 @@ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true }, + "resolve-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg/-/resolve-pkg-2.0.0.tgz", + "integrity": "sha512-+1lzwXehGCXSeryaISr6WujZzowloigEofRB+dj75y9RRa/obVcYgbHJd53tdYw8pvZj8GojXaaENws8Ktw/hQ==", + "dev": true, + "requires": { + "resolve-from": "^5.0.0" + }, + "dependencies": { + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + } + } + }, "resolve.exports": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz", @@ -18472,12 +19534,45 @@ "dev": true }, "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz", + "integrity": "sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==", "dev": true, "requires": { - "glob": "^7.1.3" + "glob": "^10.3.7" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dev": true, + "requires": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + } + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } } }, "run-parallel": { @@ -18496,14 +19591,6 @@ "dev": true, "requires": { "tslib": "^2.1.0" - }, - "dependencies": { - "tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - } } }, "safe-buffer": { @@ -18547,9 +19634,9 @@ "dev": true }, "semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -18588,23 +19675,6 @@ } } }, - "serialize-error": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-4.1.0.tgz", - "integrity": "sha512-5j9GgyGsP9vV9Uj1S0lDCvlsd+gc2LEPVK7HHHte7IyPwOD4lVQFeaX143gx3U5AnoCi+wbcb3mvaxVysjpxEw==", - "dev": true, - "requires": { - "type-fest": "^0.3.0" - }, - "dependencies": { - "type-fest": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz", - "integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==", - "dev": true - } - } - }, "serve-static": { "version": "1.15.0", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", @@ -18653,6 +19723,27 @@ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, + "shelljs": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz", + "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", + "dev": true, + "requires": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + } + }, + "shx": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/shx/-/shx-0.3.4.tgz", + "integrity": "sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g==", + "dev": true, + "requires": { + "minimist": "^1.2.3", + "shelljs": "^0.8.5" + } + }, "side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", @@ -18740,6 +19831,38 @@ "memory-pager": "^1.0.2" } }, + "spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", + "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==", + "dev": true + }, "split2": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/split2/-/split2-4.1.0.tgz", @@ -18751,21 +19874,6 @@ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "dev": true }, - "stack-chain": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/stack-chain/-/stack-chain-2.0.0.tgz", - "integrity": "sha512-GGrHXePi305aW7XQweYZZwiRwR7Js3MWoK/EHzzB9ROdc75nCnjSJVi21rdAGxFl+yCx2L2qdfl5y7NO4lTyqg==", - "dev": true - }, - "stack-generator": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/stack-generator/-/stack-generator-2.0.10.tgz", - "integrity": "sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ==", - "dev": true, - "requires": { - "stackframe": "^1.3.4" - } - }, "stack-trace": { "version": "0.0.10", "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", @@ -18794,35 +19902,6 @@ "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", "dev": true }, - "stacktrace-gps": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/stacktrace-gps/-/stacktrace-gps-3.1.2.tgz", - "integrity": "sha512-GcUgbO4Jsqqg6RxfyTHFiPxdPqF+3LFmQhm7MgCuYQOYuWyqxo5pwRPz5d/u6/WYJdEnWfK4r+jGbyD8TSggXQ==", - "dev": true, - "requires": { - "source-map": "0.5.6", - "stackframe": "^1.3.4" - }, - "dependencies": { - "source-map": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", - "integrity": "sha512-MjZkVp0NHr5+TPihLcadqnlVoGIoWo4IBHptutGh9wI3ttUYvCG26HkSuDi+K6lsZ25syXJXcctwgyVCt//xqA==", - "dev": true - } - } - }, - "stacktrace-js": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/stacktrace-js/-/stacktrace-js-2.0.2.tgz", - "integrity": "sha512-Je5vBeY4S1r/RnLydLl0TBTi3F2qdfWmYsGvtfZgEI+SCprPppaIhQf5nGcal4gI4cGpCV/duLcAzT1np6sQqg==", - "dev": true, - "requires": { - "error-stack-parser": "^2.0.6", - "stack-generator": "^2.0.5", - "stacktrace-gps": "^3.0.4" - } - }, "statuses": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", @@ -18857,13 +19936,17 @@ "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" - }, - "dependencies": { - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - } + } + }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" } }, "stringify-object": { @@ -18885,6 +19968,15 @@ "ansi-regex": "^5.0.1" } }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", @@ -19182,29 +20274,28 @@ } } }, - "title-case": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/title-case/-/title-case-2.1.1.tgz", - "integrity": "sha512-EkJoZ2O3zdCz3zJsYCsxyq2OC5hrxR9mfdd5I+w8h/tmFfeOxJ+vvkxsKxdmN0WtS9zLdHEgfgVOiMVgv+Po4Q==", + "tiny-case": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tiny-case/-/tiny-case-1.0.3.tgz", + "integrity": "sha512-Eet/eeMhkO6TX8mnUteS9zgPbUMQa4I6Kkp5ORiBD5476/m+PIRiumP5tmh5ioJpH7k51Kehawy2UDfsnxxY8Q==", + "dev": true + }, + "tmp": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", + "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", "dev": true, "requires": { - "no-case": "^2.2.0", - "upper-case": "^1.0.3" + "rimraf": "^3.0.0" }, "dependencies": { - "lower-case": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz", - "integrity": "sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA==", - "dev": true - }, - "no-case": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz", - "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==", + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "requires": { - "lower-case": "^1.1.1" + "glob": "^7.1.3" } } } @@ -19308,6 +20399,12 @@ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" }, + "toposort": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz", + "integrity": "sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg==", + "dev": true + }, "tree-kill": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", @@ -19467,23 +20564,45 @@ } } }, + "tsconfig-paths": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", + "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", + "dev": true, + "requires": { + "json5": "^2.2.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "tsconfig-paths-jest": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/tsconfig-paths-jest/-/tsconfig-paths-jest-0.0.1.tgz", + "integrity": "sha512-YKhUKqbteklNppC2NqL7dv1cWF8eEobgHVD5kjF1y9Q4ocqpBiaDlYslQ9eMhtbqIPRrA68RIEXqknEjlxdwxw==", + "dev": true + }, + "tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, "tsscmp": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz", "integrity": "sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==" }, - "type": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", - "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==", - "dev": true - }, "type-detect": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", "dev": true }, + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true + }, "type-is": { "version": "1.6.18", "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", @@ -19544,11 +20663,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, "yargs": { "version": "17.5.1", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", @@ -19585,11 +20699,14 @@ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==" }, - "upper-case": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", - "integrity": "sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA==", - "dev": true + "upper-case-first": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/upper-case-first/-/upper-case-first-2.0.2.tgz", + "integrity": "sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==", + "dev": true, + "requires": { + "tslib": "^2.0.3" + } }, "url-parse": { "version": "1.5.10", @@ -19642,6 +20759,16 @@ "convert-source-map": "^1.6.0" } }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, "validate-npm-package-name": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", @@ -19792,6 +20919,17 @@ "strip-ansi": "^6.0.0" } }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -19811,15 +20949,6 @@ "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" }, - "xregexp": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.4.1.tgz", - "integrity": "sha512-2u9HwfadaJaY9zHtRRnH6BY6CQVNQKkYm3oLtC9gJXXzfsbACg5X5e4EZZGVAH+YIfa+QA9lsFQTTe3HURF3ag==", - "dev": true, - "requires": { - "@babel/runtime-corejs3": "^7.12.1" - } - }, "xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", @@ -19865,6 +20994,26 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==" + }, + "yup": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/yup/-/yup-1.2.0.tgz", + "integrity": "sha512-PPqYKSAXjpRCgLgLKVGPA33v5c/WgEx3wi6NFjIiegz90zSwyMpvTFp/uGcVnnbx6to28pgnzp/q8ih3QRjLMQ==", + "dev": true, + "requires": { + "property-expr": "^2.0.5", + "tiny-case": "^1.0.3", + "toposort": "^2.0.2", + "type-fest": "^2.19.0" + }, + "dependencies": { + "type-fest": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", + "dev": true + } + } } } } diff --git a/package.json b/package.json index ce2099f6..e86546ef 100644 --- a/package.json +++ b/package.json @@ -11,24 +11,22 @@ "npm": ">=6.7.0" }, "scripts": { - "dev:mooc:backend": "NODE_ENV=dev ts-node-dev --ignore-watch node_modules ./src/apps/mooc/backend/start.ts", + "dev:mooc:backend": "cross-env NODE_ENV=dev ts-node-dev -r tsconfig-paths/register --ignore-watch node_modules ./src/apps/mooc/backend/start.ts", "dev:backoffice:frontend": "cd ./src/apps/backoffice/frontend && npm start", - "dev:backoffice:backend": "NODE_ENV=dev ts-node-dev --ignore-watch node_modules ./src/apps/backoffice/backend/start.ts", + "dev:backoffice:backend": "cross-env NODE_ENV=dev ts-node-dev -r tsconfig-paths/register --ignore-watch node_modules ./src/apps/backoffice/backend/start.ts", "lint": "prettier --write src/**/*.ts{,x}", "test": "npm run test:unit && npm run test:features", - "test:unit": "NODE_ENV=test jest", - "start:mooc:backend": "NODE_ENV=production node dist/src/apps/mooc/backend/start", - "start:backoffice:backend": "NODE_ENV=production node dist/src/apps/backoffice/backend/start", + "test:unit": "cross-env NODE_ENV=test jest", + "start:mooc:backend": "cross-env NODE_ENV=production node dist/src/apps/mooc/backend/start", + "start:backoffice:backend": "cross-env NODE_ENV=production node dist/src/apps/backoffice/backend/start", "test:features": "npm run test:mooc:backend:features", - "test:mooc:backend:features": "NODE_ENV=test cucumber-js -p mooc_backend", - "test:backoffice:backend:features": "NODE_ENV=test cucumber-js -p backoffice_backend", + "test:mooc:backend:features": "cross-env NODE_ENV=test cucumber-js -p mooc_backend", + "test:backoffice:backend:features": "cross-env NODE_ENV=test cucumber-js -p backoffice_backend", "build": "npm run build:clean && npm run build:tsc && npm run build:di", "build:tsc": "tsc -p tsconfig.prod.json", - "build:di": "copy 'src/**/*.{json,yaml,html,png}' dist/src", - "build:clean": "rm -r dist; exit 0", - "build:backoffice:frontend": "cd ./src/apps/backoffice/frontend && npm run build", - "command:mooc:rabbitmq": "NODE_ENV=production ts-node src/apps/mooc/backend/command/runConfigureRabbitMQCommand", - "command:backoffice:rabbitmq": "NODE_ENV=production ts-node src/apps/backoffice/backend/command/runConfigureRabbitMQCommand" + "build:di": "shx cp 'src/**/*.{json,yaml,html,png}' dist/src", + "build:clean": "rimraf dist", + "build:backoffice:frontend": "cd ./src/apps/backoffice/frontend && npm run build" }, "dependencies": { "@elastic/elasticsearch": "^7.11.0", @@ -62,38 +60,43 @@ "winston": "^3.3.3" }, "devDependencies": { + "@cucumber/cucumber": "^10.0.1", "@types/amqplib": "^0.8.2", "@types/bson": "^4.0.3", "@types/compression": "^1.7.0", - "@types/errorhandler": "1.5.0", - "@types/express": "^4.17.11", - "@types/glob": "^7.1.3", - "@types/helmet": "0.0.48", - "@types/node": "^18.8.5", "@types/connect-flash": "0.0.36", "@types/convict": "^6.1.1", "@types/cookie-parser": "^1.4.2", "@types/cookie-session": "^2.0.42", "@types/cors": "^2.8.12", "@types/cucumber": "^6.0.1", + "@types/errorhandler": "1.5.0", + "@types/express": "^4.17.11", "@types/faker": "^5.5.7", + "@types/glob": "^7.1.3", + "@types/helmet": "0.0.48", "@types/jest": "^26.0.24", "@types/mongodb": "^3.6.20", + "@types/node": "^18.8.5", "@types/supertest": "^2.0.10", "@types/uuid": "^8.3.1", "@types/uuid-validate": "0.0.1", "autoprefixer": "^10.4.7", - "cucumber": "^6.0.5", + "cross-env": "^7.0.3", "faker": "^5.5.3", "husky": "^5.1.3", "jest": "^28.1.1", "lint-staged": "10.5.4", "postcss": "^8.4.14", "prettier": "^2.2.1", + "rimraf": "^5.0.5", + "shx": "^0.3.4", "supertest": "^6.1.3", "tailwindcss": "^3.1.3", "ts-jest": "^28.0.5", - "ts-node-dev": "^2.0.0" + "ts-node-dev": "^2.0.0", + "tsconfig-paths": "^4.2.0", + "tsconfig-paths-jest": "^0.0.1" }, "husky": { "hooks": { diff --git a/src/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQuery.ts b/src/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQuery.ts index a8707ed5..87ccd9d4 100644 --- a/src/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQuery.ts +++ b/src/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQuery.ts @@ -1,3 +1,3 @@ -import { Query } from '../../../../Shared/domain/Query'; +import { Query } from '@/Contexts/Shared/domain/Query'; export class SearchAllCoursesQuery implements Query {} diff --git a/src/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQueryHandler.ts b/src/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQueryHandler.ts index 158dfa90..ecc6842e 100644 --- a/src/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQueryHandler.ts +++ b/src/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQueryHandler.ts @@ -1,5 +1,5 @@ -import { Query } from '../../../../Shared/domain/Query'; -import { QueryHandler } from '../../../../Shared/domain/QueryHandler'; +import { Query } from '@/Contexts/Shared/domain/Query'; +import { QueryHandler } from '@/Contexts/Shared/domain/QueryHandler'; import { BackofficeCoursesResponse } from '../BackofficeCoursesResponse'; import { CoursesFinder } from './CoursesFinder'; import { SearchAllCoursesQuery } from './SearchAllCoursesQuery'; diff --git a/src/Contexts/Backoffice/Courses/application/SearchByCriteria/CoursesByCriteriaSearcher.ts b/src/Contexts/Backoffice/Courses/application/SearchByCriteria/CoursesByCriteriaSearcher.ts index e31ed429..21538a2b 100644 --- a/src/Contexts/Backoffice/Courses/application/SearchByCriteria/CoursesByCriteriaSearcher.ts +++ b/src/Contexts/Backoffice/Courses/application/SearchByCriteria/CoursesByCriteriaSearcher.ts @@ -1,6 +1,6 @@ -import { Criteria } from '../../../../Shared/domain/criteria/Criteria'; -import { Filters } from '../../../../Shared/domain/criteria/Filters'; -import { Order } from '../../../../Shared/domain/criteria/Order'; +import { Criteria } from '@/Contexts/Shared/domain/criteria/Criteria'; +import { Filters } from '@/Contexts/Shared/domain/criteria/Filters'; +import { Order } from '@/Contexts/Shared/domain/criteria/Order'; import { BackofficeCourseRepository } from '../../domain/BackofficeCourseRepository'; import { BackofficeCoursesResponse } from '../BackofficeCoursesResponse'; diff --git a/src/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQuery.ts b/src/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQuery.ts index 73d02972..aed68e8a 100644 --- a/src/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQuery.ts +++ b/src/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQuery.ts @@ -1,4 +1,4 @@ -import { Query } from '../../../../Shared/domain/Query'; +import { Query } from '@/Contexts/Shared/domain/Query'; export class SearchCoursesByCriteriaQuery implements Query { readonly filters: Array>; diff --git a/src/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQueryHandler.ts b/src/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQueryHandler.ts index 244e5f48..9785cd04 100644 --- a/src/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQueryHandler.ts +++ b/src/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQueryHandler.ts @@ -1,7 +1,7 @@ -import { Filters } from '../../../../Shared/domain/criteria/Filters'; -import { Order } from '../../../../Shared/domain/criteria/Order'; -import { Query } from '../../../../Shared/domain/Query'; -import { QueryHandler } from '../../../../Shared/domain/QueryHandler'; +import { Filters } from '@/Contexts/Shared/domain/criteria/Filters'; +import { Order } from '@/Contexts/Shared/domain/criteria/Order'; +import { Query } from '@/Contexts/Shared/domain/Query'; +import { QueryHandler } from '@/Contexts/Shared/domain/QueryHandler'; import { BackofficeCoursesResponse } from '../BackofficeCoursesResponse'; import { CoursesByCriteriaSearcher } from './CoursesByCriteriaSearcher'; import { SearchCoursesByCriteriaQuery } from './SearchCoursesByCriteriaQuery'; diff --git a/src/Contexts/Backoffice/Courses/domain/BackofficeCourse.ts b/src/Contexts/Backoffice/Courses/domain/BackofficeCourse.ts index 927f1788..b32fe14f 100644 --- a/src/Contexts/Backoffice/Courses/domain/BackofficeCourse.ts +++ b/src/Contexts/Backoffice/Courses/domain/BackofficeCourse.ts @@ -1,4 +1,4 @@ -import { AggregateRoot } from '../../../Shared/domain/AggregateRoot'; +import { AggregateRoot } from '@/Contexts/Shared/domain/AggregateRoot'; import { BackofficeCourseDuration } from './BackofficeCourseDuration'; import { BackofficeCourseId } from './BackofficeCourseId'; import { BackofficeCourseName } from './BackofficeCourseName'; diff --git a/src/Contexts/Backoffice/Courses/domain/BackofficeCourseDuration.ts b/src/Contexts/Backoffice/Courses/domain/BackofficeCourseDuration.ts index 2b5c1d77..11dd913a 100644 --- a/src/Contexts/Backoffice/Courses/domain/BackofficeCourseDuration.ts +++ b/src/Contexts/Backoffice/Courses/domain/BackofficeCourseDuration.ts @@ -1,3 +1,3 @@ -import { StringValueObject } from '../../../Shared/domain/value-object/StringValueObject'; +import { StringValueObject } from '@/Contexts/Shared/domain/value-object/StringValueObject'; export class BackofficeCourseDuration extends StringValueObject {} diff --git a/src/Contexts/Backoffice/Courses/domain/BackofficeCourseId.ts b/src/Contexts/Backoffice/Courses/domain/BackofficeCourseId.ts index e24d147d..0279adce 100644 --- a/src/Contexts/Backoffice/Courses/domain/BackofficeCourseId.ts +++ b/src/Contexts/Backoffice/Courses/domain/BackofficeCourseId.ts @@ -1,3 +1,3 @@ -import { Uuid } from '../../../Shared/domain/value-object/Uuid'; +import { Uuid } from '@/Contexts/Shared/domain/value-object/Uuid'; export class BackofficeCourseId extends Uuid {} diff --git a/src/Contexts/Backoffice/Courses/domain/BackofficeCourseName.ts b/src/Contexts/Backoffice/Courses/domain/BackofficeCourseName.ts index 11d9bd91..9cef0fef 100644 --- a/src/Contexts/Backoffice/Courses/domain/BackofficeCourseName.ts +++ b/src/Contexts/Backoffice/Courses/domain/BackofficeCourseName.ts @@ -1,3 +1,3 @@ -import { StringValueObject } from '../../../Shared/domain/value-object/StringValueObject'; +import { StringValueObject } from '@/Contexts/Shared/domain/value-object/StringValueObject'; export class BackofficeCourseName extends StringValueObject {} diff --git a/src/Contexts/Backoffice/Courses/domain/BackofficeCourseRepository.ts b/src/Contexts/Backoffice/Courses/domain/BackofficeCourseRepository.ts index 8894d1c6..d3c7958e 100644 --- a/src/Contexts/Backoffice/Courses/domain/BackofficeCourseRepository.ts +++ b/src/Contexts/Backoffice/Courses/domain/BackofficeCourseRepository.ts @@ -1,4 +1,4 @@ -import { Criteria } from '../../../Shared/domain/criteria/Criteria'; +import { Criteria } from '@/Contexts/Shared/domain/criteria/Criteria'; import { BackofficeCourse } from './BackofficeCourse'; export interface BackofficeCourseRepository { diff --git a/src/Contexts/Backoffice/Courses/infrastructure/RabbitMQ/RabbitMQConfigFactory.ts b/src/Contexts/Backoffice/Courses/infrastructure/RabbitMQ/RabbitMQConfigFactory.ts index f92da285..c05b04c3 100644 --- a/src/Contexts/Backoffice/Courses/infrastructure/RabbitMQ/RabbitMQConfigFactory.ts +++ b/src/Contexts/Backoffice/Courses/infrastructure/RabbitMQ/RabbitMQConfigFactory.ts @@ -1,5 +1,5 @@ -import { ConnectionSettings } from '../../../../Shared/infrastructure/EventBus/RabbitMQ/ConnectionSettings'; -import { ExchangeSetting } from '../../../../Shared/infrastructure/EventBus/RabbitMQ/ExchangeSetting'; +import { ExchangeSetting } from "@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/ExchangeSetting"; +import { ConnectionSettings } from "@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/ConnectionSettings"; import config from '../config'; export type RabbitMQConfig = { diff --git a/src/Contexts/Backoffice/Courses/infrastructure/RabbitMQ/RabbitMQEventBusFactory.ts b/src/Contexts/Backoffice/Courses/infrastructure/RabbitMQ/RabbitMQEventBusFactory.ts index 16b5afea..0f67acd4 100644 --- a/src/Contexts/Backoffice/Courses/infrastructure/RabbitMQ/RabbitMQEventBusFactory.ts +++ b/src/Contexts/Backoffice/Courses/infrastructure/RabbitMQ/RabbitMQEventBusFactory.ts @@ -1,8 +1,8 @@ -import { DomainEventFailoverPublisher } from '../../../../Shared/infrastructure/EventBus/DomainEventFailoverPublisher/DomainEventFailoverPublisher'; -import { RabbitMqConnection } from '../../../../Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; -import { RabbitMQEventBus } from '../../../../Shared/infrastructure/EventBus/RabbitMQ/RabbitMQEventBus'; -import { RabbitMQqueueFormatter } from '../../../../Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter'; +import { DomainEventFailoverPublisher } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventFailoverPublisher/DomainEventFailoverPublisher'; import { RabbitMQConfig } from './RabbitMQConfigFactory'; +import { RabbitMqConnection } from "@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection"; +import { RabbitMQEventBus } from "@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQEventBus"; +import { RabbitMQqueueFormatter } from "@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter"; export class RabbitMQEventBusFactory { static create( diff --git a/src/Contexts/Backoffice/Courses/infrastructure/persistence/BackofficeElasticConfigFactory.ts b/src/Contexts/Backoffice/Courses/infrastructure/persistence/BackofficeElasticConfigFactory.ts index 6383b88c..effd9849 100644 --- a/src/Contexts/Backoffice/Courses/infrastructure/persistence/BackofficeElasticConfigFactory.ts +++ b/src/Contexts/Backoffice/Courses/infrastructure/persistence/BackofficeElasticConfigFactory.ts @@ -1,4 +1,4 @@ -import ElasticConfig from '../../../../Shared/infrastructure/persistence/elasticsearch/ElasticConfig'; +import ElasticConfig from '@/Contexts/Shared/infrastructure/persistence/elasticsearch/ElasticConfig'; import config from '../config'; export class BackofficeElasticConfigFactory { diff --git a/src/Contexts/Backoffice/Courses/infrastructure/persistence/ElasticBackofficeCourseRepository.ts b/src/Contexts/Backoffice/Courses/infrastructure/persistence/ElasticBackofficeCourseRepository.ts index c1481fb3..c17743af 100644 --- a/src/Contexts/Backoffice/Courses/infrastructure/persistence/ElasticBackofficeCourseRepository.ts +++ b/src/Contexts/Backoffice/Courses/infrastructure/persistence/ElasticBackofficeCourseRepository.ts @@ -1,5 +1,5 @@ -import { Criteria } from '../../../../Shared/domain/criteria/Criteria'; -import { ElasticRepository } from '../../../../Shared/infrastructure/persistence/elasticsearch/ElasticRepository'; +import { Criteria } from '@/Contexts/Shared/domain/criteria/Criteria'; +import { ElasticRepository } from '@/Contexts/Shared/infrastructure/persistence/elasticsearch/ElasticRepository'; import { BackofficeCourse } from '../../domain/BackofficeCourse'; import { BackofficeCourseRepository } from '../../domain/BackofficeCourseRepository'; diff --git a/src/Contexts/Backoffice/Courses/infrastructure/persistence/MongoBackofficeCourseRepository.ts b/src/Contexts/Backoffice/Courses/infrastructure/persistence/MongoBackofficeCourseRepository.ts index 3c2680fc..1c4f73e4 100644 --- a/src/Contexts/Backoffice/Courses/infrastructure/persistence/MongoBackofficeCourseRepository.ts +++ b/src/Contexts/Backoffice/Courses/infrastructure/persistence/MongoBackofficeCourseRepository.ts @@ -1,5 +1,5 @@ -import { Criteria } from '../../../../Shared/domain/criteria/Criteria'; -import { MongoRepository } from '../../../../Shared/infrastructure/persistence/mongo/MongoRepository'; +import { Criteria } from '@/Contexts/Shared/domain/criteria/Criteria'; +import { MongoRepository } from '@/Contexts/Shared/infrastructure/persistence/mongo/MongoRepository'; import { BackofficeCourse } from '../../domain/BackofficeCourse'; import { BackofficeCourseRepository } from '../../domain/BackofficeCourseRepository'; diff --git a/src/Contexts/Backoffice/Courses/infrastructure/persistence/MongoCriteriaConverter.ts b/src/Contexts/Backoffice/Courses/infrastructure/persistence/MongoCriteriaConverter.ts index 51d29438..ffaedbb5 100644 --- a/src/Contexts/Backoffice/Courses/infrastructure/persistence/MongoCriteriaConverter.ts +++ b/src/Contexts/Backoffice/Courses/infrastructure/persistence/MongoCriteriaConverter.ts @@ -1,8 +1,8 @@ -import { Criteria } from '../../../../Shared/domain/criteria/Criteria'; -import { Filter } from '../../../../Shared/domain/criteria/Filter'; -import { Operator } from '../../../../Shared/domain/criteria/FilterOperator'; -import { Filters } from '../../../../Shared/domain/criteria/Filters'; -import { Order } from '../../../../Shared/domain/criteria/Order'; +import { Criteria } from '@/Contexts/Shared/domain/criteria/Criteria'; +import { Filter } from '@/Contexts/Shared/domain/criteria/Filter'; +import { Operator } from '@/Contexts/Shared/domain/criteria/FilterOperator'; +import { Filters } from '@/Contexts/Shared/domain/criteria/Filters'; +import { Order } from '@/Contexts/Shared/domain/criteria/Order'; type MongoFilterOperator = '$eq' | '$ne' | '$gt' | '$lt' | '$regex'; type MongoFilterValue = boolean | string | number; diff --git a/src/Contexts/Mooc/Courses/application/CourseCreator.ts b/src/Contexts/Mooc/Courses/application/CourseCreator.ts index e5bf5a7e..921f8e7f 100644 --- a/src/Contexts/Mooc/Courses/application/CourseCreator.ts +++ b/src/Contexts/Mooc/Courses/application/CourseCreator.ts @@ -1,4 +1,4 @@ -import { EventBus } from '../../../Shared/domain/EventBus'; +import { EventBus } from '@/Contexts/Shared/domain/EventBus'; import { CourseId } from '../../Shared/domain/Courses/CourseId'; import { Course } from '../domain/Course'; import { CourseDuration } from '../domain/CourseDuration'; diff --git a/src/Contexts/Mooc/Courses/application/Create/CourseCreator.ts b/src/Contexts/Mooc/Courses/application/Create/CourseCreator.ts index 9f3845cf..3736483c 100644 --- a/src/Contexts/Mooc/Courses/application/Create/CourseCreator.ts +++ b/src/Contexts/Mooc/Courses/application/Create/CourseCreator.ts @@ -1,4 +1,4 @@ -import { EventBus } from '../../../../Shared/domain/EventBus'; +import { EventBus } from '@/Contexts/Shared/domain/EventBus'; import { CourseId } from '../../../Shared/domain/Courses/CourseId'; import { Course } from '../../domain/Course'; import { CourseDuration } from '../../domain/CourseDuration'; diff --git a/src/Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler.ts b/src/Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler.ts index 886d7abf..7481cc5e 100644 --- a/src/Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler.ts +++ b/src/Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler.ts @@ -1,6 +1,6 @@ -import { CommandHandler } from '../../../../Shared/domain/CommandHandler'; +import { CommandHandler } from '@/Contexts/Shared/domain/CommandHandler'; import { CourseCreator } from './CourseCreator'; -import { Command } from '../../../../Shared/domain/Command'; +import { Command } from '@/Contexts/Shared/domain/Command'; import { CourseId } from '../../../Shared/domain/Courses/CourseId'; import { CourseName } from '../../domain/CourseName'; import { CourseDuration } from '../../domain/CourseDuration'; diff --git a/src/Contexts/Mooc/Courses/application/CreateCourseCommandHandler.ts b/src/Contexts/Mooc/Courses/application/CreateCourseCommandHandler.ts index 9d6658ac..8fa9701a 100644 --- a/src/Contexts/Mooc/Courses/application/CreateCourseCommandHandler.ts +++ b/src/Contexts/Mooc/Courses/application/CreateCourseCommandHandler.ts @@ -1,6 +1,6 @@ -import { CommandHandler } from '../../../Shared/domain/CommandHandler'; +import { CommandHandler } from '@/Contexts/Shared/domain/CommandHandler'; import { CourseCreator } from './CourseCreator'; -import { Command } from '../../../Shared/domain/Command'; +import { Command } from '@/Contexts/Shared/domain/Command'; import { CourseId } from '../../Shared/domain/Courses/CourseId'; import { CourseName } from '../domain/CourseName'; import { CourseDuration } from '../domain/CourseDuration'; diff --git a/src/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQuery.ts b/src/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQuery.ts index a8707ed5..87ccd9d4 100644 --- a/src/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQuery.ts +++ b/src/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQuery.ts @@ -1,3 +1,3 @@ -import { Query } from '../../../../Shared/domain/Query'; +import { Query } from '@/Contexts/Shared/domain/Query'; export class SearchAllCoursesQuery implements Query {} diff --git a/src/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQueryHandler.ts b/src/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQueryHandler.ts index c21f5b5e..2ffd2ec0 100644 --- a/src/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQueryHandler.ts +++ b/src/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQueryHandler.ts @@ -1,5 +1,5 @@ -import { Query } from '../../../../Shared/domain/Query'; -import { QueryHandler } from '../../../../Shared/domain/QueryHandler'; +import { Query } from '@/Contexts/Shared/domain/Query'; +import { QueryHandler } from '@/Contexts/Shared/domain/QueryHandler'; import { CoursesResponse } from './CoursesResponse'; import { CoursesFinder } from './CoursesFinder'; import { SearchAllCoursesQuery } from './SearchAllCoursesQuery'; diff --git a/src/Contexts/Mooc/Courses/domain/Course.ts b/src/Contexts/Mooc/Courses/domain/Course.ts index 7a3b55b2..f9dcc37c 100644 --- a/src/Contexts/Mooc/Courses/domain/Course.ts +++ b/src/Contexts/Mooc/Courses/domain/Course.ts @@ -1,4 +1,4 @@ -import { AggregateRoot } from '../../../Shared/domain/AggregateRoot'; +import { AggregateRoot } from '@/Contexts/Shared/domain/AggregateRoot'; import { CourseId } from '../../Shared/domain/Courses/CourseId'; import { CourseCreatedDomainEvent } from './CourseCreatedDomainEvent'; import { CourseDuration } from './CourseDuration'; diff --git a/src/Contexts/Mooc/Courses/domain/CourseCreatedDomainEvent.ts b/src/Contexts/Mooc/Courses/domain/CourseCreatedDomainEvent.ts index e8a54774..c8d3bbec 100644 --- a/src/Contexts/Mooc/Courses/domain/CourseCreatedDomainEvent.ts +++ b/src/Contexts/Mooc/Courses/domain/CourseCreatedDomainEvent.ts @@ -1,4 +1,4 @@ -import { DomainEvent } from '../../../Shared/domain/DomainEvent'; +import { DomainEvent } from '@/Contexts/Shared/domain/DomainEvent'; type CreateCourseDomainEventAttributes = { readonly duration: string; diff --git a/src/Contexts/Mooc/Courses/domain/CourseDuration.ts b/src/Contexts/Mooc/Courses/domain/CourseDuration.ts index e9cdec1b..728b8dae 100644 --- a/src/Contexts/Mooc/Courses/domain/CourseDuration.ts +++ b/src/Contexts/Mooc/Courses/domain/CourseDuration.ts @@ -1,3 +1,3 @@ -import { StringValueObject } from '../../../Shared/domain/value-object/StringValueObject'; +import { StringValueObject } from '@/Contexts/Shared/domain/value-object/StringValueObject'; export class CourseDuration extends StringValueObject {} diff --git a/src/Contexts/Mooc/Courses/domain/CourseName.ts b/src/Contexts/Mooc/Courses/domain/CourseName.ts index 986a80a3..2265ec8c 100644 --- a/src/Contexts/Mooc/Courses/domain/CourseName.ts +++ b/src/Contexts/Mooc/Courses/domain/CourseName.ts @@ -1,4 +1,4 @@ -import { StringValueObject } from '../../../Shared/domain/value-object/StringValueObject'; +import { StringValueObject } from '@/Contexts/Shared/domain/value-object/StringValueObject'; import { CourseNameLengthExceeded } from './CourseNameLengthExceeded'; export class CourseName extends StringValueObject { diff --git a/src/Contexts/Mooc/Courses/domain/CourseNameLengthExceeded.ts b/src/Contexts/Mooc/Courses/domain/CourseNameLengthExceeded.ts index 2590b43c..71af2e68 100644 --- a/src/Contexts/Mooc/Courses/domain/CourseNameLengthExceeded.ts +++ b/src/Contexts/Mooc/Courses/domain/CourseNameLengthExceeded.ts @@ -1,3 +1,3 @@ -import { InvalidArgumentError } from '../../../Shared/domain/value-object/InvalidArgumentError'; +import { InvalidArgumentError } from '@/Contexts/Shared/domain/value-object/InvalidArgumentError'; export class CourseNameLengthExceeded extends InvalidArgumentError {} diff --git a/src/Contexts/Mooc/Courses/domain/CreateCourseCommand.ts b/src/Contexts/Mooc/Courses/domain/CreateCourseCommand.ts index 44125a0c..005e1319 100644 --- a/src/Contexts/Mooc/Courses/domain/CreateCourseCommand.ts +++ b/src/Contexts/Mooc/Courses/domain/CreateCourseCommand.ts @@ -1,4 +1,4 @@ -import { Command } from '../../../Shared/domain/Command'; +import { Command } from '@/Contexts/Shared/domain/Command'; type Params = { id: string; diff --git a/src/Contexts/Mooc/Courses/infrastructure/persistence/MongoCourseRepository.ts b/src/Contexts/Mooc/Courses/infrastructure/persistence/MongoCourseRepository.ts index 78d26f65..627fd7d7 100644 --- a/src/Contexts/Mooc/Courses/infrastructure/persistence/MongoCourseRepository.ts +++ b/src/Contexts/Mooc/Courses/infrastructure/persistence/MongoCourseRepository.ts @@ -1,5 +1,5 @@ -import { Nullable } from '../../../../Shared/domain/Nullable'; -import { MongoRepository } from '../../../../Shared/infrastructure/persistence/mongo/MongoRepository'; +import { Nullable } from '@/Contexts/Shared/domain/Nullable'; +import { MongoRepository } from '@/Contexts/Shared/infrastructure/persistence/mongo/MongoRepository'; import { CourseId } from '../../../Shared/domain/Courses/CourseId'; import { Course } from '../../domain/Course'; import { CourseRepository } from '../../domain/CourseRepository'; diff --git a/src/Contexts/Mooc/Courses/infrastructure/persistence/TypeOrmCourseRepository.ts b/src/Contexts/Mooc/Courses/infrastructure/persistence/TypeOrmCourseRepository.ts index 35e35271..4083e915 100644 --- a/src/Contexts/Mooc/Courses/infrastructure/persistence/TypeOrmCourseRepository.ts +++ b/src/Contexts/Mooc/Courses/infrastructure/persistence/TypeOrmCourseRepository.ts @@ -1,6 +1,6 @@ import { EntitySchema } from 'typeorm'; -import { Nullable } from '../../../../Shared/domain/Nullable'; -import { TypeOrmRepository } from '../../../../Shared/infrastructure/persistence/typeorm/TypeOrmRepository'; +import { Nullable } from '@/Contexts/Shared/domain/Nullable'; +import { TypeOrmRepository } from '@/Contexts/Shared/infrastructure/persistence/typeorm/TypeOrmRepository'; import { CourseId } from '../../../Shared/domain/Courses/CourseId'; import { Course } from '../../domain/Course'; import { CourseRepository } from '../../domain/CourseRepository'; diff --git a/src/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQuery.ts b/src/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQuery.ts index bdbf0873..f407b719 100644 --- a/src/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQuery.ts +++ b/src/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQuery.ts @@ -1,3 +1,3 @@ -import { Query } from '../../../../Shared/domain/Query'; +import { Query } from '@/Contexts/Shared/domain/Query'; export class FindCoursesCounterQuery implements Query {} diff --git a/src/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQueryHandler.ts b/src/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQueryHandler.ts index 1882c716..c062d582 100644 --- a/src/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQueryHandler.ts +++ b/src/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQueryHandler.ts @@ -1,7 +1,7 @@ -import { QueryHandler } from '../../../../Shared/domain/QueryHandler'; +import { QueryHandler } from '@/Contexts/Shared/domain/QueryHandler'; import { FindCoursesCounterQuery } from './FindCoursesCounterQuery'; import { FindCoursesCounterResponse } from './FindCoursesCounterResponse'; -import { Query } from '../../../../Shared/domain/Query'; +import { Query } from '@/Contexts/Shared/domain/Query'; import { CoursesCounterFinder } from './CoursesCounterFinder'; export class FindCoursesCounterQueryHandler diff --git a/src/Contexts/Mooc/CoursesCounter/application/Increment/CoursesCounterIncrementer.ts b/src/Contexts/Mooc/CoursesCounter/application/Increment/CoursesCounterIncrementer.ts index 8b4ce66e..f770c508 100644 --- a/src/Contexts/Mooc/CoursesCounter/application/Increment/CoursesCounterIncrementer.ts +++ b/src/Contexts/Mooc/CoursesCounter/application/Increment/CoursesCounterIncrementer.ts @@ -1,4 +1,4 @@ -import { EventBus } from '../../../../Shared/domain/EventBus'; +import { EventBus } from '@/Contexts/Shared/domain/EventBus'; import { CourseId } from '../../../Shared/domain/Courses/CourseId'; import { CoursesCounterRepository } from '../../domain/CoursesCounterRepository'; import { CoursesCounter } from '../../domain/CoursesCounter'; diff --git a/src/Contexts/Mooc/CoursesCounter/application/Increment/IncrementCoursesCounterOnCourseCreated.ts b/src/Contexts/Mooc/CoursesCounter/application/Increment/IncrementCoursesCounterOnCourseCreated.ts index eb4271bc..50a2d0c8 100644 --- a/src/Contexts/Mooc/CoursesCounter/application/Increment/IncrementCoursesCounterOnCourseCreated.ts +++ b/src/Contexts/Mooc/CoursesCounter/application/Increment/IncrementCoursesCounterOnCourseCreated.ts @@ -1,5 +1,5 @@ -import { DomainEventClass } from '../../../../Shared/domain/DomainEvent'; -import { DomainEventSubscriber } from '../../../../Shared/domain/DomainEventSubscriber'; +import { DomainEventClass } from '@/Contexts/Shared/domain/DomainEvent'; +import { DomainEventSubscriber } from '@/Contexts/Shared/domain/DomainEventSubscriber'; import { CourseCreatedDomainEvent } from '../../../Courses/domain/CourseCreatedDomainEvent'; import { CourseId } from '../../../Shared/domain/Courses/CourseId'; import { CoursesCounterIncrementer } from './CoursesCounterIncrementer'; diff --git a/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounter.ts b/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounter.ts index 1817b669..3c5e83cc 100644 --- a/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounter.ts +++ b/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounter.ts @@ -1,9 +1,9 @@ -import { AggregateRoot } from '../../../Shared/domain/AggregateRoot'; +import { AggregateRoot } from '@/Contexts/Shared/domain/AggregateRoot'; import { CourseId } from '../../Shared/domain/Courses/CourseId'; import { CoursesCounterTotal } from './CoursesCounterTotal'; import { CoursesCounterId } from './CoursesCounterId'; import { CoursesCounterIncrementedDomainEvent } from './CoursesCounterIncrementedDomainEvent'; -import { Uuid } from '../../../Shared/domain/value-object/Uuid'; +import { Uuid } from '@/Contexts/Shared/domain/value-object/Uuid'; export class CoursesCounter extends AggregateRoot { readonly id: CoursesCounterId; diff --git a/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterId.ts b/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterId.ts index fe687a48..a17035c3 100644 --- a/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterId.ts +++ b/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterId.ts @@ -1,3 +1,3 @@ -import { Uuid } from '../../../Shared/domain/value-object/Uuid'; +import { Uuid } from '@/Contexts/Shared/domain/value-object/Uuid'; export class CoursesCounterId extends Uuid {} diff --git a/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterIncrementedDomainEvent.ts b/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterIncrementedDomainEvent.ts index fd0eeaae..057fbe51 100644 --- a/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterIncrementedDomainEvent.ts +++ b/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterIncrementedDomainEvent.ts @@ -1,4 +1,4 @@ -import { DomainEvent } from '../../../Shared/domain/DomainEvent'; +import { DomainEvent } from '@/Contexts/Shared/domain/DomainEvent'; type CoursesCounterIncrementedAttributes = { total: number }; diff --git a/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterRepository.ts b/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterRepository.ts index 441e8032..31d339ef 100644 --- a/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterRepository.ts +++ b/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterRepository.ts @@ -1,5 +1,5 @@ import { CoursesCounter } from './CoursesCounter'; -import { Nullable } from '../../../Shared/domain/Nullable'; +import { Nullable } from '@/Contexts/Shared/domain/Nullable'; export interface CoursesCounterRepository { search(): Promise>; diff --git a/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterTotal.ts b/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterTotal.ts index 942d96aa..c5d29045 100644 --- a/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterTotal.ts +++ b/src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterTotal.ts @@ -1,4 +1,4 @@ -import { NumberValueObject } from '../../../Shared/domain/value-object/IntValueObject'; +import { NumberValueObject } from '@/Contexts/Shared/domain/value-object/IntValueObject'; export class CoursesCounterTotal extends NumberValueObject { increment(): CoursesCounterTotal { diff --git a/src/Contexts/Mooc/CoursesCounter/infrastructure/persistence/mongo/MongoCoursesCounterRepository.ts b/src/Contexts/Mooc/CoursesCounter/infrastructure/persistence/mongo/MongoCoursesCounterRepository.ts index 6265f9a4..618b7044 100644 --- a/src/Contexts/Mooc/CoursesCounter/infrastructure/persistence/mongo/MongoCoursesCounterRepository.ts +++ b/src/Contexts/Mooc/CoursesCounter/infrastructure/persistence/mongo/MongoCoursesCounterRepository.ts @@ -1,5 +1,5 @@ -import { MongoRepository } from '../../../../../Shared/infrastructure/persistence/mongo/MongoRepository'; -import { Nullable } from '../../../../../Shared/domain/Nullable'; +import { MongoRepository } from '@/Contexts/Shared/infrastructure/persistence/mongo/MongoRepository'; +import { Nullable } from '@/Contexts/Shared/domain/Nullable'; import { CoursesCounter } from '../../../domain/CoursesCounter'; import { CoursesCounterRepository } from '../../../domain/CoursesCounterRepository'; diff --git a/src/Contexts/Mooc/Shared/domain/Courses/CourseId.ts b/src/Contexts/Mooc/Shared/domain/Courses/CourseId.ts index 2a5eb559..15cba04f 100644 --- a/src/Contexts/Mooc/Shared/domain/Courses/CourseId.ts +++ b/src/Contexts/Mooc/Shared/domain/Courses/CourseId.ts @@ -1,3 +1,3 @@ -import { Uuid } from '../../../../Shared/domain/value-object/Uuid'; +import { Uuid } from '@/Contexts/Shared/domain/value-object/Uuid'; export class CourseId extends Uuid {} diff --git a/src/Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQConfigFactory.ts b/src/Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQConfigFactory.ts index b8d056f0..c866965f 100644 --- a/src/Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQConfigFactory.ts +++ b/src/Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQConfigFactory.ts @@ -1,5 +1,5 @@ -import { ConnectionSettings } from '../../../../Shared/infrastructure/EventBus/RabbitMQ/ConnectionSettings'; -import { ExchangeSetting } from '../../../../Shared/infrastructure/EventBus/RabbitMQ/ExchangeSetting'; +import { ConnectionSettings } from '@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/ConnectionSettings'; +import { ExchangeSetting } from '@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/ExchangeSetting'; import config from '../config'; export type RabbitMQConfig = { diff --git a/src/Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQEventBusFactory.ts b/src/Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQEventBusFactory.ts index 16b5afea..982c0874 100644 --- a/src/Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQEventBusFactory.ts +++ b/src/Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQEventBusFactory.ts @@ -1,7 +1,7 @@ -import { DomainEventFailoverPublisher } from '../../../../Shared/infrastructure/EventBus/DomainEventFailoverPublisher/DomainEventFailoverPublisher'; -import { RabbitMqConnection } from '../../../../Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; -import { RabbitMQEventBus } from '../../../../Shared/infrastructure/EventBus/RabbitMQ/RabbitMQEventBus'; -import { RabbitMQqueueFormatter } from '../../../../Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter'; +import { DomainEventFailoverPublisher } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventFailoverPublisher/DomainEventFailoverPublisher'; +import { RabbitMqConnection } from '@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; +import { RabbitMQEventBus } from '@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQEventBus'; +import { RabbitMQqueueFormatter } from '@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter'; import { RabbitMQConfig } from './RabbitMQConfigFactory'; export class RabbitMQEventBusFactory { diff --git a/src/Contexts/Mooc/Shared/infrastructure/persistence/mongo/MongoConfigFactory.ts b/src/Contexts/Mooc/Shared/infrastructure/persistence/mongo/MongoConfigFactory.ts index 9babf7ea..50469358 100644 --- a/src/Contexts/Mooc/Shared/infrastructure/persistence/mongo/MongoConfigFactory.ts +++ b/src/Contexts/Mooc/Shared/infrastructure/persistence/mongo/MongoConfigFactory.ts @@ -1,5 +1,5 @@ import config from '../../config'; -import MongoConfig from '../../../../../Shared/infrastructure/persistence/mongo/MongoConfig'; +import MongoConfig from '@/Contexts/Shared/infrastructure/persistence/mongo/MongoConfig'; export class MongoConfigFactory { static createConfig(): MongoConfig { diff --git a/src/Contexts/Mooc/Shared/infrastructure/persistence/postgre/TypeOrmConfigFactory.ts b/src/Contexts/Mooc/Shared/infrastructure/persistence/postgre/TypeOrmConfigFactory.ts index 7d7a9fdd..9d67ba14 100644 --- a/src/Contexts/Mooc/Shared/infrastructure/persistence/postgre/TypeOrmConfigFactory.ts +++ b/src/Contexts/Mooc/Shared/infrastructure/persistence/postgre/TypeOrmConfigFactory.ts @@ -1,4 +1,4 @@ -import { TypeOrmConfig } from '../../../../../Shared/infrastructure/persistence/typeorm/TypeOrmConfig'; +import { TypeOrmConfig } from '@/Contexts/Shared/infrastructure/persistence/typeorm/TypeOrmConfig'; import config from '../../config'; export class TypeOrmConfigFactory { diff --git a/src/apps/backoffice/backend/BackofficeBackendApp.ts b/src/apps/backoffice/backend/BackofficeBackendApp.ts index bdd7eb37..abedfcfd 100644 --- a/src/apps/backoffice/backend/BackofficeBackendApp.ts +++ b/src/apps/backoffice/backend/BackofficeBackendApp.ts @@ -1,8 +1,8 @@ -import { EventBus } from '../../../Contexts/Shared/domain/EventBus'; +import { EventBus } from '@/Contexts/Shared/domain/EventBus'; import container from './dependency-injection'; -import { DomainEventSubscribers } from '../../../Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; +import { DomainEventSubscribers } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; import { Server } from './server'; -import { RabbitMqConnection } from '../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; +import { RabbitMqConnection } from '@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; export class BackofficeBackendApp { server?: Server; diff --git a/src/apps/backoffice/backend/command/ConfigureRabbitMQCommand.ts b/src/apps/backoffice/backend/command/ConfigureRabbitMQCommand.ts index 66ba0797..41ca7024 100644 --- a/src/apps/backoffice/backend/command/ConfigureRabbitMQCommand.ts +++ b/src/apps/backoffice/backend/command/ConfigureRabbitMQCommand.ts @@ -1,8 +1,8 @@ -import { RabbitMQConfig } from '../../../../Contexts/Backoffice/Courses/infrastructure/RabbitMQ/RabbitMQConfigFactory'; -import { DomainEventSubscribers } from '../../../../Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; -import { RabbitMQConfigurer } from '../../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQConfigurer'; -import { RabbitMqConnection } from '../../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; -import { RabbitMQqueueFormatter } from '../../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter'; +import { RabbitMQConfig } from '@/Contexts/Backoffice/Courses/infrastructure/RabbitMQ/RabbitMQConfigFactory'; +import { DomainEventSubscribers } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; +import { RabbitMQConfigurer } from "@/Contexts/Shared/infrastructure/EventBus/RabbitMq/RabbitMQConfigurer"; +import { RabbitMqConnection } from '@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; +import { RabbitMQqueueFormatter } from '@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter'; import container from '../dependency-injection'; export class ConfigureRabbitMQCommand { diff --git a/src/apps/backoffice/backend/controllers/CoursesGetController.ts b/src/apps/backoffice/backend/controllers/CoursesGetController.ts index cdf14821..233d9c27 100644 --- a/src/apps/backoffice/backend/controllers/CoursesGetController.ts +++ b/src/apps/backoffice/backend/controllers/CoursesGetController.ts @@ -1,8 +1,8 @@ import { Request, Response } from 'express'; import httpStatus from 'http-status'; -import { BackofficeCoursesResponse } from '../../../../Contexts/Backoffice/Courses/application/BackofficeCoursesResponse'; -import { SearchCoursesByCriteriaQuery } from '../../../../Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQuery'; -import { QueryBus } from '../../../../Contexts/Shared/domain/QueryBus'; +import { BackofficeCoursesResponse } from '@/Contexts/Backoffice/Courses/application/BackofficeCoursesResponse'; +import { SearchCoursesByCriteriaQuery } from '@/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQuery'; +import { QueryBus } from '@/Contexts/Shared/domain/QueryBus'; import { Controller } from './Controller'; type FilterType = { value: string; operator: string; field: string }; diff --git a/src/apps/backoffice/backend/controllers/CoursesPostController.ts b/src/apps/backoffice/backend/controllers/CoursesPostController.ts index 48dded95..93c32891 100644 --- a/src/apps/backoffice/backend/controllers/CoursesPostController.ts +++ b/src/apps/backoffice/backend/controllers/CoursesPostController.ts @@ -1,7 +1,7 @@ import { Request, Response } from 'express'; import httpStatus from 'http-status'; -import { CreateCourseCommand } from '../../../../Contexts/Mooc/Courses/domain/CreateCourseCommand'; -import { CommandBus } from '../../../../Contexts/Shared/domain/CommandBus'; +import { CreateCourseCommand } from '@/Contexts/Mooc/Courses/domain/CreateCourseCommand'; +import { CommandBus } from '@/Contexts/Shared/domain/CommandBus'; import { Controller } from './Controller'; type CreateCourseRequest = { diff --git a/src/apps/backoffice/backend/dependency-injection/Courses/application.yaml b/src/apps/backoffice/backend/dependency-injection/Courses/application.yaml index 0670f39e..62b0f146 100644 --- a/src/apps/backoffice/backend/dependency-injection/Courses/application.yaml +++ b/src/apps/backoffice/backend/dependency-injection/Courses/application.yaml @@ -1,48 +1,48 @@ services: Mooc.Courses.domain.CourseRepository: - class: ../../../../../Contexts/Mooc/Courses/infrastructure/persistence/MongoCourseRepository + class: Contexts/Mooc/Courses/infrastructure/persistence/MongoCourseRepository arguments: ['@Backoffice.Shared.ConnectionManager'] Mooc.Courses.application.CourseCreator: - class: ../../../../../Contexts/Mooc/Courses/application/Create/CourseCreator + class: Contexts/Mooc/Courses/application/Create/CourseCreator arguments: ['@Mooc.Courses.domain.CourseRepository', '@Backoffice.Shared.domain.EventBus'] Mooc.courses.CreateCourseCommandHandler: - class: ../../../../../Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler + class: Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler arguments: ['@Mooc.Courses.application.CourseCreator'] tags: - { name: 'commandHandler' } Backoffice.Courses.application.CoursesFinder: - class: ../../../../../Contexts/Backoffice/Courses/application/SearchAll/CoursesFinder + class: Contexts/Backoffice/Courses/application/SearchAll/CoursesFinder arguments: ['@Backoffice.Courses.domain.BackofficeCourseRepository'] Backoffice.courses.SearchAllCoursesQueryHandler: - class: ../../../../../Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQueryHandler + class: Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQueryHandler arguments: ['@Backoffice.Courses.application.CoursesFinder'] tags: - { name: 'queryHandler' } Backoffice.Courses.domain.BackofficeCourseRepository: - class: ../../../../../Contexts/Backoffice/Courses/infrastructure/persistence/ElasticBackofficeCourseRepository + class: Contexts/Backoffice/Courses/infrastructure/persistence/ElasticBackofficeCourseRepository arguments: ['@Backoffice.Shared.ElasticConnectionManager', '@Backoffice.Shared.ElasticConfig'] Backoffice.Courses.application.BackofficeCourseCreator: - class: ../../../../../Contexts/Backoffice/Courses/application/Create/BackofficeCourseCreator + class: Contexts/Backoffice/Courses/application/Create/BackofficeCourseCreator arguments: ['@Backoffice.Courses.domain.BackofficeCourseRepository'] Backoffice.courses.CreateBackofficeCourseOnCourseCreated: - class: ../../../../../Contexts/Backoffice/Courses/application/Create/CreateBackofficeCourseOnCourseCreated + class: Contexts/Backoffice/Courses/application/Create/CreateBackofficeCourseOnCourseCreated arguments: ['@Backoffice.Courses.application.BackofficeCourseCreator'] tags: - { name: 'domainEventSubscriber' } Backoffice.courses.application.CoursesByCriteriaSearcher: - class: ../../../../../Contexts/Backoffice/Courses/application/SearchByCriteria/CoursesByCriteriaSearcher + class: Contexts/Backoffice/Courses/application/SearchByCriteria/CoursesByCriteriaSearcher arguments: ['@Backoffice.Courses.domain.BackofficeCourseRepository'] Backoffice.courses.SearchCoursesByCriteriaQueryHandler: - class: ../../../../../Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQueryHandler + class: Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQueryHandler arguments: ['@Backoffice.courses.application.CoursesByCriteriaSearcher'] tags: - { name: 'queryHandler' } \ No newline at end of file diff --git a/src/apps/backoffice/backend/dependency-injection/Shared/application.yaml b/src/apps/backoffice/backend/dependency-injection/Shared/application.yaml index eb08d01a..93c30c7f 100644 --- a/src/apps/backoffice/backend/dependency-injection/Shared/application.yaml +++ b/src/apps/backoffice/backend/dependency-injection/Shared/application.yaml @@ -1,35 +1,35 @@ services: Shared.Logger: - class: ../../../../../Contexts/Shared/infrastructure/WinstonLogger + class: Contexts/Shared/infrastructure/WinstonLogger arguments: [] Backoffice.Shared.MongoConfig: factory: - class: ../../../../../Contexts/Mooc/Shared/infrastructure/persistence/mongo/MongoConfigFactory + class: Contexts/Mooc/Shared/infrastructure/persistence/mongo/MongoConfigFactory method: 'createConfig' Backoffice.Shared.ConnectionManager: factory: - class: ../../../../../Contexts/Shared/infrastructure/persistence/mongo/MongoClientFactory + class: Contexts/Shared/infrastructure/persistence/mongo/MongoClientFactory method: 'createClient' arguments: ['backoffice', '@Backoffice.Shared.MongoConfig'] Backoffice.Shared.CommandHandlers: - class: ../../../../../Contexts/Shared/infrastructure/CommandBus/CommandHandlers + class: Contexts/Shared/infrastructure/CommandBus/CommandHandlers arguments: ['!tagged commandHandler'] Backoffice.Shared.domain.CommandBus: - class: ../../../../../Contexts/Shared/infrastructure/CommandBus/InMemoryCommandBus + class: Contexts/Shared/infrastructure/CommandBus/InMemoryCommandBus arguments: ['@Backoffice.Shared.CommandHandlers'] Backoffice.Shared.RabbitMQConfig: factory: - class: ../../../../../Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQConfigFactory + class: Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQConfigFactory method: 'createConfig' Backoffice.Shared.domain.EventBus: factory: - class: ../../../../../Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQEventBusFactory + class: Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQEventBusFactory method: 'create' arguments: [ @@ -40,36 +40,36 @@ services: ] Backoffice.Shared.RabbitMQQueueFormatter: - class: ../../../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter + class: Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter arguments: ['backoffice'] Backoffice.Shared.RabbitMQConnection: - class: ../../../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection + class: Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection arguments: ['@Backoffice.Shared.RabbitMQConfig'] Backoffice.Shared.RabbitMQqueueFormatter: - class: ../../../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter + class: Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter arguments: ['backoffice'] Backoffice.Shared.DomainEventFailoverPublisher: - class: ../../../../../Contexts/Shared/infrastructure/EventBus/DomainEventFailoverPublisher/DomainEventFailoverPublisher + class: Contexts/Shared/infrastructure/EventBus/DomainEventFailoverPublisher/DomainEventFailoverPublisher arguments: ['@Backoffice.Shared.ConnectionManager'] Backoffice.Shared.QueryHandlers: - class: ../../../../../Contexts/Shared/infrastructure/QueryBus/QueryHandlers + class: Contexts/Shared/infrastructure/QueryBus/QueryHandlers arguments: ['!tagged queryHandler'] Backoffice.Shared.domain.QueryBus: - class: ../../../../../Contexts/Shared/infrastructure/QueryBus/InMemoryQueryBus + class: Contexts/Shared/infrastructure/QueryBus/InMemoryQueryBus arguments: ['@Backoffice.Shared.QueryHandlers'] Backoffice.Shared.ElasticConfig: factory: - class: ../../../../../Contexts/Backoffice/Courses/infrastructure/persistence/BackofficeElasticConfigFactory + class: Contexts/Backoffice/Courses/infrastructure/persistence/BackofficeElasticConfigFactory method: 'createConfig' Backoffice.Shared.ElasticConnectionManager: factory: - class: ../../../../../Contexts/Shared/infrastructure/persistence/elasticsearch/ElasticClientFactory + class: Contexts/Shared/infrastructure/persistence/elasticsearch/ElasticClientFactory method: 'createClient' arguments: ['backoffice', '@Backoffice.Shared.ElasticConfig'] diff --git a/src/apps/backoffice/backend/dependency-injection/apps/application.yaml b/src/apps/backoffice/backend/dependency-injection/apps/application.yaml index 74a6cef5..3a03c5b2 100644 --- a/src/apps/backoffice/backend/dependency-injection/apps/application.yaml +++ b/src/apps/backoffice/backend/dependency-injection/apps/application.yaml @@ -1,12 +1,12 @@ services: Apps.Backoffice.Backend.controllers.StatusGetController: - class: ../../controllers/StatusGetController + class: apps/backoffice/backend/controllers/StatusGetController arguments: ['@Backoffice.Shared.domain.QueryBus'] Apps.Backoffice.Backend.controllers.CoursesPostController: - class: ../../controllers/CoursesPostController + class: apps/backoffice/backend/controllers/CoursesPostController arguments: ['@Backoffice.Shared.domain.CommandBus'] Apps.Backoffice.Backend.controllers.CoursesGetController: - class: ../../controllers/CoursesGetController + class: apps/backoffice/backend/controllers/CoursesGetController arguments: ['@Backoffice.Shared.domain.QueryBus'] \ No newline at end of file diff --git a/src/apps/backoffice/backend/dependency-injection/index.ts b/src/apps/backoffice/backend/dependency-injection/index.ts index 27d2a354..0f461f24 100644 --- a/src/apps/backoffice/backend/dependency-injection/index.ts +++ b/src/apps/backoffice/backend/dependency-injection/index.ts @@ -1,6 +1,6 @@ import { ContainerBuilder, YamlFileLoader } from 'node-dependency-injection'; -const container = new ContainerBuilder(); +const container = new ContainerBuilder(false,`${__dirname}/../../../../`); const loader = new YamlFileLoader(container); const env = process.env.NODE_ENV || 'dev'; diff --git a/src/apps/backoffice/backend/server.ts b/src/apps/backoffice/backend/server.ts index c93f8883..7abf8299 100644 --- a/src/apps/backoffice/backend/server.ts +++ b/src/apps/backoffice/backend/server.ts @@ -6,7 +6,7 @@ import Router from 'express-promise-router'; import helmet from 'helmet'; import * as http from 'http'; import httpStatus from 'http-status'; -import Logger from '../../../Contexts/Shared/domain/Logger'; +import Logger from '@/Contexts/Shared/domain/Logger'; import container from './dependency-injection'; import { registerRoutes } from './routes'; import cors from 'cors'; diff --git a/src/apps/mooc/backend/MoocBackendApp.ts b/src/apps/mooc/backend/MoocBackendApp.ts index 2eb79141..1461519c 100644 --- a/src/apps/mooc/backend/MoocBackendApp.ts +++ b/src/apps/mooc/backend/MoocBackendApp.ts @@ -1,8 +1,8 @@ -import { EventBus } from '../../../Contexts/Shared/domain/EventBus'; +import { EventBus } from '@/Contexts/Shared/domain/EventBus'; import container from './dependency-injection'; -import { DomainEventSubscribers } from '../../../Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; +import { DomainEventSubscribers } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; import { Server } from './server'; -import { RabbitMqConnection } from '../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; +import { RabbitMqConnection } from '@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; export class MoocBackendApp { server?: Server; diff --git a/src/apps/mooc/backend/command/ConfigureRabbitMQCommand.ts b/src/apps/mooc/backend/command/ConfigureRabbitMQCommand.ts index 4fbbab10..eb962bbb 100644 --- a/src/apps/mooc/backend/command/ConfigureRabbitMQCommand.ts +++ b/src/apps/mooc/backend/command/ConfigureRabbitMQCommand.ts @@ -1,8 +1,8 @@ -import { RabbitMQConfig } from '../../../../Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQConfigFactory'; -import { DomainEventSubscribers } from '../../../../Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; -import { RabbitMQConfigurer } from '../../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQConfigurer'; -import { RabbitMqConnection } from '../../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; +import { RabbitMQConfig } from '@/Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQConfigFactory'; +import { DomainEventSubscribers } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; +import { RabbitMqConnection } from '@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; import container from '../dependency-injection'; +import { RabbitMQConfigurer } from "@/Contexts/Shared/infrastructure/EventBus/RabbitMq/RabbitMQConfigurer"; export class ConfigureRabbitMQCommand { static async run() { diff --git a/src/apps/mooc/backend/controllers/CoursePutController.ts b/src/apps/mooc/backend/controllers/CoursePutController.ts index 88d1eb92..8c4eb39e 100644 --- a/src/apps/mooc/backend/controllers/CoursePutController.ts +++ b/src/apps/mooc/backend/controllers/CoursePutController.ts @@ -1,7 +1,7 @@ import { Request, Response } from 'express'; import httpStatus from 'http-status'; -import { CreateCourseCommand } from '../../../../Contexts/Mooc/Courses/domain/CreateCourseCommand'; -import { CommandBus } from '../../../../Contexts/Shared/domain/CommandBus'; +import { CreateCourseCommand } from '@/Contexts/Mooc/Courses/domain/CreateCourseCommand'; +import { CommandBus } from '@/Contexts/Shared/domain/CommandBus'; import { Controller } from './Controller'; type CoursePutRequest = Request & { diff --git a/src/apps/mooc/backend/controllers/CoursesCounterGetController.ts b/src/apps/mooc/backend/controllers/CoursesCounterGetController.ts index 4ef18a5e..0c6189bd 100644 --- a/src/apps/mooc/backend/controllers/CoursesCounterGetController.ts +++ b/src/apps/mooc/backend/controllers/CoursesCounterGetController.ts @@ -1,9 +1,9 @@ import { Request, Response } from 'express'; import httpStatus from 'http-status'; -import { FindCoursesCounterQuery } from '../../../../Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQuery'; -import { FindCoursesCounterResponse } from '../../../../Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterResponse'; -import { CoursesCounterNotExist } from '../../../../Contexts/Mooc/CoursesCounter/domain/CoursesCounterNotExist'; -import { QueryBus } from '../../../../Contexts/Shared/domain/QueryBus'; +import { FindCoursesCounterQuery } from '@/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQuery'; +import { FindCoursesCounterResponse } from '@/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterResponse'; +import { CoursesCounterNotExist } from '@/Contexts/Mooc/CoursesCounter/domain/CoursesCounterNotExist'; +import { QueryBus } from '@/Contexts/Shared/domain/QueryBus'; import { Controller } from './Controller'; export class CoursesCounterGetController implements Controller { diff --git a/src/apps/mooc/backend/dependency-injection/Courses/application.yaml b/src/apps/mooc/backend/dependency-injection/Courses/application.yaml index 5e69a105..08779e0c 100644 --- a/src/apps/mooc/backend/dependency-injection/Courses/application.yaml +++ b/src/apps/mooc/backend/dependency-injection/Courses/application.yaml @@ -1,14 +1,14 @@ services: Mooc.Courses.domain.CourseRepository: - class: ../../../../../Contexts/Mooc/Courses/infrastructure/persistence/MongoCourseRepository + class: Contexts/Mooc/Courses/infrastructure/persistence/MongoCourseRepository arguments: ['@Mooc.Shared.ConnectionManager'] Mooc.Courses.application.CourseCreator: - class: ../../../../../Contexts/Mooc/Courses/application/CourseCreator + class: Contexts/Mooc/Courses/application/CourseCreator arguments: ['@Mooc.Courses.domain.CourseRepository', '@Mooc.Shared.domain.EventBus'] Mooc.courses.CreateCourseCommandHandler: - class: ../../../../../Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler + class: Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler arguments: ['@Mooc.Courses.application.CourseCreator'] tags: - { name: 'commandHandler' } diff --git a/src/apps/mooc/backend/dependency-injection/CoursesCounter/application.yaml b/src/apps/mooc/backend/dependency-injection/CoursesCounter/application.yaml index 88dbab75..f851275d 100644 --- a/src/apps/mooc/backend/dependency-injection/CoursesCounter/application.yaml +++ b/src/apps/mooc/backend/dependency-injection/CoursesCounter/application.yaml @@ -1,24 +1,24 @@ services: Mooc.CoursesCounter.CoursesCounterRepository: - class: ../../../../../Contexts/Mooc/CoursesCounter/infrastructure/persistence/mongo/MongoCoursesCounterRepository + class: Contexts/Mooc/CoursesCounter/infrastructure/persistence/mongo/MongoCoursesCounterRepository arguments: ['@Mooc.Shared.ConnectionManager'] Mooc.CoursesCounter.CoursesCounterIncrementer: - class: ../../../../../Contexts/Mooc/CoursesCounter/application/Increment/CoursesCounterIncrementer + class: Contexts/Mooc/CoursesCounter/application/Increment/CoursesCounterIncrementer arguments: ['@Mooc.CoursesCounter.CoursesCounterRepository', '@Mooc.Shared.domain.EventBus'] Mooc.CoursesCounter.IncrementCoursesCounterOnCourseCreated: - class: ../../../../../Contexts/Mooc/CoursesCounter/application/Increment/IncrementCoursesCounterOnCourseCreated + class: Contexts/Mooc/CoursesCounter/application/Increment/IncrementCoursesCounterOnCourseCreated arguments: ['@Mooc.CoursesCounter.CoursesCounterIncrementer'] tags: - { name: 'domainEventSubscriber' } Mooc.CoursesCounter.CoursesCounterFinder: - class: ../../../../../Contexts/Mooc/CoursesCounter/application/Find/CoursesCounterFinder + class: Contexts/Mooc/CoursesCounter/application/Find/CoursesCounterFinder arguments: ['@Mooc.CoursesCounter.CoursesCounterRepository'] Mooc.CoursesCounter.FindCoursesCounterQueryHandler: - class: ../../../../../Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQueryHandler + class: Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQueryHandler arguments: ['@Mooc.CoursesCounter.CoursesCounterFinder'] tags: - { name: 'queryHandler' } diff --git a/src/apps/mooc/backend/dependency-injection/Shared/application.yaml b/src/apps/mooc/backend/dependency-injection/Shared/application.yaml index f11b6642..a5ee6565 100644 --- a/src/apps/mooc/backend/dependency-injection/Shared/application.yaml +++ b/src/apps/mooc/backend/dependency-injection/Shared/application.yaml @@ -1,17 +1,17 @@ services: Mooc.Shared.MongoConfig: factory: - class: ../../../../../Contexts/Mooc/Shared/infrastructure/persistence/mongo/MongoConfigFactory + class: Contexts/Mooc/Shared/infrastructure/persistence/mongo/MongoConfigFactory method: 'createConfig' Mooc.Shared.RabbitMQConfig: factory: - class: ../../../../../Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQConfigFactory + class: Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQConfigFactory method: 'createConfig' Mooc.Shared.domain.EventBus: factory: - class: ../../../../../Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQEventBusFactory + class: Contexts/Mooc/Shared/infrastructure/RabbitMQ/RabbitMQEventBusFactory method: 'create' arguments: [ @@ -23,42 +23,42 @@ services: Mooc.Shared.ConnectionManager: factory: - class: ../../../../../Contexts/Shared/infrastructure/persistence/mongo/MongoClientFactory + class: Contexts/Shared/infrastructure/persistence/mongo/MongoClientFactory method: 'createClient' arguments: ['mooc', '@Mooc.Shared.MongoConfig'] Mooc.Shared.RabbitMQQueueFormatter: - class: ../../../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter + class: Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter arguments: ['mooc'] Mooc.Shared.RabbitMQConnection: - class: ../../../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection + class: Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection arguments: ['@Mooc.Shared.RabbitMQConfig'] Mooc.Shared.RabbitMQqueueFormatter: - class: ../../../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter + class: Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQqueueFormatter arguments: ['mooc'] Mooc.Shared.RabbitMQConfigurer: - class: ../../../../../Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQConfigurer + class: Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMQConfigurer arguments: ["@Mooc.Shared.RabbitMQConnection", "@Mooc.Shared.RabbitMQQueueFormatter"] Mooc.Shared.DomainEventFailoverPublisher: - class: ../../../../../Contexts/Shared/infrastructure/EventBus/DomainEventFailoverPublisher/DomainEventFailoverPublisher + class: Contexts/Shared/infrastructure/EventBus/DomainEventFailoverPublisher/DomainEventFailoverPublisher arguments: ['@Mooc.Shared.ConnectionManager'] Mooc.Shared.CommandHandlers: - class: ../../../../../Contexts/Shared/infrastructure/CommandBus/CommandHandlers + class: Contexts/Shared/infrastructure/CommandBus/CommandHandlers arguments: ['!tagged commandHandler'] Mooc.Shared.domain.CommandBus: - class: ../../../../../Contexts/Shared/infrastructure/CommandBus/InMemoryCommandBus + class: Contexts/Shared/infrastructure/CommandBus/InMemoryCommandBus arguments: ['@Mooc.Shared.CommandHandlers'] Mooc.Shared.QueryHandlers: - class: ../../../../../Contexts/Shared/infrastructure/QueryBus/QueryHandlers + class: Contexts/Shared/infrastructure/QueryBus/QueryHandlers arguments: ['!tagged queryHandler'] Mooc.Shared.domain.QueryBus: - class: ../../../../../Contexts/Shared/infrastructure/QueryBus/InMemoryQueryBus + class: Contexts/Shared/infrastructure/QueryBus/InMemoryQueryBus arguments: ['@Mooc.Shared.QueryHandlers'] diff --git a/src/apps/mooc/backend/dependency-injection/apps/application.yaml b/src/apps/mooc/backend/dependency-injection/apps/application.yaml index b243a05e..ebd90350 100644 --- a/src/apps/mooc/backend/dependency-injection/apps/application.yaml +++ b/src/apps/mooc/backend/dependency-injection/apps/application.yaml @@ -1,12 +1,12 @@ services: Apps.mooc.controllers.StatusGetController: - class: ../../controllers/StatusGetController + class: apps/mooc/backend/controllers/StatusGetController arguments: [] Apps.mooc.controllers.CoursePutController: - class: ../../controllers/CoursePutController + class: apps/mooc/backend/controllers/CoursePutController arguments: ['@Mooc.Shared.domain.CommandBus'] Apps.mooc.controllers.CoursesCounterGetController: - class: ../../controllers/CoursesCounterGetController + class: apps/mooc/backend/controllers/CoursesCounterGetController arguments: ['@Mooc.Shared.domain.QueryBus'] diff --git a/src/apps/mooc/backend/dependency-injection/index.ts b/src/apps/mooc/backend/dependency-injection/index.ts index 27d2a354..0f461f24 100644 --- a/src/apps/mooc/backend/dependency-injection/index.ts +++ b/src/apps/mooc/backend/dependency-injection/index.ts @@ -1,6 +1,6 @@ import { ContainerBuilder, YamlFileLoader } from 'node-dependency-injection'; -const container = new ContainerBuilder(); +const container = new ContainerBuilder(false,`${__dirname}/../../../../`); const loader = new YamlFileLoader(container); const env = process.env.NODE_ENV || 'dev'; diff --git a/tests/Contexts/Backoffice/Courses/__mocks__/BackofficeCourseRepositoryMock.ts b/tests/Contexts/Backoffice/Courses/__mocks__/BackofficeCourseRepositoryMock.ts index 26800f7b..40727f9a 100644 --- a/tests/Contexts/Backoffice/Courses/__mocks__/BackofficeCourseRepositoryMock.ts +++ b/tests/Contexts/Backoffice/Courses/__mocks__/BackofficeCourseRepositoryMock.ts @@ -1,6 +1,6 @@ -import { BackofficeCourse } from "../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourse"; -import { BackofficeCourseRepository } from "../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourseRepository"; -import { Criteria } from "../../../../../src/Contexts/Shared/domain/criteria/Criteria"; +import { BackofficeCourse } from "@/Contexts/Backoffice/Courses/domain/BackofficeCourse"; +import { BackofficeCourseRepository } from "@/Contexts/Backoffice/Courses/domain/BackofficeCourseRepository"; +import { Criteria } from "@/Contexts/Shared/domain/criteria/Criteria"; export class BackofficeCourseRepositoryMock implements BackofficeCourseRepository { private mockSearchAll = jest.fn(); diff --git a/tests/Contexts/Backoffice/Courses/application/Create/BackofficeCourseCreator.test.ts b/tests/Contexts/Backoffice/Courses/application/Create/BackofficeCourseCreator.test.ts index 5473f701..4592c37e 100644 --- a/tests/Contexts/Backoffice/Courses/application/Create/BackofficeCourseCreator.test.ts +++ b/tests/Contexts/Backoffice/Courses/application/Create/BackofficeCourseCreator.test.ts @@ -1,4 +1,4 @@ -import { BackofficeCourseCreator } from '../../../../../../src/Contexts/Backoffice/Courses/application/Create/BackofficeCourseCreator'; +import { BackofficeCourseCreator } from '@/Contexts/Backoffice/Courses/application/Create/BackofficeCourseCreator'; import { BackofficeCourseMother } from '../../domain/BackofficeCourseMother'; import { BackofficeCourseRepositoryMock } from '../../__mocks__/BackofficeCourseRepositoryMock'; diff --git a/tests/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQueryHandler.test.ts b/tests/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQueryHandler.test.ts index bcde2acf..9463bd92 100644 --- a/tests/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQueryHandler.test.ts +++ b/tests/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQueryHandler.test.ts @@ -1,6 +1,6 @@ -import { CoursesFinder } from '../../../../../../src/Contexts/Backoffice/Courses/application/SearchAll/CoursesFinder'; -import { SearchAllCoursesQuery } from '../../../../../../src/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQuery'; -import { SearchAllCoursesQueryHandler } from '../../../../../../src/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQueryHandler'; +import { CoursesFinder } from '@/Contexts/Backoffice/Courses/application/SearchAll/CoursesFinder'; +import { SearchAllCoursesQuery } from '@/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQuery'; +import { SearchAllCoursesQueryHandler } from '@/Contexts/Backoffice/Courses/application/SearchAll/SearchAllCoursesQueryHandler'; import { BackofficeCourseMother } from '../../domain/BackofficeCourseMother'; import { SearchAllCoursesResponseMother } from '../../domain/SearchAllCoursesResponseMother'; import { BackofficeCourseRepositoryMock } from '../../__mocks__/BackofficeCourseRepositoryMock'; diff --git a/tests/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQueryHandler.test.ts b/tests/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQueryHandler.test.ts index a1dfa0fe..13d97ae5 100644 --- a/tests/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQueryHandler.test.ts +++ b/tests/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQueryHandler.test.ts @@ -1,7 +1,7 @@ -import { CoursesByCriteriaSearcher } from '../../../../../../src/Contexts/Backoffice/Courses/application/SearchByCriteria/CoursesByCriteriaSearcher'; -import { SearchCoursesByCriteriaQuery } from '../../../../../../src/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQuery'; -import { SearchCoursesByCriteriaQueryHandler } from '../../../../../../src/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQueryHandler'; -import { OrderTypes } from '../../../../../../src/Contexts/Shared/domain/criteria/OrderType'; +import { CoursesByCriteriaSearcher } from '@/Contexts/Backoffice/Courses/application/SearchByCriteria/CoursesByCriteriaSearcher'; +import { SearchCoursesByCriteriaQuery } from '@/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQuery'; +import { SearchCoursesByCriteriaQueryHandler } from '@/Contexts/Backoffice/Courses/application/SearchByCriteria/SearchCoursesByCriteriaQueryHandler'; +import { OrderTypes } from '@/Contexts/Shared/domain/criteria/OrderType'; import { BackofficeCourseMother } from '../../domain/BackofficeCourseMother'; import { SearchCoursesByCriteriaResponseMother } from '../../domain/SearchCoursesByCriteriaResponseMother'; import { BackofficeCourseRepositoryMock } from '../../__mocks__/BackofficeCourseRepositoryMock'; diff --git a/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseCriteriaMother.ts b/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseCriteriaMother.ts index 2a6dc20a..e0a369b7 100644 --- a/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseCriteriaMother.ts +++ b/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseCriteriaMother.ts @@ -1,10 +1,10 @@ -import { Criteria } from '../../../../../src/Contexts/Shared/domain/criteria/Criteria'; -import { Filter } from '../../../../../src/Contexts/Shared/domain/criteria/Filter'; -import { FilterField } from '../../../../../src/Contexts/Shared/domain/criteria/FilterField'; -import { FilterOperator, Operator } from '../../../../../src/Contexts/Shared/domain/criteria/FilterOperator'; -import { Filters } from '../../../../../src/Contexts/Shared/domain/criteria/Filters'; -import { FilterValue } from '../../../../../src/Contexts/Shared/domain/criteria/FilterValue'; -import { Order } from '../../../../../src/Contexts/Shared/domain/criteria/Order'; +import { Criteria } from '@/Contexts/Shared/domain/criteria/Criteria'; +import { Filter } from '@/Contexts/Shared/domain/criteria/Filter'; +import { FilterField } from '@/Contexts/Shared/domain/criteria/FilterField'; +import { FilterOperator, Operator } from '@/Contexts/Shared/domain/criteria/FilterOperator'; +import { Filters } from '@/Contexts/Shared/domain/criteria/Filters'; +import { FilterValue } from '@/Contexts/Shared/domain/criteria/FilterValue'; +import { Order } from '@/Contexts/Shared/domain/criteria/Order'; export class BackofficeCourseCriteriaMother { static whithoutFilter(): Criteria { diff --git a/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseDurationMother.ts b/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseDurationMother.ts index 12216952..37c73703 100644 --- a/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseDurationMother.ts +++ b/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseDurationMother.ts @@ -1,4 +1,4 @@ -import { BackofficeCourseDuration } from '../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourseDuration'; +import { BackofficeCourseDuration } from '@/Contexts/Backoffice/Courses/domain/BackofficeCourseDuration'; import { WordMother } from '../../../Shared/domain/WordMother'; export class BackofficeCourseDurationMother { diff --git a/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseIdMother.ts b/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseIdMother.ts index 253b46f9..d768587b 100644 --- a/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseIdMother.ts +++ b/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseIdMother.ts @@ -1,4 +1,4 @@ -import { BackofficeCourseId } from '../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourseId'; +import { BackofficeCourseId } from '@/Contexts/Backoffice/Courses/domain/BackofficeCourseId'; import { UuidMother } from '../../../Shared/domain/UuidMother'; export class BackofficeCourseIdMother { diff --git a/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseMother.ts b/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseMother.ts index 87406f3c..20931678 100644 --- a/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseMother.ts +++ b/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseMother.ts @@ -1,7 +1,7 @@ -import { BackofficeCourse } from '../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourse'; -import { BackofficeCourseDuration } from '../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourseDuration'; -import { BackofficeCourseId } from '../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourseId'; -import { BackofficeCourseName } from '../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourseName'; +import { BackofficeCourse } from '@/Contexts/Backoffice/Courses/domain/BackofficeCourse'; +import { BackofficeCourseDuration } from '@/Contexts/Backoffice/Courses/domain/BackofficeCourseDuration'; +import { BackofficeCourseId } from '@/Contexts/Backoffice/Courses/domain/BackofficeCourseId'; +import { BackofficeCourseName } from '@/Contexts/Backoffice/Courses/domain/BackofficeCourseName'; import { BackofficeCourseDurationMother } from './BackofficeCourseDurationMother'; import { BackofficeCourseIdMother } from './BackofficeCourseIdMother'; import { BackofficeCourseNameMother } from './BackofficeCourseNameMother'; diff --git a/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseNameMother.ts b/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseNameMother.ts index 618a33c6..98c1586f 100644 --- a/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseNameMother.ts +++ b/tests/Contexts/Backoffice/Courses/domain/BackofficeCourseNameMother.ts @@ -1,4 +1,4 @@ -import { BackofficeCourseName } from '../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourseName'; +import { BackofficeCourseName } from '@/Contexts/Backoffice/Courses/domain/BackofficeCourseName'; import { WordMother } from '../../../Shared/domain/WordMother'; export class BackofficeCourseNameMother { diff --git a/tests/Contexts/Backoffice/Courses/domain/SearchAllCoursesResponseMother.ts b/tests/Contexts/Backoffice/Courses/domain/SearchAllCoursesResponseMother.ts index 387f45a0..764bbd19 100644 --- a/tests/Contexts/Backoffice/Courses/domain/SearchAllCoursesResponseMother.ts +++ b/tests/Contexts/Backoffice/Courses/domain/SearchAllCoursesResponseMother.ts @@ -1,5 +1,5 @@ -import { BackofficeCoursesResponse } from "../../../../../src/Contexts/Backoffice/Courses/application/BackofficeCoursesResponse"; -import { BackofficeCourse } from "../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourse"; +import { BackofficeCoursesResponse } from "@/Contexts/Backoffice/Courses/application/BackofficeCoursesResponse"; +import { BackofficeCourse } from "@/Contexts/Backoffice/Courses/domain/BackofficeCourse"; export class SearchAllCoursesResponseMother { static create(courses: Array) { diff --git a/tests/Contexts/Backoffice/Courses/domain/SearchCoursesByCriteriaResponseMother.ts b/tests/Contexts/Backoffice/Courses/domain/SearchCoursesByCriteriaResponseMother.ts index f40df79b..4b396bd9 100644 --- a/tests/Contexts/Backoffice/Courses/domain/SearchCoursesByCriteriaResponseMother.ts +++ b/tests/Contexts/Backoffice/Courses/domain/SearchCoursesByCriteriaResponseMother.ts @@ -1,5 +1,5 @@ -import { BackofficeCoursesResponse } from '../../../../../src/Contexts/Backoffice/Courses/application/BackofficeCoursesResponse'; -import { BackofficeCourse } from '../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourse'; +import { BackofficeCoursesResponse } from '@/Contexts/Backoffice/Courses/application/BackofficeCoursesResponse'; +import { BackofficeCourse } from '@/Contexts/Backoffice/Courses/domain/BackofficeCourse'; export class SearchCoursesByCriteriaResponseMother { static create(courses: Array) { diff --git a/tests/Contexts/Backoffice/Courses/infrastructure/BackofficeCourseRepository.test.ts b/tests/Contexts/Backoffice/Courses/infrastructure/BackofficeCourseRepository.test.ts index 265cde28..9396ba63 100644 --- a/tests/Contexts/Backoffice/Courses/infrastructure/BackofficeCourseRepository.test.ts +++ b/tests/Contexts/Backoffice/Courses/infrastructure/BackofficeCourseRepository.test.ts @@ -1,6 +1,6 @@ -import container from '../../../../../src/apps/backoffice/backend/dependency-injection'; -import { BackofficeCourse } from '../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourse'; -import { BackofficeCourseRepository } from '../../../../../src/Contexts/Backoffice/Courses/domain/BackofficeCourseRepository'; +import container from '@/apps/backoffice/backend/dependency-injection'; +import { BackofficeCourse } from '@/Contexts/Backoffice/Courses/domain/BackofficeCourse'; +import { BackofficeCourseRepository } from '@/Contexts/Backoffice/Courses/domain/BackofficeCourseRepository'; import { EnvironmentArranger } from '../../../Shared/infrastructure/arranger/EnvironmentArranger'; import { BackofficeCourseCriteriaMother } from '../domain/BackofficeCourseCriteriaMother'; import { BackofficeCourseMother } from '../domain/BackofficeCourseMother'; diff --git a/tests/Contexts/Mooc/Courses/__mocks__/CourseRepositoryMock.ts b/tests/Contexts/Mooc/Courses/__mocks__/CourseRepositoryMock.ts index ccff8f55..bb6b9aa9 100644 --- a/tests/Contexts/Mooc/Courses/__mocks__/CourseRepositoryMock.ts +++ b/tests/Contexts/Mooc/Courses/__mocks__/CourseRepositoryMock.ts @@ -1,5 +1,5 @@ -import { Course } from '../../../../../src/Contexts/Mooc/Courses/domain/Course'; -import { CourseRepository } from '../../../../../src/Contexts/Mooc/Courses/domain/CourseRepository'; +import { Course } from '@/Contexts/Mooc/Courses/domain/Course'; +import { CourseRepository } from '@/Contexts/Mooc/Courses/domain/CourseRepository'; export class CourseRepositoryMock implements CourseRepository { private saveMock: jest.Mock; diff --git a/tests/Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler.test.ts b/tests/Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler.test.ts index 9d5abb77..749d7331 100644 --- a/tests/Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler.test.ts +++ b/tests/Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler.test.ts @@ -1,10 +1,10 @@ -import { CourseCreator } from '../../../../../../src/Contexts/Mooc/Courses/application/Create/CourseCreator'; +import { CourseCreator } from '@/Contexts/Mooc/Courses/application/Create/CourseCreator'; import { CourseMother } from '../../domain/CourseMother'; -import { CourseNameLengthExceeded } from '../../../../../../src/Contexts/Mooc/Courses/domain/CourseNameLengthExceeded'; +import { CourseNameLengthExceeded } from '@/Contexts/Mooc/Courses/domain/CourseNameLengthExceeded'; import { CourseRepositoryMock } from '../../__mocks__/CourseRepositoryMock'; import EventBusMock from '../../../Shared/domain/EventBusMock'; import { CourseCreatedDomainEventMother } from '../../domain/CourseCreatedDomainEventMother'; -import { CreateCourseCommandHandler } from '../../../../../../src/Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler'; +import { CreateCourseCommandHandler } from '@/Contexts/Mooc/Courses/application/Create/CreateCourseCommandHandler'; import { CreateCourseCommandMother } from './CreateCourseCommandMother'; let repository: CourseRepositoryMock; diff --git a/tests/Contexts/Mooc/Courses/application/Create/CreateCourseCommandMother.ts b/tests/Contexts/Mooc/Courses/application/Create/CreateCourseCommandMother.ts index 9e2d2f6c..2196bee9 100644 --- a/tests/Contexts/Mooc/Courses/application/Create/CreateCourseCommandMother.ts +++ b/tests/Contexts/Mooc/Courses/application/Create/CreateCourseCommandMother.ts @@ -1,7 +1,7 @@ -import { CourseDuration } from "../../../../../../src/Contexts/Mooc/Courses/domain/CourseDuration"; -import { CourseName } from "../../../../../../src/Contexts/Mooc/Courses/domain/CourseName"; -import { CreateCourseCommand } from "../../../../../../src/Contexts/Mooc/Courses/domain/CreateCourseCommand"; -import { CourseId } from "../../../../../../src/Contexts/Mooc/Shared/domain/Courses/CourseId"; +import { CourseDuration } from "@/Contexts/Mooc/Courses/domain/CourseDuration"; +import { CourseName } from "@/Contexts/Mooc/Courses/domain/CourseName"; +import { CreateCourseCommand } from "@/Contexts/Mooc/Courses/domain/CreateCourseCommand"; +import { CourseId } from "@/Contexts/Mooc/Shared/domain/Courses/CourseId"; import { CourseIdMother } from "../../../Shared/domain/Courses/CourseIdMother"; import { CourseDurationMother } from "../../domain/CourseDurationMother"; import { CourseNameMother } from "../../domain/CourseNameMother"; diff --git a/tests/Contexts/Mooc/Courses/application/CreateCourseCommandHandler.test.ts b/tests/Contexts/Mooc/Courses/application/CreateCourseCommandHandler.test.ts index 3588a5ef..b5bc59ac 100644 --- a/tests/Contexts/Mooc/Courses/application/CreateCourseCommandHandler.test.ts +++ b/tests/Contexts/Mooc/Courses/application/CreateCourseCommandHandler.test.ts @@ -1,10 +1,10 @@ -import { CourseCreator } from '../../../../../src/Contexts/Mooc/Courses/application/CourseCreator'; +import { CourseCreator } from '@/Contexts/Mooc/Courses/application/CourseCreator'; import { CourseMother } from '../domain/CourseMother'; -import { CourseNameLengthExceeded } from '../../../../../src/Contexts/Mooc/Courses/domain/CourseNameLengthExceeded'; +import { CourseNameLengthExceeded } from '@/Contexts/Mooc/Courses/domain/CourseNameLengthExceeded'; import { CourseRepositoryMock } from '../__mocks__/CourseRepositoryMock'; import EventBusMock from '../../Shared/domain/EventBusMock'; import { CourseCreatedDomainEventMother } from '../domain/CourseCreatedDomainEventMother'; -import { CreateCourseCommandHandler } from '../../../../../src/Contexts/Mooc/Courses/application/CreateCourseCommandHandler'; +import { CreateCourseCommandHandler } from '@/Contexts/Mooc/Courses/application/CreateCourseCommandHandler'; import { CreateCourseCommandMother } from './CreateCourseCommandMother'; let repository: CourseRepositoryMock; diff --git a/tests/Contexts/Mooc/Courses/application/CreateCourseCommandMother.ts b/tests/Contexts/Mooc/Courses/application/CreateCourseCommandMother.ts index 99bc8179..b6bc7b8b 100644 --- a/tests/Contexts/Mooc/Courses/application/CreateCourseCommandMother.ts +++ b/tests/Contexts/Mooc/Courses/application/CreateCourseCommandMother.ts @@ -1,7 +1,7 @@ -import { CourseDuration } from '../../../../../src/Contexts/Mooc/Courses/domain/CourseDuration'; -import { CourseName } from '../../../../../src/Contexts/Mooc/Courses/domain/CourseName'; -import { CreateCourseCommand } from '../../../../../src/Contexts/Mooc/Courses/domain/CreateCourseCommand'; -import { CourseId } from '../../../../../src/Contexts/Mooc/Shared/domain/Courses/CourseId'; +import { CourseDuration } from '@/Contexts/Mooc/Courses/domain/CourseDuration'; +import { CourseName } from '@/Contexts/Mooc/Courses/domain/CourseName'; +import { CreateCourseCommand } from '@/Contexts/Mooc/Courses/domain/CreateCourseCommand'; +import { CourseId } from '@/Contexts/Mooc/Shared/domain/Courses/CourseId'; import { CourseIdMother } from '../../Shared/domain/Courses/CourseIdMother'; import { CourseDurationMother } from '../domain/CourseDurationMother'; import { CourseNameMother } from '../domain/CourseNameMother'; diff --git a/tests/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQueryHandler.test.ts b/tests/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQueryHandler.test.ts index cbad1b43..e774c71b 100644 --- a/tests/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQueryHandler.test.ts +++ b/tests/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQueryHandler.test.ts @@ -1,6 +1,6 @@ -import { CoursesFinder } from "../../../../../../src/Contexts/Mooc/Courses/application/SearchAll/CoursesFinder"; -import { SearchAllCoursesQuery } from "../../../../../../src/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQuery"; -import { SearchAllCoursesQueryHandler } from "../../../../../../src/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQueryHandler"; +import { CoursesFinder } from "@/Contexts/Mooc/Courses/application/SearchAll/CoursesFinder"; +import { SearchAllCoursesQuery } from "@/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQuery"; +import { SearchAllCoursesQueryHandler } from "@/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesQueryHandler"; import { CourseMother } from "../../domain/CourseMother"; import { CourseRepositoryMock } from "../../__mocks__/CourseRepositoryMock"; import { SearchAllCoursesResponseMother } from "./SearchAllCoursesResponseMother"; diff --git a/tests/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesResponseMother.ts b/tests/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesResponseMother.ts index 393a8062..1da2e4d8 100644 --- a/tests/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesResponseMother.ts +++ b/tests/Contexts/Mooc/Courses/application/SearchAll/SearchAllCoursesResponseMother.ts @@ -1,5 +1,5 @@ -import { CoursesResponse } from "../../../../../../src/Contexts/Mooc/Courses/application/SearchAll/CoursesResponse"; -import { Course } from "../../../../../../src/Contexts/Mooc/Courses/domain/Course"; +import { CoursesResponse } from "@/Contexts/Mooc/Courses/application/SearchAll/CoursesResponse"; +import { Course } from "@/Contexts/Mooc/Courses/domain/Course"; export class SearchAllCoursesResponseMother { static create(courses: Array) { diff --git a/tests/Contexts/Mooc/Courses/domain/CourseCreatedDomainEventMother.ts b/tests/Contexts/Mooc/Courses/domain/CourseCreatedDomainEventMother.ts index 3a168482..a5fd0451 100644 --- a/tests/Contexts/Mooc/Courses/domain/CourseCreatedDomainEventMother.ts +++ b/tests/Contexts/Mooc/Courses/domain/CourseCreatedDomainEventMother.ts @@ -1,5 +1,5 @@ -import { CourseCreatedDomainEvent } from '../../../../../src/Contexts/Mooc/Courses/domain/CourseCreatedDomainEvent'; -import { Course } from '../../../../../src/Contexts/Mooc/Courses/domain/Course'; +import { CourseCreatedDomainEvent } from '@/Contexts/Mooc/Courses/domain/CourseCreatedDomainEvent'; +import { Course } from '@/Contexts/Mooc/Courses/domain/Course'; export class CourseCreatedDomainEventMother { static create({ diff --git a/tests/Contexts/Mooc/Courses/domain/CourseDurationMother.ts b/tests/Contexts/Mooc/Courses/domain/CourseDurationMother.ts index e7a6f92f..b6aac092 100644 --- a/tests/Contexts/Mooc/Courses/domain/CourseDurationMother.ts +++ b/tests/Contexts/Mooc/Courses/domain/CourseDurationMother.ts @@ -1,4 +1,4 @@ -import { CourseDuration } from '../../../../../src/Contexts/Mooc/Courses/domain/CourseDuration'; +import { CourseDuration } from '@/Contexts/Mooc/Courses/domain/CourseDuration'; import { WordMother } from '../../../Shared/domain/WordMother'; export class CourseDurationMother { diff --git a/tests/Contexts/Mooc/Courses/domain/CourseMother.ts b/tests/Contexts/Mooc/Courses/domain/CourseMother.ts index dba34171..ad425c8d 100644 --- a/tests/Contexts/Mooc/Courses/domain/CourseMother.ts +++ b/tests/Contexts/Mooc/Courses/domain/CourseMother.ts @@ -1,8 +1,8 @@ -import { Course } from '../../../../../src/Contexts/Mooc/Courses/domain/Course'; -import { CourseDuration } from '../../../../../src/Contexts/Mooc/Courses/domain/CourseDuration'; -import { CourseName } from '../../../../../src/Contexts/Mooc/Courses/domain/CourseName'; -import { CreateCourseCommand } from '../../../../../src/Contexts/Mooc/Courses/domain/CreateCourseCommand'; -import { CourseId } from '../../../../../src/Contexts/Mooc/Shared/domain/Courses/CourseId'; +import { Course } from '@/Contexts/Mooc/Courses/domain/Course'; +import { CourseDuration } from '@/Contexts/Mooc/Courses/domain/CourseDuration'; +import { CourseName } from '@/Contexts/Mooc/Courses/domain/CourseName'; +import { CreateCourseCommand } from '@/Contexts/Mooc/Courses/domain/CreateCourseCommand'; +import { CourseId } from '@/Contexts/Mooc/Shared/domain/Courses/CourseId'; import { CourseIdMother } from '../../Shared/domain/Courses/CourseIdMother'; import { CourseDurationMother } from './CourseDurationMother'; import { CourseNameMother } from './CourseNameMother'; diff --git a/tests/Contexts/Mooc/Courses/domain/CourseNameMother.ts b/tests/Contexts/Mooc/Courses/domain/CourseNameMother.ts index 928b948b..65179ff7 100644 --- a/tests/Contexts/Mooc/Courses/domain/CourseNameMother.ts +++ b/tests/Contexts/Mooc/Courses/domain/CourseNameMother.ts @@ -1,4 +1,4 @@ -import { CourseName } from '../../../../../src/Contexts/Mooc/Courses/domain/CourseName'; +import { CourseName } from '@/Contexts/Mooc/Courses/domain/CourseName'; import { WordMother } from '../../../Shared/domain/WordMother'; export class CourseNameMother { diff --git a/tests/Contexts/Mooc/Courses/infrastructure/persistence/CourseRepository.test.ts b/tests/Contexts/Mooc/Courses/infrastructure/persistence/CourseRepository.test.ts index 69c24aa3..cd74f218 100644 --- a/tests/Contexts/Mooc/Courses/infrastructure/persistence/CourseRepository.test.ts +++ b/tests/Contexts/Mooc/Courses/infrastructure/persistence/CourseRepository.test.ts @@ -1,5 +1,5 @@ -import container from '../../../../../../src/apps/mooc/backend/dependency-injection'; -import { CourseRepository } from '../../../../../../src/Contexts/Mooc/Courses/domain/CourseRepository'; +import container from '@/apps/mooc/backend/dependency-injection'; +import { CourseRepository } from '@/Contexts/Mooc/Courses/domain/CourseRepository'; import { EnvironmentArranger } from '../../../../Shared/infrastructure/arranger/EnvironmentArranger'; import { CourseMother } from '../../domain/CourseMother'; diff --git a/tests/Contexts/Mooc/CoursesCounter/__mocks__/CoursesCounterRepositoryMock.ts b/tests/Contexts/Mooc/CoursesCounter/__mocks__/CoursesCounterRepositoryMock.ts index 15bf9a0e..67020ce6 100644 --- a/tests/Contexts/Mooc/CoursesCounter/__mocks__/CoursesCounterRepositoryMock.ts +++ b/tests/Contexts/Mooc/CoursesCounter/__mocks__/CoursesCounterRepositoryMock.ts @@ -1,6 +1,6 @@ -import { CoursesCounterRepository } from '../../../../../src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterRepository'; -import { CoursesCounter } from '../../../../../src/Contexts/Mooc/CoursesCounter/domain/CoursesCounter'; -import { Nullable } from '../../../../../src/Contexts/Shared/domain/Nullable'; +import { CoursesCounterRepository } from '@/Contexts/Mooc/CoursesCounter/domain/CoursesCounterRepository'; +import { CoursesCounter } from '@/Contexts/Mooc/CoursesCounter/domain/CoursesCounter'; +import { Nullable } from '@/Contexts/Shared/domain/Nullable'; export class CoursesCounterRepositoryMock implements CoursesCounterRepository { private mockSave = jest.fn(); diff --git a/tests/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQueryHandler.test.ts b/tests/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQueryHandler.test.ts index 73b2417d..0fc8c127 100644 --- a/tests/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQueryHandler.test.ts +++ b/tests/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQueryHandler.test.ts @@ -1,7 +1,7 @@ -import { CoursesCounterFinder } from '../../../../../../src/Contexts/Mooc/CoursesCounter/application/Find/CoursesCounterFinder'; -import { FindCoursesCounterQuery } from '../../../../../../src/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQuery'; -import { FindCoursesCounterQueryHandler } from '../../../../../../src/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQueryHandler'; -import { CoursesCounterNotExist } from '../../../../../../src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterNotExist'; +import { CoursesCounterFinder } from '@/Contexts/Mooc/CoursesCounter/application/Find/CoursesCounterFinder'; +import { FindCoursesCounterQuery } from '@/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQuery'; +import { FindCoursesCounterQueryHandler } from '@/Contexts/Mooc/CoursesCounter/application/Find/FindCoursesCounterQueryHandler'; +import { CoursesCounterNotExist } from '@/Contexts/Mooc/CoursesCounter/domain/CoursesCounterNotExist'; import { CoursesCounterMother } from '../../domain/CoursesCounterMother'; import { CoursesCounterRepositoryMock } from '../../__mocks__/CoursesCounterRepositoryMock'; diff --git a/tests/Contexts/Mooc/CoursesCounter/application/Increment/CoursesCounterIncrementer.test.ts b/tests/Contexts/Mooc/CoursesCounter/application/Increment/CoursesCounterIncrementer.test.ts index 70c3800e..4211e837 100644 --- a/tests/Contexts/Mooc/CoursesCounter/application/Increment/CoursesCounterIncrementer.test.ts +++ b/tests/Contexts/Mooc/CoursesCounter/application/Increment/CoursesCounterIncrementer.test.ts @@ -1,5 +1,5 @@ -import { CoursesCounterIncrementer } from '../../../../../../src/Contexts/Mooc/CoursesCounter/application/Increment/CoursesCounterIncrementer'; -import { CoursesCounter } from '../../../../../../src/Contexts/Mooc/CoursesCounter/domain/CoursesCounter'; +import { CoursesCounterIncrementer } from '@/Contexts/Mooc/CoursesCounter/application/Increment/CoursesCounterIncrementer'; +import { CoursesCounter } from '@/Contexts/Mooc/CoursesCounter/domain/CoursesCounter'; import EventBusMock from '../../../Shared/domain/EventBusMock'; import { CourseIdMother } from '../../../Shared/domain/Courses/CourseIdMother'; import { CoursesCounterIncrementedDomainEventMother } from '../../domain/CoursesCounterIncrementedDomainEventMother'; diff --git a/tests/Contexts/Mooc/CoursesCounter/domain/CoursesCounterIncrementedDomainEventMother.ts b/tests/Contexts/Mooc/CoursesCounter/domain/CoursesCounterIncrementedDomainEventMother.ts index e9cef3b5..ca123c33 100644 --- a/tests/Contexts/Mooc/CoursesCounter/domain/CoursesCounterIncrementedDomainEventMother.ts +++ b/tests/Contexts/Mooc/CoursesCounter/domain/CoursesCounterIncrementedDomainEventMother.ts @@ -1,6 +1,6 @@ -import { CoursesCounter } from '../../../../../src/Contexts/Mooc/CoursesCounter/domain/CoursesCounter'; -import { CoursesCounterIncrementedDomainEvent } from '../../../../../src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterIncrementedDomainEvent'; -import { DomainEvent } from '../../../../../src/Contexts/Shared/domain/DomainEvent'; +import { CoursesCounter } from '@/Contexts/Mooc/CoursesCounter/domain/CoursesCounter'; +import { CoursesCounterIncrementedDomainEvent } from '@/Contexts/Mooc/CoursesCounter/domain/CoursesCounterIncrementedDomainEvent'; +import { DomainEvent } from '@/Contexts/Shared/domain/DomainEvent'; import { CoursesCounterMother } from './CoursesCounterMother'; export class CoursesCounterIncrementedDomainEventMother { diff --git a/tests/Contexts/Mooc/CoursesCounter/domain/CoursesCounterMother.ts b/tests/Contexts/Mooc/CoursesCounter/domain/CoursesCounterMother.ts index b52c80c9..b41ba6dd 100644 --- a/tests/Contexts/Mooc/CoursesCounter/domain/CoursesCounterMother.ts +++ b/tests/Contexts/Mooc/CoursesCounter/domain/CoursesCounterMother.ts @@ -1,10 +1,10 @@ -import { CoursesCounter } from '../../../../../src/Contexts/Mooc/CoursesCounter/domain/CoursesCounter'; -import { CoursesCounterId } from '../../../../../src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterId'; -import { CoursesCounterTotal } from '../../../../../src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterTotal'; +import { CoursesCounter } from '@/Contexts/Mooc/CoursesCounter/domain/CoursesCounter'; +import { CoursesCounterId } from '@/Contexts/Mooc/CoursesCounter/domain/CoursesCounterId'; +import { CoursesCounterTotal } from '@/Contexts/Mooc/CoursesCounter/domain/CoursesCounterTotal'; import { CourseIdMother } from '../../Shared/domain/Courses/CourseIdMother'; import { Repeater } from '../../../Shared/domain/Repeater'; import { CoursesCounterTotalMother } from './CoursesCounterTotalMother'; -import { CourseId } from '../../../../../src/Contexts/Mooc/Shared/domain/Courses/CourseId'; +import { CourseId } from '@/Contexts/Mooc/Shared/domain/Courses/CourseId'; export class CoursesCounterMother { static random() { diff --git a/tests/Contexts/Mooc/CoursesCounter/domain/CoursesCounterTotalMother.ts b/tests/Contexts/Mooc/CoursesCounter/domain/CoursesCounterTotalMother.ts index 24a3c4e4..c4fcee4e 100644 --- a/tests/Contexts/Mooc/CoursesCounter/domain/CoursesCounterTotalMother.ts +++ b/tests/Contexts/Mooc/CoursesCounter/domain/CoursesCounterTotalMother.ts @@ -1,4 +1,4 @@ -import { CoursesCounterTotal } from '../../../../../src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterTotal'; +import { CoursesCounterTotal } from '@/Contexts/Mooc/CoursesCounter/domain/CoursesCounterTotal'; import { IntegerMother } from '../../../Shared/domain/IntegerMother'; export class CoursesCounterTotalMother { diff --git a/tests/Contexts/Mooc/CoursesCounter/infrastructure/CoursesCounterRepository.test.ts b/tests/Contexts/Mooc/CoursesCounter/infrastructure/CoursesCounterRepository.test.ts index 33084e7a..7f3affdf 100644 --- a/tests/Contexts/Mooc/CoursesCounter/infrastructure/CoursesCounterRepository.test.ts +++ b/tests/Contexts/Mooc/CoursesCounter/infrastructure/CoursesCounterRepository.test.ts @@ -1,5 +1,5 @@ -import container from '../../../../../src/apps/mooc/backend/dependency-injection'; -import { CoursesCounterRepository } from '../../../../../src/Contexts/Mooc/CoursesCounter/domain/CoursesCounterRepository'; +import container from '@/apps/mooc/backend/dependency-injection'; +import { CoursesCounterRepository } from '@/Contexts/Mooc/CoursesCounter/domain/CoursesCounterRepository'; import { EnvironmentArranger } from '../../../Shared/infrastructure/arranger/EnvironmentArranger'; import { CoursesCounterMother } from '../domain/CoursesCounterMother'; diff --git a/tests/Contexts/Mooc/Shared/domain/Courses/CourseIdMother.ts b/tests/Contexts/Mooc/Shared/domain/Courses/CourseIdMother.ts index 22ba089d..f687d080 100644 --- a/tests/Contexts/Mooc/Shared/domain/Courses/CourseIdMother.ts +++ b/tests/Contexts/Mooc/Shared/domain/Courses/CourseIdMother.ts @@ -1,4 +1,4 @@ -import { CourseId } from '../../../../../../src/Contexts/Mooc/Shared/domain/Courses/CourseId'; +import { CourseId } from '@/Contexts/Mooc/Shared/domain/Courses/CourseId'; import { UuidMother } from '../../../../Shared/domain/UuidMother'; export class CourseIdMother { diff --git a/tests/Contexts/Mooc/Shared/domain/EventBusMock.ts b/tests/Contexts/Mooc/Shared/domain/EventBusMock.ts index b5bbc3e5..eda0652c 100644 --- a/tests/Contexts/Mooc/Shared/domain/EventBusMock.ts +++ b/tests/Contexts/Mooc/Shared/domain/EventBusMock.ts @@ -1,6 +1,6 @@ -import { DomainEvent } from '../../../../../src/Contexts/Shared/domain/DomainEvent'; -import { DomainEventSubscribers } from '../../../../../src/Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; -import { EventBus } from '../../../../../src/Contexts/Shared/domain/EventBus'; +import { DomainEvent } from '@/Contexts/Shared/domain/DomainEvent'; +import { DomainEventSubscribers } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; +import { EventBus } from '@/Contexts/Shared/domain/EventBus'; export default class EventBusMock implements EventBus { private publishSpy = jest.fn(); diff --git a/tests/Contexts/Shared/infrastructure/CommandBus/InMemoryCommandBus.test.ts b/tests/Contexts/Shared/infrastructure/CommandBus/InMemoryCommandBus.test.ts index 780b79f6..5a07603d 100644 --- a/tests/Contexts/Shared/infrastructure/CommandBus/InMemoryCommandBus.test.ts +++ b/tests/Contexts/Shared/infrastructure/CommandBus/InMemoryCommandBus.test.ts @@ -1,6 +1,6 @@ -import { CommandNotRegisteredError } from '../../../../../src/Contexts/Shared/domain/CommandNotRegisteredError'; -import { CommandHandlers } from '../../../../../src/Contexts/Shared/infrastructure/CommandBus/CommandHandlers'; -import { InMemoryCommandBus } from '../../../../../src/Contexts/Shared/infrastructure/CommandBus/InMemoryCommandBus'; +import { CommandNotRegisteredError } from '@/Contexts/Shared/domain/CommandNotRegisteredError'; +import { CommandHandlers } from '@/Contexts/Shared/infrastructure/CommandBus/CommandHandlers'; +import { InMemoryCommandBus } from '@/Contexts/Shared/infrastructure/CommandBus/InMemoryCommandBus'; import { CommandHandlerDummy } from './__mocks__/CommandHandlerDummy'; import { DummyCommand } from './__mocks__/DummyCommand'; import { UnhandledCommand } from './__mocks__/UnhandledCommand'; diff --git a/tests/Contexts/Shared/infrastructure/CommandBus/__mocks__/CommandHandlerDummy.ts b/tests/Contexts/Shared/infrastructure/CommandBus/__mocks__/CommandHandlerDummy.ts index fad72f3b..13cae572 100644 --- a/tests/Contexts/Shared/infrastructure/CommandBus/__mocks__/CommandHandlerDummy.ts +++ b/tests/Contexts/Shared/infrastructure/CommandBus/__mocks__/CommandHandlerDummy.ts @@ -1,4 +1,4 @@ -import { CommandHandler } from '../../../../../../src/Contexts/Shared/domain/CommandHandler'; +import { CommandHandler } from '@/Contexts/Shared/domain/CommandHandler'; import { DummyCommand } from './DummyCommand'; export class CommandHandlerDummy implements CommandHandler { diff --git a/tests/Contexts/Shared/infrastructure/CommandBus/__mocks__/DummyCommand.ts b/tests/Contexts/Shared/infrastructure/CommandBus/__mocks__/DummyCommand.ts index 996062bd..a84bccc1 100644 --- a/tests/Contexts/Shared/infrastructure/CommandBus/__mocks__/DummyCommand.ts +++ b/tests/Contexts/Shared/infrastructure/CommandBus/__mocks__/DummyCommand.ts @@ -1,4 +1,4 @@ -import { Command } from '../../../../../../src/Contexts/Shared/domain/Command'; +import { Command } from '@/Contexts/Shared/domain/Command'; export class DummyCommand extends Command { static COMMAND_NAME = 'handled.command'; diff --git a/tests/Contexts/Shared/infrastructure/CommandBus/__mocks__/UnhandledCommand.ts b/tests/Contexts/Shared/infrastructure/CommandBus/__mocks__/UnhandledCommand.ts index 828028f5..6f69ea8e 100644 --- a/tests/Contexts/Shared/infrastructure/CommandBus/__mocks__/UnhandledCommand.ts +++ b/tests/Contexts/Shared/infrastructure/CommandBus/__mocks__/UnhandledCommand.ts @@ -1,4 +1,4 @@ -import { Command } from '../../../../../../src/Contexts/Shared/domain/Command'; +import { Command } from '@/Contexts/Shared/domain/Command'; export class UnhandledCommand extends Command { static COMMAND_NAME = 'unhandled.command'; diff --git a/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/DomainEventDummy.ts b/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/DomainEventDummy.ts index 6b11e6a7..0748601d 100644 --- a/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/DomainEventDummy.ts +++ b/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/DomainEventDummy.ts @@ -1,4 +1,4 @@ -import { DomainEvent } from '../../../../../../src/Contexts/Shared/domain/DomainEvent'; +import { DomainEvent } from '@/Contexts/Shared/domain/DomainEvent'; import { UuidMother } from '../../../domain/UuidMother'; export class DomainEventDummy extends DomainEvent { diff --git a/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/DomainEventFailoverPublisherDouble.ts b/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/DomainEventFailoverPublisherDouble.ts index 00ae6bd2..f8bc3ce2 100644 --- a/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/DomainEventFailoverPublisherDouble.ts +++ b/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/DomainEventFailoverPublisherDouble.ts @@ -1,5 +1,5 @@ -import { DomainEvent } from '../../../../../../src/Contexts/Shared/domain/DomainEvent'; -import { DomainEventFailoverPublisher } from '../../../../../../src/Contexts/Shared/infrastructure/EventBus/DomainEventFailoverPublisher/DomainEventFailoverPublisher'; +import { DomainEvent } from '@/Contexts/Shared/domain/DomainEvent'; +import { DomainEventFailoverPublisher } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventFailoverPublisher/DomainEventFailoverPublisher'; import { DomainEventDeserializerMother } from '../__mother__/DomainEventDeserializerMother'; import { RabbitMQMongoClientMother } from '../__mother__/RabbitMQMongoClientMother'; diff --git a/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/DomainEventSubscriberDummy.ts b/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/DomainEventSubscriberDummy.ts index 6e1a090a..7ef8505a 100644 --- a/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/DomainEventSubscriberDummy.ts +++ b/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/DomainEventSubscriberDummy.ts @@ -1,5 +1,5 @@ -import { DomainEvent, DomainEventClass } from '../../../../../../src/Contexts/Shared/domain/DomainEvent'; -import { DomainEventSubscriber } from '../../../../../../src/Contexts/Shared/domain/DomainEventSubscriber'; +import { DomainEvent, DomainEventClass } from '@/Contexts/Shared/domain/DomainEvent'; +import { DomainEventSubscriber } from '@/Contexts/Shared/domain/DomainEventSubscriber'; import { DomainEventDummy } from './DomainEventDummy'; export class DomainEventSubscriberDummy implements DomainEventSubscriber { diff --git a/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/RabbitMQConnectionDouble.ts b/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/RabbitMQConnectionDouble.ts index d107794c..c43a8570 100644 --- a/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/RabbitMQConnectionDouble.ts +++ b/tests/Contexts/Shared/infrastructure/EventBus/__mocks__/RabbitMQConnectionDouble.ts @@ -1,4 +1,4 @@ -import { RabbitMqConnection } from '../../../../../../src/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; +import { RabbitMqConnection } from '@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; export class RabbitMQConnectionDouble extends RabbitMqConnection { diff --git a/tests/Contexts/Shared/infrastructure/EventBus/__mother__/DomainEventDeserializerMother.ts b/tests/Contexts/Shared/infrastructure/EventBus/__mother__/DomainEventDeserializerMother.ts index c16612c2..406f16e8 100644 --- a/tests/Contexts/Shared/infrastructure/EventBus/__mother__/DomainEventDeserializerMother.ts +++ b/tests/Contexts/Shared/infrastructure/EventBus/__mother__/DomainEventDeserializerMother.ts @@ -1,5 +1,5 @@ -import { DomainEventDeserializer } from '../../../../../../src/Contexts/Shared/infrastructure/EventBus/DomainEventDeserializer'; -import { DomainEventSubscribers } from '../../../../../../src/Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; +import { DomainEventDeserializer } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventDeserializer'; +import { DomainEventSubscribers } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; import { DomainEventSubscriberDummy } from '../__mocks__/DomainEventSubscriberDummy'; export class DomainEventDeserializerMother { diff --git a/tests/Contexts/Shared/infrastructure/EventBus/__mother__/DomainEventFailoverPublisherMother.ts b/tests/Contexts/Shared/infrastructure/EventBus/__mother__/DomainEventFailoverPublisherMother.ts index 211d2bf1..939009b2 100644 --- a/tests/Contexts/Shared/infrastructure/EventBus/__mother__/DomainEventFailoverPublisherMother.ts +++ b/tests/Contexts/Shared/infrastructure/EventBus/__mother__/DomainEventFailoverPublisherMother.ts @@ -1,4 +1,4 @@ -import { DomainEventFailoverPublisher } from '../../../../../../src/Contexts/Shared/infrastructure/EventBus/DomainEventFailoverPublisher/DomainEventFailoverPublisher'; +import { DomainEventFailoverPublisher } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventFailoverPublisher/DomainEventFailoverPublisher'; import { DomainEventFailoverPublisherDouble } from '../__mocks__/DomainEventFailoverPublisherDouble'; import { DomainEventDeserializerMother } from './DomainEventDeserializerMother'; import { RabbitMQMongoClientMother } from './RabbitMQMongoClientMother'; diff --git a/tests/Contexts/Shared/infrastructure/EventBus/__mother__/RabbitMQConnectionMother.ts b/tests/Contexts/Shared/infrastructure/EventBus/__mother__/RabbitMQConnectionMother.ts index b029f286..d36a1b61 100644 --- a/tests/Contexts/Shared/infrastructure/EventBus/__mother__/RabbitMQConnectionMother.ts +++ b/tests/Contexts/Shared/infrastructure/EventBus/__mother__/RabbitMQConnectionMother.ts @@ -1,4 +1,4 @@ -import { RabbitMqConnection } from '../../../../../../src/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; +import { RabbitMqConnection } from '@/Contexts/Shared/infrastructure/EventBus/RabbitMQ/RabbitMqConnection'; import { RabbitMQConnectionDouble } from '../__mocks__/RabbitMQConnectionDouble'; import { RabbitMQConnectionConfigurationMother } from './RabbitMQConnectionConfigurationMother'; diff --git a/tests/Contexts/Shared/infrastructure/EventBus/__mother__/RabbitMQMongoClientMother.ts b/tests/Contexts/Shared/infrastructure/EventBus/__mother__/RabbitMQMongoClientMother.ts index ec410009..2ab3fcc6 100644 --- a/tests/Contexts/Shared/infrastructure/EventBus/__mother__/RabbitMQMongoClientMother.ts +++ b/tests/Contexts/Shared/infrastructure/EventBus/__mother__/RabbitMQMongoClientMother.ts @@ -1,4 +1,4 @@ -import { MongoClientFactory } from '../../../../../../src/Contexts/Shared/infrastructure/persistence/mongo/MongoClientFactory'; +import { MongoClientFactory } from '@/Contexts/Shared/infrastructure/persistence/mongo/MongoClientFactory'; export class RabbitMQMongoClientMother { static async create() { diff --git a/tests/Contexts/Shared/infrastructure/MongoClientFactory.test.ts b/tests/Contexts/Shared/infrastructure/MongoClientFactory.test.ts index 57337070..5603aa6d 100644 --- a/tests/Contexts/Shared/infrastructure/MongoClientFactory.test.ts +++ b/tests/Contexts/Shared/infrastructure/MongoClientFactory.test.ts @@ -1,4 +1,4 @@ -import { MongoClientFactory } from '../../../../src/Contexts/Shared/infrastructure/persistence/mongo/MongoClientFactory'; +import { MongoClientFactory } from '@/Contexts/Shared/infrastructure/persistence/mongo/MongoClientFactory'; import { MongoClient } from 'mongodb'; describe('MongoClientFactory', () => { diff --git a/tests/Contexts/Shared/infrastructure/QueryBus/InMemoryQueryBus.test.ts b/tests/Contexts/Shared/infrastructure/QueryBus/InMemoryQueryBus.test.ts index 8be04b66..6f7535ff 100644 --- a/tests/Contexts/Shared/infrastructure/QueryBus/InMemoryQueryBus.test.ts +++ b/tests/Contexts/Shared/infrastructure/QueryBus/InMemoryQueryBus.test.ts @@ -1,9 +1,9 @@ -import { Query } from '../../../../../src/Contexts/Shared/domain/Query'; -import { QueryHandlers } from '../../../../../src/Contexts/Shared/infrastructure/QueryBus/QueryHandlers'; -import { QueryNotRegisteredError } from '../../../../../src/Contexts/Shared/domain/QueryNotRegisteredError'; -import { QueryHandler } from '../../../../../src/Contexts/Shared/domain/QueryHandler'; -import { Response } from '../../../../../src/Contexts/Shared/domain/Response'; -import { InMemoryQueryBus } from '../../../../../src/Contexts/Shared/infrastructure/QueryBus/InMemoryQueryBus'; +import { Query } from '@/Contexts/Shared/domain/Query'; +import { QueryHandlers } from '@/Contexts/Shared/infrastructure/QueryBus/QueryHandlers'; +import { QueryNotRegisteredError } from '@/Contexts/Shared/domain/QueryNotRegisteredError'; +import { QueryHandler } from '@/Contexts/Shared/domain/QueryHandler'; +import { Response } from '@/Contexts/Shared/domain/Response'; +import { InMemoryQueryBus } from '@/Contexts/Shared/infrastructure/QueryBus/InMemoryQueryBus'; class UnhandledQuery extends Query { static QUERY_NAME = 'unhandled.query'; diff --git a/tests/Contexts/Shared/infrastructure/TypeOrmClientFactory.test.ts b/tests/Contexts/Shared/infrastructure/TypeOrmClientFactory.test.ts index 1405dea7..b0ac4144 100644 --- a/tests/Contexts/Shared/infrastructure/TypeOrmClientFactory.test.ts +++ b/tests/Contexts/Shared/infrastructure/TypeOrmClientFactory.test.ts @@ -1,5 +1,5 @@ import { Connection } from 'typeorm'; -import { TypeOrmClientFactory } from '../../../../src/Contexts/Shared/infrastructure/persistence/typeorm/TypeOrmClientFactory'; +import { TypeOrmClientFactory } from '@/Contexts/Shared/infrastructure/persistence/typeorm/TypeOrmClientFactory'; describe('TypeOrmClientFactory', () => { const factory = TypeOrmClientFactory; diff --git a/tests/apps/backoffice/backend/features/step_definitions/controller.steps.ts b/tests/apps/backoffice/backend/features/step_definitions/controller.steps.ts index 046b30e5..5b82779b 100644 --- a/tests/apps/backoffice/backend/features/step_definitions/controller.steps.ts +++ b/tests/apps/backoffice/backend/features/step_definitions/controller.steps.ts @@ -1,5 +1,5 @@ import assert from 'assert'; -import { Given, Then } from 'cucumber'; +import { Given, Then } from '@cucumber/cucumber'; import request from 'supertest'; import { application } from './hooks.steps'; diff --git a/tests/apps/backoffice/backend/features/step_definitions/eventBus.steps.ts b/tests/apps/backoffice/backend/features/step_definitions/eventBus.steps.ts index 17e6b150..65b8168c 100644 --- a/tests/apps/backoffice/backend/features/step_definitions/eventBus.steps.ts +++ b/tests/apps/backoffice/backend/features/step_definitions/eventBus.steps.ts @@ -1,7 +1,7 @@ -import { Given } from 'cucumber'; -import container from '../../../../../../src/apps/backoffice/backend/dependency-injection'; -import { DomainEventDeserializer } from '../../../../../../src/Contexts/Shared/infrastructure/EventBus/DomainEventDeserializer'; -import { DomainEventSubscribers } from '../../../../../../src/Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; +import { Given } from '@cucumber/cucumber'; +import container from '@/apps/backoffice/backend/dependency-injection'; +import { DomainEventDeserializer } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventDeserializer'; +import { DomainEventSubscribers } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; import { eventBus } from './hooks.steps'; const deserializer = buildDeserializer(); diff --git a/tests/apps/backoffice/backend/features/step_definitions/hooks.steps.ts b/tests/apps/backoffice/backend/features/step_definitions/hooks.steps.ts index 125ebb03..c6679959 100644 --- a/tests/apps/backoffice/backend/features/step_definitions/hooks.steps.ts +++ b/tests/apps/backoffice/backend/features/step_definitions/hooks.steps.ts @@ -1,8 +1,8 @@ -import { AfterAll, BeforeAll } from 'cucumber'; -import { BackofficeBackendApp } from '../../../../../../src/apps/backoffice/backend/BackofficeBackendApp'; -import { ConfigureRabbitMQCommand } from '../../../../../../src/apps/backoffice/backend/command/ConfigureRabbitMQCommand'; -import container from '../../../../../../src/apps/backoffice/backend/dependency-injection'; -import { EventBus } from '../../../../../../src/Contexts/Shared/domain/EventBus'; +import { AfterAll, BeforeAll } from '@cucumber/cucumber'; +import { BackofficeBackendApp } from '@/apps/backoffice/backend/BackofficeBackendApp'; +import { ConfigureRabbitMQCommand } from '@/apps/backoffice/backend/command/ConfigureRabbitMQCommand'; +import container from '@/apps/backoffice/backend/dependency-injection'; +import { EventBus } from '@/Contexts/Shared/domain/EventBus'; import { EnvironmentArranger } from '../../../../../Contexts/Shared/infrastructure/arranger/EnvironmentArranger'; let application: BackofficeBackendApp; diff --git a/tests/apps/backoffice/backend/features/step_definitions/repository.steps.ts b/tests/apps/backoffice/backend/features/step_definitions/repository.steps.ts index e055b77f..4f72d4d7 100644 --- a/tests/apps/backoffice/backend/features/step_definitions/repository.steps.ts +++ b/tests/apps/backoffice/backend/features/step_definitions/repository.steps.ts @@ -1,10 +1,10 @@ -import { Given } from 'cucumber'; -import container from '../../../../../../src/apps/backoffice/backend/dependency-injection'; -import { Course } from '../../../../../../src/Contexts/Mooc/Courses/domain/Course'; -import { CourseDuration } from '../../../../../../src/Contexts/Mooc/Courses/domain/CourseDuration'; -import { CourseName } from '../../../../../../src/Contexts/Mooc/Courses/domain/CourseName'; -import { CourseRepository } from '../../../../../../src/Contexts/Mooc/Courses/domain/CourseRepository'; -import { CourseId } from '../../../../../../src/Contexts/Mooc/Shared/domain/Courses/CourseId'; +import { Given } from '@cucumber/cucumber'; +import container from '@/apps/backoffice/backend/dependency-injection'; +import { Course } from '@/Contexts/Mooc/Courses/domain/Course'; +import { CourseDuration } from '@/Contexts/Mooc/Courses/domain/CourseDuration'; +import { CourseName } from '@/Contexts/Mooc/Courses/domain/CourseName'; +import { CourseRepository } from '@/Contexts/Mooc/Courses/domain/CourseRepository'; +import { CourseId } from '@/Contexts/Mooc/Shared/domain/Courses/CourseId'; const courseRepository: CourseRepository = container.get('Backoffice.Courses.domain.BackofficeCourseRepository'); diff --git a/tests/apps/mooc/backend/features/step_definitions/controller.steps.ts b/tests/apps/mooc/backend/features/step_definitions/controller.steps.ts index 2e2ff125..faefc504 100644 --- a/tests/apps/mooc/backend/features/step_definitions/controller.steps.ts +++ b/tests/apps/mooc/backend/features/step_definitions/controller.steps.ts @@ -1,5 +1,5 @@ import assert from 'assert'; -import { Given, Then } from 'cucumber'; +import { Given, Then } from '@cucumber/cucumber'; import request from 'supertest'; import { application } from './hooks.steps'; diff --git a/tests/apps/mooc/backend/features/step_definitions/eventBus.steps.ts b/tests/apps/mooc/backend/features/step_definitions/eventBus.steps.ts index a472f24f..2085ed08 100644 --- a/tests/apps/mooc/backend/features/step_definitions/eventBus.steps.ts +++ b/tests/apps/mooc/backend/features/step_definitions/eventBus.steps.ts @@ -1,7 +1,7 @@ -import { Given } from 'cucumber'; -import container from '../../../../../../src/apps/mooc/backend/dependency-injection'; -import { DomainEventDeserializer } from '../../../../../../src/Contexts/Shared/infrastructure/EventBus/DomainEventDeserializer'; -import { DomainEventSubscribers } from '../../../../../../src/Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; +import { Given } from '@cucumber/cucumber'; +import container from '@/apps/mooc/backend/dependency-injection'; +import { DomainEventDeserializer } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventDeserializer'; +import { DomainEventSubscribers } from '@/Contexts/Shared/infrastructure/EventBus/DomainEventSubscribers'; import { eventBus } from './hooks.steps'; const deserializer = buildDeserializer(); diff --git a/tests/apps/mooc/backend/features/step_definitions/hooks.steps.ts b/tests/apps/mooc/backend/features/step_definitions/hooks.steps.ts index 314e6597..9cadc03e 100644 --- a/tests/apps/mooc/backend/features/step_definitions/hooks.steps.ts +++ b/tests/apps/mooc/backend/features/step_definitions/hooks.steps.ts @@ -1,9 +1,9 @@ -import { AfterAll, BeforeAll } from 'cucumber'; -import { ConfigureRabbitMQCommand } from '../../../../../../src/apps/mooc/backend/command/ConfigureRabbitMQCommand'; -import container from '../../../../../../src/apps/mooc/backend/dependency-injection'; -import { MoocBackendApp } from '../../../../../../src/apps/mooc/backend/MoocBackendApp'; -import { EventBus } from '../../../../../../src/Contexts/Shared/domain/EventBus'; -import { EnvironmentArranger } from '../../../../../Contexts/Shared/infrastructure/arranger/EnvironmentArranger'; +import { AfterAll, BeforeAll } from '@cucumber/cucumber'; +import { ConfigureRabbitMQCommand } from '@/apps/mooc/backend/command/ConfigureRabbitMQCommand'; +import container from '@/apps/mooc/backend/dependency-injection'; +import { MoocBackendApp } from '@/apps/mooc/backend/MoocBackendApp'; +import { EventBus } from '@/Contexts/Shared/domain/EventBus'; +import { EnvironmentArranger } from "@tests/Contexts/Shared/infrastructure/arranger/EnvironmentArranger"; let application: MoocBackendApp; let environmentArranger: EnvironmentArranger; diff --git a/tsconfig.json b/tsconfig.json index 74d27813..baeac8d5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,14 +11,13 @@ "noEmit": false, "resolveJsonModule": true, "noUnusedLocals": true, - "outDir": "./dist" + "outDir": "./dist", + "baseUrl": ".", + "paths": { + "@/*": ["src/*"], + "@tests/*": ["tests/*"] + } }, - "include": [ - "src/**/**.ts", - "tests/**/**.ts" - ], - "exclude": [ - "node_modules", - "src/apps/backoffice/frontend" - ] + "include": ["src/**/**.ts", "tests/**/**.ts"], + "exclude": ["node_modules", "src/apps/backoffice/frontend"] }