Skip to content

Commit ba8cd49

Browse files
committed
chore: upgrade dependencies
1 parent 6f1aaae commit ba8cd49

File tree

10 files changed

+1346
-845
lines changed

10 files changed

+1346
-845
lines changed

docs/.vitepress/config/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { defineConfig } from 'vitepress'
21
import { transformerTwoslash } from '@shikijs/vitepress-twoslash'
2+
import { defineConfig } from 'vitepress'
33
import { groupIconMdPlugin, groupIconVitePlugin } from 'vitepress-plugin-group-icons'
44
import { algolia } from './algolia'
55
import { en } from './en'

docs/.vitepress/theme/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// https://vitepress.dev/guide/custom-theme
2-
import { h } from 'vue'
31
import type { Theme } from 'vitepress'
4-
import DefaultTheme from 'vitepress/theme'
52
import TwoslashClient from '@shikijs/vitepress-twoslash/client'
3+
import DefaultTheme from 'vitepress/theme'
4+
// https://vitepress.dev/guide/custom-theme
5+
import { h } from 'vue'
66
import '@shikijs/vitepress-twoslash/style.css'
77
import './style.css'
88
import 'virtual:group-icons.css'

docs/guide/why.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ This plugin was born in the early days of Pinia, before it officially replaced [
77
Short answer: "_no_". There are a lot of solutions to persist store data in storages such as `localStorage` that don't even involve injecting a plugin into Pinia. Here is an example using [VueUse](https://vueuse.org/)'s `useLocalStorage` :
88

99
```ts
10-
import { defineStore } from 'pinia'
1110
import { useLocalStorage } from '@vueuse/core'
11+
import { defineStore } from 'pinia'
1212

1313
defineStore('store', () => {
1414
const someState = useLocalStorage('stored-state', 'initialValue')

package.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pinia-plugin-persistedstate",
33
"type": "module",
44
"version": "4.0.1",
5-
"packageManager": "pnpm@9.9.0",
5+
"packageManager": "pnpm@9.10.0",
66
"description": "Configurable persistence and rehydration of Pinia stores.",
77
"author": "Sacha Bouillez <hi@praz.dev> (https://praz.dev)",
88
"license": "MIT",
@@ -82,36 +82,36 @@
8282
}
8383
},
8484
"dependencies": {
85-
"@nuxt/kit": "^3.13.0",
85+
"@nuxt/kit": "^3.13.1",
8686
"deep-pick-omit": "^1.2.0",
8787
"defu": "^6.1.4",
8888
"destr": "^2.0.3"
8989
},
9090
"devDependencies": {
91-
"@antfu/eslint-config": "^2.27.3",
92-
"@nuxt/devtools": "^1.4.1",
93-
"@nuxt/module-builder": "^0.8.3",
94-
"@nuxt/schema": "^3.13.0",
95-
"@nuxt/test-utils": "^3.14.1",
91+
"@antfu/eslint-config": "^3.6.0",
92+
"@nuxt/devtools": "^1.4.2",
93+
"@nuxt/module-builder": "^0.8.4",
94+
"@nuxt/schema": "^3.13.1",
95+
"@nuxt/test-utils": "^3.14.2",
9696
"@pinia/nuxt": "^0.5.4",
97-
"@shikijs/vitepress-twoslash": "^1.16.1",
98-
"@types/node": "^22.5.2",
97+
"@shikijs/vitepress-twoslash": "^1.17.6",
98+
"@types/node": "^22.5.5",
9999
"changelogen": "^0.5.5",
100-
"eslint": "^9.9.1",
100+
"eslint": "^9.10.0",
101101
"jiti": "^1.21.6",
102102
"lint-staged": "^15.2.10",
103-
"nuxt": "^3.13.0",
103+
"nuxt": "^3.13.1",
104104
"pinia": "^2.2.2",
105105
"pinia-plugin-persistedstate": "link:",
106106
"publint": "^0.2.10",
107107
"simple-git-hooks": "^2.11.1",
108108
"tsup": "^8.2.4",
109-
"typescript": "^5.5.4",
109+
"typescript": "^5.6.2",
110110
"vitepress": "^1.3.4",
111-
"vitepress-plugin-group-icons": "^1.1.0",
112-
"vitest": "^2.0.5",
113-
"vue": "^3.4.38",
114-
"vue-tsc": "^2.1.4"
111+
"vitepress-plugin-group-icons": "^1.2.2",
112+
"vitest": "^2.1.1",
113+
"vue": "^3.5.5",
114+
"vue-tsc": "^2.1.6"
115115
},
116116
"simple-git-hooks": {
117117
"pre-commit": "npx lint-staged"

0 commit comments

Comments
 (0)