diff --git a/docs/package.json b/docs/package.json index c4123103f..5704e7f3e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -9,6 +9,6 @@ "devDependencies": { "@nuxt-themes/docus": "^1.14.6", "@nuxtjs/plausible": "^0.2.1", - "nuxt": "^3.6.5" + "nuxt": "^3.7.0" } } diff --git a/package.json b/package.json index b0b02cbc1..5886d4800 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "type": "module", "version": "0.8.0", "private": true, - "packageManager": "pnpm@8.6.12", + "packageManager": "pnpm@8.7.0", "scripts": { "build": "pnpm -r --filter=\"./packages/**/*\" run build", "stub": "pnpm -r run stub", @@ -18,37 +18,40 @@ "prepare": "pnpm -r --filter=\"./packages/*\" run dev:prepare" }, "devDependencies": { - "@antfu/eslint-config": "^0.40.2", - "@antfu/ni": "^0.21.5", + "@antfu/eslint-config": "^0.41.0", + "@antfu/ni": "^0.21.6", "@nuxt/devtools": "workspace:*", "@nuxt/devtools-ui-kit": "workspace:*", "@nuxt/module-builder": "^0.4.0", - "@nuxt/schema": "^3.6.5", - "@types/markdown-it": "^13.0.0", - "@types/node": "^20.4.9", + "@nuxt/schema": "^3.7.0", + "@types/markdown-it": "^13.0.1", + "@types/node": "^20.5.7", "@types/pacote": "^11.1.5", "@types/wait-on": "^5.3.1", "@types/which": "^3.0.0", "@types/ws": "^8.5.5", - "@unocss/eslint-config": "^0.55.0", - "bumpp": "^9.1.1", - "conventional-changelog-cli": "^3.0.0", - "eslint": "8.46.0", + "@unocss/eslint-config": "^0.55.3", + "bumpp": "^9.2.0", + "conventional-changelog-cli": "^4.0.0", + "eslint": "8.48.0", "esno": "^0.17.0", "execa": "^7.2.0", "gray-matter": "^4.0.3", - "lint-staged": "^13.2.3", - "nuxt": "^3.6.5", + "lint-staged": "^14.0.1", + "nuxt": "^3.7.0", "pathe": "^1.1.1", "simple-git-hooks": "^2.9.0", "taze": "^0.11.2", "tiged": "^2.12.5", - "typescript": "^5.1.6", + "typescript": "^5.2.2", "ua-parser-js": "^1.0.35", - "unocss": "^0.55.0", - "vite-hot-client": "^0.2.1", + "unocss": "^0.55.3", + "vite-hot-client": "^0.2.2", "vue-tsc": "^1.8.8" }, + "resolutions": { + "unbuild": "^1.2.1" + }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged" }, diff --git a/packages/devtools-kit/package.json b/packages/devtools-kit/package.json index e224bb5a2..a71d8f3f1 100644 --- a/packages/devtools-kit/package.json +++ b/packages/devtools-kit/package.json @@ -39,16 +39,16 @@ "vite": "*" }, "dependencies": { - "@nuxt/kit": "^3.6.5", - "@nuxt/schema": "^3.6.5", + "@nuxt/kit": "^3.7.0", + "@nuxt/schema": "^3.7.0", "execa": "^7.2.0" }, "devDependencies": { - "birpc": "^0.2.12", - "error-stack-parser-es": "^0.1.0", + "birpc": "^0.2.13", + "error-stack-parser-es": "^0.1.1", "hookable": "^5.5.3", - "unbuild": "^1.2.1", - "unimport": "^3.1.3", + "unbuild": "^2.0.0", + "unimport": "^3.2.0", "vite-plugin-vue-inspector": "^3.6.0", "vue-router": "^4.2.4" } diff --git a/packages/devtools-kit/src/_types/client-api.ts b/packages/devtools-kit/src/_types/client-api.ts index 756a9fb01..9dab59f54 100644 --- a/packages/devtools-kit/src/_types/client-api.ts +++ b/packages/devtools-kit/src/_types/client-api.ts @@ -4,7 +4,7 @@ import type { AppConfig } from 'nuxt/schema' import type { NuxtApp } from 'nuxt/dist/app/nuxt' import type { Hookable } from 'hookable' import type { BirpcReturn } from 'birpc' -import type { BuiltinLanguages } from 'shikiji' +import type { BuiltinLanguage } from 'shikiji' import type { ServerFunctions } from './rpc' import type { HookInfo, LoadingTimeMetric, PluginMetric, VueInspectorClient, VueInspectorData } from './integrations' import type { TimelineMetrics } from './timeline-metrics' @@ -112,7 +112,7 @@ export interface NuxtDevtoolsHostClient { export interface NuxtDevtoolsClient { rpc: BirpcReturn - renderCodeHighlight: (code: string, lang?: BuiltinLanguages) => { + renderCodeHighlight: (code: string, lang?: BuiltinLanguage) => { code: string supported: boolean } diff --git a/packages/devtools-ui-kit/package.json b/packages/devtools-ui-kit/package.json index 6fabcf80e..8bf981adf 100644 --- a/packages/devtools-ui-kit/package.json +++ b/packages/devtools-ui-kit/package.json @@ -33,30 +33,30 @@ "@nuxt/devtools": "workspace:*" }, "dependencies": { - "@iconify-json/carbon": "^1.1.19", + "@iconify-json/carbon": "^1.1.20", "@iconify-json/logos": "^1.1.34", "@iconify-json/ri": "^1.1.12", - "@iconify-json/tabler": "^1.1.87", + "@iconify-json/tabler": "^1.1.89", "@nuxt/devtools": "workspace:*", "@nuxt/devtools-kit": "workspace:*", - "@nuxt/kit": "^3.6.5", + "@nuxt/kit": "^3.7.0", "@nuxtjs/color-mode": "^3.3.0", - "@unocss/core": "^0.55.0", - "@unocss/nuxt": "^0.55.0", - "@unocss/preset-attributify": "^0.55.0", - "@unocss/preset-icons": "^0.55.0", - "@unocss/preset-mini": "^0.55.0", - "@unocss/reset": "^0.55.0", - "@vueuse/core": "^10.3.0", - "@vueuse/integrations": "^10.3.0", - "@vueuse/nuxt": "^10.3.0", + "@unocss/core": "^0.55.3", + "@unocss/nuxt": "^0.55.3", + "@unocss/preset-attributify": "^0.55.3", + "@unocss/preset-icons": "^0.55.3", + "@unocss/preset-mini": "^0.55.3", + "@unocss/reset": "^0.55.3", + "@vueuse/core": "^10.4.1", + "@vueuse/integrations": "^10.4.1", + "@vueuse/nuxt": "^10.4.1", "defu": "^6.1.2", "focus-trap": "^7.5.2", - "unocss": "^0.55.0", + "unocss": "^0.55.3", "v-lazy-show": "^0.2.3" }, "devDependencies": { - "nuxt": "^3.6.5" + "nuxt": "^3.7.0" }, "publishConfig": { "access": "public" diff --git a/packages/devtools-ui-kit/src/components/NCodeBlock.vue b/packages/devtools-ui-kit/src/components/NCodeBlock.vue index 08f48dfe2..13c233fe7 100644 --- a/packages/devtools-ui-kit/src/components/NCodeBlock.vue +++ b/packages/devtools-ui-kit/src/components/NCodeBlock.vue @@ -1,13 +1,13 @@