🚑 fix(build): update typescript version in package.json

This commit is contained in:
Timothy Yin 2024-11-24 16:59:28 +08:00
parent 80c94ac457
commit 4ae71dd0e7
8 changed files with 981 additions and 630 deletions

View File

@ -1,5 +1,6 @@
{
"name": "rayine-ui-docs",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
@ -16,7 +17,7 @@
"nuxt-component-meta": "^0.9.0",
"nuxt-shiki": "^0.3.0",
"prettier": "^3.3.3",
"rayine-ui": "workspace:rayine-ui",
"rayine-ui": "latest",
"ufo": "^1.5.4",
"vue": "latest",
"vue-router": "latest"

View File

@ -54,8 +54,12 @@
"nuxt": "^3.14.159",
"release-it": "^17.10.0",
"release-it-pnpm": "^4.6.3",
"typescript": "latest",
"typescript": "^5.6.3",
"vitest": "^2.1.5",
"vue-tsc": "^2.1.10"
},
"resolutions": {
"rayine-ui": "workspace:*",
"typescript": "5.6.3"
}
}

1587
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@ import {
} from '@nuxt/kit'
import { name, version } from '../package.json'
import { installTailwind } from './tailwind'
import type { Strategy, DeepPartial } from './runtime/types/utils'
import type { Strategy, DeepPartial } from './runtime/types/index'
import { createTemplates } from './template'
const _require = createRequire(import.meta.url)

View File

@ -1,12 +1,11 @@
<script lang="ts">
import { twJoin, twMerge } from 'tailwind-merge'
import { computed, defineComponent, toRef, type PropType } from 'vue'
import type { DeepPartial, Strategy } from '../../types/utils'
import type { ButtonColor, ButtonSize, ButtonVariant } from '../../types/button'
import { getNonUndefinedValuesFromObject } from '../../utils'
import { nuxtLinkProps } from '../../utils/link'
import { button } from '../../ui.config'
import { useRayUI } from '#build/imports'
import type { ButtonColor, ButtonSize, ButtonVariant, DeepPartial, Strategy } from '../../types/index'
const config = button

View File

@ -3,8 +3,8 @@ import { computed, defineComponent, toRef, type PropType } from 'vue'
import { twJoin, twMerge } from 'tailwind-merge'
import defu from 'defu'
import { input } from '../../ui.config'
import type { DeepPartial, InputColor, InputModelModifiers, InputSize, InputType, InputVariant, Strategy } from '../../types'
import { onMounted, ref, useRayUI } from '#build/imports'
import type { DeepPartial, InputColor, InputModelModifiers, InputSize, InputType, InputVariant, Strategy } from '../../types/index'
const config = input

View File

@ -1,10 +1,9 @@
<script lang="ts">
import { ref, onMounted, defineComponent, type PropType, toRef, computed } from 'vue'
import { twJoin, twMerge } from 'tailwind-merge'
import type { Message, MessageColor, MessageType } from '../../types/message'
import { message } from '../../ui.config'
import type { DeepPartial, Strategy } from '../../types'
import { useMessage, useRayUI } from '#build/imports'
import type { DeepPartial, Message, MessageColor, MessageType, Strategy } from '../../types/index'
const config = message

View File

@ -1,11 +1,10 @@
<script lang="ts">
import { computed, defineComponent, ref, toRef, type PropType } from 'vue'
import { computed, defineComponent, toRef, type PropType } from 'vue'
import { twJoin, twMerge } from 'tailwind-merge'
import type { Message, MessageType } from '../../types/message'
import { messages } from '../../ui.config'
import type { DeepPartial, Strategy } from '../../types'
import { useState } from '#imports'
import { useRayUI } from '#build/imports'
import type { DeepPartial, Message, Strategy } from '../../types/index'
const config = messages