From d245f339fc8098fb749237ce5b30c95988c0513b Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Thu, 24 Nov 2022 23:01:06 +0800 Subject: [PATCH 1/6] fix(performance): attempt to fix memory leak AB#27 --- backend/go.mod | 4 ++-- backend/go.sum | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/go.mod b/backend/go.mod index 7722038b..73c813f8 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,5 +1,5 @@ module crawlab -go 1.16 +go 1.17 -require github.com/crawlab-team/crawlab-core v0.6.1-0.20221111034633-357a8ce0403b +require github.com/crawlab-team/crawlab-core v0.6.1-0.20221124145812-5bb6bfead6d9 diff --git a/backend/go.sum b/backend/go.sum index 2b515abf..c57ce228 100644 --- a/backend/go.sum +++ b/backend/go.sum @@ -133,6 +133,8 @@ github.com/crawlab-team/crawlab-core v0.6.1-0.20221031113626-cea0654441d7 h1:neD github.com/crawlab-team/crawlab-core v0.6.1-0.20221031113626-cea0654441d7/go.mod h1:7j+NZVXLxBlZpQq0WSVLlKlQ6Vmxqq7FQK9WcNxOlwc= github.com/crawlab-team/crawlab-core v0.6.1-0.20221111034633-357a8ce0403b h1:Qk1TspDVtVQ6vGm2fDCGBWIvlTdJMYb8/whSKMQFryA= github.com/crawlab-team/crawlab-core v0.6.1-0.20221111034633-357a8ce0403b/go.mod h1:7j+NZVXLxBlZpQq0WSVLlKlQ6Vmxqq7FQK9WcNxOlwc= +github.com/crawlab-team/crawlab-core v0.6.1-0.20221124145812-5bb6bfead6d9 h1:5O9p4NCUo5D2V2deL19xU3s6Keh2y59hUhB2b9kZNEQ= +github.com/crawlab-team/crawlab-core v0.6.1-0.20221124145812-5bb6bfead6d9/go.mod h1:7j+NZVXLxBlZpQq0WSVLlKlQ6Vmxqq7FQK9WcNxOlwc= 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.20221020034454-40c7a5c6cbe2 h1:dmC9D/BSHv6yh8khtQ7cDYFh8Yzr8NmhbAMBS36h9dA= github.com/crawlab-team/crawlab-db v0.6.0-beta.20220417.1300.0.20221020034454-40c7a5c6cbe2/go.mod h1:gfeF0nAnFuup6iYvgHkY0in/HpO/+JktXqVNMdhoxhU= From 1fd115c8833c0c06ce4b45e34283fc299fb0524d Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Sat, 3 Dec 2022 17:48:25 +0800 Subject: [PATCH 2/6] build(ui): migrated to pnpm and vite --- frontend/{public => }/index.html | 16 +- frontend/package.json | 26 +- frontend/pnpm-lock.yaml | 3605 ++++++++++++++++++++++++ frontend/public/js/login-canvas.js | 258 ++ frontend/public/simplemde/simplemde.js | 15 + frontend/src/main.ts | 2 +- frontend/tsconfig.json | 10 +- frontend/vite.config.ts | 28 + 8 files changed, 3930 insertions(+), 30 deletions(-) rename frontend/{public => }/index.html (92%) create mode 100644 frontend/pnpm-lock.yaml create mode 100644 frontend/public/js/login-canvas.js create mode 100644 frontend/public/simplemde/simplemde.js create mode 100644 frontend/vite.config.ts diff --git a/frontend/public/index.html b/frontend/index.html similarity index 92% rename from frontend/public/index.html rename to frontend/index.html index 1e62fdd3..b2555649 100644 --- a/frontend/public/index.html +++ b/frontend/index.html @@ -1,18 +1,15 @@ - <%= htmlWebpackPlugin.options.title %> - - - - + + + Crawlab + + +