Skip to content

Commit

Permalink
pin typescript 5.6.3; lint
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Dec 15, 2024
1 parent 416baf7 commit 853b68b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
"preview": "vite preview --host"
},
"devDependencies": {
"@antfu/eslint-config": "^2.27.0",
"@rollup/plugin-replace": "^5.0.7",
"@vitejs/plugin-vue": "^5.1.2",
"eslint": "^9.9.0",
"@antfu/eslint-config": "^3.12.0",
"@rollup/plugin-replace": "^6.0.2",
"@vitejs/plugin-vue": "^5.2.1",
"eslint": "^9.17.0",
"fcitx5-config-vue": "file:cache/fcitx5-config-vue-0.1.0.tgz",
"fcitx5-js": "file:cache/fcitx5-js-0.1.0.tgz",
"naive-ui": "^2.39.0",
"typescript": "^5.5.4",
"vite": "^5.4.2",
"vite-plugin-static-copy": "^1.0.6",
"vue": "^3.4.38",
"vue-tsc": "^2.0.29"
"naive-ui": "^2.40.3",
"typescript": "5.6.3",
"vite": "^6.0.3",
"vite-plugin-static-copy": "^2.2.0",
"vue": "^3.5.13",
"vue-tsc": "^2.1.10"
}
}
8 changes: 4 additions & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<script setup lang="ts">
import {
darkTheme,
NConfigProvider,
NH1,
NModalProvider,
darkTheme,
useOsTheme,
} from 'naive-ui'
import { appName } from '../package.json'
import MyLayout from './components/MyLayout.vue'
import MyHeader from './components/MyHeader.vue'
import MyFooter from './components/MyFooter.vue'
import MyContent from './components/MyContent.vue'
import MyFooter from './components/MyFooter.vue'
import MyHeader from './components/MyHeader.vue'
import MyLayout from './components/MyLayout.vue'
const osThemeRef = useOsTheme()
</script>
Expand Down
6 changes: 3 additions & 3 deletions src/components/MenuButton.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<script setup lang="ts">
import { computed, h } from 'vue'
import type { MenuAction } from 'fcitx5-js'
import type { DropdownOption } from 'naive-ui'
import { NButton, NDropdown, NIcon } from 'naive-ui'
import type { MenuAction } from 'fcitx5-js'
import { computed, h } from 'vue'
import { menuActions, refocus } from '../fcitx'
import HamburgerIcon from './HamburgerIcon.vue'
import CheckIcon from './CheckIcon.vue'
import HamburgerIcon from './HamburgerIcon.vue'
function actionToOption(action: MenuAction) {
if (action.separator) {
Expand Down
8 changes: 4 additions & 4 deletions src/components/StatusArea.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<script setup lang="ts">
import { computed, ref } from 'vue'
import { NModal, NSelect, NSpace, NTooltip } from 'naive-ui'
import { AdvancedConfig, GearButton, GlobalConfig, InputMethodConfig, ThemeConfig } from 'fcitx5-config-vue'
import { NModal, NSelect, NSpace, NTooltip } from 'naive-ui'
import { computed, ref } from 'vue'
import { inputMethod, inputMethods, loading } from '../fcitx'
import MenuButton from './MenuButton.vue'
import AdvancedButton from './AdvancedButton.vue'
import GlobalButton from './GlobalButton.vue'
import MenuButton from './MenuButton.vue'
import ThemeButton from './ThemeButton.vue'
import AdvancedButton from './AdvancedButton.vue'
const options = computed(() => {
return inputMethods.value.map(({ displayName, name }) => ({
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { execSync } from 'node:child_process'
import { defineConfig } from 'vite'
import replace from '@rollup/plugin-replace'
import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vite'
import { viteStaticCopy } from 'vite-plugin-static-copy'

const wasmPath = 'node_modules/fcitx5-js/dist/'
Expand Down

0 comments on commit 853b68b

Please sign in to comment.