Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions docs/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,9 @@

:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(
120deg,
#42d392 30%,
#41d1ff
);

--vp-home-hero-image-background-image: linear-gradient(
-45deg,
#4acf93 50%,
#c3edda 50%
);
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #42d392 30%, #41d1ff);

--vp-home-hero-image-background-image: linear-gradient(-45deg, #4acf93 50%, #c3edda 50%);
--vp-home-hero-image-filter: blur(44px);
}

Expand Down
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"docs:preview": "vitepress preview"
},
"devDependencies": {
"@unocss/reset": "^0.61.3",
"@vueuse/core": "^10.11.0",
"unplugin-vue-components": "^0.27.2",
"vitepress": "1.3.0",
"vue": "^3.4.31"
"@unocss/reset": "^0.61.9",
"@vueuse/core": "^10.11.1",
"unplugin-vue-components": "^0.27.3",
"vitepress": "1.3.2",
"vue": "^3.4.37"
}
}
2 changes: 2 additions & 0 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export default antfu({
'ts/no-invalid-this': 'off',
'ts/consistent-type-imports': 'off',
'ts/ban-types': 'off',
'ts/no-unused-expressions': 'off',
'ts/no-unsafe-function-type': 'off',
},
}, {
files: ['packages/devtools-kit/**/*.ts'],
Expand Down
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "7.3.2",
"private": true,
"packageManager": "pnpm@9.5.0",
"packageManager": "pnpm@9.7.0",
"description": "DevTools for Vue.js",
"author": "webfansplz",
"license": "MIT",
Expand Down Expand Up @@ -72,52 +72,52 @@
"gen:vue-apis": "tsx ./scripts/vue-api-manifest.ts"
},
"devDependencies": {
"@antfu/eslint-config": "2.21.3",
"@antfu/ni": "^0.21.12",
"@arethetypeswrong/cli": "^0.15.3",
"@antfu/eslint-config": "2.25.1",
"@antfu/ni": "^0.22.1",
"@arethetypeswrong/cli": "^0.15.4",
"@clack/prompts": "^0.7.0",
"@types/chrome": "^0.0.268",
"@types/chrome": "^0.0.269",
"@types/degit": "^2.8.6",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.14.10",
"@types/node": "^20.14.15",
"@typescript-eslint/parser": "^8.0.1",
"@typescript-eslint/utils": "^8.0.1",
"@unocss/eslint-plugin": "^0.61.3",
"@unocss/eslint-plugin": "^0.61.9",
"@vue/devtools-core": "workspace:^",
"@vue/devtools-kit": "workspace:^",
"@vue/test-utils": "^2.4.6",
"archiver": "^7.0.1",
"bumpp": "^9.4.1",
"bumpp": "^9.4.2",
"cross-env": "^7.0.3",
"degit": "^2.8.4",
"eslint": "npm:eslint-ts-patch@8.57.0-0",
"eslint-plugin-format": "^0.1.2",
"eslint-ts-patch": "8.57.0-0",
"eslint-vitest-rule-tester": "^0.3.2",
"eslint-vitest-rule-tester": "^0.3.3",
"execa": "^8.0.1",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"jsdom": "^24.1.0",
"lint-staged": "^15.2.7",
"jsdom": "^24.1.1",
"lint-staged": "^15.2.8",
"npm-run-all2": "^6.2.2",
"picocolors": "^1.0.1",
"pnpm": "^9.5.0",
"pnpm": "^9.7.0",
"progress": "^2.0.3",
"publint": "^0.2.8",
"publint": "^0.2.9",
"readdir-glob": "^2.0.0",
"regex-extra": "^0.2.2",
"semver": "^7.6.2",
"semver": "^7.6.3",
"simple-git-hooks": "^2.11.1",
"taze": "^0.14.2",
"tsup": "^8.1.0",
"tsx": "^4.16.2",
"turbo": "^2.0.6",
"typescript": "^5.5.3",
"taze": "^0.16.3",
"tsup": "^8.2.4",
"tsx": "^4.17.0",
"turbo": "^2.0.12",
"typescript": "^5.5.4",
"unbuild": "^2.0.0",
"unocss": "^0.61.3",
"vite": "^5.3.3",
"vitest": "^2.0.2",
"vue": "^3.4.31"
"unocss": "^0.61.9",
"vite": "^5.4.0",
"vitest": "^2.0.5",
"vue": "^3.4.37"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
Expand Down
6 changes: 3 additions & 3 deletions packages/applet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
"@vue/devtools-ui": "workspace:^",
"lodash-es": "^4.17.21",
"perfect-debounce": "^1.0.0",
"shiki": "^1.10.3",
"shiki": "^1.12.1",
"splitpanes": "^3.1.5",
"vue-virtual-scroller": "2.0.0-beta.8"
},
"devDependencies": {
"@types/lodash-es": "^4.17.12",
"unplugin-vue": "^5.0.5",
"vite-plugin-dts": "^3.9.1",
"vue": "^3.4.31",
"vue-router": "^4.4.0"
"vue": "^3.4.37",
"vue-router": "^4.4.3"
}
}
4 changes: 2 additions & 2 deletions packages/chrome-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@vue/devtools-shared": "workspace:^"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"vue": "^3.4.31"
"@vitejs/plugin-vue": "^5.1.2",
"vue": "^3.4.37"
}
}
6 changes: 1 addition & 5 deletions packages/chrome-extension/pages/devtools-panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
height: 100%;
}
</style>
<link
rel="stylesheet"
type="text/css"
href="../client/devtools-panel.css"
/>
<link rel="stylesheet" type="text/css" href="../client/devtools-panel.css" />
</head>
<body>
<div id="container">
Expand Down
3 changes: 1 addition & 2 deletions packages/chrome-extension/popups/disabled.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@

<p>
<strong>Vue.js is detected on this page.</strong><br />
Devtools inspection is not available because it's in production mode or
explicitly disabled by the author.
Devtools inspection is not available because it's in production mode or explicitly disabled by the author.
</p>
3 changes: 1 addition & 2 deletions packages/chrome-extension/popups/disabled.nuxt.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@

<p>
<strong>Nuxt + Vue.js is detected on this page.</strong><br />
Devtools inspection is not available because it's in production mode or
explicitly disabled by the author.
Devtools inspection is not available because it's in production mode or explicitly disabled by the author.
</p>
3 changes: 1 addition & 2 deletions packages/chrome-extension/popups/disabled.vitepress.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@

<p>
<strong>VitePress + Vue.js is detected on this page.</strong><br />
Devtools inspection is not available because it's in production mode or
explicitly disabled by the author.
Devtools inspection is not available because it's in production mode or explicitly disabled by the author.
</p>
6 changes: 1 addition & 5 deletions packages/chrome-extension/popups/enabled.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
</p>

<p>
<a
href="https://devtools-next.vuejs.org/help/troubleshooting"
target="_blank"
>Troubleshooting</a
>
<a href="https://devtools-next.vuejs.org/help/troubleshooting" target="_blank">Troubleshooting</a>
</p>
</div>
</div>
6 changes: 1 addition & 5 deletions packages/chrome-extension/popups/enabled.nuxt.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
</p>

<p>
<a
href="https://devtools-next.vuejs.org/help/troubleshooting"
target="_blank"
>Troubleshooting</a
>
<a href="https://devtools-next.vuejs.org/help/troubleshooting" target="_blank">Troubleshooting</a>
</p>
</div>
</div>
6 changes: 1 addition & 5 deletions packages/chrome-extension/popups/enabled.vitepress.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
</p>

<p>
<a
href="https://devtools-next.vuejs.org/help/troubleshooting"
target="_blank"
>Troubleshooting</a
>
<a href="https://devtools-next.vuejs.org/help/troubleshooting" target="_blank">Troubleshooting</a>
</p>
</div>
</div>
38 changes: 19 additions & 19 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,44 +24,44 @@
"vite": "^3.1.0 || ^4.0.0-0 || ^5.0.0-0"
},
"dependencies": {
"@unocss/preset-icons": "^0.61.3",
"@unocss/preset-icons": "^0.61.9",
"@vue/devtools-applet": "workspace:^",
"@vue/devtools-core": "workspace:^",
"@vue/devtools-kit": "workspace:^",
"@vue/devtools-shared": "workspace:^",
"@vue/devtools-ui": "workspace:*",
"@vueuse/core": "^10.11.0",
"@vueuse/integrations": "^10.11.0",
"@vueuse/core": "^10.11.1",
"@vueuse/integrations": "^10.11.1",
"colord": "^2.9.3",
"fast-deep-equal": "^3.1.3",
"fuse.js": "^7.0.0",
"minimatch": "^10.0.1",
"shiki": "^1.10.3",
"shiki": "^1.12.1",
"splitpanes": "^3.1.5",
"vis-network": "^9.1.9",
"vite-hot-client": "^0.2.3",
"vue-router": "^4.4.0",
"vue-router": "^4.4.3",
"vue-virtual-scroller": "2.0.0-beta.8"
},
"devDependencies": {
"@iconify/json": "^2.2.225",
"@types/node": "^20.14.10",
"@iconify/json": "^2.2.236",
"@types/node": "^20.14.15",
"@types/splitpanes": "^2.2.6",
"@unocss/core": "^0.61.3",
"@unocss/reset": "^0.61.3",
"@vitejs/plugin-vue": "^5.0.5",
"@unocss/core": "^0.61.9",
"@unocss/reset": "^0.61.9",
"@vitejs/plugin-vue": "^5.1.2",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"dayjs": "^1.11.11",
"dayjs": "^1.11.12",
"floating-vue": "5.2.2",
"ohash": "^1.1.3",
"pinia": "^2.1.7",
"sass": "^1.77.6",
"pinia": "^2.2.1",
"sass": "^1.77.8",
"simple-git-hooks": "^2.11.1",
"unocss": "^0.61.3",
"unplugin": "^1.11.0",
"unplugin-auto-import": "^0.17.6",
"unplugin-vue-components": "^0.27.2",
"vite": "^5.3.3",
"vue": "^3.4.31"
"unocss": "^0.61.9",
"unplugin": "^1.12.1",
"unplugin-auto-import": "^0.18.2",
"unplugin-vue-components": "^0.27.3",
"vite": "^5.4.0",
"vue": "^3.4.37"
}
}
1 change: 0 additions & 1 deletion packages/client/src/components/assets/AssetDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const textContent = computedAsync(async () => {
if (asset.value.type !== 'text')
return undefined

// eslint-disable-next-line no-unused-expressions
textContentCounter.value

const content = await viteRpc.value.getTextAssetContent(asset.value.filePath).then(res => res)
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"vite-hot-client": "^0.2.3"
},
"devDependencies": {
"vue": "^3.4.31"
"vue": "^3.4.37"
}
}
4 changes: 2 additions & 2 deletions packages/devtools-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"@types/speakingurl": "^13.0.6",
"vue": "^3.4.31",
"vue-router": "^4.4.0"
"vue": "^3.4.37",
"vue-router": "^4.4.3"
}
}
2 changes: 1 addition & 1 deletion packages/devtools-kit/src/core/component/state/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function escapeString(value: string) {

export function getRaw(value: InspectorState['value']): {
value: object | string | number | boolean | null
inherit: {} | { abstract: true }
inherit: Record<string, any> | { abstract: true }
customType?: customTypeEnums
} {
let customType: customTypeEnums
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-kit/src/types/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { RouteLocationNormalizedLoaded, RouteRecordNormalized } from 'vue-r

export type { Router } from 'vue-router'
export interface RouterInfo {
currentRoute: RouteLocationNormalizedLoaded | null | {}
currentRoute: RouteLocationNormalizedLoaded | null | Record<string, any>
routes: RouteRecordNormalized[]
// router: Router | null
}
8 changes: 4 additions & 4 deletions packages/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@vue/devtools-core": "workspace:^",
"@vue/devtools-kit": "workspace:^",
"@vue/devtools-shared": "workspace:^",
"electron": "^29.4.3",
"electron": "^29.4.5",
"execa": "^8.0.1",
"h3": "^1.12.0",
"ip": "^2.0.1",
Expand All @@ -43,9 +43,9 @@
"socket.io-client": "^4.7.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"tsx": "^4.16.2",
"@vitejs/plugin-vue": "^5.1.2",
"tsx": "^4.17.0",
"unbuild": "^2.0.0",
"vue": "^3.4.31"
"vue": "^3.4.37"
}
}
6 changes: 1 addition & 5 deletions packages/firefox-extension/devtools-panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
height: 100%;
}
</style>
<link
rel="stylesheet"
type="text/css"
href="../client/devtools-panel.css"
/>
<link rel="stylesheet" type="text/css" href="../client/devtools-panel.css" />
</head>
<body>
<div id="container">
Expand Down
4 changes: 2 additions & 2 deletions packages/firefox-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@vue/devtools-shared": "workspace:^"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"vue": "^3.4.31"
"@vitejs/plugin-vue": "^5.1.2",
"vue": "^3.4.37"
}
}
3 changes: 1 addition & 2 deletions packages/firefox-extension/popups/disabled.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@

<p>
<strong>Vue.js is detected on this page.</strong><br />
Devtools inspection is not available because it's in production mode or
explicitly disabled by the author.
Devtools inspection is not available because it's in production mode or explicitly disabled by the author.
</p>
Loading