Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (#35)
Browse files Browse the repository at this point in the history
* chore(deps): update all non-major dependencies

* chore: remove logger fancy

* chore: optimize use args create logger

---------

Co-authored-by: hywax <[email protected]>
  • Loading branch information
hywax-assistant and hywax authored Jan 31, 2024
1 parent 5dfcc84 commit 22d3430
Show file tree
Hide file tree
Showing 3 changed files with 274 additions and 61 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
"@nuxtjs/color-mode": "^3.3.2",
"@nuxtjs/i18n": "^8.0.0",
"@nuxtjs/tailwindcss": "^6.11.2",
"@types/node": "^20.11.10",
"@types/node": "^20.11.13",
"@vite-pwa/nuxt": "^0.4.0",
"changelogen": "^0.5.5",
"eslint": "^8.56.0",
"husky": "^9.0.7",
"lint-staged": "^15.2.0",
"nuxt": "^3.9.3",
"lint-staged": "^15.2.1",
"nuxt": "^3.10.0",
"nuxt-icon": "^0.6.8",
"typescript": "^5.3.3",
"vitepress": "^1.0.0-rc.40",
Expand Down
2 changes: 1 addition & 1 deletion server/utils/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import type { ConsolaOptions } from 'consola'
export const logger = consola

export function useLogger(tag?: string, options: Partial<ConsolaOptions> = {}) {
return tag ? createConsola({ ...options, fancy: true }).withTag(tag) : logger
return tag ? createConsola(options).withTag(tag) : logger
}
Loading

0 comments on commit 22d3430

Please sign in to comment.