@scalar/use-toasts 0.5.5 → 0.5.7
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/CHANGELOG.md +12 -0
- package/README.md +4 -4
- package/dist/FlowProgressRing.vue.d.ts +13 -10
- package/dist/FlowProgressRing.vue.d.ts.map +1 -1
- package/dist/FlowToast.vue.d.ts +13 -10
- package/dist/FlowToast.vue.d.ts.map +1 -1
- package/dist/FlowToastContainer.vue.d.ts.map +1 -1
- package/dist/FlowToastLayout.vue.d.ts +14 -9
- package/dist/FlowToastLayout.vue.d.ts.map +1 -1
- package/dist/index.js +8 -20
- package/package.json +27 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @scalar/use-toasts
|
|
2
2
|
|
|
3
|
+
## 0.5.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 55246e5: chore: rewrite all package.jsons (including their prod, dev and peer dependency requirements)
|
|
8
|
+
|
|
9
|
+
## 0.5.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 2eba4010: Refactor and simplify API references layout
|
|
14
|
+
|
|
3
15
|
## 0.5.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Scalar useToasts()
|
|
2
2
|
|
|
3
|
-

|
|
4
|
-

|
|
5
|
-

|
|
6
|
-
[](https://discord.
|
|
3
|
+
[](https://www.npmjs.com/package/@scalar/use-toasts)
|
|
4
|
+
[](https://www.npmjs.com/package/@scalar/use-toasts)
|
|
5
|
+
[](https://www.npmjs.com/package/@scalar/use-toasts)
|
|
6
|
+
[](https://discord.gg/8HeZcRGPFS)
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
duration:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
duration: number;
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
duration: number;
|
|
5
|
+
}>>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
9
13
|
required: true;
|
|
10
14
|
};
|
|
11
|
-
}
|
|
12
|
-
export default _default;
|
|
15
|
+
};
|
|
13
16
|
//# sourceMappingURL=FlowProgressRing.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowProgressRing.vue.d.ts","sourceRoot":"","sources":["../src/FlowProgressRing.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FlowProgressRing.vue.d.ts","sourceRoot":"","sources":["../src/FlowProgressRing.vue.ts"],"names":[],"mappings":";cA+EY,MAAM;;cAAN,MAAM;;AAFlB,wBAQG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
package/dist/FlowToast.vue.d.ts
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import type { Toast } from './FlowToast';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
toast:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
toast: Toast;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
toast: Toast;
|
|
6
|
+
}>>>, {}, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
10
14
|
required: true;
|
|
11
15
|
};
|
|
12
|
-
}
|
|
13
|
-
export default _default;
|
|
16
|
+
};
|
|
14
17
|
//# sourceMappingURL=FlowToast.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowToast.vue.d.ts","sourceRoot":"","sources":["../src/FlowToast.vue.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAe,KAAK,EAAE,MAAM,aAAa,CAAA
|
|
1
|
+
{"version":3,"file":"FlowToast.vue.d.ts","sourceRoot":"","sources":["../src/FlowToast.vue.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAe,KAAK,EAAE,MAAM,aAAa,CAAA;;WAkL5C,KAAK;;WAAL,KAAK;;AAFd,wBAQG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowToastContainer.vue.d.ts","sourceRoot":"","sources":["../src/FlowToastContainer.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"FlowToastContainer.vue.d.ts","sourceRoot":"","sources":["../src/FlowToastContainer.vue.ts"],"names":[],"mappings":";AAyFA,wBAKG"}
|
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
status
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
status: {
|
|
7
|
-
type: import("vue").PropType<"Error">;
|
|
8
|
-
};
|
|
9
|
-
}>>, {}, {}>, {
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
status?: "Error" | undefined;
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
status?: "Error" | undefined;
|
|
5
|
+
}>>>, {}, {}>, {
|
|
10
6
|
icon?(_: {}): any;
|
|
11
7
|
title?(_: {}): any;
|
|
12
8
|
description?(_: {}): any;
|
|
13
9
|
timeout?(_: {}): any;
|
|
14
10
|
}>;
|
|
15
11
|
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
16
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
22
|
new (): {
|
|
18
23
|
$slots: S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowToastLayout.vue.d.ts","sourceRoot":"","sources":["../src/FlowToastLayout.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FlowToastLayout.vue.d.ts","sourceRoot":"","sources":["../src/FlowToastLayout.vue.ts"],"names":[],"mappings":";;;;;;;;;;AAmKA,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3,27 +3,15 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".progress-ring[data-v-6d218ca0] {\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n animation: linear turn-6d218ca0 reverse forwards;\n}\n@keyframes turn-6d218ca0 {\nfrom {\n stroke-dashoffset: var(--2d61a1b2);\n}\nto {\n stroke-dashoffset: 0;\n}\n}\n\n.toast-layout[data-v-
|
|
6
|
+
elementStyle.appendChild(document.createTextNode(".progress-ring[data-v-6d218ca0] {\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n animation: linear turn-6d218ca0 reverse forwards;\n}\n@keyframes turn-6d218ca0 {\nfrom {\n stroke-dashoffset: var(--2d61a1b2);\n}\nto {\n stroke-dashoffset: 0;\n}\n}\n\n.toast-layout[data-v-e3b10923] {\n pointer-events: initial;\n\n padding: 18px;\n background: var(--theme-background-1, var(--default-theme-background-1));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n font-size: var(--theme-font-size-3, var(--default-theme-font-size-3));\n color: var(--theme-color-1, var(--default-theme-color-1));\n display: grid;\n grid-template-columns: auto 1fr auto;\n grid-template-areas:\n 'icon title timeout'\n '. description description';\n align-items: center;\n position: relative;\n\n width: 100%;\n}\n.toast-title[data-v-e3b10923] {\n grid-area: title;\n font-weight: var(--theme-font-semibold, var(--default-theme-font-semibold));\n display: flex;\n align-items: center;\n}\n.toast-description[data-v-e3b10923] {\n grid-area: description;\n margin-top: 5px;\n line-height: 1.45;\n color: var(--theme-color-2, var(--default-theme-color-2));\n}\n.toast-icon[data-v-e3b10923] {\n grid-area: icon;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 10px;\n color: var(--theme-color-2, var(--default-theme-color-2));\n}\n.toast-icon[data-v-e3b10923] > * {\n width: 14px;\n height: 14px;\n}\n.toast-timeout[data-v-e3b10923] {\n grid-area: timeout;\n margin-left: 10px;\n width: 16px;\n height: 16px;\n display: flex;\n color: var(--theme-color-ghost, var(--default-theme-color-ghost));\n}\n.toast-error .toast-icon[data-v-e3b10923],\n.toast-error .toast-title[data-v-e3b10923] {\n color: var(--theme-error-color, var(--default-theme-color-red));\n}\n\n.toast[data-v-5e2e8f38] {\n pointer-events: initial;\n filter: brightness(\n var(--theme-lifted-brightness, var(--default-theme-lifted-brightness))\n );\n\n background: var(--theme-background-1, var(--default-theme-background-1));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n box-shadow: var(--theme-shadow-2, var(--default-theme-shadow-2));\n font-family: var(--theme-font, var(--default-theme-font));\n\n width: 380px;\n max-width: 100%;\n min-width: 0;\n}\n\n.toast-container[data-v-1daf3e6a] {\n width: 100dvw;\n height: 100svh;\n position: fixed;\n bottom: 0;\n z-index: 1000000;\n\n pointer-events: none;\n\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n justify-content: flex-end;\n gap: 12px;\n\n padding: 48px;\n}\n@media screen and (max-width: 600px) {\n /* Less padding for toasts on mobile */\n.toast-container[data-v-1daf3e6a] {\n padding: 24px;\n}\n}\n.toasts-move[data-v-1daf3e6a],\n.toasts-enter-active[data-v-1daf3e6a],\n.toasts-leave-active[data-v-1daf3e6a] {\n transition: all 0.5s ease;\n}\n.toasts-enter-from[data-v-1daf3e6a],\n.toasts-leave-to[data-v-1daf3e6a] {\n opacity: 0;\n transform: translateX(30px);\n}\n.toast-leave-active[data-v-1daf3e6a] {\n position: absolute;\n}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
+
import { nanoid } from "nanoid";
|
|
13
14
|
import { reactive, readonly, defineComponent, useCssVars, computed, openBlock, createElementBlock, createElementVNode, normalizeStyle, normalizeClass, renderSlot, createCommentVNode, createBlock, resolveDynamicComponent, createSlots, withCtx, createVNode, createTextVNode, toDisplayString, Fragment, TransitionGroup, renderList, unref } from "vue";
|
|
14
|
-
let nanoid = (size = 21) => crypto.getRandomValues(new Uint8Array(size)).reduce((id, byte) => {
|
|
15
|
-
byte &= 63;
|
|
16
|
-
if (byte < 36) {
|
|
17
|
-
id += byte.toString(36);
|
|
18
|
-
} else if (byte < 62) {
|
|
19
|
-
id += (byte - 26).toString(36).toUpperCase();
|
|
20
|
-
} else if (byte > 62) {
|
|
21
|
-
id += "-";
|
|
22
|
-
} else {
|
|
23
|
-
id += "_";
|
|
24
|
-
}
|
|
25
|
-
return id;
|
|
26
|
-
}, "");
|
|
27
15
|
const toasts = reactive([]);
|
|
28
16
|
function createToast(content, options) {
|
|
29
17
|
const id = nanoid();
|
|
@@ -160,8 +148,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
160
148
|
};
|
|
161
149
|
}
|
|
162
150
|
});
|
|
163
|
-
const
|
|
164
|
-
const FlowToastLayout = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
151
|
+
const FlowToastLayout_vue_vue_type_style_index_0_scoped_e3b10923_lang = "";
|
|
152
|
+
const FlowToastLayout = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-e3b10923"]]);
|
|
165
153
|
const _hoisted_1$1 = { class: "toast" };
|
|
166
154
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
167
155
|
__name: "FlowToast",
|
|
@@ -218,8 +206,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
218
206
|
};
|
|
219
207
|
}
|
|
220
208
|
});
|
|
221
|
-
const
|
|
222
|
-
const FlowToast = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
209
|
+
const FlowToast_vue_vue_type_style_index_0_scoped_5e2e8f38_lang = "";
|
|
210
|
+
const FlowToast = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5e2e8f38"]]);
|
|
223
211
|
const _hoisted_1 = { class: "toast-container" };
|
|
224
212
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
225
213
|
__name: "FlowToastContainer",
|
|
@@ -242,8 +230,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
242
230
|
};
|
|
243
231
|
}
|
|
244
232
|
});
|
|
245
|
-
const
|
|
246
|
-
const FlowToastContainer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
233
|
+
const FlowToastContainer_vue_vue_type_style_index_0_scoped_1daf3e6a_lang = "";
|
|
234
|
+
const FlowToastContainer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1daf3e6a"]]);
|
|
247
235
|
export {
|
|
248
236
|
FlowToastContainer,
|
|
249
237
|
addCustomToast,
|
package/package.json
CHANGED
|
@@ -1,29 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scalar/use-toasts",
|
|
3
3
|
"description": "display toasts in Vue",
|
|
4
|
-
"
|
|
4
|
+
"license": "MIT",
|
|
5
5
|
"author": "Scalar (https://github.com/scalar)",
|
|
6
|
-
"bugs": "https://github.com/scalar/scalar/issues/new",
|
|
7
|
-
"dependencies": {
|
|
8
|
-
"nanoid": "5.0.1"
|
|
9
|
-
},
|
|
10
|
-
"devDependencies": {
|
|
11
|
-
"@vitejs/plugin-vue": "4.3.4",
|
|
12
|
-
"@vitest/coverage-v8": "0.34.4",
|
|
13
|
-
"tsc-alias": "1.8.8",
|
|
14
|
-
"vite": "4.4.9",
|
|
15
|
-
"vite-plugin-css-injected-by-js": "3.3.0",
|
|
16
|
-
"vitest": "0.34.4",
|
|
17
|
-
"vue-tsc": "1.8.13"
|
|
18
|
-
},
|
|
19
|
-
"engines": {
|
|
20
|
-
"node": ">=18"
|
|
21
|
-
},
|
|
22
|
-
"files": [
|
|
23
|
-
"dist",
|
|
24
|
-
"CHANGELOG.md"
|
|
25
|
-
],
|
|
26
6
|
"homepage": "https://github.com/scalar/scalar",
|
|
7
|
+
"bugs": "https://github.com/scalar/scalar/issues/new/choose",
|
|
27
8
|
"keywords": [
|
|
28
9
|
"composable",
|
|
29
10
|
"notifcation",
|
|
@@ -31,17 +12,37 @@
|
|
|
31
12
|
"vue",
|
|
32
13
|
"vue3"
|
|
33
14
|
],
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
"vue": "3.3.4"
|
|
15
|
+
"version": "0.5.7",
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=20"
|
|
38
18
|
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"main": "dist/index.js",
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"CHANGELOG.md"
|
|
24
|
+
],
|
|
39
25
|
"repository": {
|
|
40
26
|
"type": "git",
|
|
41
27
|
"url": "https://github.com/scalar/scalar.git",
|
|
42
28
|
"directory": "packages/use-toasts"
|
|
43
29
|
},
|
|
44
|
-
"
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"nanoid": "^5.0.1"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@vitejs/plugin-vue": "^4.4.0",
|
|
35
|
+
"@vitest/coverage-v8": "^0.34.4",
|
|
36
|
+
"tsc-alias": "^1.8.8",
|
|
37
|
+
"vite": "^4.4.11",
|
|
38
|
+
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
39
|
+
"vitest": "^0.34.4",
|
|
40
|
+
"vue": "^3.3.4",
|
|
41
|
+
"vue-tsc": "^1.8.19"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"vue": "3.3.4"
|
|
45
|
+
},
|
|
45
46
|
"scripts": {
|
|
46
47
|
"build": "vite build && pnpm types:build && tsc-alias -p tsconfig.build.json",
|
|
47
48
|
"dev": "vite",
|