From 17c945107ba765f5d310323fad1360412e34752a Mon Sep 17 00:00:00 2001 From: James Yang Date: Wed, 1 Jan 2025 17:32:02 +0800 Subject: [PATCH 1/2] Update build-develop.yml --- .github/workflows/build-develop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-develop.yml b/.github/workflows/build-develop.yml index 80ced36..d7c028b 100644 --- a/.github/workflows/build-develop.yml +++ b/.github/workflows/build-develop.yml @@ -22,6 +22,9 @@ jobs: working-directory: ./front run: | npm install -g pnpm + cd projects/web + pnpm install + cd ../../ npm run build - name: Set up Go From 0c79117caff7718f67eec493f85116e05288b533 Mon Sep 17 00:00:00 2001 From: James Yang Date: Wed, 1 Jan 2025 18:48:14 +0800 Subject: [PATCH 2/2] remove vus-tsc --- front/projects/web/components.d.ts | 5 +++++ front/projects/web/package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/front/projects/web/components.d.ts b/front/projects/web/components.d.ts index f95143f..4dffdbb 100644 --- a/front/projects/web/components.d.ts +++ b/front/projects/web/components.d.ts @@ -10,6 +10,7 @@ declare module 'vue' { ElAvatar: typeof import('element-plus/es')['ElAvatar'] ElButton: typeof import('element-plus/es')['ElButton'] ElCard: typeof import('element-plus/es')['ElCard'] + ElCol: typeof import('element-plus/es')['ElCol'] ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider'] ElDivider: typeof import('element-plus/es')['ElDivider'] ElDropdown: typeof import('element-plus/es')['ElDropdown'] @@ -21,8 +22,12 @@ declare module 'vue' { ElInput: typeof import('element-plus/es')['ElInput'] ElMenu: typeof import('element-plus/es')['ElMenu'] ElMenuItem: typeof import('element-plus/es')['ElMenuItem'] + ElResult: typeof import('element-plus/es')['ElResult'] + ElRow: typeof import('element-plus/es')['ElRow'] ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] ElSubMenu: typeof import('element-plus/es')['ElSubMenu'] + ElTabPane: typeof import('element-plus/es')['ElTabPane'] + ElTabs: typeof import('element-plus/es')['ElTabs'] ElText: typeof import('element-plus/es')['ElText'] IconMdiChevronDown: typeof import('~icons/mdi/chevron-down')['default'] IconMdiFormatIndentDecrease: typeof import('~icons/mdi/format-indent-decrease')['default'] diff --git a/front/projects/web/package.json b/front/projects/web/package.json index f7e0539..d65ee8f 100644 --- a/front/projects/web/package.json +++ b/front/projects/web/package.json @@ -6,7 +6,7 @@ "scripts": { "preinstall": "npx only-allow pnpm", "dev": "vite", - "build": "vue-tsc --noEmit && vite build", + "build": "vite build", "preview": "vite preview", "format": "prettier --write \"./**/*.{html,vue,ts,js,json,md}\"", "lint": "npx eslint src",