From f2270ee6c07c29a507876d73474d23af695557f6 Mon Sep 17 00:00:00 2001 From: Relief Melone Date: Fri, 16 Apr 2021 12:32:34 +0200 Subject: [PATCH] Feature - Add ComponentInternalInstance interface to exports - Added ComponentInternalInstance to exports - Version bump to rc7 - Updated rollup-plugin-typescript2 to v0.30.0 - Added yarn to dev dependencies - Updated tslib to 2.2.0 updated tslib to 2.2.0 --- package.json | 9 +++++---- src/index.ts | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f73a53e6..c9f34248 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vue/composition-api", - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "description": "Provide logic composition capabilities for Vue.", "keywords": [ "vue", @@ -60,18 +60,19 @@ "rollup": "^2.39.0", "rollup-plugin-dts": "^2.0.1", "rollup-plugin-terser": "^7.0.2", - "rollup-plugin-typescript2": "^0.29.0", + "rollup-plugin-typescript2": "^0.30.0", "ts-jest": "^26.5.1", "typescript": "^4.1.5", "vue": "^2.6.12", "vue-router": "^3.5.1", - "vue-server-renderer": "^2.6.12" + "vue-server-renderer": "^2.6.12", + "yarn": "^1.22.10" }, "peerDependencies": { "vue": ">= 2.5 < 3" }, "dependencies": { - "tslib": "^2.1.0" + "tslib": "^2.2.0" }, "husky": { "hooks": { diff --git a/src/index.ts b/src/index.ts index 612c75dd..d7421b0b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,7 +6,7 @@ export const version = __VERSION__ export * from './apis' export * from './component' -export { getCurrentInstance } from './runtimeContext' +export { getCurrentInstance, ComponentInternalInstance } from './runtimeContext' export default Plugin