diff --git a/config.db b/config.db new file mode 100644 index 0000000..686aafc Binary files /dev/null and b/config.db differ diff --git a/package.json b/package.json index d88ad65..dee681b 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "prepublish": "yarn rimraf ./config.db && yarn migrate && yarn build", "build": "yarn prisma generate && yarn tsc -d -p tsconfig.json", "postinstall": "yarn prisma generate", - "migrate": "yarn prisma migrate dev --preview-feature", + "migrate": "yarn prisma generate && yarn prisma migrate dev --preview-feature", "studio": "yarn prisma studio", "stable": " dotenv -- yarn -s dripip stable", "next": "yarn -s dripip preview", @@ -27,9 +27,9 @@ "@types/fs-extra": "^9.0.6", "@types/git-url-parse": "^9.0.0", "@types/inquirer": "^7.3.1", - "@types/jest": "26.0.19", + "@types/jest": "26.0.20", "@types/marked": "^1.2.1", - "@types/node": "14.14.19", + "@types/node": "14.14.22", "@types/parse-git-config": "^3.0.0", "@types/request": "^2.48.5", "@types/semver": "^7.3.4", @@ -41,26 +41,26 @@ "strip-ansi": "6.0.0", "ts-jest": "26.4.4", "ts-node": "^9.1.1", - "types-package-json": "^2.0.24", + "types-package-json": "^2.0.25", "typescript": "4.1.3" }, "dependencies": { - "@prisma/cli": "^2.14.0", - "@prisma/client": "^2.14.0", + "@prisma/cli": "^2.15.0", + "@prisma/client": "^2.15.0", "adm-zip": "^0.5.1", "chalk": "^4.1.0", "ci-info": "^2.0.0", "clui": "^0.3.6", "execa": "^5.0.0", - "fast-glob": "^3.2.4", - "fs-extra": "^9.0.1", + "fast-glob": "^3.2.5", + "fs-extra": "^9.1.0", "fs-jetpack": "^4.1.0", "fuzzy": "^0.1.3", "git-url-parse": "^11.4.3", "inquirer": "7.3.3", "inquirer-autocomplete-prompt": "^1.3.0", "marked": "^1.2.7", - "meow": "8.1.0", + "meow": "9.0.0", "parse-git-config": "^3.0.0", "request": "^2.88.2", "semver": "^7.3.4", diff --git a/yarn.lock b/yarn.lock index 0efca3b..f97aebc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -668,35 +668,29 @@ "@octokit/openapi-types" "^2.0.1" "@types/node" ">= 8" -"@prisma/bar@^0.0.1": - version "0.0.1" - resolved "https://registry.yarnpkg.com/@prisma/bar/-/bar-0.0.1.tgz#088c4fbbb79c588391437ade9fd3a85527e753b3" - integrity sha512-FVLhwVkbfhXlBhroWfIXMLi+3Jh9IEzYp+9z+MUUiw3ZsbcoAil7CN9/QIjHc4/TcCRyRfuSmT7qCnn4O+TjJw== - -"@prisma/cli@^2.14.0": - version "2.14.0" - resolved "https://registry.yarnpkg.com/@prisma/cli/-/cli-2.14.0.tgz#6aa298a389fb899730ee68d3487633e19677d416" - integrity sha512-zKYiOGlc/Y0VVRQew0jMR2sGSFnKnNGlgY4ToB5K1JMv7jCg51w+FJe2FwTOF4uWv+0Yp2KC1b0TAP8KUbNJ3A== +"@prisma/cli@^2.15.0": + version "2.15.0" + resolved "https://registry.yarnpkg.com/@prisma/cli/-/cli-2.15.0.tgz#a979a67dbd606a966cf475686170128562590713" + integrity sha512-sF2mgn5oH5fL9/CKxS0tqojf0rK2BKODlEUqL+2s3YZqvJRSt4iFpiyjgajyd0wyTyv1k9LDHTV0yOD1mXDBsA== dependencies: - "@prisma/bar" "^0.0.1" - "@prisma/engines" "2.14.0-28.5d491261d382a2a5ffdc71de17072b0e409f1cc1" + "@prisma/engines" "2.15.0-25.e51dc3b5a9ee790a07104bec1c9477d51740fe54" -"@prisma/client@^2.14.0": - version "2.14.0" - resolved "https://registry.yarnpkg.com/@prisma/client/-/client-2.14.0.tgz#a57ef8f3c41127f84ebe5f69bd01a966b204cdc2" - integrity sha512-0PiiZ2maM9OP/G5mynzftvD4DFrtibeyvZf5U7Be360mtSvgLHQhZ/CHbChb0BVeWeyJuTmAqqni98LcdVgttw== +"@prisma/client@^2.15.0": + version "2.15.0" + resolved "https://registry.yarnpkg.com/@prisma/client/-/client-2.15.0.tgz#41ee22c60778b54aec0f6d4832c2d35fbf9eb423" + integrity sha512-3j4OoLpAGF104KAenUFJM9sU2+4jRP+RlrlYssBHkwBf+/5+2ihSpcmFiWIw1vXNRdmZtivjwhjcVtmjZPJktw== dependencies: - "@prisma/engines-version" "2.14.0-28.5d491261d382a2a5ffdc71de17072b0e409f1cc1" + "@prisma/engines-version" "2.15.0-25.e51dc3b5a9ee790a07104bec1c9477d51740fe54" -"@prisma/engines-version@2.14.0-28.5d491261d382a2a5ffdc71de17072b0e409f1cc1": - version "2.14.0-28.5d491261d382a2a5ffdc71de17072b0e409f1cc1" - resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-2.14.0-28.5d491261d382a2a5ffdc71de17072b0e409f1cc1.tgz#ffd22601a18d74040653f6f8f518026cbc1bee3e" - integrity sha512-Oz3yNV//9UTJ+ral5tF6Ryb/MLfOE3+2F3/bH4waTbNRDd/zXKoS3jTI3ViU8yRQ1AsOQa9/pV/kXSlxgtAh8Q== +"@prisma/engines-version@2.15.0-25.e51dc3b5a9ee790a07104bec1c9477d51740fe54": + version "2.15.0-25.e51dc3b5a9ee790a07104bec1c9477d51740fe54" + resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-2.15.0-25.e51dc3b5a9ee790a07104bec1c9477d51740fe54.tgz#d9c887bc8f30d1f107c9021b2565a8672d62622d" + integrity sha512-KDxk7Zsc9tDoShCE7v+O1SnCUTUkMdfezjbuz9CBvdEBGMtYLgyHaZAO8M038uqy8KjgwV9PzyoLqvVfzfsngg== -"@prisma/engines@2.14.0-28.5d491261d382a2a5ffdc71de17072b0e409f1cc1": - version "2.14.0-28.5d491261d382a2a5ffdc71de17072b0e409f1cc1" - resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-2.14.0-28.5d491261d382a2a5ffdc71de17072b0e409f1cc1.tgz#dee16f1c648cd291540937ad5d69062526368946" - integrity sha512-t5/Mq0VtL7khYQtbap8myr7RwyIvmruCFxsph6oTi8QZaklmuxSp7FAC2DWBz8r/KoZFngMpmliKfDrWN7uwzQ== +"@prisma/engines@2.15.0-25.e51dc3b5a9ee790a07104bec1c9477d51740fe54": + version "2.15.0-25.e51dc3b5a9ee790a07104bec1c9477d51740fe54" + resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-2.15.0-25.e51dc3b5a9ee790a07104bec1c9477d51740fe54.tgz#3093ace7c09cf694214727c4e67109f2a2d8855a" + integrity sha512-AgPxAWtwYhhTNEEsV4lK63HTe9z0GAGL3ofMr2B0TncACmzi9lhdun9TTNie38Oy/3DLfr71TUHKUpV8QjOKUw== "@sinonjs/commons@^1.7.0": version "1.8.1" @@ -825,10 +819,10 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@26.0.19": - version "26.0.19" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-26.0.19.tgz#e6fa1e3def5842ec85045bd5210e9bb8289de790" - integrity sha512-jqHoirTG61fee6v6rwbnEuKhpSKih0tuhqeFbCmMmErhtu3BYlOZaXWjffgOstMM4S/3iQD31lI5bGLTrs97yQ== +"@types/jest@26.0.20": + version "26.0.20" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-26.0.20.tgz#cd2f2702ecf69e86b586e1f5223a60e454056307" + integrity sha512-9zi2Y+5USJRxd0FsahERhBwlcvFh6D2GLQnY2FH2BzK8J9s9omvNHIbvABwIluXa0fD8XVKMLTO0aOEuUfACAA== dependencies: jest-diff "^26.0.0" pretty-format "^26.0.0" @@ -856,10 +850,10 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.6.tgz#146d3da57b3c636cc0d1769396ce1cfa8991147f" integrity sha512-6QlRuqsQ/Ox/aJEQWBEJG7A9+u7oSYl3mem/K8IzxXG/kAGbV1YPD9Bg9Zw3vyxC/YP+zONKwy8hGkSt1jxFMw== -"@types/node@14.14.19": - version "14.14.19" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.19.tgz#5135176a8330b88ece4e9ab1fdcfc0a545b4bab4" - integrity sha512-4nhBPStMK04rruRVtVc6cDqhu7S9GZai0fpXgPXrFpcPX6Xul8xnrjSdGB4KPBVYG/R5+fXWdCM8qBoiULWGPQ== +"@types/node@14.14.22": + version "14.14.22" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.22.tgz#0d29f382472c4ccf3bd96ff0ce47daf5b7b84b18" + integrity sha512-g+f/qj/cNcqKkc3tFqlXOYjrmZA+jNBiDzbP3kH+B+otKFqAdPgVTGP1IeKRdMml/aE69as5S4FqtxAbl+LaMw== "@types/node@>= 8": version "14.14.17" @@ -2015,7 +2009,7 @@ fast-deep-equal@^3.1.1: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-glob@^3.1.1, fast-glob@^3.2.4: +fast-glob@^3.1.1: version "3.2.4" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" integrity sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ== @@ -2027,6 +2021,18 @@ fast-glob@^3.1.1, fast-glob@^3.2.4: micromatch "^4.0.2" picomatch "^2.2.1" +fast-glob@^3.2.5: + version "3.2.5" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.5.tgz#7939af2a656de79a4f1901903ee8adcaa7cb9661" + integrity sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.0" + merge2 "^1.3.0" + micromatch "^4.0.2" + picomatch "^2.2.1" + fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -2127,15 +2133,15 @@ fs-extra@^8.1: jsonfile "^4.0.0" universalify "^0.1.0" -fs-extra@^9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.1.tgz#910da0062437ba4c39fedd863f1675ccfefcb9fc" - integrity sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ== +fs-extra@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" + integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== dependencies: at-least-node "^1.0.0" graceful-fs "^4.2.0" jsonfile "^6.0.1" - universalify "^1.0.0" + universalify "^2.0.0" fs-jetpack@^3.1.0: version "3.2.0" @@ -3387,13 +3393,14 @@ memoizee@0.3.x: next-tick "~0.2.2" timers-ext "0.1" -meow@8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/meow/-/meow-8.1.0.tgz#0fcaa267e35e4d58584b8205923df6021ddcc7ba" - integrity sha512-fNWkgM1UVMey2kf24yLiccxLihc5W+6zVus3/N0b+VfnJgxV99E9u04X6NAiKdg6ED7DAQBX5sy36NM0QJZkWA== +meow@9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/meow/-/meow-9.0.0.tgz#cd9510bc5cac9dee7d03c73ee1f9ad959f4ea364" + integrity sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ== dependencies: "@types/minimist" "^1.2.0" camelcase-keys "^6.2.2" + decamelize "^1.2.0" decamelize-keys "^1.1.0" hard-rejection "^2.1.0" minimist-options "4.1.0" @@ -4727,10 +4734,10 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -types-package-json@^2.0.24: - version "2.0.24" - resolved "https://registry.yarnpkg.com/types-package-json/-/types-package-json-2.0.24.tgz#37ecc00877fa5055c36120222cb85517f67ac4f2" - integrity sha512-d2ok742i4tm7AR4YR8aM9avuZvwJAJLznH9B0jqs9aZCwyOS0nJFrdZR1eVA+OC9tsaofX6rrYGCMd7YHYqaeA== +types-package-json@^2.0.25: + version "2.0.25" + resolved "https://registry.yarnpkg.com/types-package-json/-/types-package-json-2.0.25.tgz#dbed6c7da7686c72cabcd3e10aad471259e81622" + integrity sha512-vHjRud5f6IM6LParpqRa5qfB8bNqdZJtBxMBAM6eBcwTBQpX5i11AQeKhfdtA4dI2uZ0rRdF75D+qd4rwcbOeg== typescript@4.1.3: version "4.1.3" @@ -4757,11 +4764,6 @@ universalify@^0.1.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== -universalify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-1.0.0.tgz#b61a1da173e8435b2fe3c67d29b9adf8594bd16d" - integrity sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug== - universalify@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717"