]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: up vue devtoolsa api
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 4 Nov 2021 09:39:04 +0000 (10:39 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 4 Nov 2021 09:39:04 +0000 (10:39 +0100)
package.json
src/router.ts
yarn.lock

index b15f60a43922a20b3110ee43f123d1bbeffa4899..dccfdf38a815d824124cc475b24997d3da2fa386 100644 (file)
     "README.md"
   ],
   "scripts": {
-    "build": "rollup -c rollup.config.js",
-    "build:dts": "api-extractor run --local --verbose && tail -n +7 src/globalExtensions.ts >> dist/vue-router.d.ts",
     "dev": "vite --config playground/vite.config.js",
     "release": "bash scripts/release.sh",
     "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
+    "build": "rollup -c rollup.config.js",
+    "build:dts": "api-extractor run --local --verbose && tail -n +7 src/globalExtensions.ts >> dist/vue-router.d.ts",
     "build:playground": "vue-tsc --noEmit && vite build --config playground/vite.config.js",
     "build:e2e": "vue-tsc --noEmit && vite build --config e2e/vite.config.js",
     "build:size": "yarn run build && rollup -c size-checks/rollup.config.js",
index 77bf5713439d52db3a2411685652d639a0b041f7..f127aa322ddee008cb86bbb272bd317664012911 100644 (file)
@@ -1220,6 +1220,7 @@ export function createRouter(options: RouterOptions): Router {
       }
 
       if ((__DEV__ || __FEATURE_PROD_DEVTOOLS__) && isBrowser) {
+        // @ts-expect-error: until it gets fixed in devtools
         addDevtools(app, router, matcher)
       }
     },
index a53f8cf44bedbc4518234c136692ea332dc9f128..7dfe28fc90ebd81b88424d3780b3336b40d19bea 100644 (file)
--- a/yarn.lock
+++ b/yarn.lock
     "@vue/shared" "3.2.20"
 
 "@vue/devtools-api@^6.0.0-beta.18":
-  version "6.0.0-beta.19"
-  resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.0.0-beta.19.tgz#f8e88059daa424515992426a0c7ea5cde07e99bf"
-  integrity sha512-ObzQhgkoVeoyKv+e8+tB/jQBL2smtk/NmC9OmFK8UqdDpoOdv/Kf9pyDWL+IFyM7qLD2C75rszJujvGSPSpGlw==
+  version "6.0.0-beta.20"
+  resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.0.0-beta.20.tgz#b5405c9a84fb44687d05e7c4c7854b1639141106"
+  integrity sha512-21u2jFOk8jbAneeGpDwZQ0W66RJa0IBDUyVl6SgKnn2cRFjLWzKj+ukXjpLhYr1KASyCe5E5U4jXwChVo0YUAw==
 
 "@vue/reactivity@3.2.19":
   version "3.2.19"