@histoire/vendors 0.13.0 → 0.13.2

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.
@@ -0,0 +1,22 @@
1
+ import * as Vue from 'vue'
2
+ declare const isVue2: boolean
3
+ declare const isVue3: boolean
4
+ declare const Vue2: any
5
+ declare const install: (vue?: any) => void
6
+ /**
7
+ * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
8
+ * Refer to https://github.com/vueuse/vue-demi/issues/41
9
+ */
10
+ declare const V: typeof Vue
11
+
12
+ export function set<T>(target: any, key: any, val: T): T
13
+ export function del(target: any, key: any): void
14
+
15
+ export * from 'vue'
16
+ export {
17
+ V as Vue,
18
+ Vue2,
19
+ isVue2,
20
+ isVue3,
21
+ install,
22
+ }
@@ -0,0 +1,31 @@
1
+ import Vue from 'vue'
2
+ import type { PluginFunction, PluginObject } from 'vue'
3
+ declare const isVue2: boolean
4
+ declare const isVue3: boolean
5
+ declare const Vue2: typeof Vue | undefined
6
+ declare const version: string
7
+ declare const install: (vue?: typeof Vue) => void
8
+ /**
9
+ * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
10
+ * Refer to https://github.com/vueuse/vue-demi/issues/41
11
+ */
12
+ declare const V: typeof Vue
13
+
14
+ /**
15
+ * DebuggerEvent is a Vue 3 development only feature. This type cannot exist in Vue 2.
16
+ */
17
+ export declare type DebuggerEvent = never
18
+
19
+ // accept no generic because Vue 3 doesn't accept any
20
+ // https://github.com/vuejs/vue-next/pull/2758/
21
+ export declare type Plugin = PluginObject<any> | PluginFunction<any>
22
+ export type { VNode } from 'vue'
23
+ export * from '@vue/composition-api'
24
+ export {
25
+ V as Vue,
26
+ Vue2,
27
+ isVue2,
28
+ isVue3,
29
+ version,
30
+ install,
31
+ }
@@ -0,0 +1,36 @@
1
+ import Vue from 'vue'
2
+ import type { PluginFunction, PluginObject, VueConstructor, Directive, InjectionKey, Component } from 'vue'
3
+
4
+ declare const isVue2: boolean
5
+ declare const isVue3: boolean
6
+ declare const Vue2: typeof Vue | undefined
7
+ declare const version: string
8
+ declare const install: (vue?: typeof Vue) => void
9
+ export declare function warn(msg: string, vm?: Component | null): void
10
+ /**
11
+ * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
12
+ * Refer to https://github.com/vueuse/vue-demi/issues/41
13
+ */
14
+ declare const V: typeof Vue
15
+
16
+ // accept no generic because Vue 3 doesn't accept any
17
+ // https://github.com/vuejs/vue-next/pull/2758/
18
+ export declare type Plugin = PluginObject<any> | PluginFunction<any>
19
+ export type { VNode } from 'vue'
20
+ export * from 'vue'
21
+ export { V as Vue, Vue2, isVue2, isVue3, version, install }
22
+
23
+ // #region createApp polyfill
24
+ export interface App<T = any> {
25
+ config: VueConstructor['config']
26
+ use: VueConstructor['use']
27
+ mixin: VueConstructor['mixin']
28
+ component: VueConstructor['component']
29
+ directive(name: string): Directive | undefined
30
+ directive(name: string, directive: Directive): this
31
+ provide<T>(key: InjectionKey<T> | string, value: T): this
32
+ mount: Vue['$mount']
33
+ unmount: Vue['$destroy']
34
+ }
35
+ export declare function createApp(rootComponent: any, rootProps?: any): App
36
+ // #endregion
@@ -0,0 +1,22 @@
1
+ import * as Vue from 'vue'
2
+ declare const isVue2: boolean
3
+ declare const isVue3: boolean
4
+ declare const Vue2: any
5
+ declare const install: (vue?: any) => void
6
+ /**
7
+ * @deprecated To avoid bringing in all the tree-shakable modules, this API has been deprecated. Use `Vue2` or named exports instead.
8
+ * Refer to https://github.com/vueuse/vue-demi/issues/41
9
+ */
10
+ declare const V: typeof Vue
11
+
12
+ export function set<T>(target: any, key: any, val: T): T
13
+ export function del(target: any, key: any): void
14
+
15
+ export * from 'vue'
16
+ export {
17
+ V as Vue,
18
+ Vue2,
19
+ isVue2,
20
+ isVue3,
21
+ install,
22
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "vue-demi",
3
+ "version": "0.13.11",
4
+ "engines": {
5
+ "node": ">=12"
6
+ },
7
+ "repository": "https://github.com/antfu/vue-demi.git",
8
+ "funding": "https://github.com/sponsors/antfu",
9
+ "license": "MIT",
10
+ "author": "Anthony Fu <anthonyfu117@hotmail.com>",
11
+ "main": "lib/index.cjs",
12
+ "jsdelivr": "lib/index.iife.js",
13
+ "unpkg": "lib/index.iife.js",
14
+ "module": "lib/index.mjs",
15
+ "types": "lib/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "require": "./lib/index.cjs",
19
+ "import": "./lib/index.mjs",
20
+ "browser": "./lib/index.mjs",
21
+ "types": "./lib/index.d.ts"
22
+ },
23
+ "./*": "./*"
24
+ },
25
+ "bin": {
26
+ "vue-demi-fix": "bin/vue-demi-fix.js",
27
+ "vue-demi-switch": "bin/vue-demi-switch.js"
28
+ },
29
+ "files": [
30
+ "lib",
31
+ "bin",
32
+ "scripts"
33
+ ],
34
+ "scripts": {
35
+ "postinstall": "node ./scripts/postinstall.js",
36
+ "release": "npx bumpp --tag --commit --push && npm publish"
37
+ },
38
+ "peerDependencies": {
39
+ "@vue/composition-api": "^1.0.0-rc.1",
40
+ "vue": "^3.0.0-0 || ^2.6.0"
41
+ },
42
+ "peerDependenciesMeta": {
43
+ "@vue/composition-api": {
44
+ "optional": true
45
+ }
46
+ }
47
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueuse/shared",
3
- "version": "8.9.4",
3
+ "version": "9.12.0",
4
4
  "author": "Anthony Fu <https://github.com/antfu>",
5
5
  "license": "MIT",
6
6
  "funding": "https://github.com/sponsors/antfu",
@@ -32,18 +32,6 @@
32
32
  "unpkg": "./index.iife.min.js",
33
33
  "jsdelivr": "./index.iife.min.js",
34
34
  "types": "./index.d.ts",
35
- "peerDependencies": {
36
- "@vue/composition-api": "^1.1.0",
37
- "vue": "^2.6.0 || ^3.2.0"
38
- },
39
- "peerDependenciesMeta": {
40
- "vue": {
41
- "optional": true
42
- },
43
- "@vue/composition-api": {
44
- "optional": true
45
- }
46
- },
47
35
  "dependencies": {
48
36
  "vue-demi": "*"
49
37
  }
@@ -11706,4 +11706,4 @@ var vue_runtime_esmBundler = /*#__PURE__*/Object.freeze({
11706
11706
  withScopeId: withScopeId
11707
11707
  });
11708
11708
 
11709
- export { compile as $, toRaw as A, watch as B, unref as C, markRaw as D, effectScope as E, Fragment as F, isRef as G, isReactive as H, getCurrentScope as I, onScopeDispose as J, toRefs as K, computed as L, reactive as M, toRef as N, onUnmounted as O, onDeactivated as P, onActivated as Q, watchEffect as R, provide as S, shallowRef as T, readonly as U, customRef as V, onBeforeMount as W, onBeforeUnmount as X, onMounted as Y, onUpdated as Z, onBeforeUpdate as _, normalizeProps as a, ssrUtils as a$, Transition as a0, TransitionGroup as a1, VueElement as a2, createSSRApp as a3, defineCustomElement as a4, defineSSRCustomElement as a5, hydrate as a6, initDirectivesForSSR as a7, render as a8, useCssModule as a9, defineAsyncComponent as aA, defineEmits as aB, defineExpose as aC, defineProps as aD, devtools as aE, getTransitionRawChildren as aF, handleError as aG, initCustomFormatter as aH, isMemoSame as aI, isRuntimeOnly as aJ, isVNode as aK, mergeDefaults as aL, onErrorCaptured as aM, onRenderTracked as aN, onRenderTriggered as aO, onServerPrefetch as aP, queuePostFlushCb as aQ, registerRuntimeCompiler as aR, renderList as aS, resolveDirective as aT, resolveDynamicComponent as aU, resolveFilter as aV, resolveTransitionHooks as aW, setBlockTracking as aX, setDevtoolsHook as aY, setTransitionHooks as aZ, ssrContextKey as a_, useCssVars as aa, vModelCheckbox as ab, vModelDynamic as ac, vModelRadio as ad, vModelSelect as ae, vModelText as af, vShow as ag, withModifiers as ah, BaseTransition as ai, Comment as aj, KeepAlive as ak, Static as al, Suspense as am, Teleport as an, Text as ao, assertNumber as ap, callWithAsyncErrorHandling as aq, callWithErrorHandling as ar, cloneVNode as as, compatUtils as at, createHydrationRenderer as au, createPropsRestProxy as av, createRenderer as aw, createSlots as ax, createStaticVNode as ay, createTextVNode as az, nextTick as b, toHandlers as b0, transformVNodeArgs as b1, useAttrs as b2, useSSRContext as b3, useSlots as b4, useTransitionState as b5, version as b6, warn as b7, watchPostEffect as b8, watchSyncEffect as b9, withAsyncContext as ba, withDefaults as bb, withDirectives as bc, withMemo as bd, EffectScope as be, ReactiveEffect as bf, effect as bg, isProxy as bh, isReadonly as bi, isShallow$1 as bj, proxyRefs as bk, shallowReactive as bl, shallowReadonly as bm, stop as bn, triggerRef as bo, camelize as bp, capitalize as bq, toHandlerKey as br, createElementBlock as c, defineComponent as d, popScopeId as e, createBlock as f, guardReactiveProps as g, createBaseVNode as h, resolveComponent as i, normalizeStyle as j, withKeys as k, createCommentVNode as l, withCtx as m, normalizeClass as n, openBlock as o, pushScopeId as p, createVNode as q, renderSlot as r, mergeProps as s, toDisplayString as t, ref as u, createApp as v, withScopeId as w, h as x, getCurrentInstance as y, inject as z };
11709
+ export { onBeforeUpdate as $, toRaw as A, watch as B, unref as C, markRaw as D, effectScope as E, Fragment as F, isRef as G, isReactive as H, getCurrentScope as I, onScopeDispose as J, toRefs as K, computed as L, reactive as M, toRef as N, onUnmounted as O, onDeactivated as P, onActivated as Q, watchEffect as R, provide as S, shallowRef as T, readonly as U, version as V, customRef as W, onBeforeMount as X, onBeforeUnmount as Y, onMounted as Z, onUpdated as _, normalizeProps as a, ssrContextKey as a$, compile as a0, Transition as a1, TransitionGroup as a2, VueElement as a3, createSSRApp as a4, defineCustomElement as a5, defineSSRCustomElement as a6, hydrate as a7, initDirectivesForSSR as a8, render as a9, createTextVNode as aA, defineAsyncComponent as aB, defineEmits as aC, defineExpose as aD, defineProps as aE, devtools as aF, getTransitionRawChildren as aG, handleError as aH, initCustomFormatter as aI, isMemoSame as aJ, isRuntimeOnly as aK, isVNode as aL, mergeDefaults as aM, onErrorCaptured as aN, onRenderTracked as aO, onRenderTriggered as aP, onServerPrefetch as aQ, queuePostFlushCb as aR, registerRuntimeCompiler as aS, renderList as aT, resolveDirective as aU, resolveDynamicComponent as aV, resolveFilter as aW, resolveTransitionHooks as aX, setBlockTracking as aY, setDevtoolsHook as aZ, setTransitionHooks as a_, useCssModule as aa, useCssVars as ab, vModelCheckbox as ac, vModelDynamic as ad, vModelRadio as ae, vModelSelect as af, vModelText as ag, vShow as ah, withModifiers as ai, BaseTransition as aj, Comment as ak, KeepAlive as al, Static as am, Suspense as an, Teleport as ao, Text as ap, assertNumber as aq, callWithAsyncErrorHandling as ar, callWithErrorHandling as as, cloneVNode as at, compatUtils as au, createHydrationRenderer as av, createPropsRestProxy as aw, createRenderer as ax, createSlots as ay, createStaticVNode as az, nextTick as b, ssrUtils as b0, toHandlers as b1, transformVNodeArgs as b2, useAttrs as b3, useSSRContext as b4, useSlots as b5, useTransitionState as b6, warn as b7, watchPostEffect as b8, watchSyncEffect as b9, withAsyncContext as ba, withDefaults as bb, withDirectives as bc, withMemo as bd, EffectScope as be, ReactiveEffect as bf, effect as bg, isProxy as bh, isReadonly as bi, isShallow$1 as bj, proxyRefs as bk, shallowReactive as bl, shallowReadonly as bm, stop as bn, triggerRef as bo, camelize as bp, capitalize as bq, toHandlerKey as br, createElementBlock as c, defineComponent as d, popScopeId as e, createBlock as f, guardReactiveProps as g, createBaseVNode as h, resolveComponent as i, normalizeStyle as j, withKeys as k, createCommentVNode as l, withCtx as m, normalizeClass as n, openBlock as o, pushScopeId as p, createVNode as q, renderSlot as r, mergeProps as s, toDisplayString as t, ref as u, createApp as v, withScopeId as w, h as x, getCurrentInstance as y, inject as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@histoire/vendors",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
4
4
  "description": "Bundled vendors for histoire",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -31,7 +31,7 @@
31
31
  "@rollup/plugin-commonjs": "^23.0.3",
32
32
  "@rollup/plugin-node-resolve": "^15.0.1",
33
33
  "@types/node": "^18.0.3",
34
- "@vueuse/core": "^8.2.5",
34
+ "@vueuse/core": "^9.12.0",
35
35
  "execa": "^6.1.0",
36
36
  "floating-vue": "^2.0.0-beta.19",
37
37
  "fs-extra": "^10.0.1",
package/rollup.config.mjs CHANGED
@@ -79,7 +79,7 @@ export * from '${filepath}'\n`
79
79
  {
80
80
  const tempPkgFile = path.resolve(tempDir, 'package.json')
81
81
  fs.writeJsonSync(tempPkgFile, tempPkg)
82
- execaSync('npm', ['install'], { cwd: tempDir })
82
+ execaSync('npm', ['install', '--prefer-offline'], { cwd: tempDir })
83
83
  const dtsFiles = globbySync(['**/*.d.ts', '**/package.json'], {
84
84
  cwd: path.join(tempDir, 'node_modules'),
85
85
  dot: true,