Skip to content

Commit

Permalink
chore: update dependencies (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrickert authored May 1, 2024
1 parent 5856987 commit d1606b0
Show file tree
Hide file tree
Showing 10 changed files with 4,322 additions and 2,975 deletions.
11 changes: 1 addition & 10 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,9 @@ module.exports = {
"plugin:vue/vue3-recommended",
"eslint:recommended",
"@vue/eslint-config-typescript/recommended",
"@vue/eslint-config-prettier",
"@vue/eslint-config-prettier/skip-formatting",
],
parserOptions: {
ecmaVersion: "latest",
},
rules: {
"prettier/prettier": [
"error",
{
singleQuote: false,
endOfLine: "auto",
},
],
},
};
5 changes: 4 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -25,6 +25,9 @@ jobs:
- name: 🔎 Lint
run: pnpm lint

- name: 🔎 Check formatting
run: pnpm format:check

- name: 🚨 Run unit tests
run: pnpm test:unit

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3

- name: Setup Node.js
uses: actions/setup-node@v4
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Prettier ignores all files inside .gitignore by default so this file only contains
# files that are checked into git but should not be formatted
pnpm-lock.yaml
4 changes: 4 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"printWidth": 100
}
24 changes: 11 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>

<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>

<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>

<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
52 changes: 28 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,54 +3,58 @@
"version": "1.1.1",
"private": true,
"type": "module",
"packageManager": "pnpm@8.14.1",
"packageManager": "pnpm@9.0.6",
"scripts": {
"dev": "vite",
"build": "pnpm run '/type-check|build-only/'",
"preview": "vite preview",
"test:unit": "vitest",
"build-only": "vite build",
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"lint": "eslint . --ext .vue,.js,.ts --fix --ignore-path .gitignore",
"lint": "eslint . --ext .vue,.js,.ts --ignore-path .gitignore",
"lint:fix": "pnpm run lint --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepare": "simple-git-hooks",
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"@fontsource/open-sans": "^5.0.22",
"@fontsource/open-sans": "^5.0.28",
"pinia": "^2.1.7",
"vue": "^3.4.15",
"vue-i18n": "^9.9.0",
"vue-router": "^4.2.5"
"vue": "^3.4.26",
"vue-i18n": "^9.13.1",
"vue-router": "^4.3.2"
},
"devDependencies": {
"@intlify/unplugin-vue-i18n": "^2.0.0",
"@rushstack/eslint-patch": "^1.7.0",
"@intlify/unplugin-vue-i18n": "^4.0.0",
"@rushstack/eslint-patch": "^1.10.2",
"@semantic-release/git": "^10.0.1",
"@tsconfig/node20": "^20.1.2",
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.11.5",
"@vitejs/plugin-vue": "^5.0.3",
"@types/node": "^20.12.7",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/test-utils": "^2.4.3",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "^2.4.5",
"@vue/tsconfig": "~0.5.1",
"eslint": "^8.56.0",
"eslint-plugin-vue": "^9.20.1",
"jsdom": "^23.2.0",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"sass": "^1.70.0",
"semantic-release": "^23.0.0",
"simple-git-hooks": "^2.9.0",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.25.0",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"sass": "^1.76.0",
"semantic-release": "^23.0.8",
"simple-git-hooks": "^2.11.1",
"typescript": "~5.3.3",
"vite": "^5.0.12",
"vitest": "^1.2.1",
"vue-tsc": "^1.8.27"
"vite": "^5.2.10",
"vitest": "^1.5.3",
"vue-tsc": "^2.0.16"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "prettier --write -u",
"*.{vue,js,ts}": "eslint --fix --ignore-path .gitignore"
},
"release": {
Expand Down
Loading

0 comments on commit d1606b0

Please sign in to comment.