Skip to content

Commit

Permalink
refactor: Update dependencies (#356)
Browse files Browse the repository at this point in the history
* refactor: Update dependencies

* fix: Fix import errors

* refactor: Update dependency major versions
  • Loading branch information
Hanziness authored Nov 24, 2023
1 parent 7b39e62 commit 2d848f2
Show file tree
Hide file tree
Showing 10 changed files with 4,685 additions and 3,333 deletions.
2 changes: 1 addition & 1 deletion components/base/uiButton.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { PropType } from 'vue'
import { type PropType } from 'vue'
import { ButtonImportance, ButtonTheme, MotionTheme } from './types/button'
const props = defineProps({
Expand Down
2 changes: 1 addition & 1 deletion components/error/errorActionBar.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { Ref } from 'vue'
import { type Ref } from 'vue'
const state = reactive({
items: [] as HTMLElement[]
Expand Down
2 changes: 1 addition & 1 deletion components/schedule/scheduleItem.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { PropType } from 'vue'
import { type PropType } from 'vue'
import { Section, useSettings } from '~~/stores/settings'
const settingsStore = useSettings()
Expand Down
6 changes: 3 additions & 3 deletions components/settings/importButton.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<script setup lang="ts">
import { Ref } from 'vue'
import { Store } from 'pinia'
import { type Ref } from 'vue'
import { type Store } from 'pinia'
import { ButtonImportance } from '../base/types/button'
import Button from '~~/components/base/uiButton.vue'
import { useSettings } from '~~/stores/settings'
import { useTasklist } from '~~/stores/tasklist'
import { ButtonImportance } from '../base/types/button'
const fileinput: Ref<HTMLInputElement | null> = ref(null)
Expand Down
4 changes: 2 additions & 2 deletions components/todoList/addTask.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<script setup lang="ts">
import { CornerDownLeftIcon } from 'vue-tabler-icons'
import { Ref } from 'vue'
import { type Ref } from 'vue'
import { ButtonImportance } from '../base/types/button'
import Button from '~~/components/base/uiButton.vue'
import { TaskState, useTasklist } from '~~/stores/tasklist'
import { useSchedule } from '~~/stores/schedule'
import { ButtonImportance } from '../base/types/button'
const tasksStore = useTasklist()
const scheduleStore = useSchedule()
Expand Down
4 changes: 2 additions & 2 deletions components/todoList/todoItem.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup lang="ts">
import { nextTick, Ref, PropType } from 'vue'
import { nextTick, type Ref, type PropType } from 'vue'
import { MenuIcon, TrashIcon, PencilIcon } from 'vue-tabler-icons'
import { ButtonImportance } from '../base/types/button'
import { TaskState, useTasklist, Task } from '~~/stores/tasklist'
import { TaskState, useTasklist, type Task } from '~~/stores/tasklist'
import { useSettings, ColorMethod } from '~~/stores/settings'
import Button from '~~/components/base/uiButton.vue'
Expand Down
2 changes: 1 addition & 1 deletion components/todoList/todoList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import TaskItem from '~~/components/todoList/todoItem.vue'
import TaskAdd from '@/components/todoList/addTask.vue'
import { useSettings } from '~~/stores/settings'
import { useSchedule } from '~~/stores/schedule'
import { Task, useTasklist } from '~~/stores/tasklist'
import { type Task, useTasklist } from '~~/stores/tasklist'
import { useOpenPanels } from '~~/stores/openpanels'
const openPanels = useOpenPanels()
Expand Down
3 changes: 1 addition & 2 deletions error.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<script setup lang="ts">
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'
import { useI18n } from 'vue-i18n'
import { ComputedRef } from 'vue'
import type { Component } from 'vue'
import type { Component, ComputedRef } from 'vue'
import { ActionType } from './components/error/types'
import UiButton from './components/base/uiButton.vue'
import { ButtonImportance, ButtonTheme } from './components/base/types/button'
Expand Down
52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,43 +20,43 @@
"release": "standard-version"
},
"dependencies": {
"pinia": "^2.1.3",
"vue": "^3.3.4",
"pinia": "^2.1.7",
"vue": "^3.3.8",
"vue-tabler-icons": "^2.21.0"
},
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/eslint-parser": "^7.19.1",
"@babel/runtime-corejs3": "^7.20.1",
"@intlify/unplugin-vue-i18n": "^0.7.3",
"@nuxtjs/eslint-config": "^11.0.0",
"@nuxtjs/eslint-config-typescript": "^11.0.0",
"@nuxtjs/eslint-module": "^3.1.0",
"@nuxtjs/google-fonts": "^3.0.0-1",
"@pinia/nuxt": "^0.4.3",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"autoprefixer": "^10.4.14",
"core-js": "^3.30.2",
"eslint": "^8.41.0",
"@nuxtjs/eslint-config": "^12.0.0",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@nuxtjs/eslint-module": "^4.1.0",
"@nuxtjs/google-fonts": "^3.1.0",
"@pinia/nuxt": "^0.5.1",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"autoprefixer": "^10.4.16",
"core-js": "^3.33.3",
"eslint": "^8.54.0",
"eslint-plugin-nuxt": "^4.0.0",
"eslint-plugin-vue": "^9.14.1",
"nuxt": "^3.5.2",
"postcss": "^8.4.24",
"eslint-plugin-vue": "^9.18.1",
"nuxt": "^3.8.2",
"postcss": "^8.4.31",
"postcss-html": "^1.5.0",
"sass": "^1.62.1",
"sharp": "^0.32.1",
"sass": "^1.69.5",
"sharp": "^0.32.6",
"standard-version": "^9.5.0",
"stylelint": "^15.6.2",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-standard": "^33.0.0",
"tailwindcss": "^3.3.2",
"typescript": "^5.0.4",
"vite": "^4.3.9",
"stylelint": "^15.11.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^34.0.0",
"tailwindcss": "^3.3.5",
"typescript": "^5.3.2",
"vite": "^5.0.2",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-stylelint": "^4.3.0",
"vue-i18n": "^9.2.2",
"workbox-build": "^6.6.1"
"vite-plugin-stylelint": "^5.2.1",
"vue-i18n": "^9.7.1",
"workbox-build": "^7.0.0"
},
"peerDependencies": {
"vite": "^3.0.0"
Expand Down
Loading

0 comments on commit 2d848f2

Please sign in to comment.