From a2526f32e57b7d993859ff6545f5bdd831bc8c65 Mon Sep 17 00:00:00 2001
From: arlo
Date: Mon, 28 Apr 2025 22:43:47 +0800
Subject: [PATCH 01/22] chore: release extension, close #868
---
packages/chrome-extension/manifest.json | 4 ++--
packages/chrome-extension/package.json | 2 +-
packages/firefox-extension/manifest.json | 4 ++--
packages/firefox-extension/package.json | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/packages/chrome-extension/manifest.json b/packages/chrome-extension/manifest.json
index 40ff134f..ea48ea02 100644
--- a/packages/chrome-extension/manifest.json
+++ b/packages/chrome-extension/manifest.json
@@ -50,8 +50,8 @@
"permissions": [
"scripting"
],
- "version": "7.7.3",
- "version_name": "7.7.3",
+ "version": "7.7.6",
+ "version_name": "7.7.6",
"web_accessible_resources": [
{
"extension_ids": [],
diff --git a/packages/chrome-extension/package.json b/packages/chrome-extension/package.json
index 4a12e395..dd2903bd 100644
--- a/packages/chrome-extension/package.json
+++ b/packages/chrome-extension/package.json
@@ -1,7 +1,7 @@
{
"name": "@vue/devtools-chrome-extension",
"type": "module",
- "version": "7.7.3",
+ "version": "7.7.6",
"private": true,
"author": "webfansplz",
"license": "MIT",
diff --git a/packages/firefox-extension/manifest.json b/packages/firefox-extension/manifest.json
index a38991b6..8fe9e5e9 100644
--- a/packages/firefox-extension/manifest.json
+++ b/packages/firefox-extension/manifest.json
@@ -47,8 +47,8 @@
"permissions": [
""
],
- "version": "7.7.3",
- "version_name": "7.7.3",
+ "version": "7.7.6",
+ "version_name": "7.7.6",
"web_accessible_resources": [
"dist/user-app.js",
"client/devtools-panel.css",
diff --git a/packages/firefox-extension/package.json b/packages/firefox-extension/package.json
index f32cb9c5..166eadfc 100644
--- a/packages/firefox-extension/package.json
+++ b/packages/firefox-extension/package.json
@@ -1,7 +1,7 @@
{
"name": "@vue/devtools-firefox-extension",
"type": "module",
- "version": "7.7.3",
+ "version": "7.7.6",
"private": true,
"author": "webfansplz",
"license": "MIT",
From 3ee4d859921d384c8a5a96de08f3f6e174d64cf9 Mon Sep 17 00:00:00 2001
From: zeng <370203400@qq.com>
Date: Mon, 28 Apr 2025 22:44:51 +0800
Subject: [PATCH 02/22] docs: update node and pnpm version requirement [ci
skip] (#870)
---
docs/help/contributing.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/help/contributing.md b/docs/help/contributing.md
index 4244cf13..92d26593 100644
--- a/docs/help/contributing.md
+++ b/docs/help/contributing.md
@@ -4,7 +4,7 @@
## Development Setup
-You will need [Node.js](https://nodejs.org) **version 18.12+**, and [PNPM](https://pnpm.io) **version 8+**.
+You will need [Node.js](https://nodejs.org) **version 18.19+**, and [PNPM](https://pnpm.io) **version 10+**.
We also recommend installing [@antfu/ni](https://github.com/antfu/ni) to help switching between repos using different package managers. `ni` also provides the handy `nr` command which running npm scripts easier.
From 5d9ec018d58138074a5d76d1dc60e49f96de4ffe Mon Sep 17 00:00:00 2001
From: btea <2356281422@qq.com>
Date: Mon, 28 Apr 2025 22:46:52 +0800
Subject: [PATCH 03/22] chore: add `onlyBuiltDependencies` list (#810)
---
package.json | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/package.json b/package.json
index e29db319..d1f492fe 100644
--- a/package.json
+++ b/package.json
@@ -119,6 +119,16 @@
"vitest": "^3.0.9",
"vue": "^3.5.13"
},
+ "pnpm": {
+ "ignoredBuiltDependencies": [
+ "core-js"
+ ],
+ "onlyBuiltDependencies": [
+ "electron",
+ "esbuild",
+ "vue-demi"
+ ]
+ },
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
From e7dffa24fe98b212404a1451818b6c66739f88ee Mon Sep 17 00:00:00 2001
From: arlo
Date: Wed, 30 Apr 2025 21:32:00 +0800
Subject: [PATCH 04/22] chore: remove firefox extension manifest invalid field
---
packages/firefox-extension/manifest.json | 1 -
1 file changed, 1 deletion(-)
diff --git a/packages/firefox-extension/manifest.json b/packages/firefox-extension/manifest.json
index 8fe9e5e9..78ece358 100644
--- a/packages/firefox-extension/manifest.json
+++ b/packages/firefox-extension/manifest.json
@@ -48,7 +48,6 @@
""
],
"version": "7.7.6",
- "version_name": "7.7.6",
"web_accessible_resources": [
"dist/user-app.js",
"client/devtools-panel.css",
From 770216c8177164a5177d27a8cc641aee15e6b878 Mon Sep 17 00:00:00 2001
From: arlo
Date: Mon, 26 May 2025 12:45:57 +0800
Subject: [PATCH 05/22] chore: add specific settings field for firefox
extension
---
packages/firefox-extension/manifest.json | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/packages/firefox-extension/manifest.json b/packages/firefox-extension/manifest.json
index 78ece358..c6f26707 100644
--- a/packages/firefox-extension/manifest.json
+++ b/packages/firefox-extension/manifest.json
@@ -14,6 +14,12 @@
"default_popup": "popups/not-found.html",
"default_title": "Vue DevTools"
},
+ "browser_specific_settings": {
+ "gecko": {
+ "id": "@vue-devtools",
+ "strict_min_version": "58.0"
+ }
+ },
"content_scripts": [
{
"js": [
From 2cb69091735caac1826ff5ff24c9472c4d12618d Mon Sep 17 00:00:00 2001
From: arlo
Date: Sun, 1 Jun 2025 22:55:43 +0800
Subject: [PATCH 06/22] chore: add legacy firefox url to the migration guide
---
.../chrome-extension/popups/vue2-migration-guide.html | 8 +++++---
packages/devtools-kit/src/core/index.ts | 6 ++++--
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/packages/chrome-extension/popups/vue2-migration-guide.html b/packages/chrome-extension/popups/vue2-migration-guide.html
index 0d479a32..bf665d6c 100644
--- a/packages/chrome-extension/popups/vue2-migration-guide.html
+++ b/packages/chrome-extension/popups/vue2-migration-guide.html
@@ -7,11 +7,13 @@ Migration Tips
Vue DevTools v7 detected in your Vue2 project. v7 only supports Vue3 and will not work.
- The legacy version that supports both Vue 2 and Vue 3 has been moved to
+ The legacy version of chrome extension that supports both Vue 2 and Vue 3 has been moved to
here, please install and enable only the legacy version for your Vue2 app. If you're still using v5 version, you can
- install it
+ >
+ and the legacy version of firefox extension has been moved to
+ here, please
+ install and enable only the legacy version for your Vue2 app. If you're still using v5 version, you can install it
Date: Sun, 1 Jun 2025 22:57:25 +0800
Subject: [PATCH 07/22] chore: remove specific settings for firefox extension
---
packages/firefox-extension/manifest.json | 6 ------
1 file changed, 6 deletions(-)
diff --git a/packages/firefox-extension/manifest.json b/packages/firefox-extension/manifest.json
index c6f26707..78ece358 100644
--- a/packages/firefox-extension/manifest.json
+++ b/packages/firefox-extension/manifest.json
@@ -14,12 +14,6 @@
"default_popup": "popups/not-found.html",
"default_title": "Vue DevTools"
},
- "browser_specific_settings": {
- "gecko": {
- "id": "@vue-devtools",
- "strict_min_version": "58.0"
- }
- },
"content_scripts": [
{
"js": [
From 01ee48167158178b7a07bed87ece379731267898 Mon Sep 17 00:00:00 2001
From: arlo
Date: Mon, 2 Jun 2025 01:01:28 +0800
Subject: [PATCH 08/22] build(extension): migrate to esm to pass the firefox
addon file size limit
---
packages/client/src/main.ts | 33 +++++++------------
.../firefox-extension/devtools-panel.html | 2 +-
packages/firefox-extension/tsup.config.ts | 18 ++++++++--
3 files changed, 28 insertions(+), 25 deletions(-)
diff --git a/packages/client/src/main.ts b/packages/client/src/main.ts
index ebebf4cd..0b6879ee 100644
--- a/packages/client/src/main.ts
+++ b/packages/client/src/main.ts
@@ -7,17 +7,6 @@ import { getViteClient } from 'vite-hot-client'
import { createApp } from 'vue'
import { createMemoryHistory, createRouter } from 'vue-router'
import WaitForConnection from '~/components/WaitForConnection.vue'
-import Assets from '~/pages/assets.vue'
-import Components from '~/pages/components.vue'
-import CustomInspectorTabView from '~/pages/custom-inspector-tab-view.vue'
-import CustomTabView from '~/pages/custom-tab-view.vue'
-import Graph from '~/pages/graph.vue'
-import Overview from '~/pages/overview.vue'
-import Pages from '~/pages/pages.vue'
-import PiniaPage from '~/pages/pinia.vue'
-import RouterPage from '~/pages/router.vue'
-import Settings from '~/pages/settings.vue'
-import Timeline from '~/pages/timeline.vue'
import App from './App.vue'
import '@unocss/reset/tailwind.css'
import 'uno.css'
@@ -27,17 +16,17 @@ import '~/assets/styles/main.css'
const routes = [
{ path: '/', redirect: '/components' },
- { path: '/overview', component: Overview },
- { path: '/components', component: Components },
- { path: '/pinia', component: PiniaPage },
- { path: '/router', component: RouterPage },
- { path: '/pages', component: Pages },
- { path: '/timeline', component: Timeline },
- { path: '/assets', component: Assets },
- { path: '/graph', component: Graph },
- { path: '/settings', component: Settings },
- { path: `/${CUSTOM_TAB_VIEW}/:name`, component: CustomTabView },
- { path: `/${CUSTOM_INSPECTOR_TAB_VIEW}/:name`, component: CustomInspectorTabView },
+ { path: '/overview', component: () => import('~/pages/overview.vue') },
+ { path: '/components', component: () => import('~/pages/components.vue') },
+ { path: '/pinia', component: () => import('~/pages/pinia.vue') },
+ { path: '/router', component: () => import('~/pages/router.vue') },
+ { path: '/pages', component: () => import('~/pages/pages.vue') },
+ { path: '/timeline', component: () => import('~/pages/timeline.vue') },
+ { path: '/assets', component: () => import('~/pages/assets.vue') },
+ { path: '/graph', component: () => import('~/pages/graph.vue') },
+ { path: '/settings', component: () => import('~/pages/settings.vue') },
+ { path: `/${CUSTOM_TAB_VIEW}/:name`, component: () => import('~/pages/custom-tab-view.vue') },
+ { path: `/${CUSTOM_INSPECTOR_TAB_VIEW}/:name`, component: () => import('~/pages/custom-inspector-tab-view.vue') },
]
const router = createRouter({
diff --git a/packages/firefox-extension/devtools-panel.html b/packages/firefox-extension/devtools-panel.html
index 0dfc2344..5c5a31ad 100644
--- a/packages/firefox-extension/devtools-panel.html
+++ b/packages/firefox-extension/devtools-panel.html
@@ -19,6 +19,6 @@
-
+