mirror of
				https://github.com/soybeanjs/soybean-admin.git
				synced 2025-11-04 15:53:43 +08:00 
			
		
		
		
	build(projects): update deps, update logos
This commit is contained in:
		@@ -44,7 +44,7 @@ export const routeModel: Record<Auth.RoleType, AuthRoute.Route[]> = {
 | 
			
		||||
          meta: {
 | 
			
		||||
            title: 'vue文档',
 | 
			
		||||
            requiresAuth: true,
 | 
			
		||||
            icon: 'mdi:vuejs'
 | 
			
		||||
            icon: 'logos:vue'
 | 
			
		||||
          }
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
@@ -54,16 +54,36 @@ export const routeModel: Record<Auth.RoleType, AuthRoute.Route[]> = {
 | 
			
		||||
          meta: {
 | 
			
		||||
            title: 'vite文档',
 | 
			
		||||
            requiresAuth: true,
 | 
			
		||||
            icon: 'simple-icons:vite'
 | 
			
		||||
            icon: 'logos:vitejs'
 | 
			
		||||
          }
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          name: 'document_naive',
 | 
			
		||||
          path: '/document/naive',
 | 
			
		||||
          component: 'self',
 | 
			
		||||
          meta: {
 | 
			
		||||
            title: 'naive文档',
 | 
			
		||||
            requiresAuth: true,
 | 
			
		||||
            icon: 'logos:naiveui'
 | 
			
		||||
          }
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          name: 'document_project',
 | 
			
		||||
          path: '/document/project',
 | 
			
		||||
          component: 'self',
 | 
			
		||||
          meta: {
 | 
			
		||||
            title: '项目文档',
 | 
			
		||||
            requiresAuth: true,
 | 
			
		||||
            customIcon: 'logo'
 | 
			
		||||
          }
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          name: 'document_project-link',
 | 
			
		||||
          path: '/document/project-link',
 | 
			
		||||
          meta: {
 | 
			
		||||
            title: '项目文档(外链)',
 | 
			
		||||
            requiresAuth: true,
 | 
			
		||||
            icon: 'mdi:file-link-outline',
 | 
			
		||||
            customIcon: 'logo',
 | 
			
		||||
            href: 'https://docs.soybean.pro/'
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										16
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								package.json
									
									
									
									
									
								
							@@ -53,7 +53,7 @@
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@antv/data-set": "^0.11.8",
 | 
			
		||||
    "@antv/g2": "^4.2.7",
 | 
			
		||||
    "@antv/g2": "^4.2.8",
 | 
			
		||||
    "@better-scroll/core": "^2.4.2",
 | 
			
		||||
    "@soybeanjs/vue-admin-layout": "^1.1.1",
 | 
			
		||||
    "@soybeanjs/vue-admin-tab": "^1.0.5",
 | 
			
		||||
@@ -70,7 +70,7 @@
 | 
			
		||||
    "pinia": "^2.0.22",
 | 
			
		||||
    "print-js": "^1.6.0",
 | 
			
		||||
    "qs": "^6.11.0",
 | 
			
		||||
    "swiper": "^8.4.0",
 | 
			
		||||
    "swiper": "^8.4.2",
 | 
			
		||||
    "ua-parser-js": "^1.0.2",
 | 
			
		||||
    "vditor": "^3.8.17",
 | 
			
		||||
    "vue": "3.2.39",
 | 
			
		||||
@@ -82,7 +82,7 @@
 | 
			
		||||
    "@amap/amap-jsapi-types": "^0.0.8",
 | 
			
		||||
    "@commitlint/cli": "^17.1.2",
 | 
			
		||||
    "@commitlint/config-conventional": "^17.1.0",
 | 
			
		||||
    "@iconify/json": "^2.1.107",
 | 
			
		||||
    "@iconify/json": "^2.1.109",
 | 
			
		||||
    "@iconify/vue": "^4.0.0",
 | 
			
		||||
    "@milahu/patch-package": "^6.4.14",
 | 
			
		||||
    "@types/bmapgl": "^0.0.5",
 | 
			
		||||
@@ -90,8 +90,8 @@
 | 
			
		||||
    "@types/node": "^18.7.18",
 | 
			
		||||
    "@types/qs": "^6.9.7",
 | 
			
		||||
    "@types/ua-parser-js": "^0.7.36",
 | 
			
		||||
    "@unocss/preset-uno": "^0.45.21",
 | 
			
		||||
    "@unocss/vite": "^0.45.21",
 | 
			
		||||
    "@unocss/preset-uno": "^0.45.22",
 | 
			
		||||
    "@unocss/vite": "^0.45.22",
 | 
			
		||||
    "@vitejs/plugin-vue": "^3.1.0",
 | 
			
		||||
    "@vitejs/plugin-vue-jsx": "^2.0.1",
 | 
			
		||||
    "commitizen": "^4.2.5",
 | 
			
		||||
@@ -108,16 +108,16 @@
 | 
			
		||||
    "sass": "^1.54.9",
 | 
			
		||||
    "standard-version": "^9.5.0",
 | 
			
		||||
    "typescript": "4.8.3",
 | 
			
		||||
    "unplugin-icons": "^0.14.9",
 | 
			
		||||
    "unplugin-icons": "^0.14.10",
 | 
			
		||||
    "unplugin-vue-components": "0.22.7",
 | 
			
		||||
    "unplugin-vue-macros": "^0.11.2",
 | 
			
		||||
    "utility-types": "^3.10.0",
 | 
			
		||||
    "vite": "^3.1.0",
 | 
			
		||||
    "vite": "^3.1.3",
 | 
			
		||||
    "vite-plugin-compression": "^0.5.1",
 | 
			
		||||
    "vite-plugin-html": "^3.2.0",
 | 
			
		||||
    "vite-plugin-mock": "^2.9.6",
 | 
			
		||||
    "vite-plugin-progress": "^0.0.4",
 | 
			
		||||
    "vite-plugin-pwa": "^0.12.7",
 | 
			
		||||
    "vite-plugin-pwa": "^0.13.0",
 | 
			
		||||
    "vite-plugin-svg-icons": "^2.0.1",
 | 
			
		||||
    "vue-tsc": "^0.40.13"
 | 
			
		||||
  },
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								src/typings/route.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/typings/route.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -18,10 +18,10 @@ declare namespace AuthRoute {
 | 
			
		||||
    | 'dashboard_workbench'
 | 
			
		||||
    | 'document'
 | 
			
		||||
    | 'document_vue'
 | 
			
		||||
    | 'document_vue-new'
 | 
			
		||||
    | 'document_vite'
 | 
			
		||||
    | 'document_naive'
 | 
			
		||||
    | 'document_project'
 | 
			
		||||
    | 'document_project-link'
 | 
			
		||||
    | 'component'
 | 
			
		||||
    | 'component_button'
 | 
			
		||||
    | 'component_card'
 | 
			
		||||
 
 | 
			
		||||
@@ -66,7 +66,7 @@ const technology: Technology[] = [
 | 
			
		||||
    description: '一套用于构建用户界面的渐进式框架',
 | 
			
		||||
    author: '尤雨溪 - Evan You',
 | 
			
		||||
    site: 'https://v3.cn.vuejs.org/',
 | 
			
		||||
    icon: 'vscode-icons:file-type-vue'
 | 
			
		||||
    icon: 'logos:vue'
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    id: 1,
 | 
			
		||||
@@ -74,7 +74,7 @@ const technology: Technology[] = [
 | 
			
		||||
    description: 'JavaScript类型的超集,它可以编译成纯JavaScript',
 | 
			
		||||
    author: '微软 - Microsoft',
 | 
			
		||||
    site: 'https://www.typescriptlang.org/',
 | 
			
		||||
    icon: 'vscode-icons:file-type-typescript-official'
 | 
			
		||||
    icon: 'logos:typescript-icon'
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    id: 2,
 | 
			
		||||
@@ -82,7 +82,7 @@ const technology: Technology[] = [
 | 
			
		||||
    description: '下一代前端开发与构建工具',
 | 
			
		||||
    author: '尤雨溪 - Evan You',
 | 
			
		||||
    site: 'https://vitejs.cn/',
 | 
			
		||||
    icon: 'vscode-icons:file-type-vite'
 | 
			
		||||
    icon: 'logos:vitejs'
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    id: 3,
 | 
			
		||||
@@ -90,8 +90,7 @@ const technology: Technology[] = [
 | 
			
		||||
    description: '一个 Vue 3 组件库',
 | 
			
		||||
    author: '图森未来 - TuSimple',
 | 
			
		||||
    site: 'https://www.naiveui.com/zh-CN/os-theme',
 | 
			
		||||
    icon: 'mdi:alpha-n-box-outline',
 | 
			
		||||
    iconColor: '#5fbc22'
 | 
			
		||||
    icon: 'logos:naiveui'
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    id: 4,
 | 
			
		||||
@@ -99,8 +98,7 @@ const technology: Technology[] = [
 | 
			
		||||
    description: '下一代实用优先的CSS框架',
 | 
			
		||||
    author: 'Anthony Fu',
 | 
			
		||||
    site: 'https://uno.antfu.me/?s=',
 | 
			
		||||
    icon: 'logos:unocss',
 | 
			
		||||
    iconColor: '#48b0f1'
 | 
			
		||||
    icon: 'logos:unocss'
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    id: 5,
 | 
			
		||||
@@ -108,8 +106,7 @@ const technology: Technology[] = [
 | 
			
		||||
    description: 'vue状态管理框架,支持vue2、vue3',
 | 
			
		||||
    author: 'Posva',
 | 
			
		||||
    site: 'https://pinia.esm.dev/',
 | 
			
		||||
    icon: 'mdi:fruit-pineapple',
 | 
			
		||||
    iconColor: '#fecf48'
 | 
			
		||||
    icon: 'noto:pineapple'
 | 
			
		||||
  }
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,9 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script setup lang="ts">
 | 
			
		||||
const src = 'https://www.naiveui.com/zh-CN/os-theme/docs/introduction';
 | 
			
		||||
import { ref } from 'vue';
 | 
			
		||||
 | 
			
		||||
const src = ref('https://www.naiveui.com/zh-CN/os-theme/docs/introduction');
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<style scoped></style>
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,9 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script setup lang="ts">
 | 
			
		||||
const src = 'https://staging-cn.vuejs.org/';
 | 
			
		||||
import { ref } from 'vue';
 | 
			
		||||
 | 
			
		||||
const src = ref('https://docs.soybean.pro/');
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<style scoped></style>
 | 
			
		||||
@@ -5,7 +5,9 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script setup lang="ts">
 | 
			
		||||
const src = 'https://cn.vitejs.dev/';
 | 
			
		||||
import { ref } from 'vue';
 | 
			
		||||
 | 
			
		||||
const src = ref('https://cn.vitejs.dev/');
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<style scoped></style>
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,9 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script setup lang="ts">
 | 
			
		||||
const src = 'https://v3.cn.vuejs.org/';
 | 
			
		||||
import { ref } from 'vue';
 | 
			
		||||
 | 
			
		||||
const src = ref('https://v3.cn.vuejs.org/');
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<style scoped></style>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user