Skip to content

Commit 2d848f2

Browse files
authored
refactor: Update dependencies (#356)
* refactor: Update dependencies * fix: Fix import errors * refactor: Update dependency major versions
1 parent 7b39e62 commit 2d848f2

File tree

10 files changed

+4685
-3333
lines changed

10 files changed

+4685
-3333
lines changed

components/base/uiButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { PropType } from 'vue'
2+
import { type PropType } from 'vue'
33
import { ButtonImportance, ButtonTheme, MotionTheme } from './types/button'
44
55
const props = defineProps({

components/error/errorActionBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { Ref } from 'vue'
2+
import { type Ref } from 'vue'
33
44
const state = reactive({
55
items: [] as HTMLElement[]

components/schedule/scheduleItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { PropType } from 'vue'
2+
import { type PropType } from 'vue'
33
import { Section, useSettings } from '~~/stores/settings'
44
55
const settingsStore = useSettings()

components/settings/importButton.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<script setup lang="ts">
2-
import { Ref } from 'vue'
3-
import { Store } from 'pinia'
2+
import { type Ref } from 'vue'
3+
import { type Store } from 'pinia'
4+
import { ButtonImportance } from '../base/types/button'
45
import Button from '~~/components/base/uiButton.vue'
56
import { useSettings } from '~~/stores/settings'
67
import { useTasklist } from '~~/stores/tasklist'
7-
import { ButtonImportance } from '../base/types/button'
88
99
const fileinput: Ref<HTMLInputElement | null> = ref(null)
1010

components/todoList/addTask.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<script setup lang="ts">
22
import { CornerDownLeftIcon } from 'vue-tabler-icons'
3-
import { Ref } from 'vue'
3+
import { type Ref } from 'vue'
4+
import { ButtonImportance } from '../base/types/button'
45
import Button from '~~/components/base/uiButton.vue'
56
import { TaskState, useTasklist } from '~~/stores/tasklist'
67
import { useSchedule } from '~~/stores/schedule'
7-
import { ButtonImportance } from '../base/types/button'
88
99
const tasksStore = useTasklist()
1010
const scheduleStore = useSchedule()

components/todoList/todoItem.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<script setup lang="ts">
2-
import { nextTick, Ref, PropType } from 'vue'
2+
import { nextTick, type Ref, type PropType } from 'vue'
33
import { MenuIcon, TrashIcon, PencilIcon } from 'vue-tabler-icons'
44
import { ButtonImportance } from '../base/types/button'
5-
import { TaskState, useTasklist, Task } from '~~/stores/tasklist'
5+
import { TaskState, useTasklist, type Task } from '~~/stores/tasklist'
66
import { useSettings, ColorMethod } from '~~/stores/settings'
77
import Button from '~~/components/base/uiButton.vue'
88

components/todoList/todoList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import TaskItem from '~~/components/todoList/todoItem.vue'
77
import TaskAdd from '@/components/todoList/addTask.vue'
88
import { useSettings } from '~~/stores/settings'
99
import { useSchedule } from '~~/stores/schedule'
10-
import { Task, useTasklist } from '~~/stores/tasklist'
10+
import { type Task, useTasklist } from '~~/stores/tasklist'
1111
import { useOpenPanels } from '~~/stores/openpanels'
1212
1313
const openPanels = useOpenPanels()

error.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<script setup lang="ts">
22
import { MoodSadIcon as IconCrash, RoadSignIcon as IconLost, MoodConfuzedIcon as IconOtherError, RefreshAlertIcon as IconReset, RefreshIcon as IconReload, HomeIcon as IconHome, BrandGithubIcon as IconGithub, BrandTwitterIcon as IconTwitter, MessagesIcon as IconDiscussion, BugIcon as IconShowError } from 'vue-tabler-icons'
33
import { useI18n } from 'vue-i18n'
4-
import { ComputedRef } from 'vue'
5-
import type { Component } from 'vue'
4+
import type { Component, ComputedRef } from 'vue'
65
import { ActionType } from './components/error/types'
76
import UiButton from './components/base/uiButton.vue'
87
import { ButtonImportance, ButtonTheme } from './components/base/types/button'

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -20,43 +20,43 @@
2020
"release": "standard-version"
2121
},
2222
"dependencies": {
23-
"pinia": "^2.1.3",
24-
"vue": "^3.3.4",
23+
"pinia": "^2.1.7",
24+
"vue": "^3.3.8",
2525
"vue-tabler-icons": "^2.21.0"
2626
},
2727
"devDependencies": {
2828
"@babel/core": "^7.20.2",
2929
"@babel/eslint-parser": "^7.19.1",
3030
"@babel/runtime-corejs3": "^7.20.1",
3131
"@intlify/unplugin-vue-i18n": "^0.7.3",
32-
"@nuxtjs/eslint-config": "^11.0.0",
33-
"@nuxtjs/eslint-config-typescript": "^11.0.0",
34-
"@nuxtjs/eslint-module": "^3.1.0",
35-
"@nuxtjs/google-fonts": "^3.0.0-1",
36-
"@pinia/nuxt": "^0.4.3",
37-
"@typescript-eslint/eslint-plugin": "^5.42.1",
38-
"@typescript-eslint/parser": "^5.42.1",
39-
"autoprefixer": "^10.4.14",
40-
"core-js": "^3.30.2",
41-
"eslint": "^8.41.0",
32+
"@nuxtjs/eslint-config": "^12.0.0",
33+
"@nuxtjs/eslint-config-typescript": "^12.1.0",
34+
"@nuxtjs/eslint-module": "^4.1.0",
35+
"@nuxtjs/google-fonts": "^3.1.0",
36+
"@pinia/nuxt": "^0.5.1",
37+
"@typescript-eslint/eslint-plugin": "^6.12.0",
38+
"@typescript-eslint/parser": "^6.12.0",
39+
"autoprefixer": "^10.4.16",
40+
"core-js": "^3.33.3",
41+
"eslint": "^8.54.0",
4242
"eslint-plugin-nuxt": "^4.0.0",
43-
"eslint-plugin-vue": "^9.14.1",
44-
"nuxt": "^3.5.2",
45-
"postcss": "^8.4.24",
43+
"eslint-plugin-vue": "^9.18.1",
44+
"nuxt": "^3.8.2",
45+
"postcss": "^8.4.31",
4646
"postcss-html": "^1.5.0",
47-
"sass": "^1.62.1",
48-
"sharp": "^0.32.1",
47+
"sass": "^1.69.5",
48+
"sharp": "^0.32.6",
4949
"standard-version": "^9.5.0",
50-
"stylelint": "^15.6.2",
51-
"stylelint-config-recommended-vue": "^1.4.0",
52-
"stylelint-config-standard": "^33.0.0",
53-
"tailwindcss": "^3.3.2",
54-
"typescript": "^5.0.4",
55-
"vite": "^4.3.9",
50+
"stylelint": "^15.11.0",
51+
"stylelint-config-recommended-vue": "^1.5.0",
52+
"stylelint-config-standard": "^34.0.0",
53+
"tailwindcss": "^3.3.5",
54+
"typescript": "^5.3.2",
55+
"vite": "^5.0.2",
5656
"vite-plugin-eslint": "^1.8.1",
57-
"vite-plugin-stylelint": "^4.3.0",
58-
"vue-i18n": "^9.2.2",
59-
"workbox-build": "^6.6.1"
57+
"vite-plugin-stylelint": "^5.2.1",
58+
"vue-i18n": "^9.7.1",
59+
"workbox-build": "^7.0.0"
6060
},
6161
"peerDependencies": {
6262
"vite": "^3.0.0"

0 commit comments

Comments
 (0)