refactoring into new dirs

feature/linter
Niclas Thobaben 2021-07-07 17:33:10 +02:00
parent db97152f6b
commit f2f26ffbf6
7 changed files with 409 additions and 7 deletions

403
package-lock.json generated
View File

@ -656,6 +656,11 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/@types/uuid/-/uuid-8.3.1.tgz",
"integrity": "sha512-Y2mHTRAbqfFkpjldbkHGY8JIzRN6XqYRliG8/24FcHm2D2PwW24fl5xMRTVGdrb7iMrwCaIEbLWerGIkXuFWVg=="
},
"@ungap/promise-all-settled": {
"version": "1.1.2",
"resolved": "https://nexus.nclazz.de/repository/npm_public/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz",
"integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q=="
},
"@yarnpkg/core": {
"version": "2.4.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/@yarnpkg/core/-/core-2.4.0.tgz",
@ -929,6 +934,11 @@
}
}
},
"ansi-colors": {
"version": "4.1.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/ansi-colors/-/ansi-colors-4.1.1.tgz",
"integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA=="
},
"ansi-escapes": {
"version": "3.2.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/ansi-escapes/-/ansi-escapes-3.2.0.tgz",
@ -957,6 +967,15 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/any-promise/-/any-promise-1.3.0.tgz",
"integrity": "sha1-q8av7tzqUugJzcA3au0845Y10X8="
},
"anymatch": {
"version": "3.1.2",
"resolved": "https://nexus.nclazz.de/repository/npm_public/anymatch/-/anymatch-3.1.2.tgz",
"integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
"requires": {
"normalize-path": "^3.0.0",
"picomatch": "^2.0.4"
}
},
"aproba": {
"version": "1.2.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/aproba/-/aproba-1.2.0.tgz",
@ -1077,6 +1096,11 @@
"tweetnacl": "0.14.5"
}
},
"binary-extensions": {
"version": "2.2.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/binary-extensions/-/binary-extensions-2.2.0.tgz",
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA=="
},
"binjumper": {
"version": "0.1.4",
"resolved": "https://nexus.nclazz.de/repository/npm_public/binjumper/-/binjumper-0.1.4.tgz",
@ -1205,6 +1229,11 @@
"fill-range": "7.0.1"
}
},
"browser-stdout": {
"version": "1.3.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/browser-stdout/-/browser-stdout-1.3.1.tgz",
"integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw=="
},
"browserify-zlib": {
"version": "0.1.4",
"resolved": "https://nexus.nclazz.de/repository/npm_public/browserify-zlib/-/browserify-zlib-0.1.4.tgz",
@ -1336,6 +1365,21 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/child-process/-/child-process-1.0.2.tgz",
"integrity": "sha1-mJdNx+0e5MYin44wX6cxOmiFp/I="
},
"chokidar": {
"version": "3.5.2",
"resolved": "https://nexus.nclazz.de/repository/npm_public/chokidar/-/chokidar-3.5.2.tgz",
"integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==",
"requires": {
"anymatch": "~3.1.2",
"braces": "~3.0.2",
"fsevents": "~2.3.2",
"glob-parent": "~5.1.2",
"is-binary-path": "~2.1.0",
"is-glob": "~4.0.1",
"normalize-path": "~3.0.0",
"readdirp": "~3.6.0"
}
},
"chownr": {
"version": "2.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/chownr/-/chownr-2.0.0.tgz",
@ -1384,6 +1428,56 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/clipanion/-/clipanion-2.6.2.tgz",
"integrity": "sha512-0tOHJNMF9+4R3qcbBL+4IxLErpaYSYvzs10aXuECDbZdJOuJHdagJMAqvLdeaUQTI/o2uSCDRpet6ywDiKOAYw=="
},
"cliui": {
"version": "7.0.4",
"resolved": "https://nexus.nclazz.de/repository/npm_public/cliui/-/cliui-7.0.4.tgz",
"integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==",
"requires": {
"string-width": "^4.2.0",
"strip-ansi": "^6.0.0",
"wrap-ansi": "^7.0.0"
},
"dependencies": {
"ansi-regex": {
"version": "5.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/ansi-regex/-/ansi-regex-5.0.0.tgz",
"integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg=="
},
"is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
},
"string-width": {
"version": "4.2.2",
"resolved": "https://nexus.nclazz.de/repository/npm_public/string-width/-/string-width-4.2.2.tgz",
"integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==",
"requires": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.0"
}
},
"strip-ansi": {
"version": "6.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/strip-ansi/-/strip-ansi-6.0.0.tgz",
"integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
"requires": {
"ansi-regex": "^5.0.0"
}
},
"wrap-ansi": {
"version": "7.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
"requires": {
"ansi-styles": "^4.0.0",
"string-width": "^4.1.0",
"strip-ansi": "^6.0.0"
}
}
}
},
"clone": {
"version": "1.0.4",
"resolved": "https://nexus.nclazz.de/repository/npm_public/clone/-/clone-1.0.4.tgz",
@ -1500,6 +1594,11 @@
"ms": "2.1.2"
}
},
"decamelize": {
"version": "4.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/decamelize/-/decamelize-4.0.0.tgz",
"integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ=="
},
"decompress-response": {
"version": "6.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/decompress-response/-/decompress-response-6.0.0.tgz",
@ -1708,6 +1807,11 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/es6-error/-/es6-error-4.1.1.tgz",
"integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg=="
},
"escalade": {
"version": "3.1.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/escalade/-/escalade-3.1.1.tgz",
"integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw=="
},
"escape-goat": {
"version": "2.1.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/escape-goat/-/escape-goat-2.1.1.tgz",
@ -1829,6 +1933,20 @@
"to-regex-range": "5.0.1"
}
},
"find-up": {
"version": "5.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/find-up/-/find-up-5.0.0.tgz",
"integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
"requires": {
"locate-path": "^6.0.0",
"path-exists": "^4.0.0"
}
},
"flat": {
"version": "5.0.2",
"resolved": "https://nexus.nclazz.de/repository/npm_public/flat/-/flat-5.0.2.tgz",
"integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ=="
},
"follow-redirects": {
"version": "1.14.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/follow-redirects/-/follow-redirects-1.14.1.tgz",
@ -1867,6 +1985,12 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/fs.realpath/-/fs.realpath-1.0.0.tgz",
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
},
"fsevents": {
"version": "2.3.2",
"resolved": "https://nexus.nclazz.de/repository/npm_public/fsevents/-/fsevents-2.3.2.tgz",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
"optional": true
},
"function-bind": {
"version": "1.1.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/function-bind/-/function-bind-1.1.1.tgz",
@ -1888,6 +2012,11 @@
"wide-align": "1.1.3"
}
},
"get-caller-file": {
"version": "2.0.5",
"resolved": "https://nexus.nclazz.de/repository/npm_public/get-caller-file/-/get-caller-file-2.0.5.tgz",
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
},
"get-intrinsic": {
"version": "1.1.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/get-intrinsic/-/get-intrinsic-1.1.1.tgz",
@ -2016,6 +2145,11 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz",
"integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ=="
},
"growl": {
"version": "1.10.5",
"resolved": "https://nexus.nclazz.de/repository/npm_public/growl/-/growl-1.10.5.tgz",
"integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA=="
},
"gunzip-maybe": {
"version": "1.4.2",
"resolved": "https://nexus.nclazz.de/repository/npm_public/gunzip-maybe/-/gunzip-maybe-1.4.2.tgz",
@ -2072,6 +2206,11 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/has-yarn/-/has-yarn-2.1.0.tgz",
"integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw=="
},
"he": {
"version": "1.2.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/he/-/he-1.2.0.tgz",
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw=="
},
"hosted-git-info": {
"version": "2.8.9",
"resolved": "https://nexus.nclazz.de/repository/npm_public/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
@ -2163,6 +2302,14 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/is/-/is-3.3.0.tgz",
"integrity": "sha512-nW24QBoPcFGGHJGUwnfpI7Yc5CdqWNdsyHQszVE/z2pKHXzh7FZ5GWhJqSyaQ9wMkQnsTx+kAI8bHlCX4tKdbg=="
},
"is-binary-path": {
"version": "2.1.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/is-binary-path/-/is-binary-path-2.1.0.tgz",
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
"requires": {
"binary-extensions": "^2.0.0"
}
},
"is-callable": {
"version": "1.2.3",
"resolved": "https://nexus.nclazz.de/repository/npm_public/is-callable/-/is-callable-1.2.3.tgz",
@ -2259,6 +2406,11 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/is-path-inside/-/is-path-inside-3.0.3.tgz",
"integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ=="
},
"is-plain-obj": {
"version": "2.1.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/is-plain-obj/-/is-plain-obj-2.1.0.tgz",
"integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA=="
},
"is-stream": {
"version": "1.1.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/is-stream/-/is-stream-1.1.0.tgz",
@ -2401,6 +2553,14 @@
"immediate": "3.0.6"
}
},
"locate-path": {
"version": "6.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/locate-path/-/locate-path-6.0.0.tgz",
"integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
"requires": {
"p-locate": "^5.0.0"
}
},
"lodash": {
"version": "4.17.21",
"resolved": "https://nexus.nclazz.de/repository/npm_public/lodash/-/lodash-4.17.21.tgz",
@ -2776,6 +2936,104 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/mkdirp/-/mkdirp-1.0.4.tgz",
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="
},
"mocha": {
"version": "9.0.2",
"resolved": "https://nexus.nclazz.de/repository/npm_public/mocha/-/mocha-9.0.2.tgz",
"integrity": "sha512-FpspiWU+UT9Sixx/wKimvnpkeW0mh6ROAKkIaPokj3xZgxeRhcna/k5X57jJghEr8X+Cgu/Vegf8zCX5ugSuTA==",
"requires": {
"@ungap/promise-all-settled": "1.1.2",
"ansi-colors": "4.1.1",
"browser-stdout": "1.3.1",
"chokidar": "3.5.2",
"debug": "4.3.1",
"diff": "5.0.0",
"escape-string-regexp": "4.0.0",
"find-up": "5.0.0",
"glob": "7.1.7",
"growl": "1.10.5",
"he": "1.2.0",
"js-yaml": "4.1.0",
"log-symbols": "4.1.0",
"minimatch": "3.0.4",
"ms": "2.1.3",
"nanoid": "3.1.23",
"serialize-javascript": "6.0.0",
"strip-json-comments": "3.1.1",
"supports-color": "8.1.1",
"which": "2.0.2",
"wide-align": "1.1.3",
"workerpool": "6.1.5",
"yargs": "16.2.0",
"yargs-parser": "20.2.4",
"yargs-unparser": "2.0.0"
},
"dependencies": {
"argparse": {
"version": "2.0.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/argparse/-/argparse-2.0.1.tgz",
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
},
"debug": {
"version": "4.3.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/debug/-/debug-4.3.1.tgz",
"integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
"requires": {
"ms": "2.1.2"
},
"dependencies": {
"ms": {
"version": "2.1.2",
"resolved": "https://nexus.nclazz.de/repository/npm_public/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
}
}
},
"diff": {
"version": "5.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/diff/-/diff-5.0.0.tgz",
"integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w=="
},
"escape-string-regexp": {
"version": "4.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
"integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="
},
"js-yaml": {
"version": "4.1.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/js-yaml/-/js-yaml-4.1.0.tgz",
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
"requires": {
"argparse": "^2.0.1"
}
},
"ms": {
"version": "2.1.3",
"resolved": "https://nexus.nclazz.de/repository/npm_public/ms/-/ms-2.1.3.tgz",
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
},
"strip-json-comments": {
"version": "3.1.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
"integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="
},
"supports-color": {
"version": "8.1.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/supports-color/-/supports-color-8.1.1.tgz",
"integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",
"requires": {
"has-flag": "^4.0.0"
}
},
"which": {
"version": "2.0.2",
"resolved": "https://nexus.nclazz.de/repository/npm_public/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
"requires": {
"isexe": "^2.0.0"
}
}
}
},
"ms": {
"version": "2.1.2",
"resolved": "https://nexus.nclazz.de/repository/npm_public/ms/-/ms-2.1.2.tgz",
@ -2798,6 +3056,11 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/mute-stream/-/mute-stream-0.0.8.tgz",
"integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA=="
},
"nanoid": {
"version": "3.1.23",
"resolved": "https://nexus.nclazz.de/repository/npm_public/nanoid/-/nanoid-3.1.23.tgz",
"integrity": "sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw=="
},
"needle": {
"version": "2.6.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/needle/-/needle-2.6.0.tgz",
@ -2843,6 +3106,11 @@
"validate-npm-package-license": "3.0.4"
}
},
"normalize-path": {
"version": "3.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/normalize-path/-/normalize-path-3.0.0.tgz",
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="
},
"normalize-url": {
"version": "6.1.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/normalize-url/-/normalize-url-6.1.0.tgz",
@ -3060,6 +3328,24 @@
"p-try": "2.2.0"
}
},
"p-locate": {
"version": "5.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/p-locate/-/p-locate-5.0.0.tgz",
"integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
"requires": {
"p-limit": "^3.0.2"
},
"dependencies": {
"p-limit": {
"version": "3.1.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/p-limit/-/p-limit-3.1.0.tgz",
"integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
"requires": {
"yocto-queue": "^0.1.0"
}
}
}
},
"p-map": {
"version": "4.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/p-map/-/p-map-4.0.0.tgz",
@ -3213,6 +3499,11 @@
"xtend": "4.0.2"
}
},
"path-exists": {
"version": "4.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/path-exists/-/path-exists-4.0.0.tgz",
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
},
"path-is-absolute": {
"version": "1.0.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
@ -3397,6 +3688,14 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/quick-lru/-/quick-lru-5.1.1.tgz",
"integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA=="
},
"randombytes": {
"version": "2.1.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/randombytes/-/randombytes-2.1.0.tgz",
"integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",
"requires": {
"safe-buffer": "^5.1.0"
}
},
"rc": {
"version": "1.2.8",
"resolved": "https://nexus.nclazz.de/repository/npm_public/rc/-/rc-1.2.8.tgz",
@ -3436,6 +3735,14 @@
}
}
},
"readdirp": {
"version": "3.6.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/readdirp/-/readdirp-3.6.0.tgz",
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
"requires": {
"picomatch": "^2.2.1"
}
},
"readline": {
"version": "1.3.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/readline/-/readline-1.3.0.tgz",
@ -3484,6 +3791,11 @@
"uuid": "3.4.0"
}
},
"require-directory": {
"version": "2.1.1",
"resolved": "https://nexus.nclazz.de/repository/npm_public/require-directory/-/require-directory-2.1.1.tgz",
"integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I="
},
"resolve": {
"version": "1.20.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/resolve/-/resolve-1.20.0.tgz",
@ -3622,6 +3934,14 @@
}
}
},
"serialize-javascript": {
"version": "6.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/serialize-javascript/-/serialize-javascript-6.0.0.tgz",
"integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==",
"requires": {
"randombytes": "^2.1.0"
}
},
"set-blocking": {
"version": "2.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/set-blocking/-/set-blocking-2.0.0.tgz",
@ -4901,7 +5221,6 @@
"version": "1.1.3",
"resolved": "https://nexus.nclazz.de/repository/npm_public/wide-align/-/wide-align-1.1.3.tgz",
"integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
"optional": true,
"requires": {
"string-width": "1.0.2"
}
@ -4952,6 +5271,11 @@
"execa": "1.0.0"
}
},
"workerpool": {
"version": "6.1.5",
"resolved": "https://nexus.nclazz.de/repository/npm_public/workerpool/-/workerpool-6.1.5.tgz",
"integrity": "sha512-XdKkCK0Zqc6w3iTxLckiuJ81tiD/o5rBE/m+nXpRCB+/Sq4DqkfXZ/x0jW02DG1tGsfUGXbTJyZDP+eu67haSw=="
},
"wrap-ansi": {
"version": "5.1.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
@ -5066,6 +5390,11 @@
"resolved": "https://nexus.nclazz.de/repository/npm_public/xtend/-/xtend-4.0.2.tgz",
"integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
},
"y18n": {
"version": "5.0.8",
"resolved": "https://nexus.nclazz.de/repository/npm_public/y18n/-/y18n-5.0.8.tgz",
"integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="
},
"yallist": {
"version": "4.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/yallist/-/yallist-4.0.0.tgz",
@ -5080,6 +5409,78 @@
"version": "0.3.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/yaml-js/-/yaml-js-0.3.0.tgz",
"integrity": "sha512-JbTUdsPiCkOyz+JOSqAVc19omTnUBnBQglhuclYov5HpWbEOz8y+ftqWjiMa9Pe/eF/dmCUeNgVs/VWg53GlgQ=="
},
"yargs": {
"version": "16.2.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/yargs/-/yargs-16.2.0.tgz",
"integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==",
"requires": {
"cliui": "^7.0.2",
"escalade": "^3.1.1",
"get-caller-file": "^2.0.5",
"require-directory": "^2.1.1",
"string-width": "^4.2.0",
"y18n": "^5.0.5",
"yargs-parser": "^20.2.2"
},
"dependencies": {
"ansi-regex": {
"version": "5.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/ansi-regex/-/ansi-regex-5.0.0.tgz",
"integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg=="
},
"is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
},
"string-width": {
"version": "4.2.2",
"resolved": "https://nexus.nclazz.de/repository/npm_public/string-width/-/string-width-4.2.2.tgz",
"integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==",
"requires": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.0"
}
},
"strip-ansi": {
"version": "6.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/strip-ansi/-/strip-ansi-6.0.0.tgz",
"integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
"requires": {
"ansi-regex": "^5.0.0"
}
}
}
},
"yargs-parser": {
"version": "20.2.4",
"resolved": "https://nexus.nclazz.de/repository/npm_public/yargs-parser/-/yargs-parser-20.2.4.tgz",
"integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA=="
},
"yargs-unparser": {
"version": "2.0.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/yargs-unparser/-/yargs-unparser-2.0.0.tgz",
"integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==",
"requires": {
"camelcase": "^6.0.0",
"decamelize": "^4.0.0",
"flat": "^5.0.2",
"is-plain-obj": "^2.1.0"
},
"dependencies": {
"camelcase": {
"version": "6.2.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/camelcase/-/camelcase-6.2.0.tgz",
"integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg=="
}
}
},
"yocto-queue": {
"version": "0.1.0",
"resolved": "https://nexus.nclazz.de/repository/npm_public/yocto-queue/-/yocto-queue-0.1.0.tgz",
"integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="
}
}
}

View File

@ -2,8 +2,8 @@
"name": "@nclazz/apicli",
"version": "1.0.1",
"description": "Commandline interface for generating and linting api-specs.",
"main": "./bin/index.js",
"bin": "./bin/index.js",
"main": "./src/index.js",
"bin": "./src/index.js",
"publishConfig": {
"registry": "https://nexus.nclazz.de/repository/npm_releases/"
},
@ -17,6 +17,7 @@
"license": "MIT",
"dependencies": {
"args-parser": "1.2.0",
"mocha": "^9.0.2",
"npm-cli-login": "0.1.1",
"object-path": "0.11.5",
"readline": "1.3.0"

View File

@ -1,7 +1,7 @@
const path = require('path');
const fs = require('fs');
const linter = require('./linter');
const prompt = require('./prompt');
const linter = require('../linter');
const prompt = require('../prompt');
const os = require('os')
const it_root_questions = [

View File

@ -6,11 +6,11 @@ const fs = require('fs');
let required_command = process.argv[2]
let args = require('args-parser')(process.argv);
let cmds = fs.readdirSync(__dirname)
let cmds = fs.readdirSync(path.join(__dirname, 'cmd'))
.filter(file => file.startsWith("cmd"))
.reduce((result, item) => {
let name = item.replace(/^cmd\./, '').replace(/\.js$/, '');
result[name] = path.join(__dirname, item);
result[name] = path.join(__dirname, 'cmd', item);
return result
}, {})