wevu 1.1.3 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +47 -37
- package/dist/jsx-runtime.d.mts +2 -6
- package/package.json +6 -3
- package/dist/vue-types.d.mts +0 -1320
package/dist/index.d.mts
CHANGED
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
import { t as WeappIntrinsicElements } from "./weappIntrinsicElements-zTAqU5H3.mjs";
|
|
2
|
-
import { Ref as Ref$1, ShallowRef as ShallowRef$1 } from "
|
|
3
|
-
import { AllowedComponentProps as AllowedComponentProps$1, ComponentCustomProps as ComponentCustomProps$1, ComponentOptionsMixin as ComponentOptionsMixin$1, ComputedOptions, DefineComponent as DefineComponent$1, EmitsOptions as EmitsOptions$1, MethodOptions, ObjectDirective as ObjectDirective$1, PublicProps as PublicProps$1, ShallowUnwrapRef as ShallowUnwrapRef$1, SlotsType, VNode as VNode$1, VNodeProps as VNodeProps$1 } from "./vue-types";
|
|
2
|
+
import { AllowedComponentProps as AllowedComponentProps$1, ComponentCustomProps as ComponentCustomProps$1, ComponentOptionsMixin as ComponentOptionsMixin$1, ComputedOptions, DefineComponent as DefineComponent$1, EmitsOptions as EmitsOptions$1, MethodOptions, ObjectDirective as ObjectDirective$1, PublicProps as PublicProps$1, Ref as Ref$1, ShallowRef as ShallowRef$1, ShallowUnwrapRef as ShallowUnwrapRef$1, SlotsType, VNode as VNode$1, VNodeProps as VNodeProps$1 } from "vue";
|
|
4
3
|
|
|
5
|
-
//#region src/vue-types.d.ts
|
|
6
|
-
type Ref$2<T$1 = any, S = T$1> = Ref$1<T$1, S>;
|
|
7
|
-
type ShallowRef$2<T$1 = any, S = T$1> = ShallowRef$1<T$1, S>;
|
|
8
|
-
type AllowedComponentProps = AllowedComponentProps$1;
|
|
9
|
-
type ComponentCustomProps = ComponentCustomProps$1;
|
|
10
|
-
type ComponentOptionsMixin = ComponentOptionsMixin$1;
|
|
11
|
-
type DefineComponent<PropsOrPropOptions = Record<string, any>, RawBindings = Record<string, any>, D = Record<string, any>, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions, Mixin extends ComponentOptionsMixin$1 = ComponentOptionsMixin$1, Extends extends ComponentOptionsMixin$1 = ComponentOptionsMixin$1, E extends EmitsOptions$1 = EmitsOptions$1, EE extends string = string, PP = PublicProps$1, Props = any, Defaults = any, S extends SlotsType = SlotsType> = DefineComponent$1<PropsOrPropOptions, RawBindings, D, C, M, Mixin, Extends, E, EE, PP, Props, Defaults, S>;
|
|
12
|
-
type ObjectDirective<HostElement = any, Value = any, Modifiers extends string = string, Arg = any> = ObjectDirective$1<HostElement, Value, Modifiers, Arg>;
|
|
13
|
-
type PublicProps = PublicProps$1;
|
|
14
|
-
type ShallowUnwrapRef<T$1> = ShallowUnwrapRef$1<T$1>;
|
|
15
|
-
type VNode<HostNode = any, HostElement = any, ExtraProps = Record<string, any>> = VNode$1<HostNode, HostElement, ExtraProps>;
|
|
16
|
-
type VNodeProps = VNodeProps$1;
|
|
17
|
-
//#endregion
|
|
18
4
|
//#region src/reactivity/ref.d.ts
|
|
19
5
|
type Ref<T$1 = any, S = T$1> = Ref$2<T$1, S>;
|
|
20
6
|
type ShallowRef<T$1 = any> = ShallowRef$2<T$1>;
|
|
@@ -256,27 +242,6 @@ declare function watch<T$1 extends ReadonlyArray<WatchSource<any>>>(source: T$1,
|
|
|
256
242
|
*/
|
|
257
243
|
declare function watchEffect(effectFn: (onCleanup: (cleanupFn: () => void) => void) => void): WatchStopHandle;
|
|
258
244
|
//#endregion
|
|
259
|
-
//#region src/runtime/types/core.d.ts
|
|
260
|
-
type ComputedDefinitions = Record<string, ComputedGetter<any> | WritableComputedOptions<any>>;
|
|
261
|
-
type MethodDefinitions = Record<string, (...args: any[]) => any>;
|
|
262
|
-
type ExtractComputed<C extends ComputedDefinitions> = { [K in keyof C]: C[K] extends ComputedGetter<infer R> ? R : C[K] extends WritableComputedOptions<infer R> ? R : never };
|
|
263
|
-
type ExtractMethods<M extends MethodDefinitions> = { [K in keyof M]: M[K] extends ((...args: infer P) => infer R) ? (...args: P) => R : never };
|
|
264
|
-
type ComponentPublicInstance<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions> = D & ExtractComputed<C> & ExtractMethods<M> & {
|
|
265
|
-
$attrs: Record<string, any>;
|
|
266
|
-
};
|
|
267
|
-
interface ModelBindingOptions<T$1 = any, Event extends string = string, ValueProp extends string = string, Formatted = T$1> {
|
|
268
|
-
event?: Event;
|
|
269
|
-
valueProp?: ValueProp;
|
|
270
|
-
parser?: (payload: any) => T$1;
|
|
271
|
-
formatter?: (value: T$1) => Formatted;
|
|
272
|
-
}
|
|
273
|
-
type ModelBindingPayload<T$1 = any, Event extends string = 'input', ValueProp extends string = 'value', Formatted = T$1> = { [K in ValueProp]: Formatted } & { [K in `on${Capitalize<Event>}`]: (event: any) => void };
|
|
274
|
-
interface ModelBinding<T$1 = any> {
|
|
275
|
-
value: T$1;
|
|
276
|
-
update: (value: T$1) => void;
|
|
277
|
-
model: <Event extends string = 'input', ValueProp extends string = 'value', Formatted = T$1>(options?: ModelBindingOptions<T$1, Event, ValueProp, Formatted>) => ModelBindingPayload<T$1, Event, ValueProp, Formatted>;
|
|
278
|
-
}
|
|
279
|
-
//#endregion
|
|
280
245
|
//#region src/runtime/types/miniprogram.d.ts
|
|
281
246
|
interface MiniProgramAdapter {
|
|
282
247
|
setData?: (payload: Record<string, any>) => void | Promise<void>;
|
|
@@ -355,6 +320,30 @@ type MiniProgramComponentRawOptions = Omit<WechatMiniprogram.Component.TrivialOp
|
|
|
355
320
|
behaviors?: MiniProgramBehaviorIdentifier[];
|
|
356
321
|
} & MiniProgramPageLifetimes & Record<string, any>;
|
|
357
322
|
//#endregion
|
|
323
|
+
//#region src/runtime/types/core.d.ts
|
|
324
|
+
type ComputedDefinitions = Record<string, ComputedGetter<any> | WritableComputedOptions<any>>;
|
|
325
|
+
type MethodDefinitions = Record<string, (...args: any[]) => any>;
|
|
326
|
+
type ExtractComputed<C extends ComputedDefinitions> = { [K in keyof C]: C[K] extends ComputedGetter<infer R> ? R : C[K] extends WritableComputedOptions<infer R> ? R : never };
|
|
327
|
+
type ExtractMethods<M extends MethodDefinitions> = { [K in keyof M]: M[K] extends ((...args: infer P) => infer R) ? (...args: P) => R : never };
|
|
328
|
+
type ComponentPublicInstance<D extends object = Record<string, any>, C extends ComputedDefinitions = ComputedDefinitions, M extends MethodDefinitions = MethodDefinitions, P$1 = Record<string, any>, S = Record<string, any>> = D & ExtractComputed<C> & ExtractMethods<M> & {
|
|
329
|
+
$attrs: Record<string, any>;
|
|
330
|
+
$props: P$1;
|
|
331
|
+
$slots: S;
|
|
332
|
+
$emit: (event: string, detail?: any, options?: TriggerEventOptions) => void;
|
|
333
|
+
};
|
|
334
|
+
interface ModelBindingOptions<T$1 = any, Event extends string = string, ValueProp extends string = string, Formatted = T$1> {
|
|
335
|
+
event?: Event;
|
|
336
|
+
valueProp?: ValueProp;
|
|
337
|
+
parser?: (payload: any) => T$1;
|
|
338
|
+
formatter?: (value: T$1) => Formatted;
|
|
339
|
+
}
|
|
340
|
+
type ModelBindingPayload<T$1 = any, Event extends string = 'input', ValueProp extends string = 'value', Formatted = T$1> = { [K in ValueProp]: Formatted } & { [K in `on${Capitalize<Event>}`]: (event: any) => void };
|
|
341
|
+
interface ModelBinding<T$1 = any> {
|
|
342
|
+
value: T$1;
|
|
343
|
+
update: (value: T$1) => void;
|
|
344
|
+
model: <Event extends string = 'input', ValueProp extends string = 'value', Formatted = T$1>(options?: ModelBindingOptions<T$1, Event, ValueProp, Formatted>) => ModelBindingPayload<T$1, Event, ValueProp, Formatted>;
|
|
345
|
+
}
|
|
346
|
+
//#endregion
|
|
358
347
|
//#region src/runtime/types/runtime.d.ts
|
|
359
348
|
interface AppConfig {
|
|
360
349
|
globalProperties: Record<string, any>;
|
|
@@ -427,6 +416,7 @@ type RequiredKeys<T$1> = { [K in keyof T$1]: T$1[K] extends {
|
|
|
427
416
|
required: true;
|
|
428
417
|
} ? K : HasDefault<T$1[K]> extends true ? K : IsBooleanProp<T$1[K]> extends true ? K : never }[keyof T$1];
|
|
429
418
|
type OptionalKeys<T$1> = Exclude<keyof T$1, RequiredKeys<T$1>>;
|
|
419
|
+
type DefaultKeys<T$1> = { [K in keyof T$1]: HasDefault<T$1[K]> extends true ? K : IsBooleanProp<T$1[K]> extends true ? K : never }[keyof T$1];
|
|
430
420
|
type InferPropType<O> = O extends null ? any : O extends {
|
|
431
421
|
type?: infer T;
|
|
432
422
|
} ? InferPropConstructor<T> : O extends PropType<infer V> ? V : InferPropConstructor<O>;
|
|
@@ -434,6 +424,7 @@ type InferPropConstructor<T$1> = T$1 extends readonly any[] ? InferPropConstruct
|
|
|
434
424
|
type InferProps<P$1 extends ComponentPropsOptions = ComponentPropsOptions> = { [K in keyof Pick<P$1, RequiredKeys<P$1>>]: HasDefault<P$1[K]> extends true ? Exclude<InferPropType<P$1[K]>, undefined> : InferPropType<P$1[K]> } & { [K in keyof Pick<P$1, OptionalKeys<P$1>>]?: InferPropType<P$1[K]> };
|
|
435
425
|
type ExtractPropTypes<P$1 extends ComponentPropsOptions = ComponentPropsOptions> = InferProps<P$1>;
|
|
436
426
|
type ExtractPublicPropTypes<P$1 extends ComponentPropsOptions = ComponentPropsOptions> = InferProps<P$1>;
|
|
427
|
+
type ExtractDefaultPropTypes<P$1 extends ComponentPropsOptions = ComponentPropsOptions> = { [K in keyof Pick<P$1, DefaultKeys<P$1>>]: InferPropType<P$1[K]> };
|
|
437
428
|
type SetupFunction<P$1 extends ComponentPropsOptions, D extends object, C extends ComputedDefinitions, M extends MethodDefinitions, R$1 extends Record<string, any> | void = Record<string, any> | void> = (props: InferProps<P$1>, ctx: SetupContext<D, C, M, P$1>) => R$1;
|
|
438
429
|
interface SetupContext<D extends object, C extends ComputedDefinitions, M extends MethodDefinitions, P$1 extends ComponentPropsOptions = ComponentPropsOptions> {
|
|
439
430
|
/**
|
|
@@ -485,6 +476,19 @@ interface SetupContext<D extends object, C extends ComputedDefinitions, M extend
|
|
|
485
476
|
slots: Record<string, any>;
|
|
486
477
|
}
|
|
487
478
|
//#endregion
|
|
479
|
+
//#region src/vue-types.d.ts
|
|
480
|
+
type Ref$2<T$1 = any, S = T$1> = Ref$1<T$1, S>;
|
|
481
|
+
type ShallowRef$2<T$1 = any, S = T$1> = ShallowRef$1<T$1, S>;
|
|
482
|
+
type AllowedComponentProps = AllowedComponentProps$1;
|
|
483
|
+
type ComponentCustomProps = ComponentCustomProps$1;
|
|
484
|
+
type ComponentOptionsMixin = ComponentOptionsMixin$1;
|
|
485
|
+
type DefineComponent<PropsOrPropOptions = ComponentPropsOptions, RawBindings = Record<string, any>, D = Record<string, any>, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions, Mixin extends ComponentOptionsMixin$1 = ComponentOptionsMixin$1, Extends extends ComponentOptionsMixin$1 = ComponentOptionsMixin$1, E extends EmitsOptions$1 = EmitsOptions$1, EE extends string = string, PP = PublicProps$1, Props = (PropsOrPropOptions extends ComponentPropsOptions ? ExtractPropTypes<PropsOrPropOptions> : PropsOrPropOptions), Defaults = (PropsOrPropOptions extends ComponentPropsOptions ? ExtractDefaultPropTypes<PropsOrPropOptions> : {}), S extends SlotsType = SlotsType> = DefineComponent$1<PropsOrPropOptions, RawBindings, D, C, M, Mixin, Extends, E, EE, PP, Props, Defaults, S>;
|
|
486
|
+
type ObjectDirective<HostElement = any, Value = any, Modifiers extends string = string, Arg = any> = ObjectDirective$1<HostElement, Value, Modifiers, Arg>;
|
|
487
|
+
type PublicProps = PublicProps$1;
|
|
488
|
+
type ShallowUnwrapRef<T$1> = ShallowUnwrapRef$1<T$1>;
|
|
489
|
+
type VNode<HostNode = any, HostElement = any, ExtraProps = Record<string, any>> = VNode$1<HostNode, HostElement, ExtraProps>;
|
|
490
|
+
type VNodeProps = VNodeProps$1;
|
|
491
|
+
//#endregion
|
|
488
492
|
//#region src/runtime/types/setData.d.ts
|
|
489
493
|
interface SetDataSnapshotOptions {
|
|
490
494
|
/**
|
|
@@ -715,6 +719,12 @@ declare global {
|
|
|
715
719
|
interface HTMLElementTagNameMap extends WeappTemplateRefElements {}
|
|
716
720
|
}
|
|
717
721
|
//#endregion
|
|
722
|
+
//#region src/vue-augment.d.ts
|
|
723
|
+
declare module '@vue/runtime-core' {
|
|
724
|
+
interface GlobalComponents extends GlobalComponents {}
|
|
725
|
+
interface GlobalDirectives extends GlobalDirectives {}
|
|
726
|
+
}
|
|
727
|
+
//#endregion
|
|
718
728
|
//#region src/runtime/app.d.ts
|
|
719
729
|
declare function createApp<D extends object, C extends ComputedDefinitions, M extends MethodDefinitions>(options: CreateAppOptions<D, C, M>): RuntimeApp<D, C, M>;
|
|
720
730
|
//#endregion
|
|
@@ -1237,4 +1247,4 @@ declare function createStore(): StoreManager;
|
|
|
1237
1247
|
type StoreToRefsResult<T$1 extends Record<string, any>> = { [K in keyof T$1]: T$1[K] extends ((...args: any[]) => any) ? T$1[K] : T$1[K] extends Ref<infer V> ? Ref<V> : Ref<T$1[K]> };
|
|
1238
1248
|
declare function storeToRefs<T$1 extends Record<string, any>>(store: T$1): StoreToRefsResult<T$1>;
|
|
1239
1249
|
//#endregion
|
|
1240
|
-
export { ActionSubscriber, type AllowedComponentProps, type AppConfig, type ComponentCustomProps, ComponentDefinition, type ComponentOptionsMixin, type ComponentPropsOptions, type ComponentPublicInstance, type ComputedDefinitions, ComputedGetter, ComputedRef, ComputedSetter, type CreateAppOptions, type DefineAppOptions, type DefineComponent, type DefineComponentOptions, DefineStoreOptions, EffectScope, EmitsOptions, type ExtractComputed, type ExtractMethods, type ExtractPropTypes, type ExtractPublicPropTypes, GlobalComponents, GlobalDirectives, type InferPropType, type InferProps, type InternalRuntimeState, type InternalRuntimeStateFields, type MethodDefinitions, type MiniProgramAdapter, type MiniProgramAppOptions, type MiniProgramBehaviorIdentifier, type MiniProgramComponentBehaviorOptions, type MiniProgramComponentOptions, type MiniProgramComponentRawOptions, type MiniProgramInstance, type MiniProgramPageLifetimes, type ModelBinding, type ModelBindingOptions, type ModelBindingPayload, type MutationKind, type MutationOp, type MutationRecord, MutationType, type ObjectDirective, type PageFeatures, type PrelinkReactiveTreeOptions, type PropConstructor, type PropOptions, type PropType, type PublicProps, Ref, type RuntimeApp, type RuntimeInstance, type SetDataDebugInfo, type SetDataSnapshotOptions, type SetupContext, type SetupFunction, ShallowRef, type ShallowUnwrapRef, StoreManager, SubscriptionCallback, TemplateRef, TemplateRefValue, TemplateRefs, ToRefs, type TriggerEventOptions, type VNode, type VNodeProps, WatchOptions, WatchStopHandle, WevuDefaults, type WevuPlugin, WritableComputedOptions, WritableComputedRef, addMutationRecorder, batch, callHookList, callHookReturn, callUpdateHooks, computed, createApp, createStore, createWevuComponent, createWevuScopedSlotComponent, defineComponent, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSlots, defineStore, effect, effectScope, endBatch, getCurrentInstance, getCurrentScope, getCurrentSetupContext, getDeepWatchStrategy, getReactiveVersion, inject, injectGlobal, isNoSetData, isRaw, isReactive, isRef, isShallowReactive, isShallowRef, markNoSetData, markRaw, mergeModels, mountRuntimeInstance, nextTick, normalizeClass, normalizeStyle, onActivated, onAddToFavorites, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onScopeDispose, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, prelinkReactiveTree, provide, provideGlobal, reactive, readonly, ref, registerApp, registerComponent, removeMutationRecorder, resetWevuDefaults, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setDeepWatchStrategy, setWevuDefaults, shallowReactive, shallowRef, startBatch, stop, storeToRefs, teardownRuntimeInstance, toRaw, toRef, toRefs, touchReactive, traverse, triggerRef, unref, useAttrs, useBindModel, useModel, useSlots, useTemplateRef, watch, watchEffect, withDefaults };
|
|
1250
|
+
export { ActionSubscriber, type AllowedComponentProps, type AppConfig, type ComponentCustomProps, ComponentDefinition, type ComponentOptionsMixin, type ComponentPropsOptions, type ComponentPublicInstance, type ComputedDefinitions, ComputedGetter, ComputedRef, ComputedSetter, type CreateAppOptions, type DefineAppOptions, type DefineComponent, type DefineComponentOptions, DefineStoreOptions, EffectScope, EmitsOptions, type ExtractComputed, type ExtractDefaultPropTypes, type ExtractMethods, type ExtractPropTypes, type ExtractPublicPropTypes, GlobalComponents, GlobalDirectives, type InferPropType, type InferProps, type InternalRuntimeState, type InternalRuntimeStateFields, type MethodDefinitions, type MiniProgramAdapter, type MiniProgramAppOptions, type MiniProgramBehaviorIdentifier, type MiniProgramComponentBehaviorOptions, type MiniProgramComponentOptions, type MiniProgramComponentRawOptions, type MiniProgramInstance, type MiniProgramPageLifetimes, type ModelBinding, type ModelBindingOptions, type ModelBindingPayload, type MutationKind, type MutationOp, type MutationRecord, MutationType, type ObjectDirective, type PageFeatures, type PrelinkReactiveTreeOptions, type PropConstructor, type PropOptions, type PropType, type PublicProps, Ref, type RuntimeApp, type RuntimeInstance, type SetDataDebugInfo, type SetDataSnapshotOptions, type SetupContext, type SetupFunction, ShallowRef, type ShallowUnwrapRef, StoreManager, SubscriptionCallback, TemplateRef, TemplateRefValue, TemplateRefs, ToRefs, type TriggerEventOptions, type VNode, type VNodeProps, WatchOptions, WatchStopHandle, WevuDefaults, type WevuPlugin, WritableComputedOptions, WritableComputedRef, addMutationRecorder, batch, callHookList, callHookReturn, callUpdateHooks, computed, createApp, createStore, createWevuComponent, createWevuScopedSlotComponent, defineComponent, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSlots, defineStore, effect, effectScope, endBatch, getCurrentInstance, getCurrentScope, getCurrentSetupContext, getDeepWatchStrategy, getReactiveVersion, inject, injectGlobal, isNoSetData, isRaw, isReactive, isRef, isShallowReactive, isShallowRef, markNoSetData, markRaw, mergeModels, mountRuntimeInstance, nextTick, normalizeClass, normalizeStyle, onActivated, onAddToFavorites, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onScopeDispose, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, prelinkReactiveTree, provide, provideGlobal, reactive, readonly, ref, registerApp, registerComponent, removeMutationRecorder, resetWevuDefaults, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setDeepWatchStrategy, setWevuDefaults, shallowReactive, shallowRef, startBatch, stop, storeToRefs, teardownRuntimeInstance, toRaw, toRef, toRefs, touchReactive, traverse, triggerRef, unref, useAttrs, useBindModel, useModel, useSlots, useTemplateRef, watch, watchEffect, withDefaults };
|
package/dist/jsx-runtime.d.mts
CHANGED
|
@@ -10,12 +10,8 @@ declare namespace JSX {
|
|
|
10
10
|
interface ElementAttributesProperty {
|
|
11
11
|
$props: Record<string, any>;
|
|
12
12
|
}
|
|
13
|
-
interface IntrinsicAttributes {
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
interface IntrinsicElements extends GlobalComponents, WeappIntrinsicElements {
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
}
|
|
13
|
+
interface IntrinsicAttributes {}
|
|
14
|
+
interface IntrinsicElements extends GlobalComponents, WeappIntrinsicElements {}
|
|
19
15
|
}
|
|
20
16
|
//#endregion
|
|
21
17
|
export { JSX };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wevu",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"description": "Vue 3 风格的小程序运行时,包含响应式、diff+setData 与轻量状态管理",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -65,11 +65,14 @@
|
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"miniprogram-api-typings": "^5.0.0"
|
|
67
67
|
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"vue": "^3.5.27"
|
|
70
|
+
},
|
|
68
71
|
"devDependencies": {},
|
|
69
72
|
"scripts": {
|
|
70
73
|
"dev": "tsdown -w",
|
|
71
|
-
"build": "tsdown
|
|
72
|
-
"build:types": "
|
|
74
|
+
"build": "tsdown",
|
|
75
|
+
"build:types": "tsdown --dts",
|
|
73
76
|
"test": "vitest run",
|
|
74
77
|
"test:dev": "vitest",
|
|
75
78
|
"test:types": "tsd",
|