Skip to content

Commit

Permalink
Update vuetify and pinia.
Browse files Browse the repository at this point in the history
Fix Vitest issue partially.
  • Loading branch information
logue committed Jun 21, 2023
1 parent 00f05a8 commit 90017a3
Show file tree
Hide file tree
Showing 4 changed files with 212 additions and 286 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json.schemastore.org/package.json",
"name": "vite-vuetify-ts-starter",
"description": "Vue3 Vuetify TypeScript Startar project for Vite.",
"version": "1.5.5",
"version": "1.5.6",
"license": "MIT",
"type": "module",
"private": true,
Expand Down Expand Up @@ -42,28 +42,28 @@
"dependencies": {
"@mdi/font": "^7.2.96",
"core-js": "^3.31.0",
"pinia": "^2.1.3",
"pinia": "^2.1.4",
"pinia-plugin-persistedstate": "^3.1.0",
"vue": "^3.3.4",
"vue-router": "^4.2.2",
"vuetify": "^3.3.3",
"vuetify": "^3.3.5",
"webfontloader": "^1.6.28"
},
"devDependencies": {
"@babel/types": "^7.22.5",
"@rushstack/eslint-patch": "^1.3.1",
"@rushstack/eslint-patch": "^1.3.2",
"@tsconfig/node-lts": "^18.12.2",
"@types/jsdom": "^21.1.1",
"@types/node": "^20.3.0",
"@types/node": "^20.3.1",
"@types/webfontloader": "^1.6.35",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@vitejs/plugin-vue": "^4.2.3",
"@vitest/coverage-c8": "^0.32.0",
"@vitest/coverage-c8": "^0.32.2",
"@vue/eslint-config-prettier": "^7.1.0",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/test-utils": "^2.3.2",
"@vue/tsconfig": "^0.4.0",
"eslint": "^8.42.0",
"eslint": "^8.43.0",
"eslint-config-standard-with-typescript": "latest",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.5.5",
Expand All @@ -83,18 +83,18 @@
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"rollup-plugin-visualizer": "^5.9.2",
"sass": "^1.63.3",
"stylelint": "^15.7.0",
"sass": "^1.63.5",
"stylelint": "^15.8.0",
"stylelint-config-recommended-scss": "^12.0.0",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-order": "^6.0.3",
"typescript": "*",
"vite": "^4.3.9",
"vite-plugin-checker": "0.6.0",
"vite-plugin-checker": "0.6.1",
"vite-plugin-vuetify": "^1.0.2",
"vitest": "^0.32.0",
"vitest": "^0.32.2",
"vue-eslint-parser": "^9.3.1",
"vue-tsc": "^1.7.0"
"vue-tsc": "^1.8.1"
},
"husky": {
"hooks": {
Expand Down
2 changes: 1 addition & 1 deletion src/styles/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

// https://next.vuetifyjs.com/features/sass-variables/
@use 'vuetify/settings' with (
@forward 'vuetify/settings' with (
// Place SASS variable overrides here
$body-font-family: (Roboto, 'Noto Color Emoji', sans-serif)
// $body-font-family: ('Noto Sans', 'Noto Sans JP', 'Noto Sans KR', 'Noto Color Emoji', sans-serif)
Expand Down
12 changes: 9 additions & 3 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,22 @@ export default mergeConfig(
viteConfig,
defineConfig({
plugins: [vue() as any],
// Resolver
resolve: {
// https://vitest.dev/config/#alias
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
'~': fileURLToPath(new URL('./node_modules', import.meta.url)),
},
extensions: ['.js', '.json', '.jsx', '.mjs', '.ts', '.tsx', '.vue'],
},
test: {
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/*'],
root: fileURLToPath(new URL('./', import.meta.url)),
transformMode: {
web: [/\.[jt]sx$/],
},
deps: {
// inline: [/vuetify/],
},
},
})
);
Loading

0 comments on commit 90017a3

Please sign in to comment.