Skip to content

Commit 16dd460

Browse files
Benoit NgoNgob
Benoit Ngo
authored andcommitted
Upgrading package.json to latest version ofetch, nitropack, nuxt
1 parent 0dd8eaf commit 16dd460

File tree

4 files changed

+192
-1714
lines changed

4 files changed

+192
-1714
lines changed

apps/front/package.json

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,29 @@
1010
},
1111
"devDependencies": {
1212
"@nuxt/eslint-config": "^0.1.1",
13-
"@nuxtjs/eslint-config-typescript": "^12.0.0",
14-
"@pinia/nuxt": "^0.4.6",
15-
"@rushstack/eslint-patch": "^1.2.0",
16-
"@types/http-proxy": "^1.17.9",
17-
"@types/lodash": "^4.14.191",
18-
"@typescript-eslint/eslint-plugin": "^5.48.2",
19-
"@vue/eslint-config-airbnb": "^7.0.0",
20-
"@vue/eslint-config-airbnb-with-typescript": "^7.0.0",
21-
"@vue/eslint-config-prettier": "^7.0.0",
22-
"eslint": "^8.32.0",
23-
"eslint-plugin-vue": "^9.9.0",
24-
"pino-pretty": "^9.1.1"
13+
"@pinia/nuxt": "^0.4.11",
14+
"@rushstack/eslint-patch": "^1.3.0",
15+
"@types/http-proxy": "^1.17.11",
16+
"@types/lodash": "^4.14.195",
17+
"@typescript-eslint/eslint-plugin": "^5.59.7",
18+
"@vue/eslint-config-prettier": "^7.1.0",
19+
"eslint": "^8.41.0",
20+
"eslint-plugin-vue": "^9.14.1",
21+
"pino-pretty": "^10.0.0",
22+
"typescript": "^5.0.4",
23+
"vue-tsc": "^1.6.5"
2524
},
2625
"dependencies": {
2726
"bootstrap": "^5.2.3",
28-
"h3": "^1.0.2",
29-
"nitropack": "^1.0.0",
27+
"h3": "^1.6.6",
28+
"nitropack": "^2.4.1",
3029
"nuxt": "3.5.1",
31-
"ofetch": "^1.0.0",
32-
"ohash": "^1.0.0",
33-
"pinia": "^2.0.28",
30+
"ofetch": "^1.0.1",
31+
"ohash": "^1.1.2",
32+
"pinia": "^2.1.3",
3433
"pino": "^8.8.0",
35-
"prettier": "^2.8.3",
36-
"sass": "^1.57.1",
34+
"prettier": "^2.8.8",
35+
"sass": "^1.62.1",
3736
"vue": "^3.2.45"
3837
}
3938
}

apps/front/src/app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const authStore = useAuthUser();
1515
1616
const route = useRoute();
1717
18-
const mHandleError = (e) => {
18+
const mHandleError = (e: unknown) => {
1919
logger.error('Primary error boundary', e);
2020
};
2121
const isPendingValue = computed(() => authStore.isPending);
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
22
<div class="row justify-content-end py-2 mb-2">
33
<div class="col-2">
4-
<p v-if="email">
5-
Welcome {{ email }}
4+
<p v-if="username">
5+
Welcome {{ username }}
66
</p>
77
</div>
88
</div>
@@ -13,5 +13,5 @@ import { useAuthUser } from '~/store/auth';
1313
1414
const authStore = useAuthUser();
1515
16-
const email = authStore.authUser?.email || '';
16+
const username = authStore.authUser?.username || '';
1717
</script>

0 commit comments

Comments
 (0)