diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 24545d7f..251db2a1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 14 registry-url: https://registry.npmjs.org cache: npm - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 96e47426..5ee3e56f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: # an extra windows-x86 run: include: - os: windows-latest - node: 12 + node: 14 architecture: x86 name: Node ${{ matrix.node }} - ${{ matrix.architecture }} on ${{ matrix.os }} steps: diff --git a/.nvmrc b/.nvmrc index 48082f72..8351c193 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -12 +14 diff --git a/packages/feflow-cli/package-lock.json b/packages/feflow-cli/package-lock.json index b8c3a046..eca82ea2 100644 --- a/packages/feflow-cli/package-lock.json +++ b/packages/feflow-cli/package-lock.json @@ -602,20 +602,17 @@ "@types/abbrev": { "version": "1.1.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fabbrev/-/abbrev-1.1.2.tgz", - "integrity": "sha512-GlJGHkAbQwBVHHJtFcjZzL9q+cKJvyPwKUXez8s+07VdGUKpyOuM2tiHPqE2gbU4+NIn2wou0o3PWhSEa2Ybeg==", - "dev": true + "integrity": "sha512-GlJGHkAbQwBVHHJtFcjZzL9q+cKJvyPwKUXez8s+07VdGUKpyOuM2tiHPqE2gbU4+NIn2wou0o3PWhSEa2Ybeg==" }, "@types/bluebird": { "version": "3.5.36", "resolved": "https://mirrors.tencent.com/npm/@types%2fbluebird/-/bluebird-3.5.36.tgz", - "integrity": "sha512-HBNx4lhkxN7bx6P0++W8E289foSu8kO8GCk2unhuVggO+cE7rh9DhZUyPhUxNRG9m+5B5BTKxZQ5ZP92x/mx9Q==", - "dev": true + "integrity": "sha512-HBNx4lhkxN7bx6P0++W8E289foSu8kO8GCk2unhuVggO+cE7rh9DhZUyPhUxNRG9m+5B5BTKxZQ5ZP92x/mx9Q==" }, "@types/bunyan": { "version": "1.8.8", "resolved": "https://mirrors.tencent.com/npm/@types%2fbunyan/-/bunyan-1.8.8.tgz", "integrity": "sha512-Cblq+Yydg3u+sGiz2mjHjC5MPmdjY+No4qvHrF+BUhblsmSfMvsHLbOG62tPbonsqBj6sbWv1LHcsoe5Jw+/Ow==", - "dev": true, "requires": { "@types/node": "*" } @@ -623,20 +620,17 @@ "@types/caseless": { "version": "0.12.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fcaseless/-/caseless-0.12.2.tgz", - "integrity": "sha512-6ckxMjBBD8URvjB6J3NcnuAn5Pkl7t3TizAg+xdlzzQGSPSmBcXf8KoIH0ua/i+tio+ZRUHEXp0HEmvaR4kt0w==", - "dev": true + "integrity": "sha512-6ckxMjBBD8URvjB6J3NcnuAn5Pkl7t3TizAg+xdlzzQGSPSmBcXf8KoIH0ua/i+tio+ZRUHEXp0HEmvaR4kt0w==" }, "@types/command-line-usage": { "version": "5.0.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fcommand-line-usage/-/command-line-usage-5.0.2.tgz", - "integrity": "sha512-n7RlEEJ+4x4TS7ZQddTmNSxP+zziEG0TNsMfiRIxcIVXt71ENJ9ojeXmGO3wPoTdn7pJcU2xc3CJYMktNT6DPg==", - "dev": true + "integrity": "sha512-n7RlEEJ+4x4TS7ZQddTmNSxP+zziEG0TNsMfiRIxcIVXt71ENJ9ojeXmGO3wPoTdn7pJcU2xc3CJYMktNT6DPg==" }, "@types/cross-spawn": { "version": "6.0.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fcross-spawn/-/cross-spawn-6.0.2.tgz", "integrity": "sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==", - "dev": true, "requires": { "@types/node": "*" } @@ -645,7 +639,6 @@ "version": "4.1.7", "resolved": "https://mirrors.tencent.com/npm/@types%2fdebug/-/debug-4.1.7.tgz", "integrity": "sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg==", - "dev": true, "requires": { "@types/ms": "*" } @@ -653,32 +646,27 @@ "@types/diff": { "version": "5.0.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fdiff/-/diff-5.0.2.tgz", - "integrity": "sha512-uw8eYMIReOwstQ0QKF0sICefSy8cNO/v7gOTiIy9SbwuHyEecJUm7qlgueOO5S1udZ5I/irVydHVwMchgzbKTg==", - "dev": true + "integrity": "sha512-uw8eYMIReOwstQ0QKF0sICefSy8cNO/v7gOTiIy9SbwuHyEecJUm7qlgueOO5S1udZ5I/irVydHVwMchgzbKTg==" }, "@types/easy-table": { "version": "0.0.32", "resolved": "https://mirrors.tencent.com/npm/@types%2feasy-table/-/easy-table-0.0.32.tgz", - "integrity": "sha512-zKh0f/ixYFnr3Ldf5ZJTi1ZpnRqAynTTtVyGvWDf/TT12asE8ac98t3/WGWfFdRPp/qsccxg82C/Kl3NPNhqEw==", - "dev": true + "integrity": "sha512-zKh0f/ixYFnr3Ldf5ZJTi1ZpnRqAynTTtVyGvWDf/TT12asE8ac98t3/WGWfFdRPp/qsccxg82C/Kl3NPNhqEw==" }, "@types/ejs": { "version": "3.1.0", "resolved": "https://mirrors.tencent.com/npm/@types%2fejs/-/ejs-3.1.0.tgz", - "integrity": "sha512-DCg+Ka+uDQ31lJ/UtEXVlaeV3d6t81gifaVWKJy4MYVVgvJttyX/viREy+If7fz+tK/gVxTGMtyrFPnm4gjrVA==", - "dev": true + "integrity": "sha512-DCg+Ka+uDQ31lJ/UtEXVlaeV3d6t81gifaVWKJy4MYVVgvJttyX/viREy+If7fz+tK/gVxTGMtyrFPnm4gjrVA==" }, "@types/expect": { "version": "1.20.4", "resolved": "https://mirrors.tencent.com/npm/@types%2fexpect/-/expect-1.20.4.tgz", - "integrity": "sha512-Q5Vn3yjTDyCMV50TB6VRIbQNxSE4OmZR86VSbGaNpfUolm0iePBB4KdEEHmxoY5sT2+2DIvXW0rvMDP2nHZ4Mg==", - "dev": true + "integrity": "sha512-Q5Vn3yjTDyCMV50TB6VRIbQNxSE4OmZR86VSbGaNpfUolm0iePBB4KdEEHmxoY5sT2+2DIvXW0rvMDP2nHZ4Mg==" }, "@types/figlet": { "version": "1.5.4", "resolved": "https://mirrors.tencent.com/npm/@types%2ffiglet/-/figlet-1.5.4.tgz", - "integrity": "sha512-cskPTju7glYgzvkJy/hftqw7Fen3fsd0yrPOqcbBLJu+YdDQuA438akS1g+2XVKGzsQOnXGV2I9ePv6xUBnKMQ==", - "dev": true + "integrity": "sha512-cskPTju7glYgzvkJy/hftqw7Fen3fsd0yrPOqcbBLJu+YdDQuA438akS1g+2XVKGzsQOnXGV2I9ePv6xUBnKMQ==" }, "@types/glob": { "version": "7.2.0", @@ -693,7 +681,6 @@ "version": "6.5.0", "resolved": "https://mirrors.tencent.com/npm/@types%2finquirer/-/inquirer-6.5.0.tgz", "integrity": "sha512-rjaYQ9b9y/VFGOpqBEXRavc3jh0a+e6evAbI31tMda8VlPaSy0AZJfXsvmIe3wklc7W6C3zCSfleuMXR7NOyXw==", - "dev": true, "requires": { "@types/through": "*", "rxjs": "^6.4.0" @@ -702,38 +689,32 @@ "@types/js-yaml": { "version": "3.12.7", "resolved": "https://mirrors.tencent.com/npm/@types%2fjs-yaml/-/js-yaml-3.12.7.tgz", - "integrity": "sha512-S6+8JAYTE1qdsc9HMVsfY7+SgSuUU/Tp6TYTmITW0PZxiyIMvol3Gy//y69Wkhs0ti4py5qgR3uZH6uz/DNzJQ==", - "dev": true + "integrity": "sha512-S6+8JAYTE1qdsc9HMVsfY7+SgSuUU/Tp6TYTmITW0PZxiyIMvol3Gy//y69Wkhs0ti4py5qgR3uZH6uz/DNzJQ==" }, "@types/json-schema": { "version": "7.0.9", "resolved": "https://mirrors.tencent.com/npm/@types%2fjson-schema/-/json-schema-7.0.9.tgz", - "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", - "dev": true + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==" }, "@types/lockfile": { "version": "1.0.2", "resolved": "https://mirrors.tencent.com/npm/@types%2flockfile/-/lockfile-1.0.2.tgz", - "integrity": "sha512-jD5VbvhfMhaYN4M3qPJuhMVUg3Dfc4tvPvLEAXn6GXbs/ajDFtCQahX37GIE65ipTI3I+hEvNaXS3MYAn9Ce3Q==", - "dev": true + "integrity": "sha512-jD5VbvhfMhaYN4M3qPJuhMVUg3Dfc4tvPvLEAXn6GXbs/ajDFtCQahX37GIE65ipTI3I+hEvNaXS3MYAn9Ce3Q==" }, "@types/lodash": { "version": "4.14.178", "resolved": "https://mirrors.tencent.com/npm/@types%2flodash/-/lodash-4.14.178.tgz", - "integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==", - "dev": true + "integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==" }, "@types/marked": { "version": "4.0.3", "resolved": "https://mirrors.tencent.com/npm/@types%2fmarked/-/marked-4.0.3.tgz", - "integrity": "sha512-HnMWQkLJEf/PnxZIfbm0yGJRRZYYMhb++O9M36UCTA9z53uPvVoSlAwJr3XOpDEryb7Hwl1qAx/MV6YIW1RXxg==", - "dev": true + "integrity": "sha512-HnMWQkLJEf/PnxZIfbm0yGJRRZYYMhb++O9M36UCTA9z53uPvVoSlAwJr3XOpDEryb7Hwl1qAx/MV6YIW1RXxg==" }, "@types/mem-fs": { "version": "1.1.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fmem-fs/-/mem-fs-1.1.2.tgz", "integrity": "sha512-tt+4IoDO8/wmtaP2bHnB91c8AnzYtR9MK6NxfcZY9E3XgtmzOiFMeSXu3EZrBeevd0nJ87iGoUiFDGsb9QUvew==", - "dev": true, "requires": { "@types/node": "*", "@types/vinyl": "*" @@ -743,7 +724,6 @@ "version": "7.0.1", "resolved": "https://mirrors.tencent.com/npm/@types%2fmem-fs-editor/-/mem-fs-editor-7.0.1.tgz", "integrity": "sha512-aixqlCy0k0fZa+J4k7SZ7ZQCuJUmD4YuuMk42Q86YrGNBTZOSSnqkV8QcedBgLF5uR78PXj8HDWIFpXn+eOJbw==", - "dev": true, "requires": { "@types/ejs": "*", "@types/glob": "*", @@ -761,14 +741,12 @@ "@types/minimist": { "version": "1.2.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fminimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", - "dev": true + "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" }, "@types/ms": { "version": "0.7.31", "resolved": "https://mirrors.tencent.com/npm/@types%2fms/-/ms-0.7.31.tgz", - "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==", - "dev": true + "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "@types/nedb": { "version": "1.8.12", @@ -792,20 +770,17 @@ "@types/osenv": { "version": "0.1.1", "resolved": "https://mirrors.tencent.com/npm/@types%2fosenv/-/osenv-0.1.1.tgz", - "integrity": "sha512-sic9ht4bZirpi3mU9wmbaSQo0OJtJpf0sxH+Q0NzYk4OhO9KUiZzvcR9QkTq+kgwF7+TMD0csmkwpF8E4N4pJg==", - "dev": true + "integrity": "sha512-sic9ht4bZirpi3mU9wmbaSQo0OJtJpf0sxH+Q0NzYk4OhO9KUiZzvcR9QkTq+kgwF7+TMD0csmkwpF8E4N4pJg==" }, "@types/ps-node": { "version": "0.1.1", "resolved": "https://mirrors.tencent.com/npm/@types%2fps-node/-/ps-node-0.1.1.tgz", - "integrity": "sha512-t/8CsMBQ1ekBIb+Soqxce6w8M7yt0jRoXgsWHkS66VQ9OcMDQeoRLzz+gGpVeBc8pVskOTwRbCqHxDOGFwkgsg==", - "dev": true + "integrity": "sha512-t/8CsMBQ1ekBIb+Soqxce6w8M7yt0jRoXgsWHkS66VQ9OcMDQeoRLzz+gGpVeBc8pVskOTwRbCqHxDOGFwkgsg==" }, "@types/request": { "version": "2.48.8", "resolved": "https://mirrors.tencent.com/npm/@types%2frequest/-/request-2.48.8.tgz", "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", - "dev": true, "requires": { "@types/caseless": "*", "@types/node": "*", @@ -817,7 +792,6 @@ "version": "4.1.48", "resolved": "https://mirrors.tencent.com/npm/@types%2frequest-promise/-/request-promise-4.1.48.tgz", "integrity": "sha512-sLsfxfwP5G3E3U64QXxKwA6ctsxZ7uKyl4I28pMj3JvV+ztWECRns73GL71KMOOJME5u1A5Vs5dkBqyiR1Zcnw==", - "dev": true, "requires": { "@types/bluebird": "*", "@types/request": "*" @@ -826,20 +800,17 @@ "@types/semver": { "version": "6.2.3", "resolved": "https://mirrors.tencent.com/npm/@types%2fsemver/-/semver-6.2.3.tgz", - "integrity": "sha512-KQf+QAMWKMrtBMsB8/24w53tEsxllMj6TuA80TT/5igJalLI/zm0L3oXRbIAl4Ohfc85gyHX/jhMwsVkmhLU4A==", - "dev": true + "integrity": "sha512-KQf+QAMWKMrtBMsB8/24w53tEsxllMj6TuA80TT/5igJalLI/zm0L3oXRbIAl4Ohfc85gyHX/jhMwsVkmhLU4A==" }, "@types/text-table": { "version": "0.2.2", "resolved": "https://mirrors.tencent.com/npm/@types%2ftext-table/-/text-table-0.2.2.tgz", - "integrity": "sha512-dGoI5Af7To0R2XE8wJuc6vwlavWARsCh3UKJPjWs1YEqGUqfgBI/j/4GX0yf19/DsDPPf0YAXWAp8psNeIehLg==", - "dev": true + "integrity": "sha512-dGoI5Af7To0R2XE8wJuc6vwlavWARsCh3UKJPjWs1YEqGUqfgBI/j/4GX0yf19/DsDPPf0YAXWAp8psNeIehLg==" }, "@types/through": { "version": "0.0.30", "resolved": "https://mirrors.tencent.com/npm/@types%2fthrough/-/through-0.0.30.tgz", "integrity": "sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg==", - "dev": true, "requires": { "@types/node": "*" } @@ -847,14 +818,12 @@ "@types/tough-cookie": { "version": "4.0.1", "resolved": "https://mirrors.tencent.com/npm/@types%2ftough-cookie/-/tough-cookie-4.0.1.tgz", - "integrity": "sha512-Y0K95ThC3esLEYD6ZuqNek29lNX2EM1qxV8y2FTLUB0ff5wWrk7az+mLrnNFUnaXcgKye22+sFBRXOgpPILZNg==", - "dev": true + "integrity": "sha512-Y0K95ThC3esLEYD6ZuqNek29lNX2EM1qxV8y2FTLUB0ff5wWrk7az+mLrnNFUnaXcgKye22+sFBRXOgpPILZNg==" }, "@types/vinyl": { "version": "2.0.6", "resolved": "https://mirrors.tencent.com/npm/@types%2fvinyl/-/vinyl-2.0.6.tgz", "integrity": "sha512-ayJ0iOCDNHnKpKTgBG6Q6JOnHTj9zFta+3j2b8Ejza0e4cvRyMn0ZoLEmbPrTHe5YYRlDYPvPWVdV4cTaRyH7g==", - "dev": true, "requires": { "@types/expect": "^1.20.4", "@types/node": "*" @@ -864,7 +833,6 @@ "version": "2.10.5", "resolved": "https://mirrors.tencent.com/npm/@types%2fyeoman-environment/-/yeoman-environment-2.10.5.tgz", "integrity": "sha512-L2L/WQFV3O3aEyGsx8wbrt6/qfngvUnFtEOS2P8G3qYDQv9ycozHOnXY40vbZSNXEWVXH1G0haqoW2fCSSTqQA==", - "dev": true, "requires": { "@types/diff": "*", "@types/inquirer": "*", @@ -879,7 +847,6 @@ "version": "4.3.0", "resolved": "https://mirrors.tencent.com/npm/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, "requires": { "color-convert": "^2.0.1" } @@ -888,7 +855,6 @@ "version": "4.1.2", "resolved": "https://mirrors.tencent.com/npm/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -898,7 +864,6 @@ "version": "2.0.1", "resolved": "https://mirrors.tencent.com/npm/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, "requires": { "color-name": "~1.1.4" } @@ -906,20 +871,17 @@ "color-name": { "version": "1.1.4", "resolved": "https://mirrors.tencent.com/npm/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "has-flag": { "version": "4.0.0", "resolved": "https://mirrors.tencent.com/npm/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "supports-color": { "version": "7.2.0", "resolved": "https://mirrors.tencent.com/npm/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, "requires": { "has-flag": "^4.0.0" } @@ -930,7 +892,6 @@ "version": "5.2.9", "resolved": "https://mirrors.tencent.com/npm/@types%2fyeoman-generator/-/yeoman-generator-5.2.9.tgz", "integrity": "sha512-nLcJvIoq83s/FBjTgSjtwPEUk6U8nVzVZ4fBOh9Untdgu00MjjQOFORob8kzlTSJIh0MC9mPnNuV2ErD/NlabQ==", - "dev": true, "requires": { "@types/debug": "*", "@types/ejs": "*", @@ -2704,7 +2665,6 @@ "version": "2.5.1", "resolved": "https://mirrors.tencent.com/npm/form-data/-/form-data-2.5.1.tgz", "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", - "dev": true, "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", diff --git a/packages/feflow-cli/package.json b/packages/feflow-cli/package.json index f943adc4..ae2f8224 100644 --- a/packages/feflow-cli/package.json +++ b/packages/feflow-cli/package.json @@ -36,6 +36,11 @@ }, "devDependencies": { "@oclif/dev-cli": "^1.22.2", + "@types/nedb": "^1.8.10" + }, + "dependencies": { + "@feflow/feflow-plugin-devtool": "^0.4.2", + "@feflow/report": "^0.6.2", "@types/abbrev": "^1.1.0", "@types/bunyan": "^1.8.7", "@types/command-line-usage": "^5.0.1", @@ -48,16 +53,11 @@ "@types/lodash": "^4.14.161", "@types/marked": "^4.0.3", "@types/minimist": "^1.2.0", - "@types/nedb": "^1.8.10", "@types/osenv": "^0.1.0", "@types/ps-node": "^0.1.1", "@types/request-promise": "^4.1.45", "@types/semver": "^6.0.1", - "@types/yeoman-environment": "^2.10.1" - }, - "dependencies": { - "@feflow/feflow-plugin-devtool": "^0.4.2", - "@feflow/report": "^0.6.2", + "@types/yeoman-environment": "^2.10.1", "abbrev": "^1.1.1", "axios": "^0.21.1", "bunyan": "^1.8.14", diff --git a/packages/feflow-cli/src/index.ts b/packages/feflow-cli/src/index.ts index 83633f35..6c810abd 100644 --- a/packages/feflow-cli/src/index.ts +++ b/packages/feflow-cli/src/index.ts @@ -1,2 +1,7 @@ import Feflow from './core'; + +// 命名导出便于插件开发者进行 ts module augmentation: https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation +// 因为 default 导出不能被 augment +export { Feflow }; +// legacy default 导出,后续不建议 export default Feflow; diff --git a/packages/feflow-packager/package-lock.json b/packages/feflow-packager/package-lock.json index b46ed938..a66948f1 100644 --- a/packages/feflow-packager/package-lock.json +++ b/packages/feflow-packager/package-lock.json @@ -8,7 +8,6 @@ "version": "6.0.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fcross-spawn/-/cross-spawn-6.0.2.tgz", "integrity": "sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==", - "dev": true, "requires": { "@types/node": "*" } @@ -16,20 +15,17 @@ "@types/minimist": { "version": "1.2.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fminimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", - "dev": true + "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" }, "@types/node": { "version": "17.0.18", "resolved": "https://mirrors.tencent.com/npm/@types%2fnode/-/node-17.0.18.tgz", - "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==", - "dev": true + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" }, "@types/semver": { "version": "7.3.9", "resolved": "https://mirrors.tencent.com/npm/@types%2fsemver/-/semver-7.3.9.tgz", - "integrity": "sha512-L/TMpyURfBkf+o/526Zb6kd/tchUP3iBDEPjqjb+U2MAJhVRxxrmr2fwpe08E7QsV7YLcpq0tUaQ9O9x97ZIxQ==", - "dev": true + "integrity": "sha512-L/TMpyURfBkf+o/526Zb6kd/tchUP3iBDEPjqjb+U2MAJhVRxxrmr2fwpe08E7QsV7YLcpq0tUaQ9O9x97ZIxQ==" }, "ansi-styles": { "version": "3.2.1", diff --git a/packages/feflow-packager/package.json b/packages/feflow-packager/package.json index bc37b59b..de208142 100644 --- a/packages/feflow-packager/package.json +++ b/packages/feflow-packager/package.json @@ -26,12 +26,10 @@ "build:live": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0" }, - "devDependencies": { + "dependencies": { "@types/cross-spawn": "^6.0.0", "@types/minimist": "^1.2.0", - "@types/semver": "^7.3.9" - }, - "dependencies": { + "@types/semver": "^7.3.9", "chalk": "^2.4.2", "cross-spawn": "^6.0.5", "execa": "^4.0.0", diff --git a/packages/feflow-plugin-devtool/package-lock.json b/packages/feflow-plugin-devtool/package-lock.json index ce2a8670..f84f1c48 100644 --- a/packages/feflow-plugin-devtool/package-lock.json +++ b/packages/feflow-plugin-devtool/package-lock.json @@ -44,14 +44,12 @@ "@types/abbrev": { "version": "1.1.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fabbrev/-/abbrev-1.1.2.tgz", - "integrity": "sha512-GlJGHkAbQwBVHHJtFcjZzL9q+cKJvyPwKUXez8s+07VdGUKpyOuM2tiHPqE2gbU4+NIn2wou0o3PWhSEa2Ybeg==", - "dev": true + "integrity": "sha512-GlJGHkAbQwBVHHJtFcjZzL9q+cKJvyPwKUXez8s+07VdGUKpyOuM2tiHPqE2gbU4+NIn2wou0o3PWhSEa2Ybeg==" }, "@types/bunyan": { "version": "1.8.8", "resolved": "https://mirrors.tencent.com/npm/@types%2fbunyan/-/bunyan-1.8.8.tgz", "integrity": "sha512-Cblq+Yydg3u+sGiz2mjHjC5MPmdjY+No4qvHrF+BUhblsmSfMvsHLbOG62tPbonsqBj6sbWv1LHcsoe5Jw+/Ow==", - "dev": true, "requires": { "@types/node": "*" } @@ -59,14 +57,12 @@ "@types/command-line-usage": { "version": "5.0.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fcommand-line-usage/-/command-line-usage-5.0.2.tgz", - "integrity": "sha512-n7RlEEJ+4x4TS7ZQddTmNSxP+zziEG0TNsMfiRIxcIVXt71ENJ9ojeXmGO3wPoTdn7pJcU2xc3CJYMktNT6DPg==", - "dev": true + "integrity": "sha512-n7RlEEJ+4x4TS7ZQddTmNSxP+zziEG0TNsMfiRIxcIVXt71ENJ9ojeXmGO3wPoTdn7pJcU2xc3CJYMktNT6DPg==" }, "@types/cross-spawn": { "version": "6.0.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fcross-spawn/-/cross-spawn-6.0.2.tgz", "integrity": "sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==", - "dev": true, "requires": { "@types/node": "*" } @@ -74,20 +70,17 @@ "@types/easy-table": { "version": "0.0.32", "resolved": "https://mirrors.tencent.com/npm/@types%2feasy-table/-/easy-table-0.0.32.tgz", - "integrity": "sha512-zKh0f/ixYFnr3Ldf5ZJTi1ZpnRqAynTTtVyGvWDf/TT12asE8ac98t3/WGWfFdRPp/qsccxg82C/Kl3NPNhqEw==", - "dev": true + "integrity": "sha512-zKh0f/ixYFnr3Ldf5ZJTi1ZpnRqAynTTtVyGvWDf/TT12asE8ac98t3/WGWfFdRPp/qsccxg82C/Kl3NPNhqEw==" }, "@types/figlet": { "version": "1.5.4", "resolved": "https://mirrors.tencent.com/npm/@types%2ffiglet/-/figlet-1.5.4.tgz", - "integrity": "sha512-cskPTju7glYgzvkJy/hftqw7Fen3fsd0yrPOqcbBLJu+YdDQuA438akS1g+2XVKGzsQOnXGV2I9ePv6xUBnKMQ==", - "dev": true + "integrity": "sha512-cskPTju7glYgzvkJy/hftqw7Fen3fsd0yrPOqcbBLJu+YdDQuA438akS1g+2XVKGzsQOnXGV2I9ePv6xUBnKMQ==" }, "@types/fs-extra": { "version": "8.1.2", "resolved": "https://mirrors.tencent.com/npm/@types%2ffs-extra/-/fs-extra-8.1.2.tgz", "integrity": "sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==", - "dev": true, "requires": { "@types/node": "*" } @@ -101,7 +94,6 @@ "version": "6.5.0", "resolved": "https://mirrors.tencent.com/npm/@types%2finquirer/-/inquirer-6.5.0.tgz", "integrity": "sha512-rjaYQ9b9y/VFGOpqBEXRavc3jh0a+e6evAbI31tMda8VlPaSy0AZJfXsvmIe3wklc7W6C3zCSfleuMXR7NOyXw==", - "dev": true, "requires": { "@types/through": "*", "rxjs": "^6.4.0" @@ -110,32 +102,27 @@ "@types/js-yaml": { "version": "3.12.7", "resolved": "https://mirrors.tencent.com/npm/@types%2fjs-yaml/-/js-yaml-3.12.7.tgz", - "integrity": "sha512-S6+8JAYTE1qdsc9HMVsfY7+SgSuUU/Tp6TYTmITW0PZxiyIMvol3Gy//y69Wkhs0ti4py5qgR3uZH6uz/DNzJQ==", - "dev": true + "integrity": "sha512-S6+8JAYTE1qdsc9HMVsfY7+SgSuUU/Tp6TYTmITW0PZxiyIMvol3Gy//y69Wkhs0ti4py5qgR3uZH6uz/DNzJQ==" }, "@types/minimist": { "version": "1.2.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fminimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", - "dev": true + "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" }, "@types/node": { "version": "17.0.18", "resolved": "https://mirrors.tencent.com/npm/@types%2fnode/-/node-17.0.18.tgz", - "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==", - "dev": true + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" }, "@types/osenv": { "version": "0.1.1", "resolved": "https://mirrors.tencent.com/npm/@types%2fosenv/-/osenv-0.1.1.tgz", - "integrity": "sha512-sic9ht4bZirpi3mU9wmbaSQo0OJtJpf0sxH+Q0NzYk4OhO9KUiZzvcR9QkTq+kgwF7+TMD0csmkwpF8E4N4pJg==", - "dev": true + "integrity": "sha512-sic9ht4bZirpi3mU9wmbaSQo0OJtJpf0sxH+Q0NzYk4OhO9KUiZzvcR9QkTq+kgwF7+TMD0csmkwpF8E4N4pJg==" }, "@types/through": { "version": "0.0.30", "resolved": "https://mirrors.tencent.com/npm/@types%2fthrough/-/through-0.0.30.tgz", "integrity": "sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg==", - "dev": true, "requires": { "@types/node": "*" } diff --git a/packages/feflow-plugin-devtool/package.json b/packages/feflow-plugin-devtool/package.json index eaf1c4bf..aace448d 100644 --- a/packages/feflow-plugin-devtool/package.json +++ b/packages/feflow-plugin-devtool/package.json @@ -22,7 +22,9 @@ "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0" }, "devDependencies": { - "@feflow/cli": "^0.26.2", + "@feflow/cli": "^0.26.2" + }, + "dependencies": { "@types/abbrev": "^1.1.0", "@types/bunyan": "^1.8.6", "@types/command-line-usage": "^5.0.1", @@ -33,9 +35,7 @@ "@types/inquirer": "^6.0.3", "@types/js-yaml": "^3.12.1", "@types/minimist": "^1.2.0", - "@types/osenv": "^0.1.0" - }, - "dependencies": { + "@types/osenv": "^0.1.0", "abbrev": "^1.1.1", "bunyan": "^1.8.12", "chalk": "^2.4.2", diff --git a/packages/feflow-report/package-lock.json b/packages/feflow-report/package-lock.json index 292700e0..bccab5c9 100644 --- a/packages/feflow-report/package-lock.json +++ b/packages/feflow-report/package-lock.json @@ -7,26 +7,22 @@ "@types/bluebird": { "version": "3.5.36", "resolved": "https://mirrors.tencent.com/npm/@types%2fbluebird/-/bluebird-3.5.36.tgz", - "integrity": "sha512-HBNx4lhkxN7bx6P0++W8E289foSu8kO8GCk2unhuVggO+cE7rh9DhZUyPhUxNRG9m+5B5BTKxZQ5ZP92x/mx9Q==", - "dev": true + "integrity": "sha512-HBNx4lhkxN7bx6P0++W8E289foSu8kO8GCk2unhuVggO+cE7rh9DhZUyPhUxNRG9m+5B5BTKxZQ5ZP92x/mx9Q==" }, "@types/caseless": { "version": "0.12.2", "resolved": "https://mirrors.tencent.com/npm/@types%2fcaseless/-/caseless-0.12.2.tgz", - "integrity": "sha512-6ckxMjBBD8URvjB6J3NcnuAn5Pkl7t3TizAg+xdlzzQGSPSmBcXf8KoIH0ua/i+tio+ZRUHEXp0HEmvaR4kt0w==", - "dev": true + "integrity": "sha512-6ckxMjBBD8URvjB6J3NcnuAn5Pkl7t3TizAg+xdlzzQGSPSmBcXf8KoIH0ua/i+tio+ZRUHEXp0HEmvaR4kt0w==" }, "@types/node": { "version": "17.0.18", "resolved": "https://mirrors.tencent.com/npm/@types%2fnode/-/node-17.0.18.tgz", - "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==", - "dev": true + "integrity": "sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==" }, "@types/request": { "version": "2.48.8", "resolved": "https://mirrors.tencent.com/npm/@types%2frequest/-/request-2.48.8.tgz", "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", - "dev": true, "requires": { "@types/caseless": "*", "@types/node": "*", @@ -38,7 +34,6 @@ "version": "4.1.48", "resolved": "https://mirrors.tencent.com/npm/@types%2frequest-promise/-/request-promise-4.1.48.tgz", "integrity": "sha512-sLsfxfwP5G3E3U64QXxKwA6ctsxZ7uKyl4I28pMj3JvV+ztWECRns73GL71KMOOJME5u1A5Vs5dkBqyiR1Zcnw==", - "dev": true, "requires": { "@types/bluebird": "*", "@types/request": "*" @@ -47,14 +42,12 @@ "@types/tough-cookie": { "version": "4.0.1", "resolved": "https://mirrors.tencent.com/npm/@types%2ftough-cookie/-/tough-cookie-4.0.1.tgz", - "integrity": "sha512-Y0K95ThC3esLEYD6ZuqNek29lNX2EM1qxV8y2FTLUB0ff5wWrk7az+mLrnNFUnaXcgKye22+sFBRXOgpPILZNg==", - "dev": true + "integrity": "sha512-Y0K95ThC3esLEYD6ZuqNek29lNX2EM1qxV8y2FTLUB0ff5wWrk7az+mLrnNFUnaXcgKye22+sFBRXOgpPILZNg==" }, "asynckit": { "version": "0.4.0", "resolved": "https://mirrors.tencent.com/npm/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" }, "bluebird": { "version": "3.7.2", @@ -65,7 +58,6 @@ "version": "1.0.8", "resolved": "https://mirrors.tencent.com/npm/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dev": true, "requires": { "delayed-stream": "~1.0.0" } @@ -73,14 +65,12 @@ "delayed-stream": { "version": "1.0.0", "resolved": "https://mirrors.tencent.com/npm/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "dev": true + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" }, "form-data": { "version": "2.5.1", "resolved": "https://mirrors.tencent.com/npm/form-data/-/form-data-2.5.1.tgz", "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", - "dev": true, "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", @@ -95,14 +85,12 @@ "mime-db": { "version": "1.51.0", "resolved": "https://mirrors.tencent.com/npm/mime-db/-/mime-db-1.51.0.tgz", - "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", - "dev": true + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" }, "mime-types": { "version": "2.1.34", "resolved": "https://mirrors.tencent.com/npm/mime-types/-/mime-types-2.1.34.tgz", "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", - "dev": true, "requires": { "mime-db": "1.51.0" } diff --git a/packages/feflow-report/package.json b/packages/feflow-report/package.json index 72afea06..59da006d 100644 --- a/packages/feflow-report/package.json +++ b/packages/feflow-report/package.json @@ -16,14 +16,14 @@ "author": "fXy-during ", "license": "ISC", "devDependencies": { - "@feflow/cli": "^0.26.2", - "@types/request-promise": "^4.1.48" + "@feflow/cli": "^0.26.2" }, "files": [ "lib", "types" ], "dependencies": { + "@types/request-promise": "^4.1.48", "request-promise": "^4.2.5" }, "nyc": {