Skip to content

Commit f4c481f

Browse files
committed
chore: update dependencies
1 parent fb824ac commit f4c481f

7 files changed

Lines changed: 825 additions & 718 deletions

File tree

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,31 +29,31 @@
2929
"sortablejs": "^1.15.6",
3030
"vite": "^7.3.1",
3131
"vite-plugin-pwa": "^1.2.0",
32-
"vue": "^3.5.26",
32+
"vue": "^3.5.27",
3333
"vue-dompurify-html": "^5.3.0"
3434
},
3535
"devDependencies": {
36-
"@antfu/eslint-config": "^7.0.1",
36+
"@antfu/eslint-config": "^7.2.0",
3737
"@octokit/types": "^16.0.0",
38-
"@stylistic/stylelint-plugin": "^5.0.0",
38+
"@stylistic/stylelint-plugin": "^5.0.1",
3939
"@total-typescript/ts-reset": "^0.6.1",
40-
"@types/node": "^25.0.9",
40+
"@types/node": "^25.1.0",
4141
"@types/semver": "^7.7.1",
4242
"eslint": "^9.39.2",
4343
"mime-type": "^5.0.3",
4444
"postcss-html": "^1.8.1",
4545
"postcss-scss": "^4.0.9",
46-
"sass-embedded": "^1.97.2",
46+
"sass-embedded": "^1.97.3",
4747
"stylelint": "^17.0.0",
48-
"stylelint-config-recess-order": "^7.4.0",
48+
"stylelint-config-recess-order": "^7.6.0",
4949
"stylelint-config-standard-scss": "^17.0.0",
50+
"stylelint-declaration-block-no-ignored-properties": "^3.0.0",
5051
"stylelint-order": "^7.0.1",
5152
"stylelint-rem-over-px": "^1.0.2",
52-
"type-fest": "^5.4.1",
53+
"type-fest": "^5.4.2",
5354
"typescript": "^5.9.3",
54-
"unplugin-vue-router": "^0.19.2",
55-
"vue-router": "^4.6.4",
56-
"vue-tsc": "^3.2.2",
55+
"vue-router": "^5.0.0",
56+
"vue-tsc": "^3.2.4",
5757
"workbox-build": "^7.4.0",
5858
"workbox-core": "^7.4.0",
5959
"workbox-precaching": "^7.4.0",

pnpm-lock.yaml

Lines changed: 791 additions & 691 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/global.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ dialog {
257257
border: 1px solid var(--base-dimmed);
258258
border-radius: 0.25rem;
259259
&::backdrop {
260-
background-color: rgb(0 0 0 / 35%)
260+
background-color: rgb(0 0 0 / 35%);
261261
}
262262
&:not([open]) {
263263
pointer-events: none;

src/types/typed-router.ts

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
11
/* eslint-disable */
22
/* prettier-ignore */
3+
// oxfmt-ignore
34
// @ts-nocheck
45
// noinspection ES6UnusedImports
5-
// Generated by unplugin-vue-router. !! DO NOT MODIFY THIS FILE !!
6+
// Generated by vue-router. !! DO NOT MODIFY THIS FILE !!
67
// It's recommended to commit this file.
78
// Make sure to add this file to your tsconfig.json file as an "includes" or "files" entry.
89

9-
declare module 'vue-router/auto-resolver' {
10-
export type ParamParserCustom = never
10+
import type {
11+
RouteRecordInfo,
12+
ParamValue,
13+
ParamValueOneOrMore,
14+
ParamValueZeroOrMore,
15+
ParamValueZeroOrOne,
16+
} from 'vue-router'
17+
18+
declare module 'vue-router' {
19+
interface TypesConfig {
20+
ParamParsers: never
21+
}
1122
}
1223

1324
declare module 'vue-router/auto-routes' {
14-
import type {
15-
RouteRecordInfo,
16-
ParamValue,
17-
ParamValueOneOrMore,
18-
ParamValueZeroOrMore,
19-
ParamValueZeroOrOne,
20-
} from 'vue-router'
21-
2225
/**
23-
* Route name map generated by unplugin-vue-router
26+
* Route name map generated by vue-router
2427
*/
2528
export interface RouteNamedMap {
2629
'Home': RouteRecordInfo<
@@ -54,7 +57,7 @@ declare module 'vue-router/auto-routes' {
5457
}
5558

5659
/**
57-
* Route file to route info map by unplugin-vue-router.
60+
* Route file to route info map by vue-router.
5861
* Used by the \`sfc-typed-router\` Volar plugin to automatically type \`useRoute()\`.
5962
*
6063
* Each key is a file path relative to the project root with 2 properties:
@@ -101,3 +104,5 @@ declare module 'vue-router/auto-routes' {
101104
? Info['routes']
102105
: keyof RouteNamedMap
103106
}
107+
108+
export {}

stylelint.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default {
55
],
66
plugins: [
77
"@stylistic/stylelint-plugin",
8+
"stylelint-declaration-block-no-ignored-properties",
89
"stylelint-order",
910
"stylelint-rem-over-px"
1011
],
@@ -22,6 +23,7 @@ export default {
2223
"@stylistic/color-hex-case": "lower",
2324
"at-rule-empty-line-before": "never",
2425
"declaration-empty-line-before": "never",
26+
"plugin/declaration-block-no-ignored-properties": true,
2527
"rem-over-px/rem-over-px": [true, { ignore: ["1px", "font-size 16px"] }],
2628
"rule-empty-line-before": "never",
2729
"selector-class-pattern": "[a-z]([a-z-]+)?(__([a-z]+-?)+)?(--([a-z]+-?)+){0,2}"

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"moduleResolution": "bundler",
88
"paths": { "@/*": ["./src/*"] },
99
"resolveJsonModule": true,
10-
"types": ["vite/client", "vite-plugin-pwa/client", "unplugin-vue-router/client"],
10+
"types": ["vite/client", "vite-plugin-pwa/client"],
1111
"strict": true,
1212
"noImplicitThis": true,
1313
"noUnusedLocals": true,

vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { execSync } from "node:child_process";
22
import { fileURLToPath, URL } from "node:url";
33
import Vue from "@vitejs/plugin-vue";
4-
import VueRouter from "unplugin-vue-router/vite";
54
import { defineConfig } from "vite";
65
import { VitePWA } from "vite-plugin-pwa";
7-
import type { TreeNode } from "unplugin-vue-router";
6+
import VueRouter from "vue-router/vite";
7+
import type { TreeNode } from "vue-router/unplugin";
88
import PWA_OPTIONS from "./src/constants/pwa-options.ts";
99

1010
const commitDate = execSync("git log -1 --format=%cI").toString().trimEnd();

0 commit comments

Comments
 (0)