Skip to content

Commit

Permalink
fix(plugin): [plugin] fix nuxt plugin (opentiny#2212)
Browse files Browse the repository at this point in the history
  • Loading branch information
18003228289 authored and kagol committed Dec 11, 2024
1 parent 4dad3cc commit 92b9db5
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 0 deletions.
74 changes: 74 additions & 0 deletions examples/nuxt/playground/components.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
export {}

declare module 'vue' {
export interface GlobalComponents {
RouterLink: (typeof import('vue-router'))['RouterLink']
RouterView: (typeof import('vue-router'))['RouterView']
TinyActionSheet: (typeof import('@opentiny/vue'))['ActionSheet']
TinyAlert: (typeof import('@opentiny/vue'))['Alert']
TinyBaseSelect: (typeof import('@opentiny/vue'))['BaseSelect']
TinyBreadcrumbItem: (typeof import('@opentiny/vue'))['BreadcrumbItem']
TinyButton: (typeof import('@opentiny/vue'))['Button']
TinyButtonGroup: (typeof import('@opentiny/vue'))['ButtonGroup']
TinyCascaderMobile: (typeof import('@opentiny/vue'))['CascaderMobile']
TinyCascaderPanel: (typeof import('@opentiny/vue'))['CascaderPanel']
TinyCascaderSelect: (typeof import('@opentiny/vue'))['CascaderSelect']
TinyCell: (typeof import('@opentiny/vue'))['Cell']
TinyCheckbox: (typeof import('@opentiny/vue'))['Checkbox']
TinyCheckboxGroup: (typeof import('@opentiny/vue'))['CheckboxGroup']
TinyCol: (typeof import('@opentiny/vue'))['Col']
TinyCustomSwitch: (typeof import('@opentiny/vue'))['CustomSwitch']
TinyDatePicker: (typeof import('@opentiny/vue'))['DatePicker']
TinyDatePickerMobile: (typeof import('@opentiny/vue'))['DatePickerMobile']
TinyDialogBox: (typeof import('@opentiny/vue'))['DialogBox']
TinyDropdown: (typeof import('@opentiny/vue'))['Dropdown']
TinyDropdownItem: (typeof import('@opentiny/vue'))['DropdownItem']
TinyDropdownMenu: (typeof import('@opentiny/vue'))['DropdownMenu']
TinyException: (typeof import('@opentiny/vue'))['Exception']
TinyFileUpload: (typeof import('@opentiny/vue'))['FileUpload']
TinyFilterBox: (typeof import('@opentiny/vue'))['FilterBox']
TinyFilterPanel: (typeof import('@opentiny/vue'))['FilterPanel']
TinyGrid: (typeof import('@opentiny/vue'))['Grid']
TinyGridColumn: (typeof import('@opentiny/vue'))['GridColumn']
TinyImageViewer: (typeof import('@opentiny/vue'))['ImageViewer']
TinyInput: (typeof import('@opentiny/vue'))['Input']
TinyLayout: (typeof import('@opentiny/vue'))['Layout']
TinyMiniPicker: (typeof import('@opentiny/vue'))['MiniPicker']
TinyModal: (typeof import('@opentiny/vue'))['Modal']
TinyOption: (typeof import('@opentiny/vue'))['Option']
TinyPager: (typeof import('@opentiny/vue'))['Pager']
TinyPcFirst: (typeof import('@opentiny/vue'))['PcFirst']
TinyPopover: (typeof import('@opentiny/vue'))['Popover']
TinyPopup: (typeof import('@opentiny/vue'))['Popup']
TinyRadio: (typeof import('@opentiny/vue'))['Radio']
TinyRadioButton: (typeof import('@opentiny/vue'))['RadioButton']
TinyRadioGroup: (typeof import('@opentiny/vue'))['RadioGroup']
TinyRecycleScroller: (typeof import('@opentiny/vue'))['RecycleScroller']
TinyRow: (typeof import('@opentiny/vue'))['Row']
TinyScrollbar: (typeof import('@opentiny/vue'))['Scrollbar']
TinySearch: (typeof import('@opentiny/vue'))['Search']
TinySelect: (typeof import('@opentiny/vue'))['Select']
TinySelectDropdown: (typeof import('@opentiny/vue'))['SelectDropdown']
TinySelectedBox: (typeof import('@opentiny/vue'))['SelectedBox']
TinySkeletonItem: (typeof import('@opentiny/vue'))['SkeletonItem']
TinySliderButton: (typeof import('@opentiny/vue'))['SliderButton']
TinySliderButtonGroup: (typeof import('@opentiny/vue'))['SliderButtonGroup']
TinySplit: (typeof import('@opentiny/vue'))['Split']
TinySwitch: (typeof import('@opentiny/vue'))['Switch']
TinyTag: (typeof import('@opentiny/vue'))['Tag']
TinyTagGroup: (typeof import('@opentiny/vue'))['TagGroup']
TinyTallStorage: (typeof import('@opentiny/vue'))['TallStorage']
TinyTimelineItem: (typeof import('@opentiny/vue'))['TimelineItem']
TinyTimePickerMobile: (typeof import('@opentiny/vue'))['TimePickerMobile']
TinyTooltip: (typeof import('@opentiny/vue'))['Tooltip']
TinyTransferPanel: (typeof import('@opentiny/vue'))['TransferPanel']
TinyTree: (typeof import('@opentiny/vue'))['Tree']
TinyUserContact: (typeof import('@opentiny/vue'))['UserContact']
TinyUserHead: (typeof import('@opentiny/vue'))['UserHead']
}
}
25 changes: 25 additions & 0 deletions packages/vue/src/time-line-new/packages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "@opentiny/vue-time-line-new",
"type": "module",
"version": "3.18.0",
"description": "",
"license": "MIT",
"sideEffects": false,
"main": "lib/index.js",
"module": "index.ts",
"scripts": {
"build": "pnpm -w build:ui $npm_package_name",
"//postversion": "pnpm build"
},
"dependencies": {
"@opentiny/vue-common": "workspace:~",
"@opentiny/vue-icon": "workspace:~",
"@opentiny/vue-renderless": "workspace:~",
"@opentiny/vue-theme": "workspace:~",
"@opentiny/vue-theme-mobile": "workspace:~"
},
"devDependencies": {
"@opentiny-internal/vue-test-utils": "workspace:*",
"vitest": "^0.31.0"
}
}

0 comments on commit 92b9db5

Please sign in to comment.