Skip to content

Commit 2a7d3d0

Browse files
committed
chore: update dependencies
1 parent 6cbb0b6 commit 2a7d3d0

File tree

9 files changed

+2945
-2304
lines changed

9 files changed

+2945
-2304
lines changed

.github/dependabot.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/workflows/build.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
name: build
22

3-
on:
4-
push:
5-
branch: master
6-
pull_request:
3+
on: [push, pull_request]
74

85
jobs:
96
build:
107
runs-on: ubuntu-latest
118
steps:
129
- name: Checkout
13-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
10+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1411

1512
- name: Install pnpm
16-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
13+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
1714
with:
18-
version: 9
15+
version: latest
1916
run_install: true
2017

2118
- name: Install Node.js
22-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
19+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2320
with:
24-
node-version: "22"
21+
node-version: "24"
2522
cache: pnpm
2623

2724
- name: Run linters

eslint.config.ts

Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
11
import process from "node:process";
22
import antfu from "@antfu/eslint-config";
33

4-
const SORT_IMPORT_CUSTOM_GROUP = {
5-
"vue": "^vue$",
6-
"vue-libs": ["^vue-router$", "^vue-i18n$", "^@vueuse/"],
7-
"vue-components": "\\.vue$"
8-
};
4+
const SORT_IMPORT_CUSTOM_GROUPS = [{
5+
groupName: "vue",
6+
anyOf: [
7+
{ selector: "type", elementNamePattern: "^vue$" },
8+
{ elementNamePattern: "^vue$" }
9+
]
10+
}, {
11+
groupName: "vue-libs",
12+
anyOf: [
13+
{ selector: "type", elementNamePattern: ["^vue-router$", "^vue-i18n$", "^@vueuse/"] },
14+
{ elementNamePattern: ["^vue-router$", "^vue-i18n$", "^@vueuse/"] }
15+
]
16+
}, {
17+
groupName: "vue-components",
18+
anyOf: [
19+
{ selector: "type", elementNamePattern: "\\.vue$" },
20+
{ elementNamePattern: "\\.vue$" }
21+
]
22+
}];
923

1024
export default antfu({
11-
toml: false,
1225
isInEditor: false,
1326
ignores: ["src/scripts/*.js", "**/typed-router.ts"]
1427
}, {
@@ -38,30 +51,28 @@ export default antfu({
3851
"perfectionist/sort-named-imports": ["error", {
3952
order: "asc",
4053
type: "natural",
41-
groupKind: "values-first"
54+
groups: ["value-import", "type-import"]
4255
}],
4356
"perfectionist/sort-imports": ["error", {
4457
internalPattern: ["^@/"],
4558
groups: [
4659
"builtin",
4760
"vue",
4861
"vue-libs",
49-
"external",
50-
"type",
51-
"internal",
52-
["parent", "sibling", "index"],
53-
"internal-type",
54-
["parent-type", "sibling-type", "index-type"],
62+
"value-external",
63+
"type-import",
64+
"value-internal",
65+
["value-parent", "value-sibling", "value-index"],
66+
"type-internal",
67+
["type-parent", "type-sibling", "type-index"],
5568
"side-effect",
5669
"vue-components",
57-
"object",
70+
"ts-equals-import",
5871
"unknown"
5972
],
60-
customGroups: {
61-
value: SORT_IMPORT_CUSTOM_GROUP,
62-
type: SORT_IMPORT_CUSTOM_GROUP
63-
},
64-
newlinesBetween: "ignore",
73+
customGroups: SORT_IMPORT_CUSTOM_GROUPS,
74+
newlinesBetween: 0,
75+
newlinesInside: 0,
6576
order: "asc",
6677
type: "natural"
6778
}],

package.json

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -18,43 +18,42 @@
1818
"localazy:download": "localazy download && npm run lint:js:fix"
1919
},
2020
"dependencies": {
21-
"@unhead/vue": "^2.0.17",
22-
"@vitejs/plugin-vue": "^6.0.1",
23-
"@vueuse/core": "^13.9.0",
24-
"dayjs": "^1.11.18",
21+
"@unhead/vue": "^2.1.2",
22+
"@vitejs/plugin-vue": "^6.0.3",
23+
"@vueuse/core": "^14.1.0",
24+
"dayjs": "^1.11.19",
2525
"v-wave": "^3.0.4",
26-
"vite": "^7.1.9",
27-
"vite-plugin-pwa": "^1.0.3",
28-
"vue": "^3.5.22",
29-
"vue-i18n": "^11.1.12",
30-
"vue-router": "^4.5.1"
26+
"vite": "^7.3.1",
27+
"vite-plugin-pwa": "^1.2.0",
28+
"vue": "^3.5.27",
29+
"vue-i18n": "^11.2.8",
30+
"vue-router": "^5.0.0"
3131
},
3232
"devDependencies": {
33-
"@antfu/eslint-config": "^5.4.1",
33+
"@antfu/eslint-config": "^7.2.0",
3434
"@localazy/cli": "^2.0.8",
35-
"@stylistic/stylelint-plugin": "^4.0.0",
36-
"@tabler/icons-vue": "^3.35.0",
35+
"@stylistic/stylelint-plugin": "^5.0.1",
36+
"@tabler/icons-vue": "^3.36.1",
3737
"@total-typescript/ts-reset": "^0.6.1",
38-
"@types/node": "^24.6.2",
39-
"eslint": "^9.37.0",
40-
"postcss-html": "^1.8.0",
38+
"@types/node": "^25.1.0",
39+
"eslint": "^9.39.2",
40+
"postcss-html": "^1.8.1",
4141
"postcss-scss": "^4.0.9",
42-
"sass-embedded": "^1.93.2",
43-
"stylelint": "^16.25.0",
44-
"stylelint-config-recess-order": "^7.3.0",
45-
"stylelint-config-standard-scss": "^16.0.0",
46-
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
47-
"stylelint-order": "^7.0.0",
42+
"sass-embedded": "^1.97.3",
43+
"stylelint": "^17.0.0",
44+
"stylelint-config-recess-order": "^7.6.0",
45+
"stylelint-config-standard-scss": "^17.0.0",
46+
"stylelint-declaration-block-no-ignored-properties": "^3.0.0",
47+
"stylelint-order": "^7.0.1",
4848
"stylelint-rem-over-px": "^1.0.2",
4949
"typescript": "^5.9.3",
50-
"unplugin-vue-router": "^0.15.0",
51-
"vue-tsc": "^3.1.0",
52-
"workbox-build": "^7.3.0",
53-
"workbox-core": "^7.3.0",
54-
"workbox-precaching": "^7.3.0",
55-
"workbox-routing": "^7.3.0",
56-
"workbox-strategies": "^7.3.0",
57-
"workbox-window": "^7.3.0"
50+
"vue-tsc": "^3.2.4",
51+
"workbox-build": "^7.4.0",
52+
"workbox-core": "^7.4.0",
53+
"workbox-precaching": "^7.4.0",
54+
"workbox-routing": "^7.4.0",
55+
"workbox-strategies": "^7.4.0",
56+
"workbox-window": "^7.4.0"
5857
},
5958
"pnpm": {
6059
"overrides": {

0 commit comments

Comments
 (0)