From: Eduardo San Martin Morote Date: Thu, 4 Nov 2021 09:39:04 +0000 (+0100) Subject: chore: up vue devtoolsa api X-Git-Tag: v4.0.13~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2378eb40113e2cc7862e2876149e06d4a2c0768;p=thirdparty%2Fvuejs%2Frouter.git chore: up vue devtoolsa api --- diff --git a/package.json b/package.json index b15f60a4..dccfdf38 100644 --- a/package.json +++ b/package.json @@ -16,11 +16,11 @@ "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", diff --git a/src/router.ts b/src/router.ts index 77bf5713..f127aa32 100644 --- a/src/router.ts +++ b/src/router.ts @@ -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) } }, diff --git a/yarn.lock b/yarn.lock index a53f8cf4..7dfe28fc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1233,9 +1233,9 @@ "@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"