@frigear-nu/account 0.2.6 → 0.4.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/module.d.mts +2 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +5 -1
- package/dist/runtime/app/components/Account/AccountSignedInApps.d.vue.ts +3 -0
- package/dist/runtime/app/components/Account/AccountSignedInApps.vue +119 -0
- package/dist/runtime/app/components/Account/AccountSignedInApps.vue.d.ts +3 -0
- package/dist/runtime/app/layouts/account.d.vue.ts +5 -3
- package/dist/runtime/app/layouts/account.vue.d.ts +5 -3
- package/dist/runtime/app/pages/security.vue +4 -0
- package/dist/runtime/i18n/lang/da.json +24 -1
- package/dist/runtime/i18n/lang/en.json +24 -1
- package/package.json +20 -20
package/dist/module.d.mts
CHANGED
|
@@ -23,6 +23,8 @@ type PublicModuleOptions = {
|
|
|
23
23
|
apiTokens?: string;
|
|
24
24
|
};
|
|
25
25
|
documents: AccountDocument[];
|
|
26
|
+
/** `@frigear-nu/oauth-server` is installed: the Security page lists the applications the user is signed in to. */
|
|
27
|
+
signedInApps?: boolean;
|
|
26
28
|
};
|
|
27
29
|
type ModuleOptions = {
|
|
28
30
|
settings?: {
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -67,8 +67,12 @@ const module$1 = defineNuxtModule({
|
|
|
67
67
|
}
|
|
68
68
|
nuxt.options.runtimeConfig.public.account = {
|
|
69
69
|
pages: { index: indexPath, profile: profilePath, security: securityPath, documents: documentsPath, apiTokens: apiTokensPath },
|
|
70
|
-
documents: settings.documents ?? []
|
|
70
|
+
documents: settings.documents ?? [],
|
|
71
|
+
signedInApps: false
|
|
71
72
|
};
|
|
73
|
+
nuxt.hook("modules:done", () => {
|
|
74
|
+
nuxt.options.runtimeConfig.public.account.signedInApps = hasNuxtModule("@frigear-nu/oauth-server", nuxt);
|
|
75
|
+
});
|
|
72
76
|
addModulePages("@frigear-nu/account", resolver, [
|
|
73
77
|
{ name: "account-index", path: indexPath, file: "./runtime/app/pages/index.vue" },
|
|
74
78
|
{ name: "account-profile", path: profilePath, file: "./runtime/app/pages/profile.vue" },
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { $fetch, computed, errorMessage, useCachedFetch, useConfirmDialog, useErrorToast, useFormat, useModuleT, useToast, useUserSession } from "#imports";
|
|
3
|
+
defineOptions({ name: "AccountSignedInApps" });
|
|
4
|
+
const SESSIONS = "/api/oauth-server/me/sessions";
|
|
5
|
+
const t = useModuleT("account.security.signedInApps");
|
|
6
|
+
const toast = useToast();
|
|
7
|
+
const showError = useErrorToast();
|
|
8
|
+
const confirm = useConfirmDialog();
|
|
9
|
+
const format = useFormat();
|
|
10
|
+
const { user } = useUserSession();
|
|
11
|
+
const { data, error, loading, refresh } = await useCachedFetch(SESSIONS, {
|
|
12
|
+
key: () => `account:signed-in-apps:${user.value?.id ?? "anonymous"}`,
|
|
13
|
+
ttl: 0,
|
|
14
|
+
watch: false
|
|
15
|
+
});
|
|
16
|
+
const sessions = computed(() => data.value ?? []);
|
|
17
|
+
async function signOut(session) {
|
|
18
|
+
const confirmed = await confirm({
|
|
19
|
+
title: t("signOutConfirm.title", "Sign out of {name}?", { name: session.application.name }),
|
|
20
|
+
description: t("signOutConfirm.description", "{name} is signed out on every device and has to ask you to sign in again. Your account and its data are not affected.", { name: session.application.name }),
|
|
21
|
+
confirmText: t("signOut", "Sign out of app"),
|
|
22
|
+
destructive: true
|
|
23
|
+
});
|
|
24
|
+
if (!confirmed) return;
|
|
25
|
+
try {
|
|
26
|
+
await $fetch(`${SESSIONS}/${encodeURIComponent(session.id)}`, { method: "DELETE" });
|
|
27
|
+
toast.add({ title: t("signedOut", "Signed out."), description: session.application.name, color: "success", icon: "i-lucide-check" });
|
|
28
|
+
await refresh();
|
|
29
|
+
} catch (e) {
|
|
30
|
+
showError(e, t("signOutError", "Could not sign out of the application."));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
async function signOutAll() {
|
|
34
|
+
const confirmed = await confirm({
|
|
35
|
+
title: t("signOutAllConfirm.title", "Sign out of every app?"),
|
|
36
|
+
description: t("signOutAllConfirm.description", "Every application listed here, on every device, has to ask you to sign in again. You stay signed in on this website."),
|
|
37
|
+
confirmText: t("signOutAll", "Sign out of all apps"),
|
|
38
|
+
destructive: true
|
|
39
|
+
});
|
|
40
|
+
if (!confirmed) return;
|
|
41
|
+
try {
|
|
42
|
+
await $fetch(SESSIONS, { method: "DELETE" });
|
|
43
|
+
toast.add({ title: t("signedOutAll", "Signed out of every app."), color: "success", icon: "i-lucide-check" });
|
|
44
|
+
await refresh();
|
|
45
|
+
} catch (e) {
|
|
46
|
+
showError(e, t("signOutAllError", "Could not sign out of the applications."));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function activity(session) {
|
|
50
|
+
const params = { signedIn: format.date(session.signedInAt), lastActive: format.dateTime(session.lastActiveAt), count: session.sessions };
|
|
51
|
+
return session.sessions > 1 ? t("activityMany", "Signed in {signedIn} \xB7 last active {lastActive} \xB7 {count} active sign-ins", params) : t("activity", "Signed in {signedIn} \xB7 last active {lastActive}", params);
|
|
52
|
+
}
|
|
53
|
+
const menu = (session) => [[
|
|
54
|
+
{ label: t("signOut", "Sign out of app"), icon: "i-lucide-log-out", color: "error", onSelect: () => signOut(session) }
|
|
55
|
+
]];
|
|
56
|
+
</script>
|
|
57
|
+
|
|
58
|
+
<template>
|
|
59
|
+
<SectionCard
|
|
60
|
+
:title="t('title', 'Signed-in apps')"
|
|
61
|
+
:description="t('description', 'Apps you signed in to with your account. Signing out of an app ends its access on every device. Changing your password or email signs them all out.')"
|
|
62
|
+
:loading="loading"
|
|
63
|
+
flush
|
|
64
|
+
>
|
|
65
|
+
<template
|
|
66
|
+
v-if="sessions.length"
|
|
67
|
+
#actions
|
|
68
|
+
>
|
|
69
|
+
<UButton
|
|
70
|
+
color="neutral"
|
|
71
|
+
variant="outline"
|
|
72
|
+
icon="i-lucide-log-out"
|
|
73
|
+
:label="t('signOutAll', 'Sign out of all apps')"
|
|
74
|
+
@click="signOutAll"
|
|
75
|
+
/>
|
|
76
|
+
</template>
|
|
77
|
+
<ul
|
|
78
|
+
v-if="sessions.length"
|
|
79
|
+
class="divide-y divide-default"
|
|
80
|
+
>
|
|
81
|
+
<li
|
|
82
|
+
v-for="session in sessions"
|
|
83
|
+
:key="session.id"
|
|
84
|
+
class="flex items-center gap-3 px-4 py-3"
|
|
85
|
+
>
|
|
86
|
+
<UIcon
|
|
87
|
+
:name="session.application.icon || 'i-lucide-app-window'"
|
|
88
|
+
class="size-5 shrink-0 text-muted"
|
|
89
|
+
/>
|
|
90
|
+
<div class="min-w-0 flex-1">
|
|
91
|
+
<p class="truncate text-sm font-medium text-highlighted">
|
|
92
|
+
{{ session.application.name }}
|
|
93
|
+
</p>
|
|
94
|
+
<p class="text-sm text-muted">
|
|
95
|
+
{{ activity(session) }}
|
|
96
|
+
</p>
|
|
97
|
+
</div>
|
|
98
|
+
<RowMenu
|
|
99
|
+
:items="menu(session)"
|
|
100
|
+
:subject="session.application.name"
|
|
101
|
+
/>
|
|
102
|
+
</li>
|
|
103
|
+
</ul>
|
|
104
|
+
<UEmpty
|
|
105
|
+
v-else-if="error"
|
|
106
|
+
variant="naked"
|
|
107
|
+
icon="i-lucide-circle-alert"
|
|
108
|
+
:title="t('loadError', 'Could not load your signed-in apps.')"
|
|
109
|
+
:description="errorMessage(error, '')"
|
|
110
|
+
:actions="[{ label: t('tryAgain', 'Try again'), icon: 'i-lucide-rotate-ccw', color: 'neutral', variant: 'outline', onClick: () => refresh() }]"
|
|
111
|
+
/>
|
|
112
|
+
<UEmpty
|
|
113
|
+
v-else
|
|
114
|
+
variant="naked"
|
|
115
|
+
icon="i-lucide-app-window"
|
|
116
|
+
:title="t('empty', 'No applications are signed in with your account.')"
|
|
117
|
+
/>
|
|
118
|
+
</SectionCard>
|
|
119
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const __VLS_template: () => {
|
|
2
|
+
__VLS_Slots: {
|
|
3
|
+
default?: (props: {}) => any;
|
|
4
|
+
};
|
|
4
5
|
};
|
|
6
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
5
7
|
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
9
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const __VLS_template: () => {
|
|
2
|
+
__VLS_Slots: {
|
|
3
|
+
default?: (props: {}) => any;
|
|
4
|
+
};
|
|
4
5
|
};
|
|
6
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
5
7
|
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
9
|
declare const _default: typeof __VLS_export;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { authApi } from "@frigear-nu/auth/api";
|
|
4
4
|
import AccountPasskeySlideover from "../components/Account/AccountPasskeySlideover.vue";
|
|
5
|
+
import AccountSignedInApps from "../components/Account/AccountSignedInApps.vue";
|
|
5
6
|
import { computed, errorMessage, reactive, useAccount, useAction, useCachedFetch, useConfirmDialog, useErrorToast, useFormat, useModuleT, useOverlay, usePasskeys, useRuntimeConfig, useToast, useUserSession } from "#imports";
|
|
6
7
|
defineOptions({ name: "AccountSecurityPage" });
|
|
7
8
|
const t = useModuleT("account.security");
|
|
@@ -13,6 +14,7 @@ const { user } = useUserSession();
|
|
|
13
14
|
const { changePassword } = useAccount();
|
|
14
15
|
const webAuthnEnabled = useRuntimeConfig().public.authentication?.webAuthn === true;
|
|
15
16
|
const passkeys = webAuthnEnabled ? usePasskeys() : void 0;
|
|
17
|
+
const signedInApps = useRuntimeConfig().public.account?.signedInApps === true;
|
|
16
18
|
const passwordSchema = z.object({
|
|
17
19
|
currentPassword: z.string().min(1, t("changePassword.current.required", "Enter your current password.")),
|
|
18
20
|
newPassword: z.string().min(8, t("changePassword.new.min", "Use at least 8 characters.")),
|
|
@@ -199,5 +201,7 @@ const passkeyMenu = (passkey) => [[
|
|
|
199
201
|
:actions="[{ label: t('passkeys.add', 'Add passkey'), icon: 'i-lucide-plus', onClick: onAddPasskey }]"
|
|
200
202
|
/>
|
|
201
203
|
</SectionCard>
|
|
204
|
+
|
|
205
|
+
<AccountSignedInApps v-if="signedInApps" />
|
|
202
206
|
</div>
|
|
203
207
|
</template>
|
|
@@ -135,6 +135,29 @@
|
|
|
135
135
|
"removeError": "Kunne ikke fjerne passkey.",
|
|
136
136
|
"loadError": "Kunne ikke hente dine passkeys.",
|
|
137
137
|
"tryAgain": "Prøv igen"
|
|
138
|
+
},
|
|
139
|
+
"signedInApps": {
|
|
140
|
+
"title": "Apps, der er logget ind",
|
|
141
|
+
"description": "Apps, du er logget ind i med din konto. Når du logger ud af en app, mister den adgangen på alle enheder. Når du ændrer adgangskode eller e-mail, logges de alle ud.",
|
|
142
|
+
"activity": "Logget ind {signedIn} · sidst aktiv {lastActive}",
|
|
143
|
+
"activityMany": "Logget ind {signedIn} · sidst aktiv {lastActive} · {count} aktive logins",
|
|
144
|
+
"signOut": "Log ud af app",
|
|
145
|
+
"signOutConfirm": {
|
|
146
|
+
"title": "Log ud af {name}?",
|
|
147
|
+
"description": "{name} logges ud på alle enheder og skal bede dig logge ind igen. Din konto og dens data påvirkes ikke."
|
|
148
|
+
},
|
|
149
|
+
"signedOut": "Logget ud.",
|
|
150
|
+
"signOutError": "Kunne ikke logge ud af applikationen.",
|
|
151
|
+
"signOutAll": "Log ud af alle apps",
|
|
152
|
+
"signOutAllConfirm": {
|
|
153
|
+
"title": "Log ud af alle apps?",
|
|
154
|
+
"description": "Alle applikationer på listen, på alle enheder, skal bede dig logge ind igen. Du forbliver logget ind på dette website."
|
|
155
|
+
},
|
|
156
|
+
"signedOutAll": "Logget ud af alle apps.",
|
|
157
|
+
"signOutAllError": "Kunne ikke logge ud af applikationerne.",
|
|
158
|
+
"loadError": "Kunne ikke hente dine apps.",
|
|
159
|
+
"tryAgain": "Prøv igen",
|
|
160
|
+
"empty": "Ingen applikationer er logget ind med din konto."
|
|
138
161
|
}
|
|
139
162
|
},
|
|
140
163
|
"apiTokens": {
|
|
@@ -165,10 +188,10 @@
|
|
|
165
188
|
"required": "Vælg mindst én rettighed."
|
|
166
189
|
},
|
|
167
190
|
"expiry": {
|
|
168
|
-
"label": "Udløber",
|
|
169
191
|
"30": "30 dage",
|
|
170
192
|
"90": "90 dage",
|
|
171
193
|
"365": "1 år",
|
|
194
|
+
"label": "Udløber",
|
|
172
195
|
"never": "Udløber aldrig"
|
|
173
196
|
},
|
|
174
197
|
"reveal": {
|
|
@@ -135,6 +135,29 @@
|
|
|
135
135
|
"removeError": "Could not remove the passkey.",
|
|
136
136
|
"loadError": "Could not load your passkeys.",
|
|
137
137
|
"tryAgain": "Try again"
|
|
138
|
+
},
|
|
139
|
+
"signedInApps": {
|
|
140
|
+
"title": "Signed-in apps",
|
|
141
|
+
"description": "Apps you signed in to with your account. Signing out of an app ends its access on every device. Changing your password or email signs them all out.",
|
|
142
|
+
"activity": "Signed in {signedIn} · last active {lastActive}",
|
|
143
|
+
"activityMany": "Signed in {signedIn} · last active {lastActive} · {count} active sign-ins",
|
|
144
|
+
"signOut": "Sign out of app",
|
|
145
|
+
"signOutConfirm": {
|
|
146
|
+
"title": "Sign out of {name}?",
|
|
147
|
+
"description": "{name} is signed out on every device and has to ask you to sign in again. Your account and its data are not affected."
|
|
148
|
+
},
|
|
149
|
+
"signedOut": "Signed out.",
|
|
150
|
+
"signOutError": "Could not sign out of the application.",
|
|
151
|
+
"signOutAll": "Sign out of all apps",
|
|
152
|
+
"signOutAllConfirm": {
|
|
153
|
+
"title": "Sign out of every app?",
|
|
154
|
+
"description": "Every application listed here, on every device, has to ask you to sign in again. You stay signed in on this website."
|
|
155
|
+
},
|
|
156
|
+
"signedOutAll": "Signed out of every app.",
|
|
157
|
+
"signOutAllError": "Could not sign out of the applications.",
|
|
158
|
+
"loadError": "Could not load your signed-in apps.",
|
|
159
|
+
"tryAgain": "Try again",
|
|
160
|
+
"empty": "No applications are signed in with your account."
|
|
138
161
|
}
|
|
139
162
|
},
|
|
140
163
|
"apiTokens": {
|
|
@@ -165,10 +188,10 @@
|
|
|
165
188
|
"required": "Pick at least one scope."
|
|
166
189
|
},
|
|
167
190
|
"expiry": {
|
|
168
|
-
"label": "Expires",
|
|
169
191
|
"30": "30 days",
|
|
170
192
|
"90": "90 days",
|
|
171
193
|
"365": "1 year",
|
|
194
|
+
"label": "Expires",
|
|
172
195
|
"never": "No expiry"
|
|
173
196
|
},
|
|
174
197
|
"reveal": {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frigear-nu/account",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "A module for managing the account area (profile, email, password, security) in the main frigear app.",
|
|
5
5
|
"homepage": "https://docs.frigear.dev/modules/identity/account",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/
|
|
8
|
+
"url": "git+https://github.com/Frigear-nu/frigear-nu.git",
|
|
9
9
|
"directory": "packages/account"
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
@@ -24,23 +24,23 @@
|
|
|
24
24
|
"playground"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
+
"@frigear-nu/auth": "^0.4.0",
|
|
27
28
|
"@frigear-nu/module-kit": "^1.3.4",
|
|
28
|
-
"@frigear-nu/
|
|
29
|
-
"@frigear-nu/
|
|
30
|
-
"@frigear-nu/users": "^1.2.6",
|
|
29
|
+
"@frigear-nu/ui": "^0.2.5",
|
|
30
|
+
"@frigear-nu/users": "^2.0.0",
|
|
31
31
|
"@libsql/client": "^0.18.0",
|
|
32
|
-
"@nuxt/kit": "^4.6.
|
|
32
|
+
"@nuxt/kit": "^4.6.4",
|
|
33
33
|
"@vueuse/core": "^15.0.0",
|
|
34
34
|
"drizzle-kit": "^0.31.11",
|
|
35
|
-
"drizzle-orm": "^0.45.
|
|
36
|
-
"zod": "^4.6.
|
|
35
|
+
"drizzle-orm": "^0.45.4",
|
|
36
|
+
"zod": "^4.6.7"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@frigear-nu/authorization": "^0.
|
|
39
|
+
"@frigear-nu/authorization": "^0.4.0",
|
|
40
40
|
"@frigear-nu/menu": "^0.2.4",
|
|
41
41
|
"@frigear-nu/widget": "^0.2.4",
|
|
42
42
|
"@nuxt/ui": "^4.12.0",
|
|
43
|
-
"@nuxthub/core": "^0.10.
|
|
43
|
+
"@nuxthub/core": "^0.10.12"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"@frigear-nu/authorization": {
|
|
@@ -57,23 +57,23 @@
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@frigear-nu/authorization": "^0.
|
|
60
|
+
"@frigear-nu/authorization": "^0.4.0",
|
|
61
61
|
"@frigear-nu/menu": "^0.2.4",
|
|
62
62
|
"@frigear-nu/widget": "^0.2.4",
|
|
63
|
-
"@nuxt/devtools": "^
|
|
63
|
+
"@nuxt/devtools": "^4.1.0",
|
|
64
64
|
"@nuxt/eslint-config": "^1.17.0",
|
|
65
65
|
"@nuxt/module-builder": "^1.0.3",
|
|
66
|
-
"@nuxt/schema": "^4.6.
|
|
67
|
-
"@nuxt/test-utils": "^4.3.
|
|
66
|
+
"@nuxt/schema": "^4.6.4",
|
|
67
|
+
"@nuxt/test-utils": "^4.3.4",
|
|
68
68
|
"@nuxt/ui": "^4.12.0",
|
|
69
|
-
"@nuxthub/core": "^0.10.
|
|
70
|
-
"@types/node": "^26.6.
|
|
69
|
+
"@nuxthub/core": "^0.10.12",
|
|
70
|
+
"@types/node": "^26.6.6",
|
|
71
71
|
"changelogen": "^0.6.2",
|
|
72
|
-
"eslint": "^10.
|
|
73
|
-
"nuxt": "^4.6.
|
|
72
|
+
"eslint": "^10.14.0",
|
|
73
|
+
"nuxt": "^4.6.4",
|
|
74
74
|
"typescript": "^6.0.3",
|
|
75
|
-
"vitest": "^5.0
|
|
76
|
-
"vue-tsc": "^3.3.
|
|
75
|
+
"vitest": "^5.1.0",
|
|
76
|
+
"vue-tsc": "^3.3.14"
|
|
77
77
|
},
|
|
78
78
|
"scripts": {
|
|
79
79
|
"dev:stub": "nuxt-module-build build --stub && nuxt prepare",
|