From 1c21cb4d82147c505385fa7f45d77cd8dda8f48e Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 18 Jul 2022 05:08:13 +0900 Subject: [PATCH 01/13] lint fix --- packages/client/src/pages/registry.value.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/pages/registry.value.vue b/packages/client/src/pages/registry.value.vue index 34253cc93b..9deb31e4a4 100644 --- a/packages/client/src/pages/registry.value.vue +++ b/packages/client/src/pages/registry.value.vue @@ -74,7 +74,7 @@ function fetchValue() { async function save() { try { JSON5.parse(valueForEditor); - } catch (e) { + } catch (err) { os.alert({ type: 'error', text: i18n.ts.invalidValue, From b3b0a960afb69d72246b56748fffc1a39363a9c6 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 18 Jul 2022 18:41:07 +0900 Subject: [PATCH 02/13] update vite --- packages/client/package.json | 4 ++-- packages/client/yarn.lock | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/client/package.json b/packages/client/package.json index 94f6688dd2..31c7604891 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -15,7 +15,7 @@ "@rollup/plugin-alias": "3.1.9", "@rollup/plugin-json": "4.1.0", "@syuilo/aiscript": "0.11.1", - "@vitejs/plugin-vue": "3.0.0", + "@vitejs/plugin-vue": "3.0.1", "@vue/compiler-sfc": "3.2.37", "abort-controller": "3.0.0", "autobind-decorator": "2.4.0", @@ -73,7 +73,7 @@ "uuid": "8.3.2", "v-debounce": "0.1.2", "vanilla-tilt": "1.7.2", - "vite": "3.0.0", + "vite": "3.0.1", "vue": "3.2.37", "vue-prism-editor": "2.0.0-alpha.2", "vuedraggable": "4.0.1", diff --git a/packages/client/yarn.lock b/packages/client/yarn.lock index 3cef5b87cc..0be2fa3103 100644 --- a/packages/client/yarn.lock +++ b/packages/client/yarn.lock @@ -600,10 +600,10 @@ resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44" integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q== -"@vitejs/plugin-vue@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-3.0.0.tgz#7081e2b3fbe04e291bb85107b9fb57a1fa5e6aeb" - integrity sha512-yWP34ArFh/jAeNUDkkLz/kVRLjf5ppJiq4L36f64Cp6dIrMQeYZGDP9xxdemlXfZR9ylN9JgHUl3GzfqOtgYDg== +"@vitejs/plugin-vue@3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-3.0.1.tgz#b6af8f782485374bbb5fe09edf067a845bf4caae" + integrity sha512-Ll9JgxG7ONIz/XZv3dssfoMUDu9qAnlJ+km+pBA0teYSXzwPCIzS/e1bmwNYl5dcQGs677D21amgfYAnzMl17A== "@vue/compiler-core@3.2.37": version "3.2.37" @@ -4222,10 +4222,10 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" -vite@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/vite/-/vite-3.0.0.tgz#b4675cb9ab83ec0803b9c952ffa6519bcce033a7" - integrity sha512-M7phQhY3+fRZa0H+1WzI6N+/onruwPTBTMvaj7TzgZ0v2TE+N2sdLKxJOfOv9CckDWt5C4HmyQP81xB4dwRKzA== +vite@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/vite/-/vite-3.0.1.tgz#9c30c9662ec24455b8834d0b831c9f3c5a9139ca" + integrity sha512-nefKSglkoEsDpYUkBuT2++L04ktcP8fz8dxLtmZdDdMyhubFSOLFw6BTh/46Fc6tIX/cibs/NVYWNrsqn0k6pQ== dependencies: esbuild "^0.14.47" postcss "^8.4.14" From 369660ac79aefa753817e885eaa660af76deb10e Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 18 Jul 2022 18:41:17 +0900 Subject: [PATCH 03/13] chore(client): tweak style --- packages/client/src/ui/_common_/navbar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/ui/_common_/navbar.vue b/packages/client/src/ui/_common_/navbar.vue index 7e6065c305..30837ed287 100644 --- a/packages/client/src/ui/_common_/navbar.vue +++ b/packages/client/src/ui/_common_/navbar.vue @@ -156,7 +156,7 @@ function more(ev: MouseEvent) {