From 753ca96606abca9ee230394a4fb8bb33f43fbadc Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Thu, 30 Apr 2020 10:17:59 +0200 Subject: [PATCH] ci: add body to releases --- .github/workflows/github-releases.yml | 2 ++ src/index.ts | 2 ++ test-dts/createRouter.test-d.ts | 6 ++++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-releases.yml b/.github/workflows/github-releases.yml index d782e04c..6a60d787 100644 --- a/.github/workflows/github-releases.yml +++ b/.github/workflows/github-releases.yml @@ -22,3 +22,5 @@ jobs: tag_name: ${{ github.ref }} release_name: ${{ github.ref }} prerelease: true + body: | + Please refer to [CHANGELOG.md](https://github.com/vuejs/vue-router-next/blob/master/CHANGELOG.md) for details. diff --git a/src/index.ts b/src/index.ts index 0f4e1e1d..c7e472cd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -19,6 +19,8 @@ export { } from './matcher/pathParserRanker' export { + _RouteLocationBase, + _RouteRecordBase, RouteLocationRaw, RouteLocation, RouteLocationNormalized, diff --git a/test-dts/createRouter.test-d.ts b/test-dts/createRouter.test-d.ts index 10be27ae..7d62c717 100644 --- a/test-dts/createRouter.test-d.ts +++ b/test-dts/createRouter.test-d.ts @@ -1,10 +1,12 @@ import { createRouter, createWebHistory } from './index' -import { createApp } from 'vue' +import { createApp, defineComponent } from 'vue' + +const component = defineComponent({}) const router = createRouter({ history: createWebHistory(), strict: true, - routes: [], + routes: [{ path: '/', component }], parseQuery: search => ({}), stringifyQuery: query => '', end: true, -- 2.39.5