Skip to content

Commit d1606b0

Browse files
authored
chore: update dependencies (#5)
1 parent 5856987 commit d1606b0

10 files changed

+4322
-2975
lines changed

Diff for: .eslintrc.cjs

+1-10
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,9 @@ module.exports = {
77
"plugin:vue/vue3-recommended",
88
"eslint:recommended",
99
"@vue/eslint-config-typescript/recommended",
10-
"@vue/eslint-config-prettier",
10+
"@vue/eslint-config-prettier/skip-formatting",
1111
],
1212
parserOptions: {
1313
ecmaVersion: "latest",
1414
},
15-
rules: {
16-
"prettier/prettier": [
17-
"error",
18-
{
19-
singleQuote: false,
20-
endOfLine: "auto",
21-
},
22-
],
23-
},
2415
};

Diff for: .github/workflows/check.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/checkout@v4
1212

1313
- name: Setup pnpm
14-
uses: pnpm/action-setup@v2
14+
uses: pnpm/action-setup@v3
1515

1616
- name: Setup Node.js
1717
uses: actions/setup-node@v4
@@ -25,6 +25,9 @@ jobs:
2525
- name: 🔎 Lint
2626
run: pnpm lint
2727

28+
- name: 🔎 Check formatting
29+
run: pnpm format:check
30+
2831
- name: 🚨 Run unit tests
2932
run: pnpm test:unit
3033

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fetch-depth: 0
1616

1717
- name: Setup pnpm
18-
uses: pnpm/action-setup@v2
18+
uses: pnpm/action-setup@v3
1919

2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4

Diff for: .prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Prettier ignores all files inside .gitignore by default so this file only contains
2+
# files that are checked into git but should not be formatted
3+
pnpm-lock.yaml

Diff for: .prettierrc.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://json.schemastore.org/prettierrc",
3+
"printWidth": 100
4+
}

Diff for: index.html

+11-13
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" href="/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Vite App</title>
8+
</head>
39

4-
<head>
5-
<meta charset="UTF-8" />
6-
<link rel="icon" href="/favicon.ico" />
7-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>Vite App</title>
9-
</head>
10-
11-
<body>
12-
<div id="app"></div>
13-
<script type="module" src="/src/main.ts"></script>
14-
</body>
15-
10+
<body>
11+
<div id="app"></div>
12+
<script type="module" src="/src/main.ts"></script>
13+
</body>
1614
</html>

Diff for: package.json

+28-24
Original file line numberDiff line numberDiff line change
@@ -3,54 +3,58 @@
33
"version": "1.1.1",
44
"private": true,
55
"type": "module",
6-
"packageManager": "pnpm@8.14.1",
6+
"packageManager": "pnpm@9.0.6",
77
"scripts": {
88
"dev": "vite",
99
"build": "pnpm run '/type-check|build-only/'",
1010
"preview": "vite preview",
1111
"test:unit": "vitest",
1212
"build-only": "vite build",
1313
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
14-
"lint": "eslint . --ext .vue,.js,.ts --fix --ignore-path .gitignore",
14+
"lint": "eslint . --ext .vue,.js,.ts --ignore-path .gitignore",
15+
"lint:fix": "pnpm run lint --fix",
16+
"format": "prettier --write .",
17+
"format:check": "prettier --check .",
1518
"prepare": "simple-git-hooks",
1619
"preinstall": "npx only-allow pnpm"
1720
},
1821
"dependencies": {
19-
"@fontsource/open-sans": "^5.0.22",
22+
"@fontsource/open-sans": "^5.0.28",
2023
"pinia": "^2.1.7",
21-
"vue": "^3.4.15",
22-
"vue-i18n": "^9.9.0",
23-
"vue-router": "^4.2.5"
24+
"vue": "^3.4.26",
25+
"vue-i18n": "^9.13.1",
26+
"vue-router": "^4.3.2"
2427
},
2528
"devDependencies": {
26-
"@intlify/unplugin-vue-i18n": "^2.0.0",
27-
"@rushstack/eslint-patch": "^1.7.0",
29+
"@intlify/unplugin-vue-i18n": "^4.0.0",
30+
"@rushstack/eslint-patch": "^1.10.2",
2831
"@semantic-release/git": "^10.0.1",
29-
"@tsconfig/node20": "^20.1.2",
32+
"@tsconfig/node20": "^20.1.4",
3033
"@types/jsdom": "^21.1.6",
31-
"@types/node": "^20.11.5",
32-
"@vitejs/plugin-vue": "^5.0.3",
34+
"@types/node": "^20.12.7",
35+
"@vitejs/plugin-vue": "^5.0.4",
3336
"@vue/eslint-config-prettier": "^9.0.0",
34-
"@vue/eslint-config-typescript": "^12.0.0",
35-
"@vue/test-utils": "^2.4.3",
37+
"@vue/eslint-config-typescript": "^13.0.0",
38+
"@vue/test-utils": "^2.4.5",
3639
"@vue/tsconfig": "~0.5.1",
37-
"eslint": "^8.56.0",
38-
"eslint-plugin-vue": "^9.20.1",
39-
"jsdom": "^23.2.0",
40-
"lint-staged": "^15.2.0",
41-
"prettier": "^3.2.4",
42-
"sass": "^1.70.0",
43-
"semantic-release": "^23.0.0",
44-
"simple-git-hooks": "^2.9.0",
40+
"eslint": "^8.57.0",
41+
"eslint-plugin-vue": "^9.25.0",
42+
"jsdom": "^24.0.0",
43+
"lint-staged": "^15.2.2",
44+
"prettier": "^3.2.5",
45+
"sass": "^1.76.0",
46+
"semantic-release": "^23.0.8",
47+
"simple-git-hooks": "^2.11.1",
4548
"typescript": "~5.3.3",
46-
"vite": "^5.0.12",
47-
"vitest": "^1.2.1",
48-
"vue-tsc": "^1.8.27"
49+
"vite": "^5.2.10",
50+
"vitest": "^1.5.3",
51+
"vue-tsc": "^2.0.16"
4952
},
5053
"simple-git-hooks": {
5154
"pre-commit": "pnpm lint-staged"
5255
},
5356
"lint-staged": {
57+
"*": "prettier --write -u",
5458
"*.{vue,js,ts}": "eslint --fix --ignore-path .gitignore"
5559
},
5660
"release": {

0 commit comments

Comments
 (0)