Skip to content

Commit

Permalink
chore: updata dependencies (#40)
Browse files Browse the repository at this point in the history
* chore: updata dependencies

* chore: updata dependencies
  • Loading branch information
tolking committed Apr 5, 2024
1 parent b0d29b4 commit df0cde3
Show file tree
Hide file tree
Showing 8 changed files with 373 additions and 376 deletions.
File renamed without changes.
640 changes: 320 additions & 320 deletions auto-imports.d.ts

Large diffs are not rendered by default.

53 changes: 27 additions & 26 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,34 @@ export {}

declare module '@vue/runtime-core' {
export interface GlobalComponents {
DashboardCard: typeof import('./src/components/DashboardCard.vue')['default']
ElButton: typeof import('element-plus/es')['ElButton']
ElCalendar: typeof import('element-plus/es')['ElCalendar']
ElCard: typeof import('element-plus/es')['ElCard']
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
ElDropdown: typeof import('element-plus/es')['ElDropdown']
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
ElIconArrowDown: typeof import('@element-plus/icons-vue')['ArrowDown']
ElIconRefresh: typeof import('@element-plus/icons-vue')['Refresh']
ElImage: typeof import('element-plus/es')['ElImage']
ElProgress: typeof import('element-plus/es')['ElProgress']
ElTag: typeof import('element-plus/es')['ElTag']
ProBreadcrumb: typeof import('element-pro-components')['ProBreadcrumb']
ProCard: typeof import('element-pro-components')['ProCard']
ProColumnSetting: typeof import('element-pro-components')['ProColumnSetting']
ProCrud: typeof import('element-pro-components')['ProCrud']
ProDescriptions: typeof import('element-pro-components')['ProDescriptions']
ProForm: typeof import('element-pro-components')['ProForm']
ProLayout: typeof import('element-pro-components')['ProLayout']
ProTable: typeof import('element-pro-components')['ProTable']
ProTabs: typeof import('element-pro-components')['ProTabs']
RichEditor: typeof import('./src/components/RichEditor.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
DashboardCard: (typeof import('./src/components/DashboardCard.vue'))['default']
ElButton: (typeof import('element-plus/es'))['ElButton']
ElCalendar: (typeof import('element-plus/es'))['ElCalendar']
ElCard: (typeof import('element-plus/es'))['ElCard']
ElCol: (typeof import('element-plus/es'))['ElCol']
ElConfigProvider: (typeof import('element-plus/es'))['ElConfigProvider']
ElDropdown: (typeof import('element-plus/es'))['ElDropdown']
ElDropdownItem: (typeof import('element-plus/es'))['ElDropdownItem']
ElDropdownMenu: (typeof import('element-plus/es'))['ElDropdownMenu']
ElIconArrowDown: (typeof import('@element-plus/icons-vue'))['ArrowDown']
ElImage: (typeof import('element-plus/es'))['ElImage']
ElProgress: (typeof import('element-plus/es'))['ElProgress']
ElRow: (typeof import('element-plus/es'))['ElRow']
ElTag: (typeof import('element-plus/es'))['ElTag']
ProBreadcrumb: (typeof import('element-pro-components'))['ProBreadcrumb']
ProCard: (typeof import('element-pro-components'))['ProCard']
ProColumnSetting: (typeof import('element-pro-components'))['ProColumnSetting']
ProCrud: (typeof import('element-pro-components'))['ProCrud']
ProDescriptions: (typeof import('element-pro-components'))['ProDescriptions']
ProForm: (typeof import('element-pro-components'))['ProForm']
ProLayout: (typeof import('element-pro-components'))['ProLayout']
ProTable: (typeof import('element-pro-components'))['ProTable']
ProTabs: (typeof import('element-pro-components'))['ProTabs']
RichEditor: (typeof import('./src/components/RichEditor.vue'))['default']
RouterLink: (typeof import('vue-router'))['RouterLink']
RouterView: (typeof import('vue-router'))['RouterView']
}
export interface ComponentCustomProperties {
vLoading: typeof import('element-plus/es')['ElLoadingDirective']
vLoading: (typeof import('element-plus/es'))['ElLoadingDirective']
}
}
39 changes: 20 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "element-admin-template",
"version": "1.3.0",
"version": "1.4.0",
"description": "一个基础的后台管理系统模版,方便快速开发",
"author": "tolking <qw13131wang@gmail.com>",
"license": "MIT",
"type": "module",
"bugs": {
"url": "https://github.com/tolking/element-admin-template/issues"
},
Expand All @@ -22,32 +23,32 @@
"prepare": "husky install"
},
"dependencies": {
"@element-plus/icons-vue": "^2.1.0",
"@element-plus/icons-vue": "^2.3.1",
"@vueuse/core": "^9.13.0",
"element-plus": "^2.3.8",
"element-pro-components": "^1.2.12",
"element-plus": "^2.6.3",
"element-pro-components": "^1.3.0",
"quill": "^1.3.7",
"vue": "^3.3.4",
"vue-router": "^4.2.4"
"vue": "^3.4.21",
"vue-router": "^4.3.0"
},
"devDependencies": {
"@types/node": "^20.4.2",
"@types/quill": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-vue": "^4.2.3",
"@vue/compiler-sfc": "^3.3.4",
"eslint": "^8.45.0",
"@types/node": "^20.12.4",
"@types/quill": "^2.0.14",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.4.21",
"eslint": "^8.57.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.15.1",
"eslint-plugin-vue": "^9.24.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"prettier": "^3.0.0",
"typescript": "^5.1.6",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"typescript": "^5.4.3",
"unplugin-auto-import": "^0.13.0",
"unplugin-vue-components": "^0.23.0",
"vite": "^4.4.4",
"vue-tsc": "^1.8.5"
"vite": "^5.2.8",
"vue-tsc": "^2.0.7"
},
"lint-staged": {
"*.{ts,vue,js,tsx,jsx}": [
Expand Down
2 changes: 1 addition & 1 deletion src/composables/crud.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isFunction } from '@vueuse/core'
import type { MaybeRef } from '@vueuse/core'
import type { MaybeRef } from 'vue'
import type {
ICrudSubmit,
ICrudBeforeOpen,
Expand Down
4 changes: 2 additions & 2 deletions src/composables/detail.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Ref } from 'vue'
import type { Ref, MaybeRef } from 'vue'
import type { UseFetchReturn } from '@vueuse/core'
import type { UnknownObject, MaybeRef } from 'element-pro-components'
import type { UnknownObject } from 'element-pro-components'

export interface UseDetailConfig {
url: MaybeRef<string>
Expand Down
8 changes: 2 additions & 6 deletions src/composables/form.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { isFunction } from 'element-pro-components'
import type { Ref } from 'vue'
import type { Ref, MaybeRef } from 'vue'
import type { UseFetchReturn } from '@vueuse/core'
import type {
IFormSubmit,
StringObject,
MaybeRef,
} from 'element-pro-components'
import type { IFormSubmit, StringObject } from 'element-pro-components'

export type ReqFormType = 'post' | 'put'

Expand Down
3 changes: 1 addition & 2 deletions src/composables/remove.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { Ref } from 'vue'
import type { Ref, MaybeRef } from 'vue'
import type { UseFetchReturn } from '@vueuse/core'
import type { MaybeRef } from 'element-pro-components'
import type { UseDetailConfig } from './detail'

export interface UseRemoveConfig extends UseDetailConfig {
Expand Down

0 comments on commit df0cde3

Please sign in to comment.