Skip to content

Commit

Permalink
feat: upgrade @vue/composition-api to rc3
Browse files Browse the repository at this point in the history
* `createRef` utility and more reactivity types now exposed to align with vue3
  • Loading branch information
danielroe committed Mar 3, 2021
1 parent 243dc6e commit d4faf1d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -65,7 +65,7 @@
"watch": "yarn compile -w"
},
"dependencies": {
"@vue/composition-api": "1.0.0-rc.2",
"@vue/composition-api": "1.0.0-rc.3",
"defu": "^3.2.2",
"ufo": "^0.6.7",
"upath": "^2.0.1"
Expand Down
5 changes: 5 additions & 0 deletions src/entrypoint.ts
Expand Up @@ -19,7 +19,9 @@ export type {
App,
ComponentInstance,
ComponentRenderProxy,
ComputedGetter,
ComputedRef,
ComputedSetter,
Data,
DeepReadonly,
ExtractDefaultPropTypes,
Expand All @@ -32,6 +34,7 @@ export type {
SetupContext,
SetupFunction,
ShallowUnwrapRef,
ToRefs,
UnwrapRef,
VueWatcher,
WatchCallback,
Expand All @@ -40,12 +43,14 @@ export type {
WatchOptionsBase,
WatchSource,
WatchStopHandle,
WritableComputedOptions,
WritableComputedRef,
} from '@vue/composition-api'

export {
computed,
createApp,
createRef,
customRef,
defineAsyncComponent,
del,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -2523,10 +2523,10 @@
optionalDependencies:
prettier "^1.18.2"

"@vue/composition-api@1.0.0-rc.2":
version "1.0.0-rc.2"
resolved "https://registry.yarnpkg.com/@vue/composition-api/-/composition-api-1.0.0-rc.2.tgz#9d90e507cf71634aad51ab878b141c2a4739d523"
integrity sha512-R4XEvT+qXiT/lnsLzqhjkR/L/ALuNeeQPZqredpLduGKwZtmt2l5I3kT1W+c/157hrY732eFlsPUGz/q9vFaYg==
"@vue/composition-api@1.0.0-rc.3":
version "1.0.0-rc.3"
resolved "https://registry.yarnpkg.com/@vue/composition-api/-/composition-api-1.0.0-rc.3.tgz#5174632fdda888f4f04bbaa5263cf01e34ba3fc2"
integrity sha512-/N/yCgIeFwAdsChML1RAke7YT5v/LYnPOyrz2zU+fE6xx2MpZfWn+DD2wCf3Vre659AvuXA8zzKLlRaFzW75XQ==
dependencies:
tslib "^2.1.0"

Expand Down

1 comment on commit d4faf1d

@vercel
Copy link

@vercel vercel bot commented on d4faf1d Mar 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.