Skip to content

Commit

Permalink
chore(deps): upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed Aug 19, 2024
1 parent 4302a08 commit 60ed38f
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 151 deletions.
2 changes: 1 addition & 1 deletion blog-archived/client/plugins/client-only.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import svg4everybody from 'svg4everybody'
import mobile from 'is-mobile'
// import 'giscus'
import 'giscus'
// import Aegis from 'aegis-web-sdk'
import { LocalStorageKey } from '@/enum/user'

Expand Down
32 changes: 13 additions & 19 deletions blog-archived/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ const script
},
]
: [
// {
// hid: 'google-import',
// async: true,
// src: 'https://www.googletagmanager.com/gtag/js?id=G-9LFZ3ZM31C',
// },
// {
// hid: 'google-import-1',
// innerHTML: `window.dataLayer = window.dataLayer || [];
// function gtag(){dataLayer.push(arguments);}
// gtag('js', new Date());
// gtag('config', 'G-9LFZ3ZM31C');`,
// },
// {
// hid: 'google-import',
// async: true,
// src: 'https://www.googletagmanager.com/gtag/js?id=G-9LFZ3ZM31C',
// },
// {
// hid: 'google-import-1',
// innerHTML: `window.dataLayer = window.dataLayer || [];
// function gtag(){dataLayer.push(arguments);}
// gtag('js', new Date());
// gtag('config', 'G-9LFZ3ZM31C');`,
// },
]

// const smp = new SpeedMeasurePlugin()
Expand Down Expand Up @@ -353,7 +353,7 @@ const config = {
// quiet: true,
extractCSS: isProd,
// optimizeCSS: isProd,
transpile: [/^element-ui/, /vant.*?less/, /echarts/, /zrender/],
transpile: [/^element-ui/, /vant.*?less/, /echarts/, /zrender/, /giscus/, /@lit\/reactive-element/, /lit-html/, /lit-element/],
loaders: {
scss: {
// https://github.com/sass/dart-sass/issues/1324
Expand Down Expand Up @@ -428,12 +428,6 @@ const config = {
],
})
}
// if (isDev) {
// return smp.wrap(config)
// }
// if (isClient && isLoadMonaco) {
// config.plugins.push(new MonacoWebpackPlugin())
// }
},
babel: {
plugins: [
Expand Down
10 changes: 5 additions & 5 deletions blog-archived/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dependencies": {
"@babel/helper-explode-assignable-expression": "^7.18.6",
"@babel/runtime": "^7.23.2",
"@fortawesome/fontawesome-svg-core": "6.4.2",
"@fortawesome/fontawesome-svg-core": "6.6.0",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
Expand All @@ -52,7 +52,7 @@
"eruda": "^3.0.1",
"file-saver": "^2.0.5",
"gemoji": "^8.1.0",
"giscus": "^1.3.0",
"giscus": "^1.5.0",
"github-markdown-css": "^5.4.0",
"github-repository-distributor": "^1.1.1",
"gsap": "^3.12.2",
Expand Down Expand Up @@ -104,12 +104,12 @@
"serverless-config-generator": "^2.0.0",
"serverless-layer-deployer": "^0.3.0",
"speed-measure-webpack-plugin": "^1.5.0",
"tailwind-config-viewer": "^1.7.3",
"tailwind-config-viewer": "^2.0.4",
"tailwind-css-variables-theme-generator": "^0.4.0",
"tailwindcss": "^3.4.1",
"tailwindcss-patch": "^2.2.3",
"tailwindcss-patch": "^4.0.0",
"tencentcloud-sdk-nodejs": "^4.0.795",
"unplugin-tailwindcss-mangle": "^2.2.2",
"unplugin-tailwindcss-mangle": "^3.0.1",
"worker-loader": "^3.0.8"
},
"resolutions": {
Expand Down
Loading

0 comments on commit 60ed38f

Please sign in to comment.