Skip to content

Commit c55af74

Browse files
authored
Chore/remove local yarn (#4575)
* chore: remove local yarn * chore: fix shims
1 parent dc0e202 commit c55af74

File tree

4 files changed

+8
-951
lines changed

4 files changed

+8
-951
lines changed

.yarn/releases/yarn-4.9.1.cjs

Lines changed: 0 additions & 948 deletions
This file was deleted.

.yarnrc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@ compressionLevel: mixed
33
enableGlobalCache: false
44

55
nodeLinker: node-modules
6-
7-
yarnPath: .yarn/releases/yarn-4.9.1.cjs

packages/ui/src/services/vue-plugin/types/components.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ export type VuesticComponentName = keyof VuesticComponentsMap
1616
* @example
1717
* This will register all vuestic components globally:
1818
* ```
19+
* import * as Vue from 'vue'
20+
* import type { VuesticComponents } from 'vuestic-ui'
21+
*
1922
* declare module 'vue' {
2023
* export interface GlobalComponents extends VuesticComponents {}
2124
* }
@@ -24,6 +27,9 @@ export type VuesticComponentName = keyof VuesticComponentsMap
2427
* @example
2528
* If you using tree-shaking and want to register only specific components:
2629
* ```
30+
* import * as Vue from 'vue'
31+
* import type { VuesticComponents } from 'vuestic-ui'
32+
*
2733
* declare module 'vue' {
2834
* export interface GlobalComponents extends VuesticComponents<'VaButton' | 'VaInput'> {}
2935
* }

packages/ui/src/shims-vue.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
// }
66

77
import * as Vue from 'vue'
8+
import type { VuesticComponents } from '@/services/vue-plugin'
9+
810
declare module 'vue' {
9-
import type { VuesticComponents } from '@/services/vue-plugin'
1011
// eslint-disable-next-line @typescript-eslint/no-empty-interface
1112
export interface GlobalComponents extends VuesticComponents {}
1213
}

0 commit comments

Comments
 (0)