Skip to content

Commit 62e043f

Browse files
authored
use node 24 (#3)
1 parent bc8f00d commit 62e043f

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
build:
1212
runs-on: ubuntu-24.04
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515

1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 22.x
18+
node-version: 24.x
1919

2020
- name: Install dependencies
2121
run: |

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
"build": "vite build && vue-tsc -d --emitDeclarationOnly"
1212
},
1313
"devDependencies": {
14-
"@antfu/eslint-config": "^4.13.0",
15-
"@vitejs/plugin-vue": "^5.2.4",
16-
"eslint": "^9.26.0",
14+
"@antfu/eslint-config": "^5.2.1",
15+
"@vitejs/plugin-vue": "^6.0.1",
16+
"eslint": "^9.33.0",
1717
"fcitx5-js": "file:cache/fcitx5-js.tgz",
18-
"naive-ui": "^2.41.0",
19-
"typescript": "5.8.3",
20-
"vite": "^6.3.5",
18+
"naive-ui": "^2.42.0",
19+
"typescript": "5.9.2",
20+
"vite": "^7.1.2",
2121
"vooks": "^0.2.12",
22-
"vue": "^3.5.13",
22+
"vue": "^3.5.18",
2323
"vue-i18n": "11",
24-
"vue-tsc": "^2.2.10"
24+
"vue-tsc": "^3.0.5"
2525
}
2626
}

src/BasicConfig.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const labelPlacement = computed(() => isMobile.value ? 'top' : 'left')
4040
:is="toComponent(child)"
4141
:config="child"
4242
:value="value[child.Option]"
43-
@update="v => onUpdate({ ...value, [child.Option]: v })"
43+
@update="(v: any) => onUpdate({ ...value, [child.Option]: v })"
4444
/>
4545
</NDialogProvider>
4646
</NFormItem>

src/option/EntryOption.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defineProps<{
2525
:config="child"
2626
:value="value[child.Option]"
2727
style="max-width: 200px"
28-
@update="v => { console.log(v); onUpdate({ ...value, [child.Option]: v }) }"
28+
@update="(v: any) => { onUpdate({ ...value, [child.Option]: v }) }"
2929
/>
3030
</NFlex>
3131
</template>

src/option/ListOption.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function add(index: number) {
5353
:is="toComponent({ Type: config.Type.slice('List|'.length) })"
5454
:config="config"
5555
:value="item"
56-
@update="v => onUpdate({ ...value, [i]: v })"
56+
@update="(v: any) => onUpdate({ ...value, [i]: v })"
5757
/>
5858
<template #suffix>
5959
<NButtonGroup>

0 commit comments

Comments
 (0)