From 4c5bdc30446e5accefd180457547bc98777a5568 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Sun, 9 Jul 2023 17:56:02 +0800 Subject: [PATCH 1/3] perf: improved ui loading speed --- frontend/.gitignore | 2 + frontend/index.html | 411 ++++++++++++++++++++-------------------- frontend/package.json | 7 +- frontend/pnpm-lock.yaml | 261 ++++++++++++++++++++++--- frontend/vite.config.ts | 42 +++- 5 files changed, 489 insertions(+), 234 deletions(-) diff --git a/frontend/.gitignore b/frontend/.gitignore index 17b1b6fe2..77111eae7 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -29,3 +29,5 @@ lib/ **/dist **/node_modules **/package-lock.json + +stats.html \ No newline at end of file diff --git a/frontend/index.html b/frontend/index.html index b25556491..c42f06c83 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,216 +1,219 @@ - - - - - - Crawlab - - - - + + + + + Crawlab + + + + + + + +
-
-
-

- C - R - A - W - L - A - B -

+
+
+

+ C + R + A + W + L + A + B +

+
+
+ Easy Crawling + Better Management + Gain Data Value + Good Scalability +
+
+ Loading... +
-
- Easy Crawling - Better Management - Gain Data Value - Good Scalability -
-
- Loading... -
-
diff --git a/frontend/package.json b/frontend/package.json index ba26b15b9..431844d98 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -19,10 +19,9 @@ "@fortawesome/free-regular-svg-icons": "^6.0.0", "@fortawesome/free-solid-svg-icons": "^6.0.0", "@fortawesome/vue-fontawesome": "^3.0.0-5", - "@vitejs/plugin-vue": "^3.2.0", "atom-material-icons": "^3.0.0", "codemirror": "^5.59.1", - "crawlab-ui": "0.6.2-7", + "crawlab-ui": "0.6.2-10", "echarts": "^5.1.2", "element-plus": "^1.3.0-beta.10", "vue": "^3.2", @@ -30,11 +29,15 @@ }, "devDependencies": { "@types/node": "^18.11.10", + "@vitejs/plugin-vue": "^3.2.0", "@vue/compiler-sfc": "^3.2.45", + "rollup-plugin-external-globals": "^0.8.0", + "rollup-plugin-visualizer": "^5.9.2", "typescript": "^4.6.4", "vite": "^3.2.4", "vite-aliases": "^0.9.7", "vite-plugin-dynamic-import": "^1.2.4", + "vite-plugin-externalize-deps": "^0.7.0", "vue-tsc": "^1.0.9" } } \ No newline at end of file diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 7725bb84f..5abf74264 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -23,9 +23,6 @@ dependencies: '@fortawesome/vue-fontawesome': specifier: ^3.0.0-5 version: registry.npmmirror.com/@fortawesome/vue-fontawesome@3.0.2(@fortawesome/fontawesome-svg-core@1.3.0)(vue@3.2.45) - '@vitejs/plugin-vue': - specifier: ^3.2.0 - version: registry.npmmirror.com/@vitejs/plugin-vue@3.2.0(vite@3.2.4)(vue@3.2.45) atom-material-icons: specifier: ^3.0.0 version: registry.npmmirror.com/atom-material-icons@3.0.0 @@ -33,8 +30,8 @@ dependencies: specifier: ^5.59.1 version: registry.npmmirror.com/codemirror@5.65.10 crawlab-ui: - specifier: 0.6.2-7 - version: 0.6.2-7 + specifier: 0.6.2-10 + version: 0.6.2-10 echarts: specifier: ^5.1.2 version: registry.npmmirror.com/echarts@5.4.0 @@ -52,9 +49,18 @@ devDependencies: '@types/node': specifier: ^18.11.10 version: registry.npmmirror.com/@types/node@18.11.10 + '@vitejs/plugin-vue': + specifier: ^3.2.0 + version: registry.npmmirror.com/@vitejs/plugin-vue@3.2.0(vite@3.2.4)(vue@3.2.45) '@vue/compiler-sfc': specifier: ^3.2.45 version: registry.npmmirror.com/@vue/compiler-sfc@3.2.45 + rollup-plugin-external-globals: + specifier: ^0.8.0 + version: 0.8.0(rollup@3.26.2) + rollup-plugin-visualizer: + specifier: ^5.9.2 + version: 5.9.2(rollup@3.26.2) typescript: specifier: ^4.6.4 version: registry.npmmirror.com/typescript@4.9.3 @@ -67,6 +73,9 @@ devDependencies: vite-plugin-dynamic-import: specifier: ^1.2.4 version: registry.npmmirror.com/vite-plugin-dynamic-import@1.2.4 + vite-plugin-externalize-deps: + specifier: ^0.7.0 + version: 0.7.0(vite@3.2.4) vue-tsc: specifier: ^1.0.9 version: registry.npmmirror.com/vue-tsc@1.0.11(typescript@4.9.3) @@ -129,6 +138,7 @@ packages: cpu: [arm] os: [android] requiresBuild: true + dev: true optional: true /@esbuild/linux-loong64@0.15.16: @@ -137,6 +147,7 @@ packages: cpu: [loong64] os: [linux] requiresBuild: true + dev: true optional: true /@fortawesome/fontawesome-common-types@6.2.1: @@ -243,6 +254,10 @@ packages: '@intlify/shared': 9.1.9 dev: false + /@jridgewell/sourcemap-codec@1.4.15: + resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + dev: true + /@mapbox/node-pre-gyp@1.0.10: resolution: {integrity: sha512-4ySo4CjzStuprMwk35H5pPbkymjv1SF3jGLj6rAHp/xT/RF7TL7bd9CTm1xDY49K2qF7jmR/g7k+SkLETP6opA==} hasBin: true @@ -274,6 +289,21 @@ packages: resolution: {integrity: sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==} dev: false + /@rollup/pluginutils@5.0.2(rollup@3.26.2): + resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@types/estree': 1.0.0 + estree-walker: 2.0.2 + picomatch: 2.3.1 + rollup: 3.26.2 + dev: true + /@types/codemirror@0.0.103: resolution: {integrity: sha512-dYQTrIcZal0pnYz/ODjpJB+yadKJhGHywylAlHKjE8VSzGiw2A+6S+hD6jfyXw02ToFR9DO52X+O1pvHn31sbg==} dependencies: @@ -288,7 +318,6 @@ packages: /@types/estree@1.0.0: resolution: {integrity: sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==} - dev: false /@types/getos@3.0.1: resolution: {integrity: sha512-igBIU7ZwzRrVGYf0nQyISMJZjuDF+5T2v8gnqXGpIbMN7j/pk6s4uSHXfolXPMUZET6aCfG9xoPDT47oM9RN6A==} @@ -504,8 +533,6 @@ packages: /ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - dev: false - optional: true /ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} @@ -514,6 +541,13 @@ packages: color-convert: 1.9.3 dev: false + /ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + dependencies: + color-convert: 2.0.1 + dev: true + /aproba@2.0.0: resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==} dev: false @@ -671,6 +705,15 @@ packages: wrap-ansi: 5.1.0 dev: false + /cliui@8.0.1: + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + dev: true + /codemirror-spell-checker@1.1.2: resolution: {integrity: sha512-2Tl6n0v+GJRsC9K3MLCdLaMOmvWL0uukajNJseorZJsslaxZyZMgENocPU8R0DyoTAiKsyqiemSOZo7kjGV0LQ==} dependencies: @@ -687,10 +730,21 @@ packages: color-name: 1.1.3 dev: false + /color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + dependencies: + color-name: 1.1.4 + dev: true + /color-name@1.1.3: resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} dev: false + /color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + dev: true + /color-support@1.1.3: resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} hasBin: true @@ -746,8 +800,8 @@ packages: requiresBuild: true dev: false - /crawlab-ui@0.6.2-7: - resolution: {integrity: sha512-oY7iULxYU4qWEzzJHZXhNcI0hdQ59aJ+1nl+cLvyYgie4kSasloeK7egdG7qjTaVCPVqV7rzajuq6Axy5UlW9g==} + /crawlab-ui@0.6.2-10: + resolution: {integrity: sha512-gu543qK1NNaj20kpdfU+9noeMeaUSZlVONWq+ns5NQdF0A99dQLygDygRdVf/7ziu/2stzD1feDt4GoQzNe7TA==} dependencies: '@element-plus/icons': 0.0.11 '@fortawesome/fontawesome-common-types': 6.2.1 @@ -875,6 +929,11 @@ packages: engines: {node: '>=0.10.0'} dev: false + /define-lazy-prop@2.0.0: + resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} + engines: {node: '>=8'} + dev: true + /define-properties@1.1.4: resolution: {integrity: sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==} engines: {node: '>= 0.4'} @@ -939,8 +998,6 @@ packages: /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - dev: false - optional: true /esbuild-android-64@0.15.16: resolution: {integrity: sha512-Vwkv/sT0zMSgPSVO3Jlt1pUbnZuOgtOQJkJkyyJFAlLe7BiT8e9ESzo0zQSx4c3wW4T6kGChmKDPMbWTgtliQA==} @@ -948,6 +1005,7 @@ packages: cpu: [x64] os: [android] requiresBuild: true + dev: true optional: true /esbuild-android-arm64@0.15.16: @@ -956,6 +1014,7 @@ packages: cpu: [arm64] os: [android] requiresBuild: true + dev: true optional: true /esbuild-darwin-64@0.15.16: @@ -964,6 +1023,7 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true + dev: true optional: true /esbuild-darwin-arm64@0.15.16: @@ -972,6 +1032,7 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true + dev: true optional: true /esbuild-freebsd-64@0.15.16: @@ -980,6 +1041,7 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true + dev: true optional: true /esbuild-freebsd-arm64@0.15.16: @@ -988,6 +1050,7 @@ packages: cpu: [arm64] os: [freebsd] requiresBuild: true + dev: true optional: true /esbuild-linux-32@0.15.16: @@ -996,6 +1059,7 @@ packages: cpu: [ia32] os: [linux] requiresBuild: true + dev: true optional: true /esbuild-linux-64@0.15.16: @@ -1004,6 +1068,7 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: true optional: true /esbuild-linux-arm64@0.15.16: @@ -1012,6 +1077,7 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: true optional: true /esbuild-linux-arm@0.15.16: @@ -1020,6 +1086,7 @@ packages: cpu: [arm] os: [linux] requiresBuild: true + dev: true optional: true /esbuild-linux-mips64le@0.15.16: @@ -1028,6 +1095,7 @@ packages: cpu: [mips64el] os: [linux] requiresBuild: true + dev: true optional: true /esbuild-linux-ppc64le@0.15.16: @@ -1036,6 +1104,7 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true + dev: true optional: true /esbuild-linux-riscv64@0.15.16: @@ -1044,6 +1113,7 @@ packages: cpu: [riscv64] os: [linux] requiresBuild: true + dev: true optional: true /esbuild-linux-s390x@0.15.16: @@ -1052,6 +1122,7 @@ packages: cpu: [s390x] os: [linux] requiresBuild: true + dev: true optional: true /esbuild-netbsd-64@0.15.16: @@ -1060,6 +1131,7 @@ packages: cpu: [x64] os: [netbsd] requiresBuild: true + dev: true optional: true /esbuild-openbsd-64@0.15.16: @@ -1068,6 +1140,7 @@ packages: cpu: [x64] os: [openbsd] requiresBuild: true + dev: true optional: true /esbuild-sunos-64@0.15.16: @@ -1076,6 +1149,7 @@ packages: cpu: [x64] os: [sunos] requiresBuild: true + dev: true optional: true /esbuild-windows-32@0.15.16: @@ -1084,6 +1158,7 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true + dev: true optional: true /esbuild-windows-64@0.15.16: @@ -1092,6 +1167,7 @@ packages: cpu: [x64] os: [win32] requiresBuild: true + dev: true optional: true /esbuild-windows-arm64@0.15.16: @@ -1100,8 +1176,14 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true + dev: true optional: true + /escalade@3.1.1: + resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} + engines: {node: '>=6'} + dev: true + /escape-string-regexp@1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} engines: {node: '>=0.8.0'} @@ -1115,7 +1197,12 @@ packages: /estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} - dev: false + + /estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + dependencies: + '@types/estree': 1.0.0 + dev: true /execa@5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} @@ -1192,6 +1279,7 @@ packages: engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] requiresBuild: true + dev: true optional: true /function-bind@1.1.1: @@ -1217,7 +1305,6 @@ packages: /get-caller-file@2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} - dev: false /get-intrinsic@1.1.3: resolution: {integrity: sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==} @@ -1320,6 +1407,12 @@ packages: resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} dev: false + /is-docker@2.2.1: + resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} + engines: {node: '>=8'} + hasBin: true + dev: true + /is-fullwidth-code-point@2.0.0: resolution: {integrity: sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==} engines: {node: '>=4'} @@ -1328,8 +1421,6 @@ packages: /is-fullwidth-code-point@3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} - dev: false - optional: true /is-nan@1.3.2: resolution: {integrity: sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==} @@ -1344,11 +1435,24 @@ packages: engines: {node: '>=0.10.0'} dev: false + /is-reference@3.0.1: + resolution: {integrity: sha512-baJJdQLiYaJdvFbJqXrcGv3WU3QCzBlUcI5QhbesIm6/xPsvmO+2CDoi/GMOFBQEQm+PXkwOPrp9KK5ozZsp2w==} + dependencies: + '@types/estree': 1.0.0 + dev: true + /is-stream@2.0.1: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} dev: false + /is-wsl@2.2.0: + resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==} + engines: {node: '>=8'} + dependencies: + is-docker: 2.2.1 + dev: true + /isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} dev: false @@ -1430,6 +1534,13 @@ packages: sourcemap-codec: 1.4.8 dev: false + /magic-string@0.30.1: + resolution: {integrity: sha512-mbVKXPmS0z0G4XqFDCTllmDQ6coZzn94aMlb0o/A4HEHJCKcanlDZwYJgwnkmgD3jyWhUgj9VsPrfd972yPffA==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + /make-dir@3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} @@ -1648,6 +1759,15 @@ packages: mimic-fn: 2.1.0 dev: false + /open@8.4.2: + resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} + engines: {node: '>=12'} + dependencies: + define-lazy-prop: 2.0.0 + is-docker: 2.2.1 + is-wsl: 2.2.0 + dev: true + /os-homedir@2.0.0: resolution: {integrity: sha512-saRNz0DSC5C/I++gFIaJTXoFJMRwiP5zHar5vV3xQ2TkgEw6hDCcU5F272JjUylpiVgBrZNQHnfjkLabTfb92Q==} engines: {node: '>=0.10.0'} @@ -1711,6 +1831,11 @@ packages: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} dev: false + /picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + dev: true + /pinyin@2.11.2: resolution: {integrity: sha512-tAWDBcowj09j/vLUjty98nVqrbTVNhutf1VcyID4p0sxTFPzRyXw7n7Ic0HQwBdWFIWrrDP8bYiT64gaT6h3gA==} hasBin: true @@ -1808,7 +1933,6 @@ packages: /require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} - dev: false /require-main-filename@2.0.0: resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} @@ -1822,6 +1946,43 @@ packages: dev: false optional: true + /rollup-plugin-external-globals@0.8.0(rollup@3.26.2): + resolution: {integrity: sha512-c65c7hPMCE//cLzC4dLVE25XkuHsBqSkZp+/5pvtZ1MFwqgQLRRkIfuCvI3PnI7Yj8HoXqYtdsRN9gYF5a4tVQ==} + peerDependencies: + rollup: ^2.25.0 || ^3.3.0 + dependencies: + '@rollup/pluginutils': 5.0.2(rollup@3.26.2) + estree-walker: 3.0.3 + is-reference: 3.0.1 + magic-string: 0.30.1 + rollup: 3.26.2 + dev: true + + /rollup-plugin-visualizer@5.9.2(rollup@3.26.2): + resolution: {integrity: sha512-waHktD5mlWrYFrhOLbti4YgQCn1uR24nYsNuXxg7LkPH8KdTXVWR9DNY1WU0QqokyMixVXJS4J04HNrVTMP01A==} + engines: {node: '>=14'} + hasBin: true + peerDependencies: + rollup: 2.x || 3.x + peerDependenciesMeta: + rollup: + optional: true + dependencies: + open: 8.4.2 + picomatch: 2.3.1 + rollup: 3.26.2 + source-map: 0.7.4 + yargs: 17.7.2 + dev: true + + /rollup@3.26.2: + resolution: {integrity: sha512-6umBIGVz93er97pMgQO08LuH3m6PUb3jlDUUGFsNJB6VgTCUaDFpupf5JfU30529m/UKOgmiX+uY6Sx8cOYpLA==} + engines: {node: '>=14.18.0', npm: '>=8.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.2 + dev: true + /sade@1.8.1: resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} engines: {node: '>=6'} @@ -1935,6 +2096,11 @@ packages: engines: {node: '>=0.10.0'} dev: false + /source-map@0.7.4: + resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} + engines: {node: '>= 8'} + dev: true + /sourcemap-codec@1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} deprecated: Please use @jridgewell/sourcemap-codec instead @@ -1960,8 +2126,6 @@ packages: emoji-regex: 8.0.0 is-fullwidth-code-point: 3.0.0 strip-ansi: 6.0.1 - dev: false - optional: true /string_decoder@1.3.0: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} @@ -1982,8 +2146,6 @@ packages: engines: {node: '>=8'} dependencies: ansi-regex: 5.0.1 - dev: false - optional: true /strip-final-newline@2.0.0: resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} @@ -2090,6 +2252,14 @@ packages: engines: {node: '>= 0.8'} dev: false + /vite-plugin-externalize-deps@0.7.0(vite@3.2.4): + resolution: {integrity: sha512-do2gPrR79Tm8UKcqsw3RTAtN4YO8GkVRBckWdJWINZ3Qdp3KN9S1oyUZxKszTB/iyg4zdOUweLOeBI8t86QVow==} + peerDependencies: + vite: ^2.0.0 || ^3.0.0 || ^4.0.0 + dependencies: + vite: registry.npmmirror.com/vite@3.2.4(@types/node@18.11.10) + dev: true + /vue-clipboard3@2.0.0: resolution: {integrity: sha512-Q9S7dzWGax7LN5iiSPcu/K1GGm2gcBBlYwmMsUc5/16N6w90cbKow3FnPmPs95sungns4yvd9/+JhbAznECS2A==} dependencies: @@ -2208,6 +2378,15 @@ packages: strip-ansi: 5.2.0 dev: false + /wrap-ansi@7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + dev: true + /wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} dev: false @@ -2217,6 +2396,11 @@ packages: resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} dev: false + /y18n@5.0.8: + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} + dev: true + /yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} dev: false @@ -2229,6 +2413,11 @@ packages: decamelize: 1.2.0 dev: false + /yargs-parser@21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + dev: true + /yargs@14.2.3: resolution: {integrity: sha512-ZbotRWhF+lkjijC/VhmOT9wSgyBQ7+zr13+YLkhfsSiTriYsMzkTUFP18pFhWwBeMa5gUc1MzbhrO6/VB7c9Xg==} dependencies: @@ -2245,6 +2434,19 @@ packages: yargs-parser: 15.0.3 dev: false + /yargs@17.7.2: + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} + engines: {node: '>=12'} + dependencies: + cliui: 8.0.1 + escalade: 3.1.1 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 21.1.1 + dev: true + /zrender@5.4.0: resolution: {integrity: sha512-rOS09Z2HSVGFs2dn/TuYk5BlCaZcVe8UDLLjj1ySYF828LATKKdxuakSZMvrDz54yiKPDYVfjdKqcX8Jky3BIA==} dependencies: @@ -2434,6 +2636,7 @@ packages: resolution: {integrity: sha512-juG3RWMBOqcOuXC643OAdSA525V44cVgGV6dUDuiFtss+8Fk5x1hI93Rsld43VeJVIeqlP9I7Fn9/qaVqoEAuQ==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/@types/node/-/node-18.11.10.tgz} name: '@types/node' version: 18.11.10 + dev: true registry.npmmirror.com/@vitejs/plugin-vue@3.2.0(vite@3.2.4)(vue@3.2.45): resolution: {integrity: sha512-E0tnaL4fr+qkdCNxJ+Xd0yM31UwMkQje76fsDVBBUCoGOUPexu2VDUYHL8P4CwV+zMvWw6nlRw19OnRKmYAJpw==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-3.2.0.tgz} @@ -2447,7 +2650,7 @@ packages: dependencies: vite: registry.npmmirror.com/vite@3.2.4(@types/node@18.11.10) vue: registry.npmmirror.com/vue@3.2.45 - dev: false + dev: true registry.npmmirror.com/@volar/language-core@1.0.11: resolution: {integrity: sha512-YwUYKxIyDc+Fq3kQ6BGGfkrKCG5JzE2Yr6vMxrxEXW2rg/gsq3JgMk/4sI8ybRsaTirhCB4V8+AIVYsvcRxgig==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/@volar/language-core/-/language-core-1.0.11.tgz} @@ -2572,7 +2775,6 @@ packages: dependencies: '@vue/reactivity': registry.npmmirror.com/@vue/reactivity@3.2.45 '@vue/shared': registry.npmmirror.com/@vue/shared@3.2.45 - dev: false registry.npmmirror.com/@vue/runtime-dom@3.2.45: resolution: {integrity: sha512-cy88YpfP5Ue2bDBbj75Cb4bIEZUMM/mAkDMfqDTpUYVgTf/kuQ2VQ8LebuZ8k6EudgH8pYhsGWHlY0lcxlvTwA==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/@vue/runtime-dom/-/runtime-dom-3.2.45.tgz} @@ -2582,7 +2784,6 @@ packages: '@vue/runtime-core': registry.npmmirror.com/@vue/runtime-core@3.2.45 '@vue/shared': registry.npmmirror.com/@vue/shared@3.2.45 csstype: registry.npmmirror.com/csstype@2.6.21 - dev: false registry.npmmirror.com/@vue/server-renderer@3.2.45(vue@3.2.45): resolution: {integrity: sha512-ebiMq7q24WBU1D6uhPK//2OTR1iRIyxjF5iVq/1a5I1SDMDyDu4Ts6fJaMnjrvD3MqnaiFkKQj+LKAgz5WIK3g==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.2.45.tgz} @@ -2595,7 +2796,6 @@ packages: '@vue/compiler-ssr': registry.npmmirror.com/@vue/compiler-ssr@3.2.45 '@vue/shared': registry.npmmirror.com/@vue/shared@3.2.45 vue: registry.npmmirror.com/vue@3.2.45 - dev: false registry.npmmirror.com/@vue/shared@3.2.45: resolution: {integrity: sha512-Ewzq5Yhimg7pSztDV+RH1UDKBzmtqieXQlpTVm2AwraoRL/Rks96mvd8Vgi7Lj+h+TH8dv7mXD3FRZR3TUvbSg==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/@vue/shared/-/shared-3.2.45.tgz} @@ -2819,7 +3019,6 @@ packages: resolution: {integrity: sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/csstype/-/csstype-2.6.21.tgz} name: csstype version: 2.6.21 - dev: false registry.npmmirror.com/dayjs@1.11.6: resolution: {integrity: sha512-zZbY5giJAinCG+7AGaw0wIhNZ6J8AhWuSXKvuc1KAyMiRsvGQWqh4L+MomvhdAYjN+lqvVCMq1I41e3YHvXkyQ==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/dayjs/-/dayjs-1.11.6.tgz} @@ -2907,6 +3106,7 @@ packages: esbuild-windows-32: 0.15.16 esbuild-windows-64: 0.15.16 esbuild-windows-arm64: 0.15.16 + dev: true registry.npmmirror.com/esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/esprima/-/esprima-4.0.1.tgz} @@ -2954,6 +3154,7 @@ packages: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz} name: function-bind version: 1.1.1 + dev: true registry.npmmirror.com/get-port@3.2.0: resolution: {integrity: sha512-x5UJKlgeUiNT8nyo/AcnwLnZuZNcSjSw0kogRB+Whd1fjjFq4B1hySFxSFWWSn4mIBzg3sRNUDFYc4g5gjPoLg==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/get-port/-/get-port-3.2.0.tgz} @@ -2985,6 +3186,7 @@ packages: engines: {node: '>= 0.4.0'} dependencies: function-bind: registry.npmmirror.com/function-bind@1.1.1 + dev: true registry.npmmirror.com/he@1.2.0: resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/he/-/he-1.2.0.tgz} @@ -3008,6 +3210,7 @@ packages: version: 2.11.0 dependencies: has: registry.npmmirror.com/has@1.0.3 + dev: true registry.npmmirror.com/is-extglob@2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz} @@ -3206,6 +3409,7 @@ packages: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz} name: path-parse version: 1.0.7 + dev: true registry.npmmirror.com/picocolors@1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz} @@ -3269,6 +3473,7 @@ packages: is-core-module: registry.npmmirror.com/is-core-module@2.11.0 path-parse: registry.npmmirror.com/path-parse@1.0.7 supports-preserve-symlinks-flag: registry.npmmirror.com/supports-preserve-symlinks-flag@1.0.0 + dev: true registry.npmmirror.com/reusify@1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz} @@ -3285,6 +3490,7 @@ packages: hasBin: true optionalDependencies: fsevents: 2.3.2 + dev: true registry.npmmirror.com/run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz} @@ -3378,6 +3584,7 @@ packages: name: supports-preserve-symlinks-flag version: 1.0.0 engines: {node: '>= 0.4'} + dev: true registry.npmmirror.com/tinydate@1.3.0: resolution: {integrity: sha512-7cR8rLy2QhYHpsBDBVYnnWXm8uRTr38RoZakFSW7Bs7PzfMPNZthuMLkwqZv7MTu8lhQ91cOFYS5a7iFj2oR3w==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/tinydate/-/tinydate-1.3.0.tgz} @@ -3502,6 +3709,7 @@ packages: rollup: registry.npmmirror.com/rollup@2.79.1 optionalDependencies: fsevents: 2.3.2 + dev: true registry.npmmirror.com/vue-demi@0.13.11(vue@3.2.45): resolution: {integrity: sha512-IR8HoEEGM65YY3ZJYAjMlKygDQn25D5ajNFNoKh9RSDMQtlzCxtfQjdQgv9jjK+m3377SsJXY8ysq8kLCZL25A==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/vue-demi/-/vue-demi-0.13.11.tgz} @@ -3566,7 +3774,6 @@ packages: '@vue/runtime-dom': registry.npmmirror.com/@vue/runtime-dom@3.2.45 '@vue/server-renderer': registry.npmmirror.com/@vue/server-renderer@3.2.45(vue@3.2.45) '@vue/shared': registry.npmmirror.com/@vue/shared@3.2.45 - dev: false registry.npmmirror.com/zrender@5.4.0: resolution: {integrity: sha512-rOS09Z2HSVGFs2dn/TuYk5BlCaZcVe8UDLLjj1ySYF828LATKKdxuakSZMvrDz54yiKPDYVfjdKqcX8Jky3BIA==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/zrender/-/zrender-5.4.0.tgz} diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 305f517a9..f789644cf 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -1,10 +1,43 @@ import {resolve} from 'path'; -import {defineConfig} from 'vite'; +import {defineConfig, splitVendorChunkPlugin} from 'vite'; import vue from '@vitejs/plugin-vue'; import dynamicImport from 'vite-plugin-dynamic-import'; +import {visualizer} from 'rollup-plugin-visualizer'; +import externalGlobals from 'rollup-plugin-external-globals'; +import {externalizeDeps} from 'vite-plugin-externalize-deps'; export default defineConfig({ + build: { + rollupOptions: { + output: { + manualChunks: (id) => { + if (id.includes('node_modules')) { + if (id.includes('@fortawesome')) return '@fortawesome'; + if (id.includes('element-plus')) return 'element-plus'; + if (id.includes('zrender')) return 'zrender'; + if (id.includes('echarts')) return 'echarts'; + if (id.includes('codemirror')) return 'codemirror'; + if (id.includes('atom-material-icons')) return 'atom-material-icons'; + if (id.includes('crawlab-ui')) return 'crawlab-ui';; + return 'vendor.[hash]'; + } + } + }, + external: [ + // 'codemirror', + // 'echarts', + ], + plugins: [ + // @ts-ignore + // externalGlobals({ + // // codemirror: 'CodeMirror', + // echarts: 'echarts', + // }) + ], + } + }, resolve: { + dedupe: ['vue', 'element-plus', 'codemirror'], alias: [ {find: '@', replacement: resolve(__dirname, 'src')}, ], @@ -21,6 +54,13 @@ export default defineConfig({ plugins: [ vue(), dynamicImport(), + // splitVendorChunkPlugin(), + // externalizeDeps(), + // @ts-ignore + visualizer({ + open: true, + // open: false, + }), ], server: { cors: true, From 8c7b921731d065910a5ed6b61aaddee88e766bc4 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Wed, 26 Jul 2023 15:32:36 +0800 Subject: [PATCH 2/3] chore: updated deps --- backend/go.mod | 2 +- backend/go.sum | 2 ++ frontend/package.json | 2 +- frontend/pnpm-lock.yaml | 8 ++++---- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/backend/go.mod b/backend/go.mod index d2288db03..8169abf0a 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -2,7 +2,7 @@ module crawlab go 1.18 -require github.com/crawlab-team/crawlab-core v0.6.3-0.20230708092022-c40c0fdc2c28 +require github.com/crawlab-team/crawlab-core v0.6.3-0.20230726071808-25ed70356f13 require ( github.com/Masterminds/semver v1.4.2 // indirect diff --git a/backend/go.sum b/backend/go.sum index 1246cc57d..3b8e7130d 100644 --- a/backend/go.sum +++ b/backend/go.sum @@ -147,6 +147,8 @@ github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfc github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/crawlab-team/crawlab-core v0.6.3-0.20230708092022-c40c0fdc2c28 h1:x2mzygXuU6mjlFk8zr8C45VvYEJn/wF1AgrGj5wfW8k= github.com/crawlab-team/crawlab-core v0.6.3-0.20230708092022-c40c0fdc2c28/go.mod h1:rrcJUzh/PHR2WKBaahsR8baRstCdnEEFLx+pOA8IenU= +github.com/crawlab-team/crawlab-core v0.6.3-0.20230726071808-25ed70356f13 h1:fP4OGh4q4hRLj9xOxdxHxJ3kMx8cxxcHMp/DxtJukJ4= +github.com/crawlab-team/crawlab-core v0.6.3-0.20230726071808-25ed70356f13/go.mod h1:rrcJUzh/PHR2WKBaahsR8baRstCdnEEFLx+pOA8IenU= github.com/crawlab-team/crawlab-db v0.6.0-1/go.mod h1:gfeF0nAnFuup6iYvgHkY0in/HpO/+JktXqVNMdhoxhU= github.com/crawlab-team/crawlab-db v0.6.0-beta.20220417.1300.0.20221226064900-5a357ee73484 h1:1CXWC3lYcVWcgPRc3PNKzZ3fcfX5WZ/V8xwzHEMUFHQ= github.com/crawlab-team/crawlab-db v0.6.0-beta.20220417.1300.0.20221226064900-5a357ee73484/go.mod h1:gfeF0nAnFuup6iYvgHkY0in/HpO/+JktXqVNMdhoxhU= diff --git a/frontend/package.json b/frontend/package.json index 431844d98..03b7c9224 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -21,7 +21,7 @@ "@fortawesome/vue-fontawesome": "^3.0.0-5", "atom-material-icons": "^3.0.0", "codemirror": "^5.59.1", - "crawlab-ui": "0.6.2-10", + "crawlab-ui": "0.6.2-11", "echarts": "^5.1.2", "element-plus": "^1.3.0-beta.10", "vue": "^3.2", diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 5abf74264..9fb7ad1c7 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -30,8 +30,8 @@ dependencies: specifier: ^5.59.1 version: registry.npmmirror.com/codemirror@5.65.10 crawlab-ui: - specifier: 0.6.2-10 - version: 0.6.2-10 + specifier: 0.6.2-11 + version: 0.6.2-11 echarts: specifier: ^5.1.2 version: registry.npmmirror.com/echarts@5.4.0 @@ -800,8 +800,8 @@ packages: requiresBuild: true dev: false - /crawlab-ui@0.6.2-10: - resolution: {integrity: sha512-gu543qK1NNaj20kpdfU+9noeMeaUSZlVONWq+ns5NQdF0A99dQLygDygRdVf/7ziu/2stzD1feDt4GoQzNe7TA==} + /crawlab-ui@0.6.2-11: + resolution: {integrity: sha512-61xWlZoHfLbWNB/Z6kDyQHqULt1Qh4E0xwrctfVSj9Y5KLI9ceoUIUILA4Wtf7sF9fYK2YxXSIj4+SQe3+HhwQ==} dependencies: '@element-plus/icons': 0.0.11 '@fortawesome/fontawesome-common-types': 6.2.1 From d5367ed21d77de48d3e13c94f8728fd029e6bbff Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Wed, 26 Jul 2023 15:47:56 +0800 Subject: [PATCH 3/3] chore: updated version --- backend/conf/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/conf/config.yml b/backend/conf/config.yml index 85e786685..322ade507 100755 --- a/backend/conf/config.yml +++ b/backend/conf/config.yml @@ -1,3 +1,3 @@ info: edition: global.edition.community - version: v0.6.2 + version: v0.6.3