Skip to content

Commit

Permalink
chore: upgrade deps & update icp
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Jul 3, 2023
1 parent 0d6f921 commit 6b7bcf5
Show file tree
Hide file tree
Showing 6 changed files with 1,180 additions and 749 deletions.
6 changes: 2 additions & 4 deletions components/Footer.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<script setup lang="ts">
import { socialList } from '~/config'
const icp = '京ICP备2022027075号-1'
import { info, socialList } from '~/config'
</script>

<template>
Expand All @@ -16,7 +14,7 @@ const icp = '京ICP备2022027075号-1'

<div class="mt-5 text-center text-lg opacity-90" font-black text-white>
<a href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank">
{{ icp }}
{{ info.icp }}
</a>
</div>

Expand Down
1 change: 1 addition & 0 deletions config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export * from './members'
export * from './partners'
export * from './projects'
export * from './social'
export * from './info'
3 changes: 3 additions & 0 deletions config/info.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const info = {
icp: '苏ICP备2023020936号',
}
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"packageManager": "[email protected].0",
"packageManager": "[email protected].5",
"scripts": {
"build": "nuxi build",
"dev": "nuxi dev",
Expand All @@ -12,27 +12,27 @@
"typecheck": "vue-tsc --noEmit"
},
"devDependencies": {
"@antfu/eslint-config": "^0.39.4",
"@iconify-json/carbon": "^1.1.17",
"@antfu/eslint-config": "^0.39.6",
"@iconify-json/carbon": "^1.1.18",
"@iconify-json/mdi": "^1.1.52",
"@iconify-json/ri": "^1.1.9",
"@iconify-json/ri": "^1.1.10",
"@iconify-json/twemoji": "^1.1.11",
"@nuxt/content": "^2.6.0",
"@nuxtjs/color-mode": "^3.2.0",
"@nuxt/content": "^2.7.0",
"@nuxtjs/color-mode": "^3.3.0",
"@pinia/nuxt": "^0.4.11",
"@unocss/eslint-config": "^0.52.7",
"@unocss/nuxt": "^0.52.7",
"@unocss/eslint-config": "^0.53.4",
"@unocss/nuxt": "^0.53.4",
"@vercel/analytics": "^1.0.1",
"@vite-pwa/nuxt": "^0.0.10",
"@vueuse/nuxt": "^10.1.2",
"consola": "^3.1.0",
"eslint": "^8.42.0",
"nuxt": "^3.5.2",
"@vite-pwa/nuxt": "^0.1.0",
"@vueuse/nuxt": "^10.2.1",
"consola": "^3.2.2",
"eslint": "^8.44.0",
"nuxt": "^3.6.1",
"nuxt-gtag": "^0.5.7",
"pinia": "^2.1.3",
"sass": "^1.62.1",
"typescript": "^5.1.3",
"pinia": "^2.1.4",
"sass": "^1.63.6",
"typescript": "^5.1.6",
"vue-gtag-next": "^1.14.0",
"vue-tsc": "^1.6.5"
"vue-tsc": "^1.8.3"
}
}
4 changes: 2 additions & 2 deletions plugins/vercel.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { inject } from '@vercel/analytics'

export default () => {
export default defineNuxtPlugin(() => {
inject()
}
})
Loading

1 comment on commit 6b7bcf5

@vercel
Copy link

@vercel vercel bot commented on 6b7bcf5 Jul 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.